5f9916bffc52a4a898ec3205751946ccc7580147
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2
3         * docs/faq/gst-uninstalled:
4           don't get empty paths on the PATH variables
5         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
6           Don't format for the uncommon terminal width of 84 characters.
7
8 2007-04-06  Wim Taymans  <wim@fluendo.com>
9
10         * gst/gstpipeline.c: (reset_stream_time),
11         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
12         Only try to select a different pipeline clock when we went back to
13         PAUSED and not when we merely got flushed.
14
15 2007-04-05  Michael Smith  <msmith@fluendo.com>
16
17         * tools/gst-launch.1.in:
18           fractions are better supported in gstreamer than ractions, so
19           suggest using those.
20
21 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
22
23         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
24
25         * po/LINGUAS:
26         * po/da.po:
27           Added Danish translation.
28
29 2007-04-05  Wim Taymans  <wim@fluendo.com>
30
31         * libs/gst/base/gstbasesink.c:
32         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
33         Fix leak caused when refusing newsegment after EOS.
34
35         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
36         (gst_fake_sink_init), (gst_fake_sink_set_property),
37         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
38         (gst_fake_sink_render), (gst_fake_sink_change_state):
39         * plugins/elements/gstfakesink.h:
40         Add num-buffers property to make the element generate EOS after a
41         configurable amount of buffers.
42         API: fakesink::num-buffers property.
43
44         * tests/check/elements/fakesink.c: (GST_START_TEST),
45         (fakesink_suite):
46         Fix GstBus leak in test.
47         Test for fakesink num-buffers.
48
49 2007-04-05  Wim Taymans  <wim@fluendo.com>
50
51         * libs/gst/base/gstbasesink.c:
52         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
53         (gst_base_sink_change_state):
54         Don't accept anything after an EOS, return UNEXPECTED instead.
55
56         * tests/check/elements/fakesink.c: (GST_START_TEST),
57         (fakesink_suite):
58         Unit test for new EOS behaviour.
59
60 2007-04-05  Wim Taymans  <wim@fluendo.com>
61
62         * gst/gstelement.c: (gst_element_get_request_pad):
63         Make padtemplates also work when they don't contain %s or %d.
64
65 2007-04-05  Wim Taymans  <wim@fluendo.com>
66
67         * docs/gst/gstreamer-sections.txt:
68         * gst/gstclock.c: (gst_clock_adjust_unlocked),
69         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
70         * gst/gstclock.h:
71         Improve _adjust_unlocked() so that it overflows less.
72         Add gst_clock_unadjust_unlocked to convert from external time to
73         internal time based on calibration.
74         Add some more debug.
75         API: GstClock::gst_clock_unadjust_unlocked()
76
77 2007-04-03  Wim Taymans  <wim@fluendo.com>
78
79         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
80
81         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
82         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
83         when releasing sink pad. Fixes #425400.
84
85 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
86
87         * docs/random/ensonic/dynlink.txt:
88           More work on proposal for new core api.
89
90         * docs/libs/gstreamer-libs-sections.txt:
91         * libs/gst/base/gstbasetransform.h:
92           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
93           
94         * libs/gst/controller/gstcontroller.c:
95         (on_object_controlled_property_changed),
96         (gst_controller_sync_values),
97         (gst_controller_set_interpolation_mode):
98         * libs/gst/controller/gstcontroller.h:
99           Less verbose logging add docs for unimplemented parts and correctly
100           return when using unavailable parts.
101
102 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
103
104         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
105         Move all the debug to the CLOCK category, and associate it with
106         the clock object.
107
108 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
109
110         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
111         Make take_buffer a bit quicker by removing redundant checks
112         caused by calling gst_adapter_take.
113
114 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
115
116         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
117           Don't leak GCond.
118
119         * tests/check/Makefile.am:
120         * tests/check/elements/.cvsignore:
121         * tests/check/elements/multiqueue.c: (setup_multiqueue),
122         (GST_START_TEST), (multiqueue_suite):
123           Add some dead simple unit tests for the 'multiqueue' element
124           (some bits don't work yet and are disabled for now).
125
126 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
127
128         * gst/gstelement.c: (gst_element_get_request_pad),
129         (gst_element_class_get_request_pad_template):
130           Make gst_element_get_request_pad() create request pads only for
131           request pad templates and not for, say, sometimes pad templates.
132
133 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
134
135         * docs/design/draft-klass.txt:
136           Add example that needs more thinking.
137         
138         * docs/design/draft-missing-plugins.txt:
139           More thoughts about wrapper plugins.
140         
141         * docs/random/ensonic/embedded.txt:
142         * docs/random/ensonic/profiling.txt:
143           More design work.
144
145 2007-03-25  Wim Taymans  <wim@fluendo.com>
146
147         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
148         (gst_base_src_loop):
149         Only push the segment events in the PLAYING state for live sources.
150
151 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
152
153         * gst/gstpipeline.c: (gst_pipeline_change_state):
154         Modify the clock distribution path in PAUSED->PLAYING so that we 
155         never attempt to choose a new clock unless we're actually leaving
156         the PAUSED state for the first time. This prevents choosing a
157         different clock when the state_change gets called for a 2nd time due
158         to some element doing an async state change.
159
160 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
161
162         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
163         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
164         (gst_pad_chain_unchecked), (gst_pad_push):
165         Revert last commit. This needs some more thoughts.
166
167 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
168
169         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
170         (gst_pad_chain_unchecked), (gst_pad_push):
171         Check in set_caps if the caps are compatible with the pad and remove
172         two functions that are redundant now. Fixes #421543.
173
174 2007-03-22  Wim Taymans  <wim@fluendo.com>
175
176         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
177         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
178         Unref some more to make valgrind happy.
179
180 2007-03-22  Wim Taymans  <wim@fluendo.com>
181
182         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
183         (gst_system_clock_id_wait_jitter),
184         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
185         Fix anoying regression that survived a few releases. When adding an
186         async entry while blocking on a sync entry, the sync entry will unblock
187         but still be busy, so it should continue to wait instead of returning
188         _BUSY to the app.
189         Add some comments here and there.
190
191         * tests/check/gst/gstsystemclock.c: (mixed_thread),
192         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
193         Add testcase for this.
194
195 2007-03-22  Wim Taymans  <wim@fluendo.com>
196
197         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
198         Handle errors from the clock sync better, only UNSCHEDULED indicates a
199         WRONG_STATE and can silently pause the task. All other cases should
200         error out.
201
202 2007-03-22  Wim Taymans  <wim@fluendo.com>
203
204         Patch by: <syrjala at sci dot fi>
205
206         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
207         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
208         Improve debugging.
209
210 2007-03-21  Michael Smith  <msmith@fluendo.com>
211
212         * docs/pwg/advanced-types.xml:
213           Fix some errors in the typefinding docs pointed out on irc.
214
215 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
216
217         * libs/gst/base/gstbasesrc.c:
218         Clarify FIXME comment in the face of having added unlock_stop()
219
220 2007-03-21  Wim Taymans  <wim@fluendo.com>
221
222         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
223         Prepare for release where we warn against possible app breakage in the
224         case of live pipelines along with an env var to enable/disable live
225         preroll mode (GST_COMPAT=[no-]live-preroll).
226
227 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
228
229         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
230         So we should use correct constants for checking for None offset.
231
232 2007-03-20  Wim Taymans  <wim@fluendo.com>
233
234         * docs/design/part-block.txt:
235         Mention the fact that the newly switched element should be set to at
236         least PAUSED.
237
238 2007-03-20  Wim Taymans  <wim@fluendo.com>
239
240         * gst/gst.c:
241         Fix compilation with registry disabled as spotted by Saur.
242
243 2007-03-20  Wim Taymans  <wim@fluendo.com>
244
245         Patch by: Olivier Crete <tester at tester dot ca>
246
247         * gst/gstelement.c: (gst_element_sync_state_with_parent):
248         Look at the pending state too when syncing the element state to the
249         parent. Fixes #420133.
250
251 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
252
253         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
254         (gst_base_sink_change_state):
255         * libs/gst/base/gstbasesink.h:
256         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
257         (gst_base_src_default_event), (gst_base_src_unlock_stop),
258         (gst_base_src_deactivate):
259         * libs/gst/base/gstbasesrc.h:
260         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
261         for sub-classes to correctly clear any state they set trying to
262         unlock, such as clearing out unlock commands from a command fd.
263
264         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
265         (gst_fd_sink_render), (gst_fd_sink_unlock),
266         (gst_fd_sink_unlock_stop):
267         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
268         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
269         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
270
271         Implement unlock_stop in fdsrc and fdsink.
272         Implement seeking in fdsrc when a seekable fd is passed, as in
273         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
274
275 2007-03-19  Wim Taymans  <wim@fluendo.com>
276
277         Patch by: Evan Nemerson <evan at coeus dash group dot com>
278
279         * gst/gstelement.c: (gst_element_class_init):
280         Fix pad-added and pad-removed signal signatures so that the pad type is
281         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
282
283 2007-03-19  Wim Taymans  <wim@fluendo.com>
284
285         * docs/gst/gstreamer-sections.txt:
286         Add new element field and method.
287
288         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
289         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
290         (gst_bin_recalc_state), (gst_bin_get_state_func),
291         (gst_bin_element_set_state), (gst_bin_change_state_func),
292         (gst_bin_continue_func), (bin_bus_handler),
293         (bin_push_state_continue), (bin_handle_async_start),
294         (bin_handle_async_done), (gst_bin_handle_message_func):
295         Make async state changes a bit smarter by using new ASYNC_START and
296         ASYNC_DONE messages. This reduces the number of times we run the state
297         recalculation thread.
298         Don't change state of element with a pending ASYNC_START message.
299         Deprecate STATE_DIRTY messages.
300         
301         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
302         (gst_element_get_state_func), (gst_element_continue_state),
303         (gst_element_lost_state), (gst_element_set_state_func),
304         (gst_element_change_state):
305         * gst/gstelement.h:
306         Keep the state that was last set by the app in a new element field.
307         Don't allow state changes when handling an element event.
308         Post ASYNC_START and ASYNC_DONE messages.
309         Change lost_state so that we go to PAUSED and wait for the parent to set
310         us to PLAYING again (so latency calculation can be performed)
311         Export gst_element_change_state() method so that subclasses can use it.
312         API: gst_element_change_state()
313         API: GST_STATE_TARGET
314
315         * gst/gstpipeline.c: (gst_pipeline_class_init),
316         (reset_stream_time), (gst_pipeline_change_state),
317         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
318         Using the new ASYNC_START message we can reset the base_time when
319         needed. This can then be used to implement base_time redistribution in
320         flushing seeks so that we can remove the explicit seek handling.
321         Perform latency query and configuration when going to PLAYING.
322
323         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
324         (gst_base_sink_query), (gst_base_sink_change_state):
325         Post new ASYNC_START/ASYNC_DONE messages.
326
327         * tests/check/generic/sinks.c: (GST_START_TEST):
328         Fix test because the bin will not set the async element to PLAYING right
329         away.
330
331         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
332         Make the message check a little stronger.
333         Handle ASYNC messages.
334
335         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
336         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
337         Expect ASYNC_DONE messages.
338
339 2007-03-19  Wim Taymans  <wim@fluendo.com>
340
341         * docs/gst/gstreamer-sections.txt:
342         * gst/gstmessage.c: (gst_message_new_async_start),
343         (gst_message_new_async_done), (gst_message_parse_info),
344         (gst_message_parse_async_start):
345         * gst/gstmessage.h:
346         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
347         support.
348
349 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
350
351         * tools/gst-inspect.c:
352         (print_plugin_automatic_install_info_codecs):
353           Now that we don't check for the 'Codec' keyword any longer in the
354           klass, we shouldn't spew a warning if the klass isn't a decoder or
355           encoder (since it might be a Source/Network, for example).
356
357 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
358
359         * tools/gst-inspect.c:
360         (print_plugin_automatic_install_info_codecs):
361           Don't require decoder/demuxer/depayloader elements or
362           encoder/muxer/paylader elements to have 'Codec' as part of their
363           factory class string when introspecting a plugin's capabilities.
364           draft-klass.txt mentions that it might be removed in future, and
365           flump3dec doesn't have it as part of its class string, so chances
366           are others might also not have it.
367
368 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
369
370         * po/af.po:
371         * po/az.po:
372         * po/bg.po:
373         * po/ca.po:
374         * po/cs.po:
375         * po/de.po:
376         * po/en_GB.po:
377         * po/fr.po:
378         * po/it.po:
379         * po/nb.po:
380         * po/nl.po:
381         * po/ru.po:
382         * po/sq.po:
383         * po/sr.po:
384         * po/sv.po:
385         * po/tr.po:
386         * po/uk.po:
387         * po/vi.po:
388         * po/zh_CN.po:
389         * po/zh_TW.po:
390           Update translations from translation project
391
392 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
393
394         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
395         (gst_child_proxy_set_property):
396           Invert precondition check to be alike the ones in the mimiced gobject
397           api.
398
399 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
400
401         * docs/design/draft-tagreading.txt:
402         * docs/random/ensonic/audiobaseclasses.txt:
403           Do some Architect work.
404
405         * gst/gstobject.c: (gst_object_set_name):
406           Add a WARNING.
407
408         * gst/gstpad.c:
409           Add docs that point from gst_pad_get_range to gst_pad_pull_range
410
411 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
412
413         * gst/gstsystemclock.c: (gst_system_clock_init),
414         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
415         Defer starting the async system clock thread until the first async
416         wait is scheduled. Fixes #414986.
417
418 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
419
420         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
421         (gst_single_queue_free):
422           Fix small leak (free GstSingleQueue structure too, not only contents).
423
424 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
425
426         * gst/gstbin.c:(gst_bin_add):
427         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
428         * win32/common/libgstbase.def:
429         * win32/common/libgstreamer.def:
430         Add new exported functions.
431
432 2007-03-09  Wim Taymans  <wim@fluendo.com>
433
434         * docs/plugins/gstreamer-plugins-sections.txt:
435         Fix GstTee docs.
436
437 2007-03-09  Wim Taymans  <wim@fluendo.com>
438
439         * docs/gst/gstreamer-sections.txt:
440         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
441         * gst/gstbuffer.h:
442         Add metadata copy functions. Fixes #393099.
443
444         * gst/gstutils.c: (gst_buffer_stamp):
445         * libs/gst/base/gstbasetransform.c:
446         (gst_base_transform_prepare_output_buffer):
447         Use new metadata copy functions.
448
449 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
450
451         * plugins/elements/gstidentity.c: (gst_identity_class_init),
452         (gst_identity_init), (gst_identity_check_perfect),
453         (gst_identity_check_imperfect_timestamp),
454         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
455         (gst_identity_set_property), (gst_identity_get_property):
456         * plugins/elements/gstidentity.h:
457         Separate out check-imperfect-timestamp and check-imperfect-offset.
458         Put back check-perfect as it was to keep compatibility.
459
460 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
461
462         * gst/gstelement.c: (gst_element_dispose):
463         There's no need to warn if VOID_PENDING is not NONE here, as
464         long as the state is NULL it's ok, and that's checked immediately
465         above.
466
467 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
468
469         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
470         Fix check for perfect stream to ignore buffers with -1 
471         offsets/offset ends when checking data contiguity.
472
473 2007-03-08  Wim Taymans  <wim@fluendo.com>
474
475         * tools/gst-launch.c: (event_loop):
476         Print INFO messages.
477
478 2007-03-08  Wim Taymans  <wim@fluendo.com>
479
480         * libs/gst/base/gstbasetransform.c:
481         (gst_base_transform_sink_eventfunc),
482         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
483         (gst_base_transform_activate):
484         * libs/gst/base/gstbasetransform.h:
485         Add support for dropping buffers with custom GstFlowReturn.
486         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
487         buffers or dropped buffers.
488
489         * docs/libs/gstreamer-libs-sections.txt:
490         docs for new custom return code.
491
492         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
493         Use drop support in base class to implement drop-probability.
494
495 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
496
497         * gst/gst.c: (load_plugin_func):
498         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
499         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
500         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
501           Remove newlines at end of debug log strings.
502
503 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
504
505         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
506         Only post bus message at max, once per buffer received.
507
508 2007-03-07  Wim Taymans  <wim@fluendo.com>
509
510         * docs/design/Makefile.am:
511         * docs/design/part-synchronisation.txt:
512         Add doc about synchronisation
513
514         * docs/design/draft-latency.txt:
515         * docs/design/part-TODO.txt:
516         * docs/design/part-clocks.txt:
517         * docs/design/part-events.txt:
518         * docs/design/part-gstbus.txt:
519         * docs/design/part-gstpipeline.txt:
520         * docs/design/part-live-source.txt:
521         * docs/design/part-messages.txt:
522         * docs/design/part-overview.txt:
523         * docs/design/part-streams.txt:
524         * docs/design/part-trickmodes.txt:
525         Documentation updates.
526
527 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
528
529         * gstreamer.doap:
530         Update the doap file.
531
532 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
533
534         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
535         Rename non-perfect to imperfect for Mike and for the sanctity of the
536         language.
537         Also make sure bus message gets emitted for data-incontiguities.
538
539 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
540
541         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
542         (gst_identity_start):
543         * plugins/elements/gstidentity.h:
544         Emit bus message if check-perfect is true and we encounter a
545         non-perfect stream between 2 consecutive buffers.
546         Fixes #415394.
547
548 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
549
550         * configure.ac:
551         Back to CVS
552
553 === release 0.10.12 ===
554
555 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
556
557         * configure.ac:
558           releasing 0.10.12, "Inevitable Demise"
559
560 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
561
562         * configure.ac:
563          Version 0.10.11.2 (0.10.12 pre-release)
564          Bump libtool versioning.
565
566 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
567
568         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
569           Log flow-names and not numbers.
570
571 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
572
573         * configure.ac:
574           Convert to new AG_GST style.
575
576 2007-02-28  Wim Taymans  <wim@fluendo.com>
577
578         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
579         Don't unref query twice.
580
581 2007-02-28  Wim Taymans  <wim@fluendo.com>
582
583         * gst/gstvalue.c: (gst_value_transform_object_string),
584         (_gst_value_initialize):
585         Implement GstObject -> string transform so we print object names
586         when serializing GValues containing GstObjects.
587
588 2007-02-28  Wim Taymans  <wim@fluendo.com>
589
590         * docs/gst/gstreamer-sections.txt:
591         Add new stuff to docs.
592
593 2007-02-28  Wim Taymans  <wim@fluendo.com>
594
595         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
596         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
597         (gst_base_sink_change_state):
598         Improve latency query code.
599         Don't leak latency events.
600
601         * tests/check/gst/gstbin.c: (GST_START_TEST):
602         Improve debugging.
603
604 2007-02-28  Wim Taymans  <wim@fluendo.com>
605
606         * gst/gstelement.c: (gst_element_message_full),
607         (gst_element_get_state_func):
608         * gst/gstelement.h:
609         Improve docs a little. Added Since: for new macro.
610
611         * gst/gstobject.c: (gst_object_sink):
612         * gst/gstpipeline.c: (gst_pipeline_change_state),
613         (gst_pipeline_set_new_stream_time):
614         * gst/gstpipeline.h:
615         Improve debugging and docs.
616
617         * gst/gstutils.c: (gst_element_state_change_return_get_name):
618         Improve debugging.
619
620 2007-02-28  Wim Taymans  <wim@fluendo.com>
621
622         * gst/gstelement.c: (gst_element_message_full),
623         (gst_element_set_locked_state), (gst_element_get_state_func),
624         (gst_element_change_state):
625         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
626         Documentation updates.
627         Small code cleanups.
628
629         * gst/gstmessage.c: (gst_message_new_info),
630         (gst_message_parse_info):
631         * gst/gstmessage.h:
632         API: gst_message_new_info()
633         API: gst_message_parse_info()
634         Add INFO message create and parse code.
635
636 2007-02-28  Wim Taymans  <wim@fluendo.com>
637
638         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
639         (bin_query_latency_done):
640         Also report the live parameter of a latency query.
641
642 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
643
644         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
645           Copy the current generic/states example from -base and adapt so
646           we can use the exact same code everywhere.
647           Check a STATES_IGNORE_ELEMENTS env var which can be used
648           to ignore certain element factories for this test, which is
649           what is being done in -base
650         * tests/check/Makefile.am:
651           Mention this environment variable.
652
653 2007-02-27  Wim Taymans  <wim@fluendo.com>
654
655         * docs/gst/gstreamer-sections.txt:
656         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
657         (gst_bus_timed_pop), (gst_bus_pop):
658         * gst/gstbus.h:
659         API: gst_bus_timed_pop()
660         Implement gst_bus_timed_pop() to do a blocking timed wait for a
661         message to arrive on the bus.
662
663         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
664         (gst_bus_suite):
665         Two unit tests for new _timed_pop() function.
666
667 2007-02-23  Wim Taymans  <wim@fluendo.com>
668
669         * gst/gstpipeline.c: (gst_pipeline_change_state),
670         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
671         Don't ref a NULL clock in _provide_clock_func().
672         Don't allow an INVALID delay.
673         Don't try to calculate base_time with an invalid start_time.
674         Also distribute and notify a NULL clock when it was selected.
675
676         * tools/gst-launch.c: (event_loop):
677         Don't crash when a NULL clock was selected in the pipeline.
678
679 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
680
681         * docs/design/Makefile.am:
682         * docs/design/draft-missing-plugins.txt:
683         * docs/random/draft-missing-plugins.txt:
684           Some small updates: update plugin system identifier prefix
685           ('gstreamer.net' to 'gstreamer'), mention our new install
686           API in libgstbaseutils rather than libgimme-codec, add
687           reference to the online docs.
688
689 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
690
691         * win32/common/config.h:
692           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
693           use moap cl ci to only check in what is mentioned in the ChangeLog.
694
695 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
696
697         * docs/gst/gstreamer-sections.txt:
698         * gst/gstelement.h:
699           Fix up documentation to link to the correct GstGError section.
700           Add GST_ELEMENT_INFO macro since someone else added a Info message.
701
702 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
703
704         * tools/gst-launch.c: (event_loop):
705           Make sure that we actually show the important message part of a
706           warning message.
707           No need to check if the gerror is not NULL to free; first of all
708           g_free accepts NULL; and second the default error handler would
709           segfault if gerror was NULL.
710
711 2007-02-21  Wim Taymans  <wim@fluendo.com>
712
713         * docs/gst/gstreamer-sections.txt:
714         Removed docs as well.
715
716 2007-02-21  Wim Taymans  <wim@fluendo.com>
717
718         * gst/gstmessage.c: (gst_message_parse_duration):
719         * gst/gstmessage.h:
720         Remove new messages for release.
721
722 2007-02-20  Wim Taymans  <wim@fluendo.com>
723
724         * docs/design/part-gstghostpad.txt:
725         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
726         (gst_ghost_pad_new_full):
727         Make the ghostpad a parent of the internal pad again for better backward
728         compatibility. Don't write code that relies on this however.
729
730         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
731         (gst_pad_link_check_hierarchy):
732         Require that parents should be GstElements in the hierarchy check.
733
734 2007-02-20  Wim Taymans  <wim@fluendo.com>
735
736         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
737         (gst_bin_change_state_func), (bin_query_min_max_init),
738         (bin_query_latency_fold), (bin_query_latency_done),
739         (gst_bin_query):
740         Improve debug info.
741         Implement latency query.
742
743 2007-02-20  Wim Taymans  <wim@fluendo.com>
744
745         * docs/design/part-gstghostpad.txt:
746         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
747         (gst_ghost_pad_internal_do_activate_push),
748         (gst_ghost_pad_internal_do_activate_pull),
749         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
750         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
751         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
752         Do not set the internal pad as a parent anymore so we can avoid
753         hierarchy linking errors when the ghostpad has no parent yet. This also
754         fixes failed activation because of unlinked internal pads, which in
755         turn fixes the impossible case where you have to activate a pad before
756         you can add it to a running element.
757         Also fix the docs.
758
759         * gst/gstpad.c: (pre_activate), (post_activate),
760         (gst_pad_set_active), (gst_pad_activate_pull),
761         (gst_pad_activate_push), (gst_pad_check_pull_range):
762         Add some more debug info.
763         Mark activation mode in pre_activate so that we don't try to activate in
764         endless loops. Fixes #385084.
765
766 2007-02-19  Wim Taymans  <wim@fluendo.com>
767
768         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
769         (gst_base_transform_check_get_range):
770         Implement a checkgetrange function instead of relying on the default
771         core behaviour that assumes we can operate in pull mode if we have a
772         getrange function. First step at fixing #385084.
773
774 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
775
776         * gst/gstchildproxy.h:
777         * libs/gst/base/gstbasesink.h:
778         * libs/gst/base/gstbasesrc.h:
779         * libs/gst/base/gstbasetransform.h:
780         More docs coverage and some ChangeLog surgery (add missing names)
781
782 2007-02-15  Wim Taymans  <wim@fluendo.com>
783
784         * docs/design/part-TODO.txt:
785         * docs/design/part-activation.txt:
786         * docs/design/part-block.txt:
787         * docs/design/part-buffering.txt:
788         * docs/design/part-clocks.txt:
789         * docs/design/part-element-source.txt:
790         * docs/design/part-events.txt:
791         * docs/design/part-gstbin.txt:
792         * docs/design/part-gstbus.txt:
793         * docs/design/part-gstpipeline.txt:
794         * docs/design/part-live-source.txt:
795         * docs/design/part-messages.txt:
796         * docs/design/part-overview.txt:
797         * docs/design/part-qos.txt:
798         * docs/design/part-query.txt:
799         * docs/design/part-states.txt:
800         * docs/design/part-trickmodes.txt:
801         Some doc updates. Start renaming from stream_time to running_time where
802         it was used wrongly.
803
804 2007-02-15  Wim Taymans  <wim@fluendo.com>
805
806         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
807         Answer LATENCY query.
808
809 2007-02-15  Wim Taymans  <wim@fluendo.com>
810
811         * tests/check/gst/gstevent.c: (event_probe), (test_event),
812         (GST_START_TEST):
813         Improve debugging.
814
815 2007-02-15  Wim Taymans  <wim@fluendo.com>
816
817         * gst/gstpad.c: (gst_pad_get_internal_links_default),
818         (gst_pad_dispatcher):
819         Improve debugging of default pad dispatcher and query functions.
820
821 2007-02-15  Wim Taymans  <wim@fluendo.com>
822
823         * docs/gst/gstreamer-sections.txt:
824         Remove old unused method.
825
826 2007-02-13  Wim Taymans  <wim@fluendo.com>
827
828         * tests/check/gst/gstsegment.c: (GST_START_TEST):
829         Fix check
830
831 2007-02-13  Wim Taymans  <wim@fluendo.com>
832
833         * docs/design/part-seeking.txt:
834         Some small update.
835
836         * gst/gstsegment.c: (gst_segment_set_seek):
837         Revert old bogus change that should make seeking work again.
838
839 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
840
841         * docs/random/ensonic/dynlink.txt:
842         * docs/random/ensonic/interfaces.txt:
843         * docs/random/ensonic/receipies.txt:
844           Possible dynamic reconnection api, plus some type fixes the other two
845           docs.
846
847 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
848
849         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
850         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
851         Also check for an absolute path following file:// in the filesrc
852         element. Remove redundant check and call g_path_is_absolute() on the
853         unescaped location.
854
855 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
856
857         * docs/design/draft-klass.txt:
858           Add existing category analysis.
859           
860         * gst/gstcaps.c:
861           Fix doc example, framerate is a fraction.
862
863 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
864
865         * configure.ac:
866         * docs/gst/Makefile.am:
867         * docs/libs/Makefile.am:
868         * docs/plugins/Makefile.am:
869           Add crossreferences to glib/gobject docs.
870
871 2007-02-12  Wim Taymans  <wim@fluendo.com>
872
873         * docs/design/draft-latency.txt:
874         Small update.
875
876         * docs/libs/gstreamer-libs-sections.txt:
877         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
878         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
879         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
880         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
881         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
882         (gst_base_sink_get_position), (gst_base_sink_query),
883         (gst_base_sink_change_state):
884         * libs/gst/base/gstbasesink.h:
885         API: gst_base_sink_query_latency() to let subclasses query the upstream
886         latency.
887         API: gst_base_sink_get_latency() to let subclasses query the configured
888         latency in the sink.
889         Implement query and set latency.
890         Update some docs.
891         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
892         don't continue preroll when we are flushing. Fixes #405284.
893
894         * tests/check/pipelines/stress.c: (change_state_timeout),
895         (quit_timeout), (GST_START_TEST), (stress_suite):
896         Test for #405284.
897
898 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
899
900         Patch by: René Stadler <mail at renestadler de>
901
902         * docs/gst/gstreamer-sections.txt:
903         * gst/gsttaglist.c: (_gst_tag_initialize):
904         * gst/gsttaglist.h:
905           API: add GST_TAG_REFERENCE_LEVEL (#403597).
906
907 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
908
909         * docs/libs/Makefile.am:
910           Fix path to core docs.
911
912         * gst/gstbin.c: (gst_bin_get_by_interface),
913         (gst_bin_iterate_all_by_interface):
914           Refix docs by also renaming 'interface' to 'iface' in implementation.
915
916         * docs/gst/gstreamer-sections.txt:
917         * gst/gstcaps.c:
918         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
919         * gst/gstchildproxy.h:
920         * gst/gstelementfactory.c:
921         * gst/gstpadtemplate.h:
922         * libs/gst/controller/gstcontroller.c:
923         (gst_controlled_property_new):
924           Document more.
925
926 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
927
928         * gst/gstbin.h:(gst_bin_get_by_interface),
929         (gst_bin_iterate_all_by_interface):
930         Replace interface parameter name by iface as interface is 
931         a reserved keyword in Visual Studio for C++ projects so it removes
932         a build error for application developpers using VS.
933         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
934         Fix a bug on Windows in uri format check. Now the prefix checked
935         is file:// and next we check if the path after file:// is absolute.
936         * win32/common/libgstbase.def:
937         * win32/common/libgstdataprotocol.def:
938         * win32/common/libgstgstreamer.def:
939         Add new exported functions.
940
941 2007-02-09  Andy Wingo  <wingo@pobox.com>
942
943         * tests/check/pipelines/simple-launch-lines.c
944         (simple_launch_lines_suite, test_tee): Disable tee test until I
945         have time to fix it :-(
946
947         * tests/check/Makefile.am (noinst_HEADERS): 
948         * tests/check/libs/libsabi.c: 
949         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
950         * tests/check/gst/gstabi.c: 
951         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
952
953         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
954         tests for push and pull tee behavior.
955
956         * plugins/elements/gsttee.h: 
957         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
958         mark as deprecated as well as unimplemented. It was a crack idea.
959         Add support for tee operating in pull mode, off by default.
960
961         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
962         normal-case logs down to LOG, raise errors to WARNING.
963         (gst_registry_xml_read_cache): Don't log before calling a function
964         that logs.
965
966         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
967         exit (registry finalize).
968         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
969         DEBUG log when we emit signals that people don't even have the
970         chance to connect to.
971         (gst_registry_scan_path_level): Less logging in the normal case.
972
973 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
974
975         Patch by: Michal Benes <michal dot benes at itonis dot tv>
976
977         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
978         Correctly generate EOS for non-seekable files. We don't have a total
979         length for them and would get an unexpected end of file if we only
980         special-cased for regular files. (Fixes: #404569)
981
982 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
983
984         * tests/check/elements/filesrc.c: (GST_START_TEST),
985         (filesrc_suite):
986         Add unit test for the GstURIHandler interface in filesrc. This also
987         tests the newly added file://localhost/foo/bar support.
988
989 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
990
991         * gst/gstelementfactory.h:
992           The klass string is not a hierarchy. Add reference to the design doc
993           for more information and common types.
994
995 2007-02-02  Wim Taymans  <wim@fluendo.com>
996
997         * gst/gstquery.c: (gst_query_new_latency):
998         Remove old structure field.
999
1000 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
1001
1002         * tools/gst-launch.1.in:
1003           Give example for network streaming (#351998)
1004
1005 2007-02-02  Wim Taymans  <wim@fluendo.com>
1006
1007         * docs/gst/gstreamer-sections.txt:
1008         Add docs for new methods.
1009
1010         * gst/gstevent.c: (gst_event_new_latency),
1011         (gst_event_parse_latency):
1012         * gst/gstevent.h:
1013         Add new LATENCY event to configure latency in a pipeline.
1014         API: gst_event_new_latency
1015         API: gst_event_parse_latency
1016
1017         * gst/gstmessage.c: (gst_message_new_buffering),
1018         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
1019         (gst_message_new_latency), (gst_message_parse_buffering),
1020         (gst_message_parse_lost_preroll):
1021         * gst/gstmessage.h:
1022         Added messages used in draft-latency.
1023         API: gst_message_new_lost_preroll
1024         API: gst_message_parse_lost_preroll
1025         API: gst_message_new_prerolled
1026         API: gst_message_new_latency
1027
1028         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1029         (gst_query_parse_latency):
1030         * gst/gstquery.h:
1031         Implemented new latency query as in design doc.
1032         API: gst_query_new_latency
1033         API: gst_query_set_latency
1034         API: gst_query_parse_latency
1035
1036 2007-02-02  Wim Taymans  <wim@fluendo.com>
1037
1038         * docs/design/draft-latency.txt:
1039         Slight redesign to allow for dynamic latency adjustments.
1040
1041         * docs/design/part-negotiation.txt:
1042         Fix some typos.
1043
1044 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
1045
1046         reviewed by: Wim Taymans <wim@fluendo.com>
1047
1048         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1049         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1050         Allow file://localhost/foo/bar URLs and correctly fail for every other
1051         hostname that one sets. This was gnomevfssrc is linked for those if
1052         installed as it can handle it (#403172)
1053
1054 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
1055
1056         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1057
1058         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1059         (unref_data), (gst_collect_pads_add_pad_full):
1060         * libs/gst/base/gstcollectpads.h:
1061         Don't put the previously added destroy notify in the GstCollectData
1062         struct as all it's padding is already used and we don't want to break
1063         ABI. Instead put in the pad's GObject data for now. This should be
1064         cleaned up for 0.11 (#402393).
1065
1066 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
1067
1068         reviewed by: Wim Taymans <wim@fluendo.com>
1069
1070         * docs/libs/gstreamer-libs-sections.txt:
1071         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1072         (unref_data), (gst_collect_pads_add_pad),
1073         (gst_collect_pads_add_pad_full):
1074         * libs/gst/base/gstcollectpads.h:
1075         API: Add function to specify a destroy notification for custom
1076         GstCollectData when adding new pads in GstCollectPads (#402393).
1077
1078 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
1079
1080         * po/sv.po:
1081           Update Swedish translation (#378255).
1082
1083 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
1084
1085         * docs/design/draft-klass.txt:
1086           Fix the previous change, this is a list of categories and not a hierarchy.
1087
1088 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
1089
1090         * docs/design/draft-klass.txt:
1091           Add info about how to get a list of used classes.
1092
1093 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
1094
1095         * plugins/elements/gsttypefindelement.c:
1096         (gst_type_find_element_chain_do_typefinding),
1097         (gst_type_find_element_change_state):
1098           Don't leak found caps in chain function (no idea why that never
1099           showed up as a leak anywhere).
1100
1101 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
1102
1103         * gst/gstplugin.h:
1104           Fix and expand GstPluginDesc API docs.
1105
1106 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
1107
1108         * gst/gstcaps.c:
1109         * gst/gstelementfactory.c:
1110         * gst/gstpadtemplate.h:
1111           api doc fixes
1112
1113         * libs/gst/controller/gstcontroller.c:
1114         (gst_controlled_property_new):
1115         * tests/examples/controller/audio-example.c:
1116           comment fixes
1117
1118 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
1119
1120         * configure.ac:
1121           comment about refining the xml deps
1122
1123         * docs/manuals.mak:
1124           comments about moving away from jade for docs
1125         
1126         * gst/gst.c:
1127           recommit the ifdefs to use the binary registry
1128         
1129         * gst/gstbin.c: (gst_bin_change_state_func):
1130           this break is obsolete
1131
1132         * gst/gstelementfactory.h:
1133           better GST_ELEMENT_DETAILS docs, add comment about translation
1134
1135         * gst/gstinfo.h:
1136           remove eol slash
1137
1138         * gst/gstobject.c: (gst_signal_object_get_type):
1139           add G_UNLIKELY as usual
1140
1141         * gst/gstpad.c: (gst_pad_event_default):
1142           add fall trhu comment
1143
1144         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1145         (gst_registry_binary_initialize_magic),
1146         (gst_registry_binary_save_string),
1147         (gst_registry_binary_save_pad_template),
1148         (gst_registry_binary_save_feature),
1149         (gst_registry_binary_save_plugin),
1150         (gst_registry_binary_write_cache),
1151         (gst_registry_binary_check_magic),
1152         (gst_registry_binary_load_pad_template),
1153         (gst_registry_binary_load_feature),
1154         (gst_registry_binary_load_plugin),
1155         (gst_registry_binary_read_cache):
1156           comment typo and formatting
1157
1158         * gst/gstutils.c: (gst_element_state_get_name),
1159         (gst_element_state_change_return_get_name):
1160           remove obsolete breaks
1161
1162         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1163           add FIXME 0.11 and remove cpp comment
1164
1165 2007-01-29  Edward Hervey  <edward@fluendo.com>
1166
1167         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1168         Fix print statement in an even more portable way.
1169
1170 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
1171
1172         * docs/gst/gstreamer-sections.txt:
1173         * gst/gstutils.h:
1174           API: add GST_ROUND_DOWN_* macros (#401781).
1175
1176 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
1177
1178         * docs/gst/gstreamer.types.in:
1179         * gst/gstregistry.c: (gst_registry_class_init):
1180           Document registry signals and make gtk-doc pick them up (#401381).
1181
1182 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
1183
1184         * docs/pwg/building-testapp.xml:
1185           Add some audioconverts and audioresample to the pipeline, and some
1186           more comments and error handling.
1187
1188 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
1189
1190         * docs/manual/manual.xml:
1191         * docs/pwg/pwg.xml:
1192           Fix typo (#400987).
1193
1194 2007-01-26  Wim Taymans  <wim@fluendo.com>
1195
1196         * gst/gstcaps.c: (gst_static_caps_get):
1197         Init caps flags too.
1198
1199 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
1200
1201         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
1202
1203         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1204         If not using mmap'ed files try to seek to the end instead of the
1205         start to determine whether we can seek at all. This fixes the case
1206         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
1207         seeks for everything afterwards fail. Fixes #400656
1208
1209 2007-01-25  Wim Taymans  <wim@fluendo.com>
1210
1211         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
1212         Add some refcount debugging.
1213         Make gst_static_caps_get threadsafe, which is needed when autoplugging
1214         in multiple streaming threads.
1215
1216 2007-01-25  Wim Taymans  <wim@fluendo.com>
1217
1218         Patch by: David Schleef <ds at schleef dot org>
1219
1220         * docs/libs/gstreamer-libs-sections.txt:
1221         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
1222         * libs/gst/base/gstadapter.h:
1223         API: gst_adapter_copy() that can reduce the amount of memcpy when
1224         getting data from the adapter. Fixes #388201.
1225
1226 2007-01-25  Edward Hervey  <edward@fluendo.com>
1227
1228         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1229         In print statements, "%x" is for guint. Fixes build on macosx.
1230
1231 2007-01-24  Edward Hervey  <edward@fluendo.com>
1232
1233         * plugins/elements/gstmultiqueue.c:
1234         (gst_multi_queue_loop):
1235         Small fix.
1236         (single_queue_overrun_cb), (single_queue_underrun_cb),
1237         (single_queue_check_full), (gst_single_queue_new):
1238         Implement single queue growth system.
1239         This uses the extra-size properties, and will grow single queues by
1240         that much if one goes full whereas there are others empty. This is
1241         called extra-mode in the code.
1242         When a single queue's levels go back below the initial max-size
1243         limits, it is no longer in extra-mode. This is to ensure we don't
1244         consume too much memory.
1245         Fixes #399875
1246
1247 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
1248
1249         * gst/gst.c: (gst_init_get_option_group):
1250           Make warning about late g_thread_init() calls a bit more explicit,
1251           so that it's more obvious to application developers what they need
1252           to do if a user files a bug against their application.
1253
1254 2007-01-22  Edward Hervey  <edward@fluendo.com>
1255
1256         * plugins/elements/gstmultiqueue.c:
1257         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
1258         Remove previous hack of unsetting the flushing flag for the source pad
1259         instead of activating it. Instead, fix the source pad activate function
1260         so that it no longer depends on having a parent set or not.
1261
1262 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
1263
1264         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
1265
1266         * docs/manual/basics-bus.xml:
1267           Fix example code, gst_element_unref() doesn't exist any longer.
1268
1269 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
1270
1271         Patch by: Mark Nauwelaerts <manauw at skynet be>
1272
1273         * gst/gstpad.c:
1274           Fix two docs typoes (#399094).
1275
1276 2007-01-19  Edward Hervey  <edward@fluendo.com>
1277
1278         * docs/faq/gst-uninstalled:
1279         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
1280         depending on libgstbaseutils can work in uninstalled environment.
1281
1282 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
1283
1284         * gst/gsttaglist.h:
1285         * gst/gsttagsetter.c:
1286         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
1287         statement for new tag.
1288
1289 2007-01-17  Edward Hervey  <edward@fluendo.com>
1290
1291         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
1292         When dynamically creating single queues, activate sinkpad before adding
1293         it.
1294         We should be doing the same thing for the source pad, but we can't
1295         since it would call a method which needs the parent to be set in order
1296         to work propertly. Instead of activating the source pad, we just unset
1297         the flushing flag, which is the minimal requirement for adding a pad
1298         to an element in a state greater than READY.
1299
1300 2007-01-17  Edward Hervey  <edward@fluendo.com>
1301
1302         * docs/faq/gst-uninstalled:
1303         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
1304         Mac OS X.
1305
1306 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
1307
1308         * tests/check/gst/gstabi.c:
1309         * tests/check/gst/struct_hppa.h:
1310         * tests/check/libs/libsabi.c:
1311         * tests/check/libs/struct_hppa.h:
1312           Add ABI structs for HPPA (see #393796).
1313
1314 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
1315
1316         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1317           Actually write ABI structs to the file specified in the GST_ABI
1318           environment variable, as the message we print claims we would.
1319
1320 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1321
1322         * tests/check/gst/gsttask.c:
1323           Fix header comment.
1324
1325 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1326
1327         * gst/gsttaglist.c: (_gst_tag_initialize):
1328           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
1329           previous two entries.
1330
1331 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1332
1333         * docs/gst/gstreamer-sections.txt:
1334         * gst/gsttaglist.c: (_gst_tag_initialize):
1335         * gst/gsttaglist.h:
1336           Add tag support for beat-per-minute.
1337
1338 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1339
1340         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1341         (gst_registry_binary_initialize_magic),
1342         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
1343         (gst_registry_binary_save_pad_template),
1344         (gst_registry_binary_save_feature),
1345         (gst_registry_binary_save_plugin),
1346         (gst_registry_binary_write_cache),
1347         (gst_registry_binary_check_magic),
1348         (gst_registry_binary_load_pad_template),
1349         (gst_registry_binary_load_feature),
1350         (gst_registry_binary_load_plugin),
1351         (gst_registry_binary_read_cache):
1352         * gst/gstregistrybinary.h:
1353           Use glib types, cleanup comments, impement interfaces and uri-types.
1354
1355 2007-01-13  Andy Wingo  <wingo@pobox.com>
1356
1357         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
1358         getrange() to return buffers with other caps, while we fix
1359         demuxers and typefind, or otherwise change part-negotiation.txt.
1360
1361 2007-01-12  Andy Wingo  <wingo@pobox.com>
1362
1363         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
1364         Factor start/stop into this private function instead of partially
1365         in activate functions and partially in the change_state function.
1366         Fixes setup before the element has changed from READY->PAUSED, as
1367         is the case in pull-mode pipelines.
1368         (gst_base_transform_sink_activate_push)
1369         (gst_base_transform_src_activate_pull): Refactor to use
1370         gst_base_transform_activate().
1371         (gst_base_transform_change_state): Removed, not needed any more.
1372
1373         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1374         Truncate before fixating.
1375         
1376         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1377         Don't set_caps() if the result of fixating is ANY, as it's not
1378         supported, and not necessary in the case of a link with no
1379         template caps on either side. Fixes tests/check/libs/basesrc in
1380         some pull-mode tests.
1381
1382         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
1383         (gst_base_transform_init, gst_base_transform_sink_activate_push)
1384         (gst_base_transform_src_activate_pull): 
1385         Track the activation mode.
1386         (gst_base_transform_setcaps): In pull mode, when activating the
1387         src pad, after activating the sink pad, activate the sink pad's
1388         peer, as discussed in part-negotiation.txt.
1389
1390         * libs/gst/base/gstbasesrc.h: 
1391         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
1392         vmethod, as in basesink.
1393
1394         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
1395
1396         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
1397         mode, first proxy the setcaps to the peer pad.
1398         (gst_base_sink_pad_fixate): Add a fixate function that calls the
1399         new fixate vmethod.
1400         (gst_base_sink_default_activate_pull): Rename from
1401         gst_base_sink_activate_pull.
1402         (gst_base_sink_negotiate_pull): New function, performs negotiation
1403         in pull mode before calling ::activate_pull().
1404         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
1405         vmethod instead of the default implementation. I have no idea how
1406         this worked before. Negotiate before calling activate_pull.
1407
1408         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
1409         sink pads in pull mode. In addition to being correct, fixes
1410         filesrc ! decodebin ! identity ! fakesink.
1411         (gst_pad_get_range, gst_pad_pull_range): Don't call
1412         gst_pad_set_caps() if the caps changes; instead error out with
1413         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
1414
1415 2007-01-12  Andy Wingo  <wingo@pobox.com>
1416
1417         * docs/design/part-negotiation.txt: Update with more policy.
1418
1419 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1420
1421         * libs/gst/check/gstbufferstraw.h:
1422         * libs/gst/check/gstcheck.h:
1423           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
1424           belongs.
1425
1426 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1427
1428         * tests/check/Makefile.am:
1429         * tests/check/gst/.cvsignore:
1430         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
1431         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
1432         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
1433         (GST_START_TEST), (gst_tag_setter_suite):
1434           Add minimal unit test for beforementioned GstTagSetter bug.
1435
1436 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1437
1438         Patch by: René Stadler <mail at renestadler dot de>
1439
1440         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1441           gst_tag_list_merge() returns a new list, so it's not the best idea
1442           to ingore its return value. Effectively meant that tags could only
1443           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
1444           Also add function guard to require a non-NULL taglist as input (has
1445           always been so due to gst_tag_list_copy(), just making it explicit).
1446
1447 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1448
1449         * docs/random/draft-missing-plugins.txt:
1450           Some additions: mention new API that is supposed to be used at the
1451           various stages; short blob about new gst-inspect introspection
1452           option; mention potential future problem with plugins that have
1453           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
1454
1455 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1456
1457         * tools/gst-inspect.c:
1458         (print_plugin_automatic_install_info_codecs),
1459         (print_plugin_automatic_install_info_protocols),
1460         (print_plugin_automatic_install_info), (main):
1461         Add --print-plugin-auto-install-info option to gst-inspect, so we can
1462         introspect plugin files and get machine-parsable output that corresponds
1463         to the last bit of the missing-plugin installer string (small gotcha:
1464         doesn't take into account ranks).
1465
1466 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
1467
1468         * configure.ac:
1469         * docs/gst/gstreamer-sections.txt:
1470         * gst/Makefile.am:
1471         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
1472         (gst_registry_lookup_locked):
1473         * gst/gstregistry.h:
1474         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1475         (gst_registry_binary_initialize_magic),
1476         (gst_registry_binary_save_string),
1477         (gst_registry_binary_save_pad_template),
1478         (gst_registry_binary_save_feature),
1479         (gst_registry_binary_save_plugin),
1480         (gst_registry_binary_write_cache),
1481         (gst_registry_binary_check_magic),
1482         (gst_registry_binary_load_pad_template),
1483         (gst_registry_binary_load_feature),
1484         (gst_registry_binary_load_plugin),
1485         (gst_registry_binary_read_cache):
1486         * gst/gstregistrybinary.h:
1487         * gst/gstregistryxml.c: (load_feature),
1488         (gst_registry_xml_read_cache):
1489           commit binary registry (disabled by default, see #359653)
1490
1491 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1492
1493         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
1494           Fix 'make check' too.
1495
1496 2007-01-10  Andy Wingo  <wingo@pobox.com>
1497
1498         * docs/design/part-negotiation.txt: Fix a typo, add a couple
1499         notes.
1500         
1501         * docs/design/part-negotiation.txt: Update with, um, one way that
1502         pull-mode negotiation might work?
1503
1504         * gst/gstpad.h: 
1505         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
1506         that the pad must be a src pad; makes sense to call it the other
1507         way in pull mode, and the logic is symmetric anyway.
1508
1509 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
1510
1511         * plugins/elements/gstfilesink.c:
1512           Include <stdio.h> for fseeko().
1513
1514 2007-01-10  Wim Taymans  <wim@fluendo.com>
1515
1516         * gst/gstevent.c:
1517         * gst/gstevent.h:
1518         Reserve LATENCY event.
1519
1520 2007-01-09  Wim Taymans  <wim@fluendo.com>
1521
1522         * docs/design/draft-latency.txt:
1523         Updates.
1524
1525 2007-01-09  Wim Taymans  <wim@fluendo.com>
1526
1527         * docs/design/draft-latency.txt:
1528         Updates.
1529
1530         * gst/gstelement.h:
1531         * gst/gststructure.c:
1532         * gst/gsttrace.c:
1533         Small typo fixes.
1534
1535 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1536
1537         * tests/check/.cvsignore:
1538           Ignore test-registry.xml as well.
1539
1540 2007-01-09  Wim Taymans  <wim@fluendo.com>
1541
1542         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
1543         unref data at the end when we are done with the pad.
1544
1545 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
1546
1547         * docs/gst/gstreamer-sections.txt:
1548         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
1549         (init_post), (gst_deinit), (gst_update_registry):
1550         * gst/gst.h:
1551           API: add gst_update_registry() (#391296).
1552
1553         * tests/check/Makefile.am:
1554         * tests/check/gst/gstregistry.c:
1555         * tests/check/gst/.cvsignore:
1556           Simple unit test for the above.
1557
1558 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
1559
1560         * gst/gstregistry.c: (gst_registry_scan_path_level):
1561           Plugin extension on HP-UX is .sl, add that to the list of approved
1562           plugin extensions (see #393796).
1563
1564         * tests/check/gst/gstpad.c: (GST_START_TEST):
1565           ulong => gulong. Fixes compilation with HP-UX compiler.
1566
1567         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1568           Fix compilation if valgrind headers are not available.
1569
1570 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
1571
1572         * win32/common/libgstreamer.def: 
1573           Add new exported function.
1574         * win32/vs6/libgstbase.dsp: 
1575           Add gstdataqueue.c to the build.
1576         * win32/vs6/libgstcoreelements.dsp:
1577           Add gstmultiqueue.c to the build.
1578         
1579 2007-01-06  Andy Wingo  <wingo@pobox.com>
1580
1581         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
1582         activate_pull(), providing for a way to specialize the process of
1583         spawning a thread to pull on the sink pad. There is a default
1584         implementation.
1585
1586         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
1587         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
1588         (gst_base_sink_init): Renamed pad activation functions (inserting
1589         "_pad" in their names). Refactor to use the new activate_pull
1590         vmethod, as appropriate.
1591         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
1592         default activate_pull function to start a task pulling from the
1593         sink pad, as before.
1594
1595         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
1596         on the pads if necessary, as in push()/chain(). Update docs.
1597         Shouldn't affect existing pull() usage as it is currently only
1598         being used on buffers without caps.
1599
1600 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1601
1602         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1603         (init_pre):
1604           Call g_thread_init() first thing in gst_init() / gst_check_init().
1605           When initialisation is done via gst_init_get_option_group() and
1606           GOption parsing, issue a warning if the GLib thread system has not
1607           been initialised yet by the time gst_init_get_option_group() is
1608           called, as it's quite likely other GLib functions such as
1609           g_option_context_new() have been called already then, and
1610           g_thread_init() must be called before any other GLib function. The
1611           application in question must be fixed in that case, since memory
1612           corruption might happen otherwise.
1613           We issue the warning because even if the GLib folks decide to work
1614           around the problem on their end in future, this is still an issue
1615           with all GLib versions >= 2.10.0, so we should warn until we depend
1616           on a GLib version we know to be safe.
1617           Update documentation as well.
1618           Closes bug #391278.
1619
1620 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1621
1622         * tools/gst-inspect.c: (main):
1623         * tools/gst-launch.c: (main):
1624         * tools/gst-typefind.c: (main):
1625         * tools/gst-xmlinspect.c: (main):
1626           Call g_thread_init() really really early, before any other GLib
1627           function (see #342564 and recent discussion on gtk-devel-list).
1628
1629 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1630
1631         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
1632
1633         * gst/gst_private.h:
1634         * gst/gstconfig.h.in:
1635         * gst/gstinfo.h:
1636           On win32, all the __declspec stuff for symbol exporting is
1637           apparently only needed with MSVC, but doesn't work with MingW.
1638           Fixes compilation with MingW and #391909.
1639
1640 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1641
1642         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
1643           Change some GST_ERROR_OBJECT that aren't really errors to
1644           GST_WARNING_OBJECT in order to reduce terminal spam.
1645
1646 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
1647
1648         * tests/check/Makefile.am:
1649           disable test again, as there seem to be still race problems
1650
1651 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
1652
1653         * tests/check/Makefile.am:
1654         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1655         (GST_START_TEST), (queue_suite):
1656           enable queue test again, add tests for the leaky behaviour
1657
1658 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
1659
1660         * configure.ac:
1661         * tests/examples/Makefile.am:
1662           Compile adapter test/example only if the required headers are
1663           available (fixes #391915).
1664
1665 2007-01-01  David Schleef  <ds@schleef.org>
1666
1667         * gst/gstplugin.c:
1668           Restore the previous signal handler for SIGSEGV instead of
1669           setting to default, since we may have stolen it away from
1670           someone.  (i.e., Mono)
1671
1672 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
1673
1674         * docs/random/draft-missing-plugins.txt:
1675           Some small additions and clarifications.
1676
1677 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
1678
1679         * gst/gstregistryxml.c: (gst_registry_save_escaped):
1680           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
1681           since that can lead to random memory corruptions and crashes
1682           (may or may not be related to #383244, #386711, and #386711).
1683
1684 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1685
1686         * tests/check/.cvsignore:
1687         * tests/check/Makefile.am:
1688           sync .cvsignome and CLEANFILES
1689
1690 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1691
1692         * tests/check/Makefile.am:
1693           fix distcheck
1694
1695 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1696
1697         * docs/design/part-states.txt:
1698           two tiny additional comments
1699         
1700         * gst/gststructure.c:
1701           doc fixing
1702
1703         * tests/check/Makefile.am:
1704         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1705         (GST_START_TEST):
1706           disable test for now, unless it gets fixed
1707
1708 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1709
1710         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1711         (GST_START_TEST):
1712           fix race in underrun test
1713
1714 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1715
1716         * tests/check/elements/.cvsignore:
1717           ignore more
1718
1719         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1720         (GST_START_TEST):
1721           try to narrow test failure
1722
1723 2006-12-21  David Schleef  <ds@schleef.org>
1724
1725         * plugins/elements/gstfakesrc.c:
1726           Use g_random_int_range(), since it produces better random
1727           numbers in a range than almost-correct floating point code.
1728
1729 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1730
1731         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1732         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1733         (gst_check_teardown_sink_pad):
1734           do not automatically (de)activate pads
1735
1736         * tests/check/Makefile.am:
1737         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1738         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
1739           add new, yet simple tests for queue
1740
1741         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
1742         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
1743         * tests/check/elements/filesrc.c: (cleanup_filesrc),
1744         (GST_START_TEST):
1745         * tests/check/elements/identity.c: (cleanup_identity):
1746           consistent pad (de)activation
1747
1748 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
1749
1750         Patch by: Sebastian Dröge  <slomo ubuntu com>
1751
1752         * libs/gst/base/gstcollectpads.c:
1753           Fix two doc typos (#387866).
1754
1755 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
1756
1757         * docs/manual/advanced-dparams.xml:
1758           Fix typo (g_object_control_properties() doesn't exist).
1759
1760 2006-12-19  Edward Hervey  <edward@fluendo.com>
1761
1762         * gst/gstsegment.c: (gst_segment_set_seek):
1763         Fine tune the cases where the segment start/stop values are really
1764         updated.
1765         * tests/check/gst/gstsegment.c: (GST_START_TEST):
1766         Add tests for the return values of gst_segment_set_seek().
1767
1768 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
1769
1770         * gst/gst.c:
1771           Docs typo fix.
1772
1773         * plugins/elements/gstqueue.c: (gst_queue_class_init),
1774         (gst_queue_init):
1775           Fix incorrect documentation and flesh it out a bit more.
1776           Set default values for the max properties on the GParamSpec as well,
1777           so it shows up correctly in gst-inspect.
1778
1779 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
1780
1781         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1782           Correct docs of queue, add more detail and crosslink it more.
1783
1784 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
1785
1786         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1787           Print additional debug info when the stream isn't perfectly
1788           timestamped; don't try to use invalid durations.
1789
1790 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
1791
1792         * docs/design/Makefile.am:
1793           Dist new design docs.
1794
1795 2006-12-16  Wim Taymans  <wim@fluendo.com>
1796
1797         Patch by: Sjoerd Simons <sjoerd at luon dot net>
1798
1799         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
1800         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
1801         (gst_collect_pads_stop), (gst_collect_pads_event),
1802         (gst_collect_pads_chain):
1803         * libs/gst/base/gstcollectpads.h:
1804         Add refcounting to the collectpads data so we can track when it's safe
1805         to free the data. Fixes #383382.
1806
1807 2006-12-15  Wim Taymans  <wim@fluendo.com>
1808
1809         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1810         (gst_collect_pads_remove_pad):
1811         Automatically activate/deactivate pads when they are added to a
1812         started/stoped collectpads.
1813
1814 2006-12-15  Wim Taymans  <wim@fluendo.com>
1815
1816         * gst/gstelement.c: (gst_element_add_pad):
1817         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
1818         * gst/gstpad.c: (gst_pad_init):
1819         Set pads to FLUSHING when they are created. Check, warn and fix when a
1820         demuxer adds an inactive pad to itself when running. Fixes #339326.
1821
1822 2006-12-15  Wim Taymans  <wim@fluendo.com>
1823
1824         * gst/gstelement.c: (gst_element_class_init),
1825         (gst_element_default_send_event), (gst_element_send_event),
1826         (gst_element_default_query), (gst_element_query):
1827         Expose default element send_event and query handling as vmethods that
1828         subclasses can chain up to.
1829
1830 2006-12-15  Wim Taymans  <wim@fluendo.com>
1831
1832         * gst/gstelement.c: (gst_element_set_state_func):
1833         Small documentation fixes.
1834
1835 2006-12-15  Wim Taymans  <wim@fluendo.com>
1836
1837         * docs/design/draft-latency.txt:
1838         Checked in draft for handling latency in pipelines.
1839
1840 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1841
1842         * Makefile.am:
1843         * gstreamer.doap:
1844         * gstreamer.spec.in:
1845           adding .doap file
1846
1847 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
1848
1849         * gst/gst.c: (init_pre), (init_post):
1850           init_pre() and init_post() might be called via our GOptionGroup or
1851           from gst_init(), and we should skip both of them if we've already
1852           been initialised, otherwise we will init some things twice or add
1853           two default log functions.
1854
1855 2006-12-13  Edward Hervey  <edward@fluendo.com>
1856
1857         * docs/manual/basics-bus.xml:
1858         No, gst_main_loop does not exist. Its g_main_loop.
1859         Discovered by somebody who abused the copy-paste technique of coding :)
1860
1861 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
1862
1863         * gst/gstghostpad.c:
1864           Log ghostpad debug stuff to the GST_PADS category as well rather
1865           than just to the default category.
1866
1867 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
1868
1869         * configure.ac:
1870         * gst/gst.c: (init_pre):
1871           Add some basic system details such as OS and architecture
1872           to the debug output if possible, courtesy of uname().
1873
1874 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
1875
1876         * docs/gst/running.xml:
1877           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
1878           environment variables.
1879
1880 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
1881
1882         * tests/check/gst/gstbin.c: (GST_START_TEST):
1883         It is acceptable to have a refcount of 2 or 3 at this point in the
1884         test, because the pipeline might be just posting its state_change
1885         message. The next line then waits for that message to appear using
1886         bus_poll, so that should be fine too.
1887
1888 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
1889
1890         * gst/gst.c: (ensure_current_registry_forking):
1891         Ignore EINTR when reading from the child registry pipe.
1892         Explicitly ignore the return value from close, since it makes no
1893         difference.
1894
1895         * gst/gstminiobject.c: (gst_mini_object_ref),
1896         (gst_mini_object_unref):
1897         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
1898
1899         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
1900         When removing cached plugins, remove their features too, so they're
1901         not visible after they've disappeared.
1902
1903         * gst/gstutils.c: (prepare_link_maybe_ghosting):
1904         In the unlikely case that we are linking pads with no parents, don't
1905         crash trying to get the non-existent parent bin.
1906
1907         * gst/parse/grammar.y:
1908         Output debug in the PIPELINE category
1909
1910 2005-03-08  Wim Taymans  <wim@fluendo.com>
1911
1912         Patch by: René Stadler <mail at renestadler dot de>
1913
1914         * gst/gstclock.c: (gst_clock_new_periodic_id):
1915         Reject invalid clock times for interval of periodic ids.
1916         Fixes ##383506.
1917
1918 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
1919
1920         * gst/gstelementfactory.c: (gst_element_factory_create):
1921         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1922         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
1923         * tools/gst-inspect.c: (print_element_info):
1924         Fix refcounting of gst_plugin_feature_load to match the docs. 
1925         Fixes: #380129
1926
1927 2006-12-07  Wim Taymans  <wim@fluendo.com>
1928
1929         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
1930         (gst_base_sink_get_position):
1931         Improve debugging of events.
1932
1933 2006-12-07  Wim Taymans  <wim@fluendo.com>
1934
1935         Patch by: René Stadler <mail at renestadler dot de>
1936
1937         * gst/gstclock.c: (gst_clock_id_wait):
1938         Make period ids add the interval to the origial requested time instead
1939         of the possibly updated time which can be wrong when there are multiple
1940         waiters for the same id. Fixes #382592.
1941
1942         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
1943         (gst_system_clock_id_wait_jitter_unlocked),
1944         (gst_system_clock_id_wait_jitter):
1945         Fix restart in the async notify thread when an async entry is added to
1946         the front of the list. Fixes #381492. 
1947
1948         * tests/check/gst/gstsystemclock.c: (store_callback),
1949         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
1950         Added test for multiple async waits.
1951         Added test for async wait order.
1952
1953 2006-12-07  Wim Taymans  <wim@fluendo.com>
1954
1955         * gst/gstbin.c: (gst_bin_query):
1956         Add some more docs about the POSITION query.
1957
1958 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
1959
1960         * configure.ac:
1961         Bump version nano - back to CVS.
1962
1963 === release 0.10.11 ===
1964
1965 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
1966
1967         * configure.ac:
1968           releasing 0.10.11, "Love never runs on time"
1969
1970 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
1971
1972         * win32/common/libgstbase.def:
1973         * win32/common/libgstreamer.def:
1974         * win32/vs8/libgstbase.vcproj:
1975         * win32/vs8/libgstcoreelements.vcproj:
1976         * win32/vs8/libgstreamer.vcproj:
1977         Fix compilation on win32 under VS8
1978         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
1979         Partially fixes #381175
1980
1981 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
1982
1983         * gst/gstvalue.c: (gst_value_compare_fraction):
1984         If someone is foolish enough to compare 2 fractions with denominator =
1985         0, return UNORDERED rather than aborting.
1986
1987 2006-11-28  Edward Hervey  <edward@fluendo.com>
1988
1989         * libs/gst/base/Makefile.am:
1990         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
1991         (gst_data_queue_base_init), (gst_data_queue_class_init),
1992         (gst_data_queue_init), (gst_data_queue_new),
1993         (gst_data_queue_cleanup), (gst_data_queue_finalize),
1994         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
1995         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
1996         (gst_data_queue_is_empty), (gst_data_queue_is_full),
1997         (gst_data_queue_set_flushing), (gst_data_queue_push),
1998         (gst_data_queue_pop), (gst_data_queue_drop_head),
1999         (gst_data_queue_set_property), (gst_data_queue_get_property):
2000         * libs/gst/base/gstdataqueue.h:
2001         New GstDataQueue object for threadsafe queueing. Most useful for
2002         elements that need some queueing functionnality.
2003         * docs/libs/gstreamer-libs-docs.sgml:
2004         * docs/libs/gstreamer-libs-sections.txt:
2005         Insert documentation for GstDataQueue
2006         * plugins/elements/Makefile.am:
2007         * plugins/elements/gstelements.c:
2008         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2009         (gst_multi_queue_class_init), (gst_multi_queue_init),
2010         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2011         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
2012         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
2013         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2014         (gst_multi_queue_loop), (gst_multi_queue_chain),
2015         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2016         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
2017         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
2018         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
2019         (wake_up_next_non_linked), (compute_next_non_linked),
2020         (single_queue_overrun_cb), (single_queue_underrun_cb),
2021         (single_queue_check_full), (gst_single_queue_new):
2022         * plugins/elements/gstmultiqueue.h:
2023         New multiqueue element, using GstDataQueue. Used for queuing multiple
2024         streams.
2025         Closes #344639 and #347785
2026
2027 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
2028
2029         * docs/pwg/advanced-types.xml:
2030           add more missing type details
2031
2032         * tools/gst-run.c: (main):
2033           remove unused variable
2034
2035 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
2036
2037         * docs/libs/Makefile.am:
2038         * docs/libs/gstreamer-libs.types:
2039           add types of base classes to enable gobject specific stuff in the docs
2040
2041         * docs/random/ensonic/embedded.txt:
2042           more ideas about isolating platform specific things
2043
2044 2006-11-20  Wim Taymans  <wim@fluendo.com>
2045
2046         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
2047
2048         * libs/gst/check/gstcheck.h:
2049         Fix compilation and running against 0.9.4. Fixes #377332.
2050
2051 2006-11-20  Wim Taymans  <wim@fluendo.com>
2052
2053         * gst/gstsegment.c: (gst_segment_set_seek),
2054         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2055         (gst_segment_to_running_time):
2056         Fix boundary checking in to_running_time() and to_stream_time().
2057         Fixes #377183.
2058
2059         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2060         stream and running time can now be calculated for the complete
2061         clipped segment.
2062
2063 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
2064
2065         * gst/gstpad.c: (gst_pad_push_event):
2066           Can't access event structure after giving away ownership of
2067           the event.
2068
2069 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
2070
2071         * docs/random/ensonic/embedded.txt:
2072         * docs/random/ensonic/profiling.txt:
2073         * docs/random/ensonic/receipies.txt:
2074           more thinking
2075
2076 2006-11-13  Wim Taymans  <wim@fluendo.com>
2077
2078         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2079
2080         * gst/gstpad.c:
2081         Fix documentation for gst_pad_dispatcher. Fixes #374475.
2082
2083 2006-11-13  Wim Taymans  <wim@fluendo.com>
2084
2085         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
2086
2087         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2088         Store new length in segment duration so we don't keep on calling the
2089         potentially expensize get_size() call. Fixes #370865.
2090
2091 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
2092
2093         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
2094
2095         * win32/common/libgstreamer.def:
2096           Add two missing symbols (#366492).
2097
2098 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
2099
2100         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
2101         (gst_adapter_take_buffer):
2102         Fix format string to use all its arguments.
2103         Remove useless >= check on a guint
2104
2105 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2106
2107         * tests/examples/adapter/.cvsignore:
2108         Ignore build file as commanded by the build-bot
2109
2110 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2111
2112         * tests/examples/adapter/Makefile.am:
2113         * tests/examples/adapter/adapter_test.c: (run_test_take),
2114         (run_test_take_buffer), (run_tests), (main):
2115
2116         Add new files from the previous commit
2117
2118 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2119
2120         * Makefile.am:
2121         * configure.ac:
2122         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
2123         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
2124         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
2125         * libs/gst/base/gstadapter.h:
2126         * tests/check/libs/adapter.c: (create_and_fill_adapter),
2127         (GST_START_TEST), (gst_adapter_suite):
2128         * tests/examples/Makefile.am:
2129         Do some optimisation work in GstAdapter to avoid copies in more cases.
2130         It could still do slightly better by merging buffers when
2131         gst_buffer_is_span_fast is true, but is already faster. 
2132
2133         Also, avoid traversing a single-linked list to append each incoming 
2134         buffer inside the adapter.
2135
2136         Add simple test app that times the adapter behaviour in different
2137         situations, and extend the unit test to check that bytes enter and
2138         exit the adapter in their original order.
2139
2140 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2141
2142         * docs/random/draft-missing-plugins.txt:
2143           Update: use element message instead of adding a new message
2144           type to the core; don't provide GStreamer API to initiate the
2145           plugin download, just provide API to compose the strings needed
2146           and let an external libgimmestuff handle the rest.
2147
2148 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
2149
2150         * tools/gst-inspect.c: (print_element_properties_info):
2151         Print a string instead of 'unknown type' for GValueArray properties
2152
2153 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
2154
2155         * docs/random/draft-missing-plugins.txt:
2156         More small fixes.
2157
2158 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2159
2160         * tests/examples/typefind/typefind.c: (type_found), (main):
2161           Make typefind element example work again (#371894); add a
2162           license header.
2163
2164 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2165
2166         * docs/random/draft-missing-plugins.txt:
2167           Commit initial draft about how to deal with missing plugins,
2168           needs work (API too).
2169
2170 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
2171
2172         * docs/pwg/advanced-types.xml:
2173           documents the new caps elements (see #363118)
2174
2175 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2176
2177         * gst/gstplugin.c: (gst_plugin_load_file):
2178         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
2179         (gst_file_src_map_region), (gst_file_src_start):
2180         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
2181         (gst_file_index_commit):
2182           Use g_strerror() instead of strerror() - we want UTF-8.
2183
2184 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2185
2186         Patch by: Peter Kjellerstedt <pkj at axis com>
2187
2188         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2189           Another printf fix (#371493).
2190
2191 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2192
2193         * tests/check/gst/gsttag.c:
2194           relicence (okay with author=company)
2195
2196 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2197
2198         * gst/gstpad.c: (gst_pad_event_default_dispatch),
2199         (gst_pad_push_event):
2200           Enhance debug and improve docs
2201         
2202         * gst/gsturi.c:
2203           Fix docs
2204
2205 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2206
2207         * docs/random/ensonic/distributed.txt:
2208         * docs/random/ensonic/profiling.txt:
2209           more ideas
2210
2211 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2212
2213         * docs/gst/gstreamer-sections.txt:
2214           add new API and fix the build
2215           
2216         * gst/gstbin.c: (gst_bin_recalc_state):
2217         * gst/gstelement.c: (gst_element_message_full),
2218         (gst_element_get_state_func), (gst_element_set_state_func):
2219           use new API and improve logging
2220         
2221         * gst/gstutils.c: (gst_element_state_change_return_get_name):
2222         * gst/gstutils.h:
2223           API: add function to get StateChangereturn names to improve logs 
2224
2225 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
2226
2227         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2228           I'm considering shooting the next person to put strerror stuff
2229           in the translateable part of the message.
2230
2231 2006-11-03  Wim Taymans  <wim@fluendo.com>
2232
2233         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2234         Get the type and printf conversion specifiers right.
2235
2236 2006-11-03  Wim Taymans  <wim@fluendo.com>
2237
2238         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2239
2240         * gst/gstpad.c: (gst_pad_init), (pre_activate),
2241         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
2242         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
2243         Some small cleanups. Improve debugging.
2244         * gst/gstpad.h:
2245         Signal all waiting threads with a broadcast instead of just one.
2246         Fixes #369942.
2247
2248 2006-11-03  Wim Taymans  <wim@fluendo.com>
2249
2250         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2251         (gst_fd_src_create):
2252         Add some debugging. 
2253         Only update fd when it's different from the old.
2254
2255 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2256
2257         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
2258           Printf fixes for PPC/OSX, take two (#369366).
2259
2260 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2261
2262         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
2263
2264         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2265         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2266         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2267           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
2268           don't cast to long long for portability reasons, but use
2269           GLib's types instead.
2270
2271 2006-10-30  Michael Smith  <msmith@fluendo.com>
2272
2273         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2274           Get the arguments to lseek() the right way around.
2275           Fixes 367677.
2276
2277 2006-10-30  Wim Taymans  <wim@fluendo.com>
2278
2279         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
2280
2281         * gst/gstinfo.h:
2282         _declspec should be __declspec (two underscores, not one). Fixes 366572.
2283
2284 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
2285
2286         Patch by: Kjartan Maraas  <kmaraas at gnome org>
2287
2288         * docs/design/part-MT-refcounting.txt:
2289         * docs/random/wtay/capsnego2-docs:
2290         * gst/gstclock.c:
2291         * gst/gstxml.c:
2292           Typo fixes (#366212).
2293
2294 2006-10-28  Wim Taymans  <wim@fluendo.com>
2295
2296         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2297
2298         * gst/gst.c:
2299         * win32/common/libgstbase.def:
2300         * win32/common/libgstreamer.def:
2301         * win32/vs8/libgstbase.vcproj:
2302         * win32/vs8/libgstcontroller.vcproj:
2303         Add needed entries in .def files.
2304         Use HAVE_UNISTD_H.
2305         Rearrange def files in vs8 solutions. Fixes #366286.
2306
2307 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
2308
2309         * win32/common/gstconfig.h:
2310           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
2311           hand-made win32 gstconfig.h. Fixes #366321.
2312
2313 2006-10-27  Wim Taymans  <wim@fluendo.com>
2314
2315         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
2316         (gst_ghost_pad_new_full):
2317         Make acceptcaps return TRUE when we don't have a target, just like
2318         setcaps does.
2319
2320 2006-10-27  Wim Taymans  <wim@fluendo.com>
2321
2322         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2323         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
2324
2325 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
2326
2327         * gst/gststructure.c: (gst_structure_id_set_value):
2328           If someone tries to set a non-UTF8 string field on a structure,
2329           don't just print a warning, but also ignore the request and do
2330           not change/add that field to the structure.
2331
2332         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2333           Test for the above.
2334
2335 2006-10-25  David Schleef  <ds@schleef.org>
2336
2337         * gst/gstinfo.c:
2338           g_hash_table_insert() needs a cast to a non-const pointer duh.
2339
2340 2006-10-25  David Schleef  <ds@schleef.org>
2341
2342         * gst/gstinfo.c:
2343         * gst/gstinfo.h:
2344           Change name parameter of _gst_debug_register_funcptr to const
2345           to reflect the constness of its use in the function as well
2346           as to quiet a gcc warning.
2347
2348 2006-10-25  Edward Hervey  <edward@fluendo.com>
2349
2350         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2351         Don't push the buffer if it's empty.
2352         Closes #363095
2353
2354 2006-10-24  Wim Taymans  <wim@fluendo.com>
2355
2356         * gst/gstevent.h:
2357         Add small comment.
2358
2359         * libs/gst/base/gstbasetransform.c:
2360         (gst_base_transform_sink_eventfunc):
2361         Debug segment values *after* updating them as this is more
2362         interesting.
2363
2364 2006-10-23  Wim Taymans  <wim@fluendo.com>
2365
2366         * docs/design/part-events.txt:
2367         Update some docs.
2368
2369         * docs/design/part-block.txt:
2370         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2371         (gst_pad_push_event):
2372         Revert BLOCKING patch, it tries to be smart without really having a
2373         clear idea what or how. So, now we discard all FLUSHING events again on
2374         a blocking pad. Should fix gnonlin again.
2375
2376 2006-10-23  Wim Taymans  <wim@fluendo.com>
2377
2378         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2379
2380         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2381         (gst_base_src_start), (gst_base_src_activate_push):
2382         Make sure size is always initialized. Fixes #364388.
2383
2384 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
2385
2386         * docs/random/ensonic/distributed.txt:
2387           add some ideas about doing distributed processing
2388
2389         * docs/random/ensonic/profiling.txt:
2390           get_rusage look promising
2391
2392 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
2393
2394         * docs/manual/basics-helloworld.xml:
2395           Add a cast in example to fix compile warning
2396
2397 2006-10-18  Wim Taymans  <wim@fluendo.com>
2398
2399         * gst/gstsegment.c: (gst_segment_set_last_stop),
2400         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2401         Relax arg checking again, -1 is allowed.
2402
2403 2006-10-18  Wim Taymans  <wim@fluendo.com>
2404
2405         * gst/gstsegment.c: (gst_segment_set_last_stop),
2406         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2407         _set_last_stop() must be with a value != -1
2408         A _TYPE_SET to -1 means seek to 0.
2409         Calc last_stop correctly for negative rates.
2410         Make sure we work with positive durations when updating a segment.
2411
2412 2006-10-18  Wim Taymans  <wim@fluendo.com>
2413
2414         * docs/design/part-live-source.txt:
2415         * gst/gstclock.h:
2416         Small docs fixes.
2417
2418 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
2419
2420         * gst/gstbuffer.h:
2421           Add an explicit cast to GstBuffer** to keep old code that added an
2422           explicit cast to GstMiniObject** for gst_mini_object_replace()
2423           compiling without warning.
2424
2425 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
2426
2427         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
2428           check for validity of dates
2429
2430 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2431
2432         * docs/gst/gstreamer-sections.txt:
2433           Forgot this one, makes gtk-doc shut up.
2434
2435 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2436
2437         Patch by: Peter Kjellerstedt <pkj at axis com>
2438
2439         * gst/gstobject.h:
2440           Don't define xmlNodePtr to gpointer if the core was built with
2441           --disable-loadsave and --disable-registry, this will break
2442           applications that want to use libxml2 but are buildling against a
2443           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
2444           instead so we don't have to mess with the libxml2 namespace
2445           (#361675).
2446
2447 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2448
2449         * gst/gstbuffer.h:
2450           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
2451           type-punned pointer warnings.
2452
2453 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2454
2455         * gst/gstelement.h:
2456           Add casts to the correct return type to state <=> state transition
2457           macros.
2458
2459 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
2460
2461         * docs/design/part-live-source.txt:
2462           describe howto handle latency
2463         
2464         * docs/random/ensonic/profiling.txt:
2465           more ideas
2466
2467         * tools/gst-plot-timeline.py:
2468           fix log parsing for solaris, remove unused function
2469
2470 2006-10-16  Wim Taymans  <wim@fluendo.com>
2471
2472         * docs/design/part-trickmodes.txt:
2473         * gst/gstevent.c:
2474         Update some docs regarding reverse playback.
2475
2476 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2477
2478         Patch by: Marcus Granado  <mrc dot gran at gmail com>
2479
2480         * win32/vs8/grammar.vcproj:
2481           Error out with a warning if glib-genmarshal.exe is not in path,
2482           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
2483
2484 2006-10-13  Wim Taymans  <wim@fluendo.com>
2485
2486         * gst/gstsegment.c: (gst_segment_set_seek):
2487         When seeking to stop -1, set last_stop (current position) to the
2488         duration of the segment.
2489
2490 2006-10-13  Wim Taymans  <wim@fluendo.com>
2491
2492         * gst/gstelement.h:
2493         Clarify _NO_PREROLL a bit more.
2494
2495         * gst/gstevent.c:
2496         Fix docs.
2497
2498         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
2499         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
2500         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
2501         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
2502         due to wrong locking order. Fixes #361769.
2503         Remove some redundant/misplaced checks in pad_block.
2504
2505         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2506         For negative rates, count backwards from the duration.
2507
2508 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2509
2510         * gst/gsterror.c: (_gst_library_errors_init):
2511           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
2512           up with something better).
2513
2514 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
2515
2516         * win32/vs6/libgstreamer.dsp:
2517         * win32/vs7/libgstreamer.vcproj:
2518         * win32/vs8/libgstreamer.vcproj:
2519           Don't reference glib-compat.c which is currently not used and not
2520           disted; add gstquark.c which was recently added. Fixes #361730.
2521
2522 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
2523
2524         * win32/common/libgstbase.def:
2525         * win32/common/libgstcontroller.def:
2526         * win32/common/libgstreamer.def:
2527           Add gst_caps_merge() and a bunch of other recently-added functions.
2528           Fixes #361732.
2529
2530 2006-10-11  Wim Taymans  <wim@fluendo.com>
2531
2532         * docs/plugins/gstreamer-plugins.args:
2533         * docs/plugins/inspect/plugin-coreelements.xml:
2534         * docs/plugins/inspect/plugin-coreindexers.xml:
2535         Update element args.
2536
2537         * gst/gstsystemclock.c:
2538         Small comment update.
2539
2540         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
2541         (gst_tee_request_new_pad), (gst_tee_release_pad),
2542         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
2543         (gst_tee_sink_activate_pull):
2544         * plugins/elements/gsttee.h:
2545         Some tee loving:
2546         Add default property defines.
2547         Implement release pad function.
2548         Give properties better blubs etc.
2549         Activate pads before adding them to a running tee.
2550         Do simple buffer_alloc on the first requested pad.
2551         Post error when activation fails.
2552
2553 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
2554
2555         * gst/gst.c: (ensure_current_registry_forking):
2556           Check return value of write() to make compiler happy.
2557
2558 2006-10-11  Wim Taymans  <wim@fluendo.com>
2559
2560         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2561
2562         * plugins/elements/gstqueue.c: (gst_queue_chain):
2563         Recheck queue filledness after signalling the overrun when we're about
2564         to leak downstream because we released the lock when emitting the signal
2565         and the queue could be empty again. Fixes #352345.
2566
2567 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
2568
2569         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2570           Fix refcounting here too, just like we did for _new_valist() a few
2571           days ago (#357180) (thanks to René Stadler). Also remove all those
2572           'Since: 0.9' from the gtk-doc blobs.
2573
2574         * tests/check/libs/controller.c: (controller_refcount_new_list),
2575         (gst_controller_suite):
2576           Unit test for the above.
2577
2578 2006-10-10  Wim Taymans  <wim@fluendo.com>
2579
2580         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
2581
2582         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2583         (gst_pad_save_thyself):
2584         Update some docs.
2585         Write pad direction in XML output. Fixes #345496.
2586
2587 2006-10-10  Wim Taymans  <wim@fluendo.com>
2588
2589         Patch by: René Stadler <mail at renestadler dot de>
2590
2591         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2592         (gst_controller_new_list), (_gst_controller_dispose),
2593         (_gst_controller_finalize), (_gst_controller_class_init):
2594         Take ref to controlled object so that it cannot disappear. 
2595         Fixes #357432.
2596
2597 2006-10-10  Wim Taymans  <wim@fluendo.com>
2598
2599         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2600         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2601         (gst_check_teardown_sink_pad):
2602         Activate/deactivate pads in setup/teardown respectively.
2603
2604 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2605
2606         Patch by: Josep Torre Valles <josep@fluendo.com>
2607
2608         * gst/Makefile.am:
2609         Cast values when making gstenumtypes.h.  This pacifies Forte
2610         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
2611         in the enumeration.
2612
2613 2006-10-09  Wim Taymans  <wim@fluendo.com>
2614
2615         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
2616         Rename some more @cur to @start to fix docs. 
2617
2618         * gst/gstsegment.c: (gst_segment_set_seek):
2619         Fix typo.
2620         time and start must always stay in sync as defined in design doc.
2621
2622         * gst/gsttaglist.c: (gst_tag_list_is_empty):
2623         Rename param to fix docs.
2624
2625         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2626         Check that start and time are in sync.
2627
2628         * tests/check/pipelines/parse-launch.c:
2629         (gst_parse_test_element_change_state):
2630         Activate pad before adding to the element.
2631
2632 2006-10-09  Wim Taymans  <wim@fluendo.com>
2633
2634         * docs/design/part-qos.txt:
2635         Fix typo.
2636
2637         * gst/gstevent.c:
2638         * gst/gstevent.h:
2639         Update seek event docs regarding negative rates.
2640         Rename @cur to @start. 
2641
2642         * gst/gstsegment.c: (gst_segment_set_seek):
2643         * gst/gstsegment.h:
2644         Update set_seek docs regarding negative rates.
2645         Correctly update last_stop to @stop when dealing with negative
2646         rates.
2647         Rename @cur to @start. 
2648
2649         * tests/check/gst/gstpad.c: (GST_START_TEST):
2650         Activate pads before trying to use them.
2651
2652         * tests/check/gst/gstsegment.c: (GST_START_TEST),
2653         (gst_segment_suite):
2654         Add simple check for segments and negative rates.
2655
2656 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2657
2658         * gst/gsttaglist.c: (gst_tag_list_is_empty):
2659         * gst/gsttaglist.h:
2660         * docs/gst/gstreamer-sections.txt:
2661           API: add gst_tag_list_is_empty() (#360467).
2662
2663         * tests/check/gst/gsttag.c: (GST_START_TEST):
2664           And a test case.
2665
2666 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2667
2668         * gst/gstmessage.h:
2669         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
2670         a value that doesn't fit on enumeration.
2671
2672 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2673
2674         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2675         Remove local debugging system and use Gstreamer's instead.
2676
2677 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2678
2679         Patch by: Josep Torre Valles <josep@fluendo.com>
2680
2681         * common/m4/gst-error.m4:
2682         Disable warning of statement not reached on Forte.
2683         * gst/gstmessage.h:
2684         Fix warning on Forte (value doesn't fit on enumeration).
2685         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
2686         Fix warning on Forte (value doesn't fit on enumeration).
2687         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2688         DEBUG macro says it takes minimum of 2 args and so Forte
2689         complains about the use with just 1 arg.
2690         * plugins/elements/gstfdsink.c:
2691         * plugins/elements/gstfdsrc.c:
2692         * plugins/elements/gstfilesink.c:
2693         * plugins/elements/gstfilesrc.c:
2694         Use correct return type for the uri handler implementations.
2695
2696         All these fix warnings in Forte.  Fixes bug #360860.
2697
2698 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2699
2700         * gst/gstelement.h:
2701           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
2702           format string, so don't use G_GNUC_PRINTF for those versions.
2703
2704 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
2705
2706         * gst/gsttaglist.c: (gst_is_tag_list):
2707         * gst/gsttaglist.h:
2708           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
2709
2710         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2711           Small test for the above.
2712
2713 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
2714
2715         * gst/gsttaglist.h:
2716           Less tabs, more spaces.
2717
2718 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
2719
2720         * gst/gstinfo.h:
2721           Those two function declarations do actually belong there, revert
2722           commit from yesterday that turned them intro macros.
2723
2724 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2725
2726         Patch by: Josep Torre Valles <josep@fluendo.com>
2727
2728         * gst/gst.c: (gst_init_get_option_group):
2729         Fix empty declaration and type mismatch.
2730         * gst/gstbin.c: (gst_bin_change_state_func):
2731         Fix type mismatch.
2732         * gst/gstelement.c: (gst_element_continue_state),
2733         (gst_element_set_state_func), (gst_element_change_state),
2734         (gst_element_change_state_func):
2735         Fix type mismatches.
2736         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
2737         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
2738         Cast as appropriate.
2739         * gst/gstobject.c: (gst_class_signal_connect):
2740         Cast as appropriate.  The function pointer parameter really
2741         has the wrong type but would break API if we change it.
2742         * gst/gstquery.c:
2743         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
2744         order of including string.h.
2745         * gst/gstutils.c: (gst_element_state_get_name):
2746         Remove unreachable line.
2747         * gst/gstxml.c: (gst_xml_parse_doc):
2748         Fix type mismatch.
2749         All these caught by Forte.
2750
2751 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2752
2753         Patch by: Josep Torre Valles <josep@fluendo.com>
2754
2755         * common/m4/gst-error.m4:
2756         Fixed bug #360151.
2757         We need to disable warnings on Forte for empty declarations
2758         due to gst-indent adding ;s to lines that just use macros
2759         where the macro actually doesn't need a ; at end to end
2760         statement.
2761
2762 2006-10-06  Wim Taymans  <wim@fluendo.com>
2763
2764         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2765         (gst_file_sink_close_file), (gst_file_sink_event),
2766         (gst_file_sink_render):
2767         Add some FIXME for the NEWSEGMENT handling.
2768
2769 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2770
2771         * gst/parse/grammar.y:
2772         Remove static function gst_parse_element_lock as all it does
2773         is return.  Looks like cruft from 0.8.
2774
2775 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2776
2777         Patch by: Josep Torre Valles <josep@fluendo.com>
2778
2779         * common/m4/gst-error.m4:
2780         * configure.ac:
2781         * libs/gst/net/Makefile.am:
2782         Fix a compilation issue with Forte on Solaris.  inet_aton is in
2783         libresolv.
2784
2785 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
2786
2787         * gst/gstpad.c: (pre_activate):
2788         * gst/gstregistry.c: (gst_registry_scan_path_level):
2789         * gst/gstregistryxml.c: (load_plugin):
2790         * libs/gst/controller/gstcontroller.c:
2791         (gst_controlled_property_set_interpolation_mode):
2792         * libs/gst/dataprotocol/dataprotocol.c:
2793         (gst_dp_packet_from_event_1_0):
2794         * libs/gst/net/gstnetclientclock.c:
2795         (gst_net_client_clock_observe_times):
2796         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2797           Printf fixes.
2798
2799 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
2800
2801         * configure.ac:
2802         * docs/gst/gstreamer-sections.txt:
2803         * gst/gstconfig.h.in:
2804         * gst/gstelement.h:
2805         * gst/gstinfo.h:
2806           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
2807           whether we can use G_GNUC_PRINTF in other header files and at
2808           least check the printf format/arguments of debug messages and
2809           GST_ELEMENT_ERROR messages when the printf extension is not
2810           being used.
2811           Replace more tabs with spaces in gstinfo.h and remove two spurious
2812           function declarations in GST_DISABLE_DEBUG part with macros.
2813
2814 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
2815
2816         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
2817           More docs for the sync-message signal (mention that it is not
2818           emitted by default); log message structures of messages posted on
2819           the bus as well.
2820
2821 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
2822
2823         * gst/gst.c: (ensure_current_registry_forking):
2824         Use a pipe pair to receive status results from the forked child, and
2825         ignore the result from waitpid. Fixes #355499
2826
2827 2006-10-02  Wim Taymans  <wim@fluendo.com>
2828
2829         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
2830         (gst_ghost_pad_suite):
2831         Fix leak in check.
2832
2833 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
2834
2835         * gst/gstpad.c:
2836           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
2837
2838 2006-10-02  Edward Hervey  <edward@fluendo.com>
2839
2840         * docs/design/part-block.txt:
2841         Further explain the use of flushing on blocked pads.
2842         * docs/gst/gstreamer-sections.txt:
2843         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2844         (gst_pad_push_event):
2845         * gst/gstpad.h:
2846         Added new GstPadFlag : GST_PAD_BLOCKING.
2847         Adds the notion of pads really blocking, which enables to properly
2848         handle FLUSH_START/FLUSH_STOP events on blocked pads.
2849         Fixes #358999
2850         API: gst_pad_is_blocking()
2851         API: GST_PAD_IS_BLOCKING() macro
2852         API: GST_PAD_BLOCKING GstPadFlag
2853         
2854 2006-10-02  Wim Taymans  <wim@fluendo.com>
2855
2856         Patch by: mrcgran <mrc.gran at gmail dot com>
2857
2858         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
2859         Filter the proxied caps against the padtemplate if we have one.
2860
2861         * gst/gstquery.c: (gst_query_new_segment):
2862         Add include for gstinfo.h so that compilation with
2863         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
2864
2865 2006-10-02  Wim Taymans  <wim@fluendo.com>
2866
2867         Patch by: Alessandro Decina  <alessandro at nnva org>
2868
2869         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
2870         (gst_file_sink_set_location), (gst_file_sink_open_file),
2871         (gst_file_sink_close_file), (gst_file_sink_event),
2872         (gst_file_sink_render):
2873         Set file to NULL when closing filesink so that we can set a new filename
2874         in READY. Fixes #358613.
2875
2876 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
2877
2878         Patch by: Alessandro Decina  <alessandro at nnva org>
2879
2880         * gst/gstevent.c: (_gst_event_copy):
2881           Fix gst_mini_object_make_writable() and gst_event_copy() for events
2882           with event structures by setting the parent refcount address of the
2883           copied structure to the address of the refcount member of the newly
2884           copied event rather than the address of the refcount member of the
2885           original event. Fixes #358737.
2886
2887         * tests/check/gst/gstevent.c: (GST_START_TEST):
2888           Unit test for the above.
2889
2890 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
2891
2892         * docs/design/Makefile.am:
2893           Dist some more files.
2894
2895 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
2896
2897         * tests/check/libs/controller.c: (GST_START_TEST),
2898         (gst_controller_suite):
2899           Add test for the previous fix; add some more tests
2900           for correct refcounting behaviour; fix a few leaks
2901           in test cases; call gst_controller_init() at start
2902           of all tests.
2903
2904 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
2905
2906         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2907         (gst_controller_set_from_list):
2908           Don't g_return_val_if_fail() on timed values with invalid timestamps
2909           inside a critical section without unlocking the mutex. Spotted by
2910           René Stadler. (#357617)
2911           Also, fix up refcounting properly: when returning an existing
2912           controller, we should increase the reference only once and not
2913           once per property and when trying to control a property again
2914           we should also increase the refcount.
2915
2916 2006-09-29  Wim Taymans  <wim@fluendo.com>
2917
2918         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2919         * libs/gst/net/gstnettimeprovider.c:
2920         (gst_net_time_provider_thread):
2921         Stop reading commands when EOF as well.
2922
2923         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2924         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2925         * plugins/elements/gstidentity.c: (gst_identity_class_init):
2926         Unify description of the dump property.
2927
2928 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
2929
2930         * tests/examples/manual/.cvsignore:
2931         OK, so it's actually cvsignore that needs changing. Stop laughing.
2932
2933 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
2934
2935         * tests/examples/manual/Makefile.am:
2936         Gah, declare vars *before* using them
2937
2938 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
2939
2940         * gst/gst.c: (init_pre), (scan_and_update_registry),
2941         (ensure_current_registry_nonforking),
2942         (ensure_current_registry_forking), (ensure_current_registry),
2943         (init_post), (gst_debug_help), (gst_deinit):
2944         * gst/gst_private.h:
2945         * gst/gstregistry.c: (gst_registry_finalize),
2946         (gst_registry_remove_features_for_plugin_unlocked),
2947         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
2948         (gst_registry_scan_path),
2949         (_priv_gst_registry_remove_cache_plugins),
2950         (_priv_gst_registry_cleanup):
2951         * gst/gstregistry.h:
2952         Re-commit the registry changes, along with an extra fix:
2953           When a cached plugin is encountered at a different file path,
2954           update the stored path in the registry cache so that the parent
2955           process knows where it actually is now when it re-reads the registry
2956           cache. Fixes the thing that broke distcheck with the previous commit.
2957
2958         * tests/check/Makefile.am:
2959         Clean up files named 'core' too when running make clean.
2960
2961         * tests/examples/manual/Makefile.am:
2962         Set up a registry path for running these tests, and clean it properly
2963         for distcheck.
2964
2965 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
2966
2967         * configure.ac:
2968         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
2969         want gmodule-no-export-2.0.pc instead so that we don't drag in
2970         --export-dynamic on every project that links to GStreamer.
2971
2972         Also, make our export regex only match the start of symbols, rather 
2973         than any symbol that contains '_gst' somewhere.
2974
2975         * libs/gst/check/Makefile.am:
2976         The libgstcheck we build does however need export-dynamic, as it
2977         produces some symbols that don't match our _gst... style regex.
2978         Fixes: #318031
2979
2980 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
2981
2982         * gst/gst.c: (init_pre), (scan_and_update_registry),
2983         (ensure_current_registry_nonforking),
2984         (ensure_current_registry_forking), (ensure_current_registry),
2985         (init_post), (gst_debug_help), (gst_deinit):
2986         * gst/gst_private.h:
2987         * gst/gstregistry.c: (gst_registry_finalize),
2988         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
2989         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
2990         (_gst_registry_cleanup):
2991         * gst/gstregistry.h:
2992           Revert previous change until I figure out why it breaks distcheck.
2993
2994 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
2995
2996         * gst/gst.c: (init_pre), (scan_and_update_registry),
2997         (ensure_current_registry_nonforking),
2998         (ensure_current_registry_forking), (ensure_current_registry),
2999         (init_post), (gst_debug_help), (gst_deinit):
3000
3001           Make init_pre and init_post take the full complement of GOptionFunc
3002           args so they can return useful GErrors. Make the registry updating
3003           functions do so.
3004
3005           Call _priv_gst_registry_remove_cache_plugins after scanning files to
3006           ensure that the registry we're about to write out doesn't contain
3007           stale information about old-deleted plugin files.
3008
3009           Make _priv_gst_registry_remove_cache_plugins return a boolean so
3010           that deletion of plugin files is considered a registry change.
3011
3012         * gst/gst_private.h:
3013         * gst/gstregistry.c: (gst_registry_finalize),
3014         (gst_registry_remove_features_for_plugin_unlocked),
3015         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3016         (gst_registry_scan_path),
3017         (_priv_gst_registry_remove_cache_plugins),
3018         (_priv_gst_registry_cleanup):
3019         * gst/gstregistry.h:
3020         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
3021         by adding _priv prefix, so that they won't appear in the global
3022         symbol table. They still do atm though because of #318031. Move the
3023         prototypes to gst_private.h
3024
3025         When removing a plugin, remove all features for that plugin too. 
3026         Fixes #340878.
3027
3028 2006-09-27  Wim Taymans  <wim@fluendo.com>
3029
3030         * docs/random/moving-plugins:
3031         Make it clear that the "compiled-in descriptions" really mean
3032         the element details.
3033
3034         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3035         (gst_base_sink_wait_preroll):
3036         Update docs.
3037
3038         * docs/libs/gstreamer-libs-sections.txt:
3039         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3040         (gst_base_src_get_range), (gst_base_src_activate_push):
3041         * libs/gst/base/gstbasesrc.h:
3042         Added function to block while waiting for PLAYING, this function
3043         is used by live sources that block on the clock.
3044         API: gst_base_src_wait_playing()
3045
3046 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3047
3048         Patch by: Peter Kjellerstedt <pkj at axis com>
3049
3050         * Makefile.am:
3051           gst-element-check.m4 is generated and should therefore be
3052           copied from the build dir rather than the source dir (#357593).
3053           'make distcheck' hasn't noticed this because we were disting
3054           the file as well, so stop doing that.
3055
3056 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3057
3058         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3059           Add some tests for gst_caps_intersect().
3060
3061         * tools/gst-launch.c: (event_loop):
3062           Print all buffering percentages we get, even the 100% one.
3063
3064 2006-09-26  Wim Taymans  <wim@fluendo.com>
3065
3066         * tools/gst-inspect.c: (print_element_properties_info),
3067         (print_signal_info):
3068         Fix printing of flags to match the look of enums.
3069
3070 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3071
3072         * gst/gstelementfactory.c:
3073           Fix typo in docs blurb.
3074
3075 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3076
3077         * gst/gsturi.c: (search_by_entry):
3078           Don't assert/crash here if a uri handler doesn't return any
3079           supported protocols. The list of protocols could be generated
3080           dynamically at runtime or at plugin registration, and an error
3081           in the underlying library shouldn't be fatal (#353301).
3082
3083 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3084
3085         * gst/gstinfo.c:
3086           Fix warning if HAVE_PRINTF_EXTENSION is undefined
3087           (spotted by Peter Kjellerstedt).
3088
3089 2006-09-23  Wim Taymans  <wim@fluendo.com>
3090
3091         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
3092
3093         * libs/gst/base/gstbasesrc.c:
3094         (gst_base_src_default_check_get_range), (gst_base_src_start),
3095         (gst_base_src_activate_push), (gst_base_src_activate_pull),
3096         (gst_base_src_change_state):
3097         Match _start/_stop calls in the activate functions. Remove redundant
3098         _stop call from the state change function. Fixes #356910.
3099         Turn failure DEBUG into ERROR. 
3100
3101 2006-09-22  Wim Taymans  <wim@fluendo.com>
3102
3103         * docs/design/part-buffering.txt:
3104         * gst/gstmessage.c: (gst_message_new_buffering),
3105         (gst_message_parse_buffering):
3106         Update docs about buffering.
3107
3108         * docs/design/part-trickmodes.txt:
3109         Fix typo.
3110
3111 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
3112
3113         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3114         (gst_controller_new_list):
3115           Ref instances when returning them again (fixes #357180)
3116
3117 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
3118
3119         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
3120           Don't forget to release proxy lock when there's an error.
3121
3122 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
3123
3124         * gst/gstcaps.h:
3125           Add extra initialisers for Caps things, to fix some plugin warnings
3126           when using -Wextra
3127
3128 2006-09-18  Wim Taymans  <wim@fluendo.com>
3129
3130         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3131           Also set template on the internal pad so that a getcaps from the 
3132           target pad returns the template caps.
3133
3134 2006-09-18  Wim Taymans  <wim@fluendo.com>
3135
3136         * gst/gstelement.c: (gst_element_post_message),
3137         (gst_element_dispose):
3138         Use _DEBUG_OBJECT some more.
3139
3140         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3141         Avoid typechecks.
3142
3143         * tools/gst-launch.c: (main):
3144         If the toplevel element is not a GstPipeline, it must be put in a
3145         pipeline so that a bus and clock is selected.
3146
3147 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
3148
3149         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3150           JITTER, RATE, and LATENCY query should be handled by the
3151           default case and not by the CONVERT query code.
3152
3153 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
3154
3155         * gst/gstformat.c: (gst_format_register):
3156           Fix locking order (must take lock before using n_values).
3157
3158         * gst/gstvalue.c: (gst_value_serialize_enum),
3159         (gst_value_deserialize_enum_iter_cmp),
3160         (gst_value_deserialize_enum):
3161           Fix serialisation/deserialisation of custom registered GstFormats.
3162
3163         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3164           Unit test for custom format serialisation/deserialisation.
3165
3166 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
3167
3168         * docs/pwg/building-boiler.xml:
3169         * plugins/elements/gstcapsfilter.c:
3170         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
3171         section.
3172
3173 2006-09-16  Edward Hervey  <edward@fluendo.com>
3174
3175         * libs/gst/base/gstbasetransform.c:
3176         (gst_base_transform_buffer_alloc):
3177         Check if requested caps are the same as the sinks caps IF
3178         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
3179         is FALSE.
3180         This fixes the renegotiation issues stated in #352827.
3181
3182 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3183
3184         * configure.ac:
3185         * docs/manual/advanced-autoplugging.xml:
3186         * tests/examples/Makefile.am:
3187         * tests/examples/manual/.cvsignore:
3188         * tests/examples/manual/Makefile.am:
3189         * tests/examples/manual/extract.pl:
3190           Extract the manual examples again like we used to do.
3191           Fix one of them.
3192
3193 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3194
3195         * win32/common/config.h:
3196           update for version
3197
3198 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
3199
3200         * gst/gsterror.c:
3201           Documents how to receive errors.
3202
3203 2006-09-15  Wim Taymans  <wim@fluendo.com>
3204
3205         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
3206         (event_loop), (main):
3207         Added some comments here and there.
3208         Post an application message when an interrupt is caught instead of doing
3209         an uncontrolled state change.
3210         Clean up the event loop.
3211         Handle buffering messages, pause/resume the pipeline.
3212         Make shutdown because of an interrupt more reliable.
3213
3214 2006-09-15  Wim Taymans  <wim@fluendo.com>
3215
3216         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3217         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
3218         (gst_base_sink_preroll_object):
3219         Make sure that our internal state is correct when we commit our state
3220         asynchronously. This solves a race where a state change to PLAYING
3221         could cause the sink to remain blocked in preroll in some situations.
3222
3223 2006-09-15  Wim Taymans  <wim@fluendo.com>
3224
3225         * tools/gst-inspect.c: (print_element_properties_info),
3226         (print_signal_info):
3227         List flags as hex so it's easier to deal with.
3228
3229 2006-09-15  Wim Taymans  <wim@fluendo.com>
3230
3231         * docs/libs/gstreamer-libs-sections.txt:
3232         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
3233         (gst_base_sink_do_sync):
3234         * libs/gst/base/gstbasesink.h:
3235         Expose logic to wait for preroll so that subclasses such as audiosink
3236         can also use this method.
3237         API: gst_base_sink_wait_preroll()
3238
3239 2006-09-15  Wim Taymans  <wim@fluendo.com>
3240
3241         * gst/gstobject.c: (gst_object_set_parent):
3242         * gst/gstpipeline.c: (do_pipeline_seek):
3243         Small cleanups in docs and code.
3244
3245         * gst/gstsegment.c: (gst_segment_clip):
3246         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3247         if stop == start and start is in the segment, no clipping should be
3248         done. Also add a test for this.
3249
3250 2006-09-15  Wim Taymans  <wim@fluendo.com>
3251
3252         * docs/design/part-buffering.txt:
3253         * docs/gst/gstreamer-sections.txt:
3254         * gst/gstmessage.c: (gst_message_new_buffering),
3255         (gst_message_parse_buffering):
3256         * gst/gstmessage.h:
3257         Added methods to create and parse BUFFERING messages.
3258         Added preliminary docs about buffering.
3259         API: gst_message_new_buffering
3260         API: gst_message_parse_buffering
3261
3262 2006-09-06  Wim Taymans  <wim@fluendo.com>
3263
3264         * gst/gstbin.c:
3265         Update documentation.
3266
3267         * gst/gstelement.c: (gst_element_class_init),
3268         (gst_element_release_request_pad), (gst_element_set_clock),
3269         (gst_element_get_index), (gst_element_add_pad),
3270         (gst_element_remove_pad), (gst_element_get_random_pad),
3271         (gst_element_send_event), (gst_element_get_query_types),
3272         (gst_element_query), (gst_element_post_message),
3273         (gst_element_message_full), (gst_element_continue_state),
3274         (gst_element_lost_state), (gst_element_save_thyself),
3275         (gst_element_restore_thyself):
3276         Documentation updates.
3277         Rename last bit of the new-pad -> pad-added signal rename.
3278         Fix the case where an element query would only work if the source
3279         pad was linked.
3280         Avoid some useless type checking in message handling.
3281
3282         * gst/gstevent.c:
3283         * gst/gstevent.h:
3284         * gst/gstutils.c:
3285         Documentation updates.
3286
3287 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3288
3289         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3290           add an INFO line for when we actually update the fd
3291
3292 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3293
3294         * configure.ac:
3295           back to TRUNK
3296
3297 === release 0.10.10 ===
3298
3299 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
3300
3301         * configure.ac:
3302           releasing 0.10.10, "Pais"
3303
3304 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
3305
3306         * docs/manual/advanced-position.xml:
3307           Fix typo in sample code.
3308
3309 2006-09-05  Wim Taymans  <wim@fluendo.com>
3310
3311         * libs/gst/net/gstnetclientclock.c: (inet_aton),
3312         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3313         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
3314         * libs/gst/net/gstnetclientclock.h:
3315         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3316         * libs/gst/net/gstnettimepacket.h:
3317         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
3318         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
3319         (gst_net_time_provider_thread), (gst_net_time_provider_new):
3320         * libs/gst/net/gstnettimeprovider.h:
3321         Make stuff compile on windows. Fixes #345295.
3322
3323 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
3324
3325         * gst/gst.c: (ensure_current_registry_forking):
3326           Print better details when child was terminated by signal.
3327
3328 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
3329
3330         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
3331           Print a warning rather than g_assert() if a plugin feature
3332           is a URI handler but returns no protocols (#353976).
3333
3334 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
3335
3336         * docs/random/moving-plugins:
3337         Fix two typos.         
3338
3339 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
3340
3341         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
3342           Fix locking order, handle NULL function values properly.
3343
3344         * gst/gstinfo.h:
3345           Fix docs.
3346
3347         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3348           Initialise variable before using it and fix debug statement to
3349           print the address of the function rather than the address of the
3350           variable on the stack holding the address of the function.
3351
3352 2006-09-01  Wim Taymans  <wim@fluendo.com>
3353
3354         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
3355         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
3356         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
3357         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
3358         (gst_ghost_pad_parent_unset),
3359         (gst_ghost_pad_internal_do_activate_push),
3360         (gst_ghost_pad_internal_do_activate_pull),
3361         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3362         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3363         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
3364         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
3365         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
3366         (gst_ghost_pad_new_no_target_from_template),
3367         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3368         More cleanups.
3369         Avoid needless typechecking in macros.
3370         Since the internal pad is always present and never changes, there is
3371         no need to locking or ref when retrieving it.
3372         Improve debugging a bit.
3373         Handle link errors when setting the target. Fixes #341029.
3374
3375 2006-09-01  Wim Taymans  <wim@fluendo.com>
3376
3377         * docs/libs/gstreamer-libs-sections.txt:
3378         * docs/plugins/gstreamer-plugins-sections.txt:
3379         Fix docs some more.
3380
3381         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3382         (gst_collect_pads_event):
3383         * libs/gst/base/gstcollectpads.h:
3384         Documentation updates.
3385         Free queued buffer when removing a pad.
3386
3387 2006-08-31  Michael Smith  <msmith@fluendo.com>
3388
3389         * gst/gstutils.c: (gst_element_link_pads),
3390         (gst_element_link_pads_filtered):
3391           Ensure that we set a capsfilter to NULL if we failed to link it
3392           when doing filtered linking, to avoid criticals.
3393
3394           No need to check for unreffing srcpad, which is explicly NULLed
3395           above (a trivial code cleanup).
3396
3397 2006-08-31  Wim Taymans  <wim@fluendo.com>
3398
3399         * docs/design/part-gstghostpad.txt:
3400         Update ascii art in documentation.
3401
3402         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
3403         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
3404         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
3405         (gst_ghost_pad_internal_do_activate_push),
3406         (gst_ghost_pad_internal_do_activate_pull),
3407         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3408         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3409         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
3410         (gst_ghost_pad_set_target):
3411         Small cleanups and leak fixes.
3412         Remove some checks now that the internal pad is never NULL.
3413         Fix the case where linking pads without a target would create nasty
3414         criticals. Fixes #341029.
3415         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
3416         value of _set_target().
3417
3418         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3419         (gst_ghost_pad_suite):
3420         Some more tests for creating and linking untargeted ghostpads.
3421
3422 2006-08-31  Edward Hervey  <edward@fluendo.com>
3423
3424         * docs/gst/gstreamer-sections.txt:
3425         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
3426         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
3427         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
3428         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
3429         (gst_ghost_pad_new_from_template),
3430         (gst_ghost_pad_new_no_target_from_template):
3431         * gst/gstghostpad.h:
3432         Refactored *_new() functions.
3433         Templates are now used as a g_object_new() parameter.
3434         Use template in _do_getcaps() if we don't have a target.
3435         Small documentation cleanups.
3436         Added two new constructors:
3437         gst_ghost_pad_new_from_template()
3438         gst_ghost_pad_new_no_target_from_template()
3439         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3440         (gst_ghost_pad_suite):
3441         Added tests for new ghostpad instanciation functions.
3442
3443         API additions: gst_ghost_pad_new_from_template,
3444         gst_ghost_pad_new_no_target_from_template
3445
3446 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
3447
3448         * docs/random/ensonic/profiling.txt:
3449           Ideas about qos profiling.
3450
3451 2006-08-29  Wim Taymans  <wim@fluendo.com>
3452
3453         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
3454         Code cleanups.
3455         Fix memleak.
3456
3457 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
3458
3459         * gst/gstxml.c:
3460           Improve and detypofy docs.
3461
3462         * tests/check/Makefile.am:
3463         * tests/check/gst/.cvsignore:
3464         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
3465           Add a basic test suite for GstXML.
3466
3467 2006-08-29  Wim Taymans  <wim@fluendo.com>
3468
3469         * gst/gstelement.c: (activate_pads), (clear_caps),
3470         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
3471         Clear the pad caps when the element shut down all of the pads and
3472         is not streaming data that could modify the caps. 
3473         Fixes #352958.
3474
3475 2006-08-28  Michael Smith  <msmith@fluendo.com>
3476
3477         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3478           Revert previous change; I misunderstood single-segment mode.
3479
3480 2006-08-28  Michael Smith  <msmith@fluendo.com>
3481
3482         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3483           Unset DISCONT on buffers when using single-segment mode.
3484
3485 2006-08-28  Wim Taymans  <wim@fluendo.com>
3486
3487         * gst/gstcaps.c: (gst_caps_merge_structure):
3488         * gst/gstcaps.h:
3489         Fix docs and indentation again.
3490
3491         * tests/check/gst/gstquery.c: (GST_START_TEST):
3492         Fix leak in tests and add some more tests.
3493
3494 2006-08-28  Edward Hervey  <edward@fluendo.com>
3495
3496         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3497         Inform GstSegment of the last stop position in order for the current
3498         segment to have a proper duration if it doesn't have a specific stop
3499         position from which a duration could be calculated.
3500         This bug was noticeable when a non-flushing, non-update new segment was
3501         followed by another segment (all buffers from the new segment were being
3502         dropped).
3503
3504 2006-08-28  Wim Taymans  <wim@fluendo.com>
3505
3506         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3507         Small comment update.
3508
3509         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3510         (gst_identity_transform_ip):
3511         Drop-probability is broken, mention this in the code with a 
3512         FIXME and also in the property description.
3513         Make silent also be silent about the drop messages.
3514
3515 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
3516
3517         * docs/manual/appendix-win32.xml:
3518           Remove mention of popt, we don't depend on that any
3519           longer (#353136). Add some comments pointing out that
3520           this section is slightly outdated.
3521
3522 2006-08-28  Wim Taymans  <wim@fluendo.com>
3523
3524         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3525
3526         * gst/gstquery.c: (gst_query_new_segment):
3527         * tests/check/gst/gstquery.c: (GST_START_TEST):
3528         Initialize variables when creating a new segment query.
3529         Fixes #353121.
3530
3531 2006-08-28  Wim Taymans  <wim@fluendo.com>
3532
3533         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3534
3535         * gst/gstelement.c: (gst_element_get_bus):
3536         * tests/check/gst/gstelement.c: (GST_START_TEST):
3537         Check for NULL before _reffing the bus. Fixes #353122.
3538
3539 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
3540
3541         * docs/manual/basics-bus.xml:
3542           Docs update: fix wrong callback return value explanation; add
3543           some lines about the implicit relationship between main loop
3544           and main context; remove duplicate main loop variable declaration.
3545
3546 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
3547
3548         * tests/check/gst/gstcaps.c: (GST_START_TEST):
3549           Don't leak caps in unit test; add a few more simple
3550           checks. 
3551
3552 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
3553
3554         * docs/gst/gstreamer-sections.txt:
3555         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
3556         (gst_caps_structure_is_subset), (gst_caps_merge),
3557         (gst_caps_merge_structure):
3558         * gst/gstcaps.h:
3559         * libs/gst/base/gstbasetransform.c:
3560         (gst_base_transform_transform_caps):
3561         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3562           implement caps merging (fixes #352580)
3563
3564 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
3565
3566         * tools/Makefile.am:
3567         * tools/gst-plot-timeline.py:
3568           add debug-log plotting developer tool (#340674)
3569
3570 2006-08-23  Wim Taymans  <wim@fluendo.com>
3571
3572         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
3573         (gst_pad_stop_task):
3574         Improve debugging for task functions.
3575
3576         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
3577         (gst_task_start), (gst_task_pause), (gst_task_join):
3578         Make sure that the task function started and finished after a 
3579         join(). 
3580         Don't try to push the task function on the threadpool multiple
3581         times.
3582         Improve the g_warning message with some useful suggestions
3583         about how to fix the problem. 
3584
3585 2006-08-23  Wim Taymans  <wim@fluendo.com>
3586
3587         * gst/gstutils.c: (gst_pad_proxy_getcaps):
3588         Handle RESYNC correctly in _proxy_getcaps.
3589
3590 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
3591
3592         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
3593         (gst_xml_parse_memory), (gst_xml_get_element):
3594           Chain up to parent class in dispose function and also
3595           unref the elements in the toplevel_elements GList.
3596           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
3597           Always return a reference in gst_xml_get_element() rather
3598           than only sometimes.
3599
3600         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
3601           Don't leak GstXml object.
3602
3603 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
3604
3605         * docs/gst/gstreamer-sections.txt:
3606         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
3607         (gst_caps_merge):
3608         * gst/gstcaps.h:
3609         * libs/gst/base/gstbasetransform.c:
3610         (gst_base_transform_transform_caps):
3611           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
3612           in a better way
3613
3614 2006-08-21  Edward Hervey  <edward@fluendo.com>
3615
3616         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
3617         Implement GObject::dispose virtual method in GstXML so we can free the
3618         top_elements GList.
3619
3620 2006-08-21  Wim Taymans  <wim@fluendo.com>
3621
3622         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
3623         (gst_buffer_create_sub):
3624         Copy duration/offset_end/caps when creating a subbuffer of the
3625         complete parent.
3626         Make the subbuffer read-only when we make the metadata writable for
3627         now. Fixes #351768.
3628
3629         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3630         Added check for metadata copy when creating subbuffers.
3631
3632 2006-08-21  Edward Hervey  <edward@fluendo.com>
3633
3634         * libs/gst/base/gstbasetransform.c:
3635         (gst_base_transform_buffer_alloc):
3636         Only call downstream buffer_alloc if transform element is passthrough
3637         or always_in_place. Closes #350449.
3638
3639 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3640
3641         * ChangeLog:
3642           ChangeLog surgery to add comments to previous changes
3643
3644 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3645
3646         * gst/gst.c:
3647           Add comments
3648
3649         * gst/gstpad.c: (gst_pad_set_active):
3650           Be more verbose in the log
3651
3652         * libs/gst/base/gstbasetransform.c:
3653         (gst_base_transform_transform_caps):
3654           Simplify caps to get rid of duplicates, fixes #345444
3655
3656 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3657
3658         * gst/gstvalue.c:
3659         * gst/gstvalue.h:
3660           Use these optimizations only internally.
3661
3662 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3663
3664         * gst/gstvalue.c: (gst_value_compare_list),
3665         (gst_value_compare_fraction_range),
3666         (gst_value_intersect_fraction_fraction_range),
3667         (gst_value_intersect_fraction_range_fraction_range),
3668         (gst_value_subtract_fraction_fraction_range),
3669         (gst_value_subtract_fraction_range_fraction_range),
3670         (gst_value_get_compare_func), (gst_value_compare),
3671         (gst_value_compare_with_func):
3672         * gst/gstvalue.h:
3673           Saves the expensive lookup of the compare function in many cases
3674          (#345444)
3675
3676 2006-08-18  Edward Hervey  <edward@fluendo.com>
3677
3678         * tests/check/gst/gstinfo.c: (gst_info_suite):
3679         Disable test that require gstdebug if it wasn't built in core.
3680
3681 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
3682
3683         * docs/random/ensonic/logging.txt:
3684           update ideas
3685           
3686         * gst/gstinfo.c: (gst_debug_log_default):
3687           reorder fields, save some columns, add optional color codes for log
3688           levels
3689
3690 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
3691
3692         * docs/random/ensonic/logging.txt:
3693           add ideas about making the logs a bit more useful
3694
3695 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
3696
3697         * docs/pwg/advanced-events.xml:
3698         * docs/pwg/titlepage.xml:
3699           Update for 0.10 API (#340627). Add myself
3700           to authors list.
3701
3702 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
3703
3704         * docs/libs/gstreamer-libs-docs.sgml:
3705         * docs/libs/gstreamer-libs-sections.txt:
3706         * libs/gst/check/gstbufferstraw.c:
3707           Make gstcheck stuff show up in docs (still needs to
3708           be documented properly though).
3709
3710 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
3711
3712         * docs/gst/gstreamer-sections.txt:
3713         * gst/Makefile.am:
3714         * gst/gst.c: (init_post):
3715         * gst/gst_private.h:
3716         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3717         * gst/gstquark.h:
3718         * gst/gstquery.c: (gst_query_new_position),
3719         (gst_query_set_position), (gst_query_parse_position),
3720         (gst_query_new_duration), (gst_query_set_duration),
3721         (gst_query_parse_duration), (gst_query_new_convert),
3722         (gst_query_set_convert), (gst_query_parse_convert),
3723         (gst_query_new_segment), (gst_query_set_segment),
3724         (gst_query_parse_segment), (gst_query_new_seeking),
3725         (gst_query_set_seeking), (gst_query_parse_seeking):
3726         Add internal helpers for pre-registering quarks from static strings
3727         and using the quark values directly instead of looking them up when
3728         creating and parsing queries. Can be used for event construction too.
3729         Closes #350432.
3730
3731 2006-08-16  Wim Taymans  <wim@fluendo.com>
3732
3733         * gst/gstbin.c:
3734         Fix bogus docs.
3735
3736 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3737
3738         * gst/gstutils.c: (gst_util_set_value_from_string):
3739           Fix memleak (#351502).
3740
3741         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3742           Add unit test for most of gst_util_set_value_from_string()
3743           (not that one would want to encourage use of this function).
3744
3745 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3746
3747         * libs/gst/check/gstcheck.h:
3748           Use const gchar * variables in fail_unless_equals_string
3749           macro to avoid compiler warnings (and don't use tabs for
3750           indenting).
3751
3752 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3753
3754         * tools/gst-launch.c: (print_tag):
3755           More space on the left for the tag names, to cater
3756           for the 'extended comment' tag (not touching the
3757           string for the first line since it's translated).
3758
3759 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3760
3761         * libs/gst/check/gstcheck.h:
3762           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
3763           print something when they fail.
3764
3765 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
3766
3767         * docs/gst/gstreamer-sections.txt:
3768         * gst/gsttaglist.c: (_gst_tag_initialize):
3769         * gst/gsttaglist.h:
3770           API: add GST_TAG_EXTENDED_COMMENT (#350935).
3771           Also change merge function for GST_TAG_COMMENT to
3772           use_first.
3773
3774 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
3775
3776         * gst/gstinfo.c: (gst_debug_print_object):
3777           Make GST_PTR_FORMAT print messages as well.
3778
3779         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
3780         (GST_START_TEST), (gst_info_suite):
3781           More tests.
3782
3783 2006-08-14  Edward Hervey  <edward@fluendo.com>
3784
3785         * gst/gstelementfactory.c: (gst_element_register):
3786         If the GstElementClass doesn't have a GstElementDetails with all fields
3787         filled up correctly (longname, description AND author), then error out
3788         nicely instead of crashing.
3789
3790 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
3791
3792         * gst/gststructure.c:
3793           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
3794
3795         * gst/gstvalue.h:
3796           Expand on the difference between arrays and lists as we use them.
3797           
3798 2006-08-14  Wim Taymans  <wim@fluendo.com>
3799
3800         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3801         If the parent state change function failed, don't assume we can safely
3802         stop the source, this will be done when the pads are deactivated.
3803
3804 2006-08-14  Wim Taymans  <wim@fluendo.com>
3805
3806         * gst/gstbuffer.c:
3807         * gst/gsttask.c: (gst_task_join):
3808         Small doc updates.
3809
3810         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3811         (gst_pad_stop_task):
3812         When pad (de)activation failed for some reason, restore the old
3813         activation mode and set the pad to flushing instead of assuming the
3814         pad is deactivated.
3815         If the _task_join() failed, reinstall the task on the pad so that it can
3816         be stopped later and return an error.
3817
3818 2006-08-11  Andy Wingo  <wingo@pobox.com>
3819
3820         * configure.ac:
3821         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
3822         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
3823         is only for users of API that don't want to see deprecated
3824         functions in the headers; people that want to compile out
3825         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
3826         CFLAGS. Fixes the build of multifdsink, or will soon..
3827
3828 2006-08-11  Wim Taymans  <wim@fluendo.com>
3829
3830         * docs/gst/gstreamer-sections.txt:
3831         Add GstClockClass vmethod docs.
3832
3833         * gst/gstcaps.h:
3834         Mark #endif with comment for associated #if
3835
3836         * gst/gstclock.c: (gst_clock_id_wait):
3837         * gst/gstclock.h:
3838         Add vmethod wait_jitter to avoid an unneeded _get_time() for
3839         most clock implementations.
3840         Document vmethods.
3841         Flesh out docs about resolution methods.
3842         API: GstClockClass::wait_jitter
3843
3844         * gst/gstsystemclock.c: (gst_system_clock_class_init),
3845         (gst_system_clock_async_thread),
3846         (gst_system_clock_id_wait_jitter_unlocked),
3847         (gst_system_clock_id_wait_jitter):
3848         Use base class wait_jitter variant for improved performance
3849         due to less clock polling.
3850
3851 2006-08-11  Edward Hervey  <edward@fluendo.com>
3852
3853         * gst/gst.c: (gst_init_check), (init_post):
3854         Set gst as being initialized before scanning/updating the registry,
3855         since there might be my python plugin loader that calls gst_init() and
3856         we don't want to loop back in.
3857         Closes #350879
3858
3859 2006-08-11  Wim Taymans  <wim@fluendo.com>
3860
3861         * docs/design/part-qos.txt:
3862         Bring docs in line with the code. Mostly the sign of the jitter was
3863         wrong in the docs. Fixes #349943.
3864
3865         * gst/gstclock.c:
3866         Fix the docs for the jitter.
3867
3868         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
3869         (gst_event_parse_tag), (gst_event_new_buffer_size),
3870         (gst_event_parse_buffer_size), (gst_event_parse_qos),
3871         (gst_event_new_seek), (gst_event_parse_seek),
3872         (gst_event_new_navigation):
3873         Make sure the GstStructure has no parent when creating custom
3874         events.
3875         Add some more argument checking so that we avoid 0.0 rates.
3876         Flesh out the docs for the QoS event some more.
3877
3878 2006-08-11  Wim Taymans  <wim@fluendo.com>
3879
3880         * docs/gst/gstreamer-sections.txt:
3881         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3882         (ensure_current_registry_forking), (ensure_current_registry),
3883         (parse_one_option), (parse_goption_arg), (gst_deinit),
3884         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
3885         * gst/gst.h:
3886         Doc updates.
3887         Added API and command line option to disable registry forking in
3888         addition to the environment variable.
3889         Constify some static arrays.
3890         Added some more debug.
3891         Don't deinit twice.
3892         API: gst_registry_fork_is_enabled()
3893         API: gst_registry_fork_set_enabled()
3894         API: --gst-disable-registry-fork command line option
3895         Fixes #348918.
3896
3897 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
3898
3899         * gst/gst.c: (gst_init):
3900           Fix typo in error message.
3901
3902 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
3903
3904         * libs/gst/controller/gstcontroller.h:
3905           fix ABI size-correction
3906
3907         * tests/check/libs/gdp.c: (gst_dp_suite):
3908           make tests that use deprecated API conditional
3909
3910 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
3911
3912         * docs/libs/gstreamer-libs-sections.txt:
3913         * libs/gst/controller/gstcontroller.c:
3914         (_gst_controller_get_property), (_gst_controller_set_property),
3915         (_gst_controller_init), (_gst_controller_class_init):
3916         * libs/gst/controller/gstcontroller.h:
3917         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
3918         (gst_object_set_control_rate):
3919           API: add gst_object_{s,g}et_control_rate(), add private data section,
3920           fix docs
3921
3922         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
3923         * libs/gst/dataprotocol/dataprotocol.h:
3924           add deprecation guards to make gtk-doc happy and allow disabling cruft
3925
3926 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
3927
3928         * tests/check/Makefile.am:
3929         * tests/check/gst/.cvsignore:
3930           Let's enable the new unit test as well.
3931
3932 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
3933
3934         * configure.ac:
3935         * docs/gst/gstreamer-sections.txt:
3936         * gst/gstconfig.h.in:
3937         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
3938         (_gst_info_printf_extension_ptr),
3939         (_gst_info_printf_extension_segment):
3940           API: add GST_SEGMENT_FORMAT, which is a printf extension we
3941           register that lets us easily dump GstSegments into debug
3942           logs (#350419).
3943
3944         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
3945         (info_segment_format_printf_extension), (gst_info_suite):
3946           Add simple unit test that logs a bunch of different segments (not
3947           valgrinded at the moment because of leaks in
3948           gst_debug_add_log_function).
3949
3950 2006-08-09  Edward Hervey  <edward@fluendo.com>
3951
3952         * libs/gst/base/gstbasetransform.c:
3953         (gst_base_transform_buffer_alloc):
3954         Even if we can't figure out the proper format to request downstream,
3955         call buffer_alloc() downstream with the input parameters without setting
3956         the caps on the srcpad. This will force negotiation in the chain
3957         function.
3958         Closes #350449
3959
3960 2006-08-08  Edward Hervey  <edward@fluendo.com>
3961
3962         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
3963         Unlinking from a pad without a target is now a perfectly valid case
3964         which should NOT raise an assertion.
3965         This case would happen if a linked ghostpad its target set to NULL after
3966         it was previously linked.
3967
3968 2006-08-08  Edward Hervey  <edward@fluendo.com>
3969
3970         * tests/check/libs/gdp.c:
3971         Also comment out the test (see below).
3972
3973 2006-08-08  Edward Hervey  <edward@fluendo.com>
3974
3975         * tests/check/libs/gdp.c: (gst_dp_suite):
3976         Use the architecture information from config.h and not gcc macros
3977         in order to properly disable a test that fails on PPC64.
3978
3979 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
3980
3981         * gst/gstelement.c: (gst_element_remove_pad):
3982           Don't crash printing the warning if the pad has no parent.
3983
3984 2006-08-02  Wim Taymans  <wim@fluendo.com>
3985
3986         * libs/gst/dataprotocol/dataprotocol.c:
3987         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
3988         (gst_dp_crc), (gst_dp_header_payload_length),
3989         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
3990         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
3991         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
3992         (gst_dp_event_from_packet), (gst_dp_validate_header),
3993         (gst_dp_validate_payload):
3994         Make debug category static
3995         Constify the crc table.
3996         Do some more arg checking in public functions.
3997         Fix some docs and do some small cleanups.
3998
3999         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
4000         Add some more checks to see if GDP deals with bogus input.
4001
4002 2006-07-31  Wim Taymans  <wim@fluendo.com>
4003
4004         * gst/gstvalue.c: (gst_value_compare_list):
4005         Fix GstValueList comparison code. Fixes #347293.
4006
4007         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4008         Check to test GstValueList comparison.
4009
4010 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4011
4012         * gst/gstelementfactory.c: (gst_element_factory_create):
4013         Remove unnecessary ref/unref pair
4014
4015         * gst/parse/grammar.y:
4016         Make sure to free the parse buffer on all code paths.
4017         Move a g_free up to the error handler where it's easier to see.
4018
4019         * tests/check/gst/gstevent.c: (test_event):
4020         Extending timeout for downstream travelling events to 10 seconds to
4021         hopefully avoid intermittent failure on the buildbots.
4022
4023         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
4024         Don't manually set the state of the src element - it will happen as a
4025         natural consequence of the pipeline changing state, and that way it
4026         will do it in the right order too.
4027
4028 2006-07-31  Wim Taymans  <wim@fluendo.com>
4029
4030         * libs/gst/base/gstbasetransform.c:
4031         (gst_base_transform_buffer_alloc):
4032         Use OBJECT_LOCK and refcounting to get the pad caps in the
4033         buffer_alloc function because the caps could change while we are
4034         busy with them. Fixes #349105
4035
4036 2006-07-31  Wim Taymans  <wim@fluendo.com>
4037
4038         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
4039         Protect _PAD_CAPS with OBJECT_LOCK.
4040
4041 2006-07-31  Wim Taymans  <wim@fluendo.com>
4042
4043         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4044         (gst_pad_get_property), (gst_pad_activate_pull),
4045         (gst_pad_activate_push), (gst_pad_set_blocked_async),
4046         (gst_pad_set_activate_function),
4047         (gst_pad_set_activatepull_function),
4048         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
4049         (gst_pad_set_getrange_function),
4050         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
4051         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4052         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
4053         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
4054         (gst_pad_set_acceptcaps_function),
4055         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
4056         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
4057         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
4058         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
4059         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
4060         (gst_pad_configure_sink), (gst_pad_configure_src),
4061         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
4062         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
4063         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
4064         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
4065         (gst_pad_send_event):
4066         Use _DEBUG_OBJECT when it makes sense.
4067         Protect GST_PAD_CAPS with the OBJECT_LOCK.
4068         Small cleanups and code reflows.
4069         Avoid caps refcounting in _accept_caps.
4070         Refactor alloc_buffer so that the code performed on the peer is in a
4071         separate function. Also if the pad does not implement a buffer alloc
4072         function, we should still check if the pad is flushing before falling
4073         back to the default allocator.
4074
4075 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4076
4077         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4078         Make all uses of identity and fakesink have silent=true to avoid
4079         serialising every passing data structure, which is breaking tests
4080         on FC4 for some unknown reason.
4081
4082 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
4083
4084         * gst/parse/Makefile.am:
4085         * gst/parse/grammar.y:
4086         * gst/parse/parse.l:
4087           Reverted previous patch as it required to bump the flex dependency to
4088           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
4089
4090 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
4091
4092         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
4093
4094         * gst/parse/Makefile.am:
4095         * gst/parse/grammar.y:
4096         * gst/parse/parse.l:
4097           push & pop the state of the lexer for reentrant use case
4098           Fixes #349180
4099
4100 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
4101
4102         * libs/gst/base/gstbasesrc.h:
4103           Note in the docs that the ::newsegment vfunc is not actually used by
4104           GstBaseSrc.
4105
4106 2006-07-28  Wim Taymans  <wim@fluendo.com>
4107
4108         * libs/gst/base/gstcollectpads.c:
4109         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
4110         (gst_collect_pads_clear), (gst_collect_pads_flush),
4111         (gst_collect_pads_event), (gst_collect_pads_chain):
4112         When flushing a pad, also clear the queued buffer so that we don't
4113         accidentally use it when we shouldn't.
4114         Fix leaks by inreffing incomming buffer.
4115         Flush out queued buffers in case of errors.
4116         Fixes #347452.
4117
4118 2006-07-28  Wim Taymans  <wim@fluendo.com>
4119
4120         * docs/random/phonon-gst:
4121         Random notes about a Phonon backend.
4122
4123 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
4124
4125         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4126         Extra debug output
4127         * tests/check/libs/gdp.c: (gst_dp_suite):
4128         Take a whack at fixing the ppc compile using a different define to
4129         disable the broken test.
4130
4131         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4132         Remove excess g_print()
4133
4134 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
4135
4136         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4137         Oops, meant to uncomment this line too to dampen the noise a bit.
4138
4139 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
4140
4141         * gst/parse/grammar.y:
4142         * gst/parse/parse.l:
4143         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4144         (GST_START_TEST), (parse_suite):
4145         Fix some of the leaks exposed by extending the parse-launch testsuite,
4146         and move the 3 I can't figure out into a separate test that won't run
4147         the pipelines unless the appropriate line is uncommented.
4148
4149 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
4150
4151         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4152           Requesting 0 bytes before the end of the file should result in
4153           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
4154           unit test.
4155
4156 2006-07-27  Wim Taymans  <wim@fluendo.com>
4157
4158         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
4159         Fix useless assert, a uint is always positive.
4160
4161         * gst/gststructure.c: (gst_structure_nth_field_name),
4162         (gst_structure_foreach), (gst_structure_map_in_place):
4163         Check input arguments for public functions to avoid obvious crashes.
4164
4165         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
4166         * plugins/elements/gstfakesink.h:
4167         Do less useless typechecking.
4168
4169 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
4170
4171         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4172           Do not use mmap() by default since there are a number of error
4173           conditions that we would like to handle in a non-fatal way that
4174           will result in a SIGBUS if we use mmap(). Examples: external
4175           devices (USB harddrive, portable music player) being unplugged
4176           while in use; file on mounted CD/DVD that can't be read because
4177           the medium is partly damaged. Fixes #348455 and #348475.
4178
4179 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
4180
4181         * gst/gstquery.h:
4182         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
4183         rates are a gdouble
4184
4185 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
4186
4187         * gst/gstregistry.c:
4188           Move big documentation comment into class section header, so that it
4189           appears in the API docs.
4190
4191 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4192
4193         * docs/gst/gstreamer-sections.txt:
4194         Oops. Commit the docs additions too for new API.
4195         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
4196
4197 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4198
4199         * gst/gststructure.c: (gst_structure_id_set),
4200         (gst_structure_id_set_valist):
4201         * gst/gststructure.h:
4202         Add API for setting values into structures without performing
4203         a quark lookup, if the appropriate quark is already known.
4204
4205         API: gst_structure_id_set
4206         API: gst_structure_id_set_valist
4207
4208         * gst/parse/grammar.y:
4209         * gst/parse/parse.l:
4210         Remove some dead code shown by the coverage information.
4211         Don't throw a critical g_warning when encountering a syntax error,
4212         just warn and let the normal error path handle it.
4213
4214         * plugins/elements/gstelements.c:
4215         Bump the rank of filesink up to PRIMARY so that it is preferred over
4216         gnomevfssink for file:// sink uri's
4217
4218         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4219         (GST_START_TEST), (run_delayed_test),
4220         (gst_parse_test_element_base_init),
4221         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
4222         (gst_parse_test_element_change_state),
4223         (gst_register_parse_element), (parse_suite):
4224         Beef up the tests for parse syntax to check that more error cases
4225         fail as they are supposed to. Increases the test coverage a bit.
4226
4227 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
4228
4229         * docs/manual/basics-elements.xml:
4230           Fix gst_element_link() example.
4231
4232         * gst/gstutils.c:
4233           Mention in API docs that one should usually gst_bin_add()
4234           elements to a bin or pipeline before doing the linking.
4235           
4236 2006-07-26  Wim Taymans  <wim@fluendo.com>
4237
4238         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4239         (gst_subbuffer_get_type), (gst_buffer_create_sub):
4240         Avoid function call for known types by keeping the buffer and
4241         subbuffer GType global.
4242
4243         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4244         Random silly optimisations in read() path.
4245
4246 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4247
4248         * tools/gst-launch.c: (main):
4249           If the top-level of the parse is a normal bin, it doesn't do the
4250           right logic to run as a top-level element, so place it inside a
4251           pipeline.
4252
4253 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
4254
4255         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
4256           Remove superfluous g_object_notify() calls, GObject does
4257           that for us automatically.
4258
4259 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
4260
4261         * gst/gstinfo.h:
4262           on Win32, use dllspec to export the debug category symbols
4263
4264 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
4265
4266         * gst/gsttaglist.c: (_gst_tag_initialize):
4267           Allow more than one GST_TAG_IMAGE per taglist.
4268
4269 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4270
4271         * gst/gstminiobject.c:
4272           update docs
4273         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
4274         (gst_fd_src_create):
4275           log recurring events at LOG level
4276           add more debug for when the fd gets set
4277
4278 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
4279
4280         * gst/gstparse.c: (gst_parse_launch):
4281           Also remove reentrance checks if flex is MT safe (#348179)
4282          Fix my empty ChangeLog entry below
4283
4284 2006-07-21  Andy Wingo  <wingo@pobox.com>
4285
4286         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
4287
4288         * libs/gst/check/Makefile.am
4289         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
4290         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
4291         * libs/gst/check/gstbufferstraw.h:
4292         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
4293         functions, thus proving I am still a GStreamer haxor. OK I wrote
4294         them a long time ago, but anyways.
4295
4296 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
4297
4298         * configure.ac:
4299         * gst/gstparse.c: (gst_parse_launch):
4300           Check for flex version and omit mutex if we have a MT save flex
4301           (fixes #348179)
4302
4303 2006-07-21  Wim Taymans  <wim@fluendo.com>
4304
4305         * gst/gstparse.c: (gst_parse_launch):
4306         Protect recursive calls to _parse with a recursive mutex
4307         and busy flag.
4308
4309 2006-07-21  Wim Taymans  <wim@fluendo.com>
4310
4311         * tests/check/gst/gstpad.c: (GST_START_TEST):
4312         Fix leak in test.
4313
4314 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
4315
4316         * gst/gstparse.c: (gst_parse_launch):
4317           Do not hang on recursive usage of gst_parse_launch()
4318
4319 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
4320
4321         * gst/gsttaglist.c:
4322           Add some more docs, comments and FIXME 0.11s here and there
4323           and also fix some typos.
4324
4325 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
4326
4327         * gst/gstsegment.h:
4328           Convert tabs to spaces for better readability. 
4329
4330 2006-07-20  Edward Hervey  <edward@fluendo.com>
4331
4332         * tests/check/libs/gdp.c: (gst_dp_suite):
4333         the test_buffer test fails at line 140 on ppc64 at the following
4334         check:
4335         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
4336                 GST_BUFFER_FLAG_IN_CAPS),
4337                 "GST_BUFFER_IN_CAPS flag should have been copied !");
4338         See bug #348114 for more details.
4339
4340 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
4341
4342         * docs/pwg/advanced-scheduling.xml:
4343         * gst/gstpad.c:
4344           Fix typos (#348000).
4345
4346 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
4347
4348         * docs/pwg/intro-basics.xml:
4349           Fix wrong links (#347927).
4350
4351 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
4352
4353         * gst/gstregistry.h:
4354         * gst/gstregistryxml.c: (load_feature),
4355         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
4356         * win32/common/config.h:
4357           make --disable-index work (#342564)
4358
4359 2006-07-18  Wim Taymans  <wim@fluendo.com>
4360
4361         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4362
4363         * gst/Makefile.am:
4364         * gst/gsttrace.h:
4365         The attached patch adds two missing defines to gsttrace.h when tracing
4366         is disabled.  It also corrects one existing define.
4367         Fixes #347756.
4368
4369 2006-07-17  Wim Taymans  <wim@fluendo.com>
4370
4371         * docs/gst/gstreamer-sections.txt:
4372         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
4373         * gst/gst.h:
4374         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
4375         Add two functions to check and change the SIGSEGV behaviour
4376         when loading plugins.
4377         Don't mess with the SIGSEGV handler when we were told not to.
4378         Fixes #347794.
4379         API: gst_segtrap_is_enabled
4380         API: gst_segtrap_set_enabled
4381
4382 2006-07-14  Wim Taymans  <wim@fluendo.com>
4383
4384         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4385         * tests/check/elements/filesrc.c: (GST_START_TEST):
4386         Revert fix for regression in #347408 after release.
4387
4388 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
4389
4390         Patch by: Antoine Tremblay <hexa00 at gmail com>
4391
4392         * gst/gstutils.c: (gst_element_unlink):
4393           Free iterator when done (#347311).
4394
4395         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4396           And add a test case for this.
4397
4398 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
4399
4400         * configure.ac:
4401         Bump nano back to CVS
4402
4403 === release 0.10.9 ===
4404
4405 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
4406
4407         * configure.ac:
4408           releasing 0.10.9, "On the road again"
4409
4410 2006-07-13  Wim Taymans  <wim@fluendo.com>
4411
4412         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4413         * tests/check/elements/filesrc.c: (GST_START_TEST):
4414         Revert pull-0 fix for release. Disable check. Fixes #347408.
4415
4416 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4417
4418         * libs/gst/dataprotocol/dataprotocol.c:
4419         (gst_dp_event_from_packet_1_0):
4420           Fixes #347337: failure to deserialize event packets with
4421           empty payload (only event type)
4422
4423 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4424
4425         * gst/Makefile.am:
4426           do not install a .c file in the header directory
4427
4428 2006-07-13  Edward Hervey  <edward@fluendo.com>
4429
4430         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
4431         GhostPad no longer implicitely use the padtemplates of the targets.
4432         Fixes #347384
4433
4434 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
4435
4436         * gst/gstvalue.c: (gst_value_compare_list),
4437         (gst_value_compare_array), (_gst_value_initialize):
4438         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4439         Make GstValueArray comparison be order dependent as designed.
4440         Add checks for value lists and value array comparisons.
4441         Fixes #347221
4442
4443 2006-07-11  Edward Hervey  <edward@fluendo.com>
4444
4445         * gst/gstbin.c: (activate_pads),
4446         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
4447         (gst_bin_change_state_func):
4448         (de)activate src pads before calling state_change on the childs.
4449         This is to avoid the case where a src ghostpad is blocked (holding the
4450         stream lock), which would block the deactivation of the ghostpad's
4451         target pad.
4452         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
4453         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
4454         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
4455         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4456         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4457         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4458         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4459         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
4460         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
4461         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4462         (gst_ghost_pad_class_init),
4463         (gst_ghost_pad_internal_do_activate_push),
4464         (gst_ghost_pad_internal_do_activate_pull),
4465         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4466         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4467         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
4468         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
4469         GhostPads now create their internal GstProxyPad at creation (and not
4470         when they're linked, as it was being done previously).
4471         The internal and target pads are linked straight away.
4472         The data will also travel through the other pad in order to make
4473         pad blocking and probes non-hackish (the probe/block now really happens
4474         on the GhostPad and not on the target).
4475         * gst/gstpad.c: (gst_pad_set_blocked_async),
4476         (gst_pad_link_prepare), (gst_pad_push_event):
4477         Remove previous ghostpad cruft.
4478         * gst/gstutils.c: (gst_pad_add_data_probe),
4479         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4480         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4481         (gst_pad_remove_buffer_probe):
4482         Remove previous ghost pad cruft.
4483         Added more detailed debug statements.
4484         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4485         Fix the testsuite for refcounting changes.
4486         The comments about who has references were correct, but the refcount
4487         being checked wasn't the same (!?!).
4488
4489         Fixes #341029
4490
4491 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
4492
4493         * docs/gst/gstreamer-sections.txt:
4494         * gst/gstconfig.h.in:
4495         More docs for configuration options, add docs to gtk-doc.
4496
4497 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
4498
4499         * gst/Makefile.am:
4500         * gst/gstconfig.h.in:
4501         * win32/common/config.h:
4502         Fix build when disabling tracing (fixes #344016). Also start to document
4503         the defines that disable the sub-systems.
4504
4505 2006-07-10  Edward Hervey  <edward@fluendo.com>
4506
4507         * gst/gst.c: (ensure_current_registry_forking):
4508         let's make valgrind happy...
4509
4510 2006-07-09  Wim Taymans  <wim@fluendo.com>
4511
4512         * gst/gstelement.c: (activate_pads),
4513         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4514         Better pad activation code: Reset the collect value too on resync.
4515         Add some comments.
4516
4517 2006-07-09  Wim Taymans  <wim@fluendo.com>
4518
4519         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
4520         (gst_pad_activate_push):
4521         Use some more macros where it makes sense.
4522         Allow pad mode switching instead of asserting. When a pad
4523         is activated in one mode and we activate it in another, 
4524         deactivate it first before activating it in a different mode.
4525         Fixes #329198.
4526
4527 2006-07-08  Andy Wingo  <wingo@pobox.com>
4528
4529         * tools/gst-launch.c (main): Handle err == NULL.
4530
4531         * gst/gst.c (init_post, ensure_current_registry)
4532         (ensure_current_registry_forking)
4533         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
4534         factoring out the registry scanning into separate functions. Don't
4535         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
4536         Better environment var name/interface suggestions accepted.
4537
4538 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4539
4540         * gst/gstobject.c: (gst_object_set_name_default),
4541         (gst_object_set_name):
4542           Random micro-optimisation: don't use a hash table
4543           with strings as keys and the usual strdup/strcmp
4544           involved, but rather just use the GQuark of the
4545           type name as key, since it needs to be looked up
4546           anyway to get the type name string.
4547
4548         * tests/check/gst/gstobject.c: (GST_START_TEST):
4549           Fix various leaks.
4550
4551 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4552
4553         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
4554         (gst_bin_iterate_all_by_interface):
4555           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
4556           GTypes are gulongs and thus the top 4 bytes might be cut
4557           off on some platforms when doing GPOINTER_TO_INT, leading
4558           to invalid GTypes and bad things happening (see RH bug #179654).
4559           Also add a check to make sure the type passed in is really
4560           an interface type.
4561
4562 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4563
4564         * .cvsignore:
4565           Ignore more.
4566
4567 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4568
4569         * Makefile.am:
4570         * configure.ac:
4571         * gst-element-check.m4:
4572         * gst-element-check.m4.in:
4573           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
4574           instead of the unversioned gst-inspect (#324176, #168659).
4575
4576 2006-07-06  Wim Taymans  <wim@fluendo.com>
4577
4578         * gst/gstmessage.h:
4579         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
4580         warnings.
4581
4582 2006-07-06  Wim Taymans  <wim@fluendo.com>
4583
4584         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4585         (gst_base_src_wait), (gst_base_src_update_length),
4586         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
4587         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
4588         (gst_base_src_loop), (gst_base_src_start),
4589         (gst_base_src_activate_pull):
4590         Update docs.
4591         blocksize == 0 now means the default blocksize when working in push
4592         based mode.
4593         Remove some pointless asserts in _wait function.
4594         Fix offset/length calculations and EOS handling. We can now pull 0
4595         bytes as well, which is allowed.
4596         use _check_get_range() to decide if we can operate in _pull based
4597         mode.
4598         Fix refcounting leak when check_get_range function was not 
4599         implemented.
4600         API GstBaseSrc::blocksize range can be 0 too now (default)
4601
4602         * tests/check/elements/filesrc.c: (GST_START_TEST),
4603         (filesrc_suite):
4604         Added check to test _get_range() behaviour.
4605
4606 2006-07-06  Wim Taymans  <wim@fluendo.com>
4607
4608         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
4609         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
4610         (gst_pad_pull_range):
4611         * gst/gstpad.h:
4612         Lots of comments and docs added to the pad functions.
4613         Flesh out the expected behaviour of the get_range() functions.
4614
4615 2006-07-06  Wim Taymans  <wim@fluendo.com>
4616
4617         * gst/gstbus.h:
4618         * gst/gstclock.h:
4619         * gst/gstevent.h:
4620         * gst/gstiterator.h:
4621         * gst/gstpad.h:
4622         * gst/gstplugin.h:
4623         * gst/gsttask.h:
4624         Remove comma at end of enumerator list. 
4625
4626 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
4627
4628         * win32/common/libgstbase.def:
4629         * win32/common/libgstdataprotocol.def:
4630         * win32/common/libsgtreamer.def:
4631         Add new exported functions.
4632
4633 2006-07-05  Wim Taymans  <wim@fluendo.com>
4634
4635         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
4636         Add some more docs here and there.
4637
4638 2006-07-05  Wim Taymans  <wim@fluendo.com>
4639
4640         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
4641         (gst_base_sink_loop), (gst_base_sink_get_position):
4642         When operating in pull mode update the offset so that we
4643         read sequentially.
4644
4645 2006-07-05  Wim Taymans  <wim@fluendo.com>
4646
4647         * gst/gstregistryxml.c: (read_string):
4648         Avoid strdup. (will happen in libxml, but hey!)
4649
4650         * gst/gsturi.c:
4651         Add some more docs.
4652
4653 2006-07-05  Wim Taymans  <wim@fluendo.com>
4654
4655         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
4656         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4657         (gst_buffer_suite):
4658         No point in checking if the size of the subbuffer > 0, the
4659         code handles it correclty as demonstrated by unit test.
4660         Also add a unit test for the zero sized _new_and_alloc and
4661         _copy. Fixes #346663.
4662
4663 2006-07-05  Wim Taymans  <wim@fluendo.com>
4664
4665         * libs/gst/base/gstbasetransform.c:
4666         (gst_base_transform_prepare_output_buffer),
4667         (gst_base_transform_buffer_alloc),
4668         (gst_base_transform_handle_buffer):
4669         Make sure the buffer we pass to transform_ip has a refcount of
4670         1 and thus is writable. Fixes #343196
4671
4672 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
4673
4674         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4675         (gst_file_src_init), (gst_file_src_set_property),
4676         (gst_file_src_get_property), (gst_file_src_map_region):
4677         * plugins/elements/gstfilesrc.h:
4678         Add "sequential" property, off by default, to use madvise and hint
4679         to the kernel that sequential access is desired.
4680         Touch all retrieved pages by default to ensure they are pulled
4681         into memory. (Closes #345720)
4682
4683 2006-07-03  Wim Taymans  <wim@fluendo.com>
4684
4685         * docs/design/part-block.txt:
4686         * docs/design/part-dynamic.txt:
4687         Small docs updates.
4688
4689 2006-07-03  Wim Taymans  <wim@fluendo.com>
4690
4691         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
4692         (gst_caps_unref), (gst_static_caps_get),
4693         (gst_caps_append_structure):
4694         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4695         Use GSlice when the glib we build against is >= 2.10
4696
4697 2006-07-03  Wim Taymans  <wim@fluendo.com>
4698
4699         * gst/gstelement.c: (gst_element_pads_activate):
4700         Small cleanup in pad activation code.
4701
4702 2006-07-03  Wim Taymans  <wim@fluendo.com>
4703
4704         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4705
4706         * gst/gst-i18n-app.h:
4707         * gst/gst-i18n-lib.h:
4708         * tools/gst-inspect.c: (print_signal_info):
4709         The attached patch will make the inclusion of gettext.h unconditional in
4710         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
4711         libintl.h in tools/gst-inspect.c.
4712         This allows use of --disable-nls again and fixes #344642.
4713
4714 2006-07-03  Edward Hervey  <edward@fluendo.com>
4715
4716         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
4717         Implement pad blocking on events according to part-block.txt.
4718         More comments on behaviour.
4719         * tests/check/gst/gstevent.c: (test_event):
4720         Send event to peer pad of blocked pad (else it will block).
4721
4722 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4723
4724         * libs/gst/check/gstcheck.c: (gst_check_message_error),
4725         (gst_check_run_suite):
4726           if we get the wrong message, give us the types as string
4727         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4728           Fix a translatable
4729         * tests/check/elements/filesrc.c: (GST_START_TEST):
4730           add a test for trying to open a non-existing file
4731
4732 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4733
4734         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4735           add a test for adding self
4736
4737 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4738
4739         * libs/gst/check/gstcheck.h:
4740           add some assert_ as alias for fail_unless_*
4741         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
4742           increase test coverage
4743
4744 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4745
4746         * Makefile.am:
4747           include lcov.mak for lcov coverage generation
4748         * tools/Makefile.am:
4749           add to CLEANFILES
4750
4751 2006-07-02  Edward Hervey  <edward@fluendo.com>
4752
4753         * tests/check/elements/.cvsignore:
4754         moaping
4755
4756 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4757
4758         * configure.ac:
4759           don't set CFLAGS and friends for gcov, done from GST_GCOV now
4760         * tests/check/Makefile.am:
4761           clean up gcov files
4762
4763 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4764
4765         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
4766           remove gst_caps_simplify; it was not declared and not used
4767           and deprecated in 0.8
4768
4769 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4770
4771         * docs/faq/gst-uninstalled:
4772           don't put empty paths on PYTHONPATH
4773         * docs/gst/gstreamer-sections.txt:
4774           remove some symbols that are not there
4775
4776 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4777
4778         * gst/gstcaps.c: (gst_caps_compare_structures):
4779           whitespace fixes
4780         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4781         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4782           add more tests
4783
4784 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4785
4786         * libs/gst/dataprotocol/Makefile.am:
4787           build dataprotocol test by linking to the lib, instead of
4788           compiling the source, so we get coverage
4789         * tests/check/Makefile.am:
4790         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
4791         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
4792           add a test for filesrc
4793
4794 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4795
4796         * tests/check/gst/gststructure.c: (GST_START_TEST),
4797         (gst_structure_suite):
4798           Push coverage from 59.04% to 70.00%
4799
4800 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4801
4802         * tests/check/Makefile.am:
4803           gst-inspect every element; this makes sure that we also get
4804           coverage on element's get/set functions
4805
4806 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4807
4808         * configure.ac:
4809           set CFLAGS and friends to -O0 if gcov is being used
4810           add GCOV LIBS
4811         * gst/Makefile.am:
4812         * libs/gst/base/Makefile.am:
4813         * libs/gst/check/Makefile.am:
4814         * libs/gst/controller/Makefile.am:
4815         * libs/gst/dataprotocol/Makefile.am:
4816         * libs/gst/net/Makefile.am:
4817         * plugins/elements/Makefile.am:
4818         * plugins/indexers/Makefile.am:
4819           add makefile rules to generate gcov data and clean up
4820         * tests/check/Makefile.am:
4821           add a coverage target that generates an html overview
4822           of coverage data
4823
4824 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4825
4826         * tests/check/elements/fakesink.c:
4827         * tests/check/elements/fakesrc.c:
4828         * tests/check/elements/fdsrc.c:
4829         * tests/check/elements/identity.c:
4830         * tests/check/generic/sinks.c: (gst_sinks_suite):
4831         * tests/check/generic/states.c:
4832         * tests/check/gst/gst.c:
4833         * tests/check/gst/gstabi.c:
4834         * tests/check/gst/gstbin.c:
4835         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
4836         * tests/check/gst/gstbus.c: (gst_bus_suite):
4837         * tests/check/gst/gstcaps.c: (GST_START_TEST):
4838         * tests/check/gst/gstelement.c:
4839         * tests/check/gst/gstevent.c: (gst_event_suite):
4840         * tests/check/gst/gstghostpad.c:
4841         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
4842         * tests/check/gst/gstmessage.c: (gst_message_suite):
4843         * tests/check/gst/gstminiobject.c:
4844         * tests/check/gst/gstobject.c:
4845         * tests/check/gst/gstpad.c:
4846         * tests/check/gst/gstpipeline.c:
4847         * tests/check/gst/gstplugin.c:
4848         * tests/check/gst/gstquery.c: (gst_query_suite):
4849         * tests/check/gst/gstsegment.c: (gst_segment_suite):
4850         * tests/check/gst/gststructure.c:
4851         * tests/check/gst/gstsystemclock.c:
4852         * tests/check/gst/gsttag.c:
4853         * tests/check/gst/gsttask.c: (gst_task_suite):
4854         * tests/check/gst/gstutils.c:
4855         * tests/check/gst/gstvalue.c:
4856         * tests/check/libs/adapter.c:
4857         * tests/check/libs/basesrc.c:
4858         * tests/check/libs/collectpads.c:
4859         * tests/check/libs/controller.c:
4860         * tests/check/libs/gdp.c: (gst_dp_suite):
4861         * tests/check/libs/gstnetclientclock.c:
4862         * tests/check/libs/gstnettimeprovider.c:
4863         * tests/check/libs/libsabi.c: (libsabi_suite):
4864         * tests/check/libs/typefindhelper.c:
4865         * tests/check/pipelines/cleanup.c:
4866         * tests/check/pipelines/parse-launch.c:
4867         * tests/check/pipelines/simple-launch-lines.c:
4868         * tests/check/pipelines/stress.c: (stress_suite):
4869           use the new macro
4870
4871 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4872
4873         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
4874         * libs/gst/check/gstcheck.h:
4875           create a macro and function so that the simple unit test
4876           case can be just one macro to create main()
4877
4878 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
4879
4880         * gst/gstbin.c: (gst_bin_restore_thyself):
4881         * gst/gstxml.c: (gst_xml_make_element):
4882           Fix deserialisation from XML. Set parent manually
4883           instead of using gst_bin_add(), since gst_bin_add()
4884           will unlink all pads of the element being added.
4885           Fixes #341667.
4886
4887 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
4888
4889         Patch by: Peter Kjellerstedt <pkj at axis com>
4890
4891         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
4892           Fix missing g_strdup() and double free when using the
4893           --gst-plugin-load command line option (#346097).
4894
4895 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
4896
4897         * gst/gstinfo.c:
4898           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
4899
4900         * libs/gst/net/gstnetclientclock.c:
4901         * libs/gst/net/gstnettimeprovider.c:
4902           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
4903
4904 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
4905
4906         * docs/manual/advanced-dataaccess.xml:
4907           Fix buffer probe example compilation in
4908           ADM (#345708).
4909         
4910 2006-06-22  Edward Hervey  <edward@fluendo.com>
4911
4912         * gst/gstelement.c: (gst_element_pads_activate):
4913         We need to deactivate src pads first and then sink pads.
4914         The reason is the src pads might be blocking while holding the streaming
4915         lock, so we need to deactivate them first so that deactivating the sink
4916         pads doesn't block (since it will require the streaming lock).
4917
4918 2006-06-22  Wim Taymans  <wim@fluendo.com>
4919
4920         * libs/gst/base/gstbasetransform.c:
4921         (gst_base_transform_buffer_alloc):
4922         Forgot to remove two unneeded unrefs.
4923         Simplify a check _is_equal allready checks the obvious case.
4924
4925 2006-06-22  Wim Taymans  <wim@fluendo.com>
4926
4927         * docs/design/part-block.txt:
4928         Some docs about what pad_block should do.
4929
4930 2006-06-22  Wim Taymans  <wim@fluendo.com>
4931
4932         * gst/gstcaps.c: (gst_caps_replace):
4933         Fix crasher when passed NULL. Doc clarification.
4934         Optimize for the trivial case.
4935
4936         * gst/gstpipeline.c: (gst_pipeline_change_state):
4937         Small cleanups.
4938
4939         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4940         Small documentation cleanup.
4941
4942         * libs/gst/base/gstbasetransform.c:
4943         (gst_base_transform_buffer_alloc):
4944         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
4945         is what we need and it avoids a whole lot of redundant 
4946         refcount operations.
4947
4948 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
4949
4950         Patch by: Philip Jägenstedt  <philip at lysator liu se>
4951
4952         * docs/manual/advanced-dataaccess.xml:
4953           Fix 'Embedding static elements' section to use
4954           GST_PLUGIN_DEFINE_STATIC (#345607).
4955
4956 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
4957
4958         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
4959           Attempt to 'fix' spuriously failing test case: it seems like the
4960           timeout of half a second is simply too small when the system is under
4961           load otherwise, and the timeout doesn't really seem to serve any
4962           particular purpose here. Give the pipeline a few seconds to preroll
4963           first, and then give it another half a second to go from PAUSED to
4964           PLAYING and marshal the message into the main thread.
4965
4966 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
4967
4968         * tools/gst-feedback-m.m:
4969           Don't only use unversioned tools, try versioned tools as well
4970           (#345086).
4971
4972 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
4973
4974         * gst/gstbus.c: (gst_bus_class_init):
4975           Fix some typos, make docs more explicit.
4976
4977 2006-06-20  Wim Taymans  <wim@fluendo.com>
4978
4979         * tests/check/gst/gstghostpad.c: (block_callback),
4980         (GST_START_TEST), (gst_ghost_pad_suite):
4981         Added some more ghostpad tests, mainly blocking
4982         and probes.
4983
4984 2006-06-16  Wim Taymans  <wim@fluendo.com>
4985
4986         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4987         (gst_file_sink_close_file), (gst_file_sink_do_seek),
4988         (gst_file_sink_event), (gst_file_sink_render):
4989         * plugins/elements/gstfilesink.h:
4990         Check if we can seek in the file instead of assuming
4991         we always can. Post an error when we are asked to seek in a
4992         non-seekable file (like a fifo). Fixes #343312.
4993         Some cleanups.
4994
4995 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
4996
4997         * tools/gst-launch.1.in:
4998           Un-garble (fourcc) bit in filtered caps section.
4999
5000 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
5001
5002         * docs/manual/advanced-autoplugging.xml:
5003         * docs/manual/basics-helloworld.xml:
5004         * docs/manual/highlevel-components.xml:
5005           Don't leak bus reference in sample code.
5006
5007 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
5008
5009         * autogen.sh:
5010           Add default for new --enable-plugin-docs switch.
5011
5012         * configure.ac:
5013           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
5014           Fixes #344039.
5015
5016         * docs/Makefile.am:
5017           Use new ENABLE_PLUGIN_DOCS conditional.
5018
5019 2006-06-14  Wim Taymans  <wim@fluendo.com>
5020
5021         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
5022         Make it clear with a FIXME and a real define what the #if 0
5023         previously disabled.
5024
5025 2006-06-14  Wim Taymans  <wim@fluendo.com>
5026
5027         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5028         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5029         * libs/gst/base/gstbasetransform.c:
5030         (gst_base_transform_sink_eventfunc):
5031         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5032         Don't randomly and silently reset a segment when the format 
5033         changes as this is a bug somewhere upstream. Fixes #330379.
5034
5035 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5036
5037         Patch by: Wouter Paesen  <wouter at kangaroot net>
5038
5039         * libs/gst/controller/gstcontroller.c:
5040         (gst_controlled_property_new):
5041           Fix controlling of float properties (#344849).
5042
5043         * tests/check/libs/controller.c:
5044         (gst_test_mono_source_get_property),
5045         (gst_test_mono_source_set_property),
5046         (gst_test_mono_source_class_init), (GST_START_TEST):
5047           While we're at it, add some float stuff to unit test.
5048
5049 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5050
5051         * docs/README:
5052         * docs/images/gdp-header.svg:
5053           add a gdp image
5054         * docs/libs/Makefile.am:
5055         * docs/libs/gdp-header.png:
5056         * libs/gst/dataprotocol/dataprotocol.c:
5057           add it to the API docs
5058         * docs/manual/intro-motivation.xml:
5059           fix typo
5060
5061 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
5062
5063         * gst/gst.c: (scan_and_update_registry), (init_post):
5064           If the fork()'ed child process can't write the updated registry cache
5065           file to disk for some reason, make it exit with a failure exit code,
5066           so that the parent can then re-scan the plugins itself and update the
5067           registry structures in memory and work with that (rather than failing
5068           when creating elements because seemingly no plugins are available).
5069           Refactor registry scanning code into separate function for this and
5070           also separate fork() and non-fork() code paths. Fixes #344748.
5071
5072 2006-06-13  Wim Taymans  <wim@fluendo.com>
5073
5074         * docs/manual/advanced-dataaccess.xml:
5075         Fix wrong PluginDesc. Fixes #344755.
5076
5077 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
5078
5079         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5080           Fix silly bug that prevented us from creating
5081           ~/.gstreamer-0.10 and writing the registry in one
5082           go (the first call to g_mkstemp() would overwrite the
5083           placeholder in the template string, so the second call
5084           to g_mkstemp() after creating the missing directory
5085           would then error out with 'invalid argument').
5086
5087 2006-06-13  Edward Hervey  <edward@fluendo.com>
5088
5089         * gst/gst.c: (init_post):
5090         Free string.
5091
5092 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5093
5094         * gst/glib-compat-private.h:
5095         * gst/glib-compat.c:
5096         * gst/glib-compat.h:
5097         * gst/gstvalue.c: (gst_value_serialize_flags):
5098           remove GLib 2.6 compatibility code
5099
5100 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
5101
5102         * gst/parse/Makefile.am:
5103           Fix build with 'make -j N' even more (#340016).
5104
5105 2006-06-12  Wim Taymans  <wim@fluendo.com>
5106
5107         * docs/gst/gstreamer-sections.txt:
5108         Fix docs.
5109
5110 2006-06-12  Wim Taymans  <wim@fluendo.com>
5111
5112         * gst/gstsegment.c: (gst_segment_set_duration),
5113         (gst_segment_set_last_stop), (gst_segment_set_seek),
5114         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5115         (gst_segment_to_running_time), (gst_segment_clip):
5116         Use G_UNLIKELY to help the compiler a bit.
5117
5118 2006-06-12  Wim Taymans  <wim@fluendo.com>
5119
5120         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
5121
5122         * gst/gstevent.c: (gst_event_get_type):
5123         * gst/gstmessage.c:
5124         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5125         (gst_pad_push):
5126         constify quark registration strings. Fixes #344115
5127         Avoid unneeded type checking is _pad_push() by internally
5128         calling gst_pad_chain_unchecked().
5129
5130 2006-06-12  Wim Taymans  <wim@fluendo.com>
5131
5132         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
5133         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
5134         (gst_subbuffer_finalize), (gst_buffer_create_sub),
5135         (gst_buffer_is_span_fast), (gst_buffer_span):
5136         Init _type for consistency.
5137         Use _FLAGS macro to avoid type check.
5138         Avoid unneeded type checks in subbufer code.
5139
5140 2006-06-12  Wim Taymans  <wim@fluendo.com>
5141
5142         * gst/gst.c: (gst_debug_help):
5143         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
5144         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5145         (gst_plugin_feature_list_free):
5146         * gst/gstregistry.c: (gst_registry_add_plugin),
5147         (gst_registry_add_feature), (gst_registry_plugin_filter),
5148         (gst_registry_feature_filter), (gst_registry_find_plugin),
5149         (gst_registry_find_feature), (gst_registry_get_plugin_list),
5150         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
5151         * gst/gstregistryxml.c: (load_feature),
5152         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
5153         * gst/gstminiobject.c: (gst_mini_object_unref),
5154         (gst_mini_object_replace), (gst_value_mini_object_free),
5155         (gst_value_mini_object_copy):
5156         Use _CAST macros to avoid unneeded type checking.
5157         Added some more G_UNLIKELY.
5158
5159 2006-06-12  Wim Taymans  <wim@fluendo.com>
5160
5161         * gst/gstbuffer.h:
5162         Avoid unneeded type checking.
5163         API: GST_BUFFER_IS_DISCONT
5164
5165         * gst/gstminiobject.h:
5166         Avoid type check in flag accessor.
5167
5168         * gst/gstelementfactory.h:
5169         * gst/gstplugin.h:
5170         * gst/gstpluginfeature.h:
5171         Add _CAST macros.
5172         API: GST_ELEMENT_FACTORY_CAST
5173         API: GST_PLUGIN_CAST
5174         API: GST_PLUGIN_FEATURE_CAST
5175
5176 2006-06-12  Wim Taymans  <wim@fluendo.com>
5177
5178         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
5179         (gst_object_unref):
5180         Add G_UNLIKELY in type registration.
5181         Avoid type check in _ref/_unref since that is also
5182         done in glib.
5183
5184 2006-06-12  Wim Taymans  <wim@fluendo.com>
5185
5186         * gst/gsterror.c: (gst_g_error_get_type):
5187         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5188         (gst_static_pad_template_get_type):
5189         * gst/gsttaglist.c: (gst_tag_list_get_type):
5190         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
5191         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
5192         * gst/gsturi.c: (gst_uri_handler_get_type):
5193         * gst/gstvalue.c: (gst_date_get_type):
5194         * gst/gstxml.c: (gst_xml_get_type):
5195         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5196         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5197         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
5198         Add G_UNLIKELY in type registration.
5199
5200 2006-06-12  Wim Taymans  <wim@fluendo.com>
5201
5202         * tools/gst-inspect.c: (print_signal_info):
5203         Properly print enum values.
5204
5205 2006-06-12  Wim Taymans  <wim@fluendo.com>
5206
5207         * gst/gstinfo.c: (gst_debug_set_active),
5208         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
5209         * gst/gstinfo.h:
5210         Add some G_[UN]LIKELY.
5211         Maintain __gst_debug_min to avoid formatting the arguments of
5212         debug messages that will be dropped anyway to avoid a lot of 
5213         overhead from the debugging system.
5214
5215 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5216
5217         * po/POTFILES.in:
5218         * po/POTFILES.skip:
5219           add missing files containing translatable strings, tell intltool about
5220           one exception
5221
5222 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5223
5224         * tests/check/libs/.cvsignore:
5225         add test-binary to ignore list
5226
5227 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5228
5229         * docs/libs/gstreamer-libs-docs.sgml:
5230         reorder (put dp into a chapter) and indent
5231
5232 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5233
5234         * configure.ac:
5235           back to HEAD
5236
5237 === release 0.10.8 ===
5238
5239 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
5240
5241         * configure.ac:
5242           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
5243
5244 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5245
5246         * gst/gst.c: (init_post):
5247           move pid declaration to declaration block
5248
5249 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5250
5251         * gst/gst.c: (init_post):
5252           use _exit() instead of exit() in our forked child; this ensures
5253           that none of the registered exit handlers from whatever is using
5254           GStreamer get executed.  This fixes gnome-mixer-applet failing
5255           to load, because ORBit would shut down.
5256           Spotted by: Edward Hervey  <edward@fluendo.com>
5257           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
5258           Fixes #344474
5259
5260 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5261
5262         * configure.ac:
5263           back to TRUNK
5264
5265 === release 0.10.7 ===
5266
5267 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
5268
5269         * configure.ac:
5270           releasing 0.10.7, "Soepeke, ik zie ou"
5271
5272 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5273
5274         * configure.ac:
5275         * po/af.po:
5276         * po/az.po:
5277         * po/bg.po:
5278         * po/ca.po:
5279         * po/cs.po:
5280         * po/de.po:
5281         * po/en_GB.po:
5282         * po/fr.po:
5283         * po/it.po:
5284         * po/nb.po:
5285         * po/nl.po:
5286         * po/ru.po:
5287         * po/sq.po:
5288         * po/sr.po:
5289         * po/sv.po:
5290         * po/tr.po:
5291         * po/uk.po:
5292         * po/vi.po:
5293         * po/zh_CN.po:
5294         * po/zh_TW.po:
5295         * win32/common/config.h:
5296           0.10.6.2 prerelease
5297
5298 2006-06-07  Wim Taymans  <wim@fluendo.com>
5299
5300         * gst/gstindex.c: (gst_index_gtype_resolver):
5301         * tools/gst-xmlinspect.c: (print_plugin_info):
5302         Fix leak spotted by coverity checker. Fixes #343827
5303         Fix another other leak found by paolo borelli.
5304
5305 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5306
5307         * libs/gst/dataprotocol/dataprotocol.c:
5308         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5309         (gst_dp_version_get_type), (gst_dp_init),
5310         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
5311         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
5312         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
5313         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
5314         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
5315         (gst_dp_packetizer_free):
5316         * libs/gst/dataprotocol/dataprotocol.h:
5317           API: add a GstDPPacketizer object, and create/free functions
5318           API: add GstDPVersion enum
5319           Add 1.0 event function that uses the string serialization
5320           Serialize more useful buffer flags
5321           Fixes #343988
5322
5323 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5324
5325         * tests/check/Makefile.am:
5326         * tests/check/gst/gstabi.c:
5327         * tests/check/gst/struct_ppc64.h:
5328         * tests/check/libs/libsabi.c:
5329         * tests/check/libs/struct_ppc64.h:
5330           add ppc64 structure sizes
5331
5332 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5333
5334         * tests/check/Makefile.am:
5335         * tests/check/gst/gstabi.c:
5336         * tests/check/gst/struct_x86_64.h:
5337         * tests/check/libs/libsabi.c:
5338         * tests/check/libs/struct_x86_64.h:
5339           generate and add structure size lists for x86_64
5340
5341 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5342
5343         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5344         * libs/gst/check/gstcheck.h:
5345           factor out the method from tests that checks size of structures,
5346           and add code to generate the header containing these sizes
5347         * tests/check/gst/gstabi.c: (GST_START_TEST):
5348         * tests/check/gst/struct_i386.h:
5349         * tests/check/libs/libsabi.c: (GST_START_TEST):
5350         * tests/check/libs/struct_i386.h:
5351           use it
5352
5353 2006-06-06  Michael Smith  <msmith@fluendo.com>
5354
5355         * gst/gstsegment.h:
5356           Don't use c++-style comments, fixes #343929
5357
5358 2006-06-05  Edward Hervey  <edward@fluendo.com>
5359
5360         * gst/gst.c:
5361         plugin_paths is not used if we build without registry support.
5362
5363         * gst/gstsegment.c: (gst_segment_copy): 
5364         _copy() was always returning NULL...
5365
5366 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5367
5368         * libs/gst/dataprotocol/dataprotocol.c:
5369         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5370         (gst_dp_packet_from_event):
5371           factor out CRC code
5372
5373 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5374
5375         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
5376           make sure we unset caps
5377
5378 2006-06-02  Michael Smith  <msmith@fluendo.com>
5379
5380         * libs/gst/check/gstcheck.c: (gst_check_init),
5381         (gst_check_chain_func):
5382         * libs/gst/check/gstcheck.h:
5383           Add a cond/mutex to the check support lib, signal this whenever we
5384           add to the buffers list. This will allow tests to not busy-wait on
5385           the buffer-list.
5386
5387 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5388
5389         * libs/gst/dataprotocol/dataprotocol.c:
5390         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5391         (gst_dp_packet_from_event):
5392           factor out some common header init code
5393
5394 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5395
5396         * docs/libs/gstreamer-libs-sections.txt:
5397         * docs/libs/tmpl/gstdataprotocol.sgml:
5398         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
5399         * libs/gst/dataprotocol/dataprotocol.h:
5400           API: make gst_dp_crc() public
5401
5402 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
5403
5404         * plugins/indexers/gstindexers.c: (plugin_init):
5405         conditionally register fileindexer (fixes #343598)
5406
5407 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
5408
5409         * gst/gsttagsetter.h:
5410         Can't cast ifaces to a class
5411
5412         * libs/gst/net/gstnetclientclock.h:
5413         * libs/gst/net/gstnettimeprovider.h:
5414         * plugins/elements/gstfakesink.h:
5415         * plugins/elements/gstfakesrc.h:
5416         * plugins/elements/gstfdsink.h:
5417         * plugins/elements/gstfdsrc.h:
5418         * plugins/elements/gstfilesink.h:
5419         * plugins/elements/gstfilesrc.h:
5420         * plugins/elements/gstidentity.h:
5421         * plugins/elements/gstqueue.h:
5422         * plugins/elements/gsttee.h:
5423         * plugins/indexers/gstfileindex.c:
5424         * plugins/indexers/gstmemindex.c:
5425         * tests/old/examples/plugins/example.h:
5426         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
5427
5428 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5429
5430         * libs/gst/dataprotocol/dataprotocol.c:
5431         (gst_dp_header_from_buffer):
5432           make sure we zero the whole ABI-compatible area
5433
5434 2006-06-01  Wim Taymans  <wim@fluendo.com>
5435
5436         Patch by: Alessandro Decina <alessandro at nnva dot org>
5437
5438         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
5439         Make sure the EOS flag is cleared from pads after a flush
5440         or stop. Fixes #343538.
5441
5442         * tests/check/libs/collectpads.c: (GST_START_TEST),
5443         (gst_collect_pads_suite):
5444         Added test for collectpads reusage after EOS.
5445
5446 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
5447
5448         * gst/gst.c:
5449          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
5450         * win32/common/libgstbase.def:
5451          export gst_collect_pads_set_flushing
5452         * win32/common/libgstreamer.def:
5453          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
5454          gst_value_fraction_multiply
5455         * win32/vs6/gst_inspect.dsp:
5456          add a link to intl.lib
5457
5458 2006-05-30  Wim Taymans  <wim@fluendo.com>
5459
5460         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5461         (gst_collect_pads_chain):
5462         Handle the case where a pad is removed from the collection
5463         that could cause the other pads to become collectable.
5464
5465 2006-05-30  Wim Taymans  <wim@fluendo.com>
5466
5467         * gst/gstelement.c:
5468         Clarify the use of _release_request_pad() and
5469         _get_request_pad() a bit better.
5470
5471         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
5472         (gst_adapter_take_buffer):
5473         Fix some doc and comment typos.
5474
5475 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5476
5477         * docs/gst/gstreamer-sections.txt:
5478         * docs/libs/gstreamer-libs-sections.txt:
5479           add declared symbols
5480
5481 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
5482
5483         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5484         Add debug that can be enabled using a #define at the top of the file,
5485         for dumping stats about how late/early we were when waking up from
5486         waiting on the clock.
5487
5488 2006-05-30  Wim Taymans  <wim@fluendo.com>
5489
5490         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
5491         When rebuilding the pad list, don't leak the previous list.
5492
5493 2006-05-30  Wim Taymans  <wim@fluendo.com>
5494
5495         Patch by: Lutz Mueller <lutz at topfrose dot de>
5496
5497         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5498         (gst_base_src_get_query_types), (gst_base_src_update_length):
5499         Publish supported query types.
5500         Update last_stop field in get_range mode so the position
5501         query works. Fixes #342321.
5502
5503 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
5504
5505         * docs/gst/gstreamer-sections.txt:
5506         * gst/gsttaglist.c: (_gst_tag_initialize):
5507         * gst/gsttaglist.h:
5508           API: add GST_TAG_PREVIEW_IMAGE (#343341).
5509
5510 2006-05-30  Wim Taymans  <wim@fluendo.com>
5511
5512         Patch by: Alessandro Decina <alessandro at nnva dot org>
5513
5514         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5515         Unlock mutex when removing an unknown pad.
5516         Fixes #343334.
5517
5518         * tests/check/Makefile.am:
5519         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
5520         (push_event), (setup), (teardown), (GST_START_TEST),
5521         (gst_collect_pads_suite), (main):
5522         Added collecpads check, disabled for now as check crashes for
5523         some reason.
5524
5525 2006-05-29  Wim Taymans  <wim@fluendo.com>
5526
5527         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
5528         Don't leak pads lists.
5529
5530 2006-05-29  Wim Taymans  <wim@fluendo.com>
5531
5532         * docs/libs/gstreamer-libs-sections.txt:
5533         * libs/gst/base/gstcollectpads.c:
5534         (gst_collect_pads_set_flushing_unlocked),
5535         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5536         (gst_collect_pads_stop):
5537         * libs/gst/base/gstcollectpads.h:
5538         API: gst_collect_pads_set_flushing()
5539         Added api to set the pads to flushing, useful for seeking
5540         code in elements using collectpads.
5541         Clear segment when receiving a flush.
5542
5543 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
5544
5545         * gst/gst.c: (add_path_func), (init_post):
5546           Don't scan registry paths passed via --gst-plugin-path immediately
5547           (will crash, because absolutely nothing is set up and no types are
5548           registered etc.); do this later in init_post(). Fixes #343057.
5549
5550 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5551
5552         * gst/gst.c: (init_post):
5553           if we have fork, fork while reading/rebuilding the registry
5554           so the parent doesn't take the hit of having all plugins loaded
5555           in memory.  Fixes #342777.
5556         * configure.ac:
5557           Check if we have fork()
5558         * win32/common/config.h.in:
5559           no fork() on win32
5560
5561 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
5562
5563         * plugins/elements/gstelements.c:
5564         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5565         (gst_file_src_init), (gst_file_src_set_property),
5566         (gst_file_src_get_property), (gst_file_src_start):
5567         * plugins/elements/gstfilesrc.h:
5568           API: GstFileSrc::use-mmap
5569
5570         Add a use-mmap property to enable easier testing of all code paths.
5571         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
5572         in the absence of gnomevfssrc. (Closes #340501)
5573
5574 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5575
5576         * tools/gst-inspect.c:
5577         Add missing include, removes warning of ngettext not being defined on
5578         some arches.
5579
5580 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
5581
5582         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5583         Handle NULL input and output pointers silently as a failed conversion,
5584         rather than g_warnings.
5585
5586 2006-05-25  Wim Taymans  <wim@fluendo.com>
5587
5588         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
5589         Initialize variable before using. Fixes #342820.
5590
5591 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
5592
5593         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
5594           Fix off-by-one bug that would only allow peeks of N-1 bytes
5595           from the start even if the buffer to typefind on contains
5596           in fact N bytes of data (makes vorbis typefinding from a
5597           vorbis identification header buffer work).
5598
5599         * tests/check/Makefile.am:
5600         * tests/check/libs/.cvsignore:
5601         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
5602         (gst_typefindhelper_suite), (main), (foobar_typefind),
5603         (plugin_init):
5604           Add very basic unit test for gst_type_find_helper_for_buffer()
5605           that checks for the problem fixed above.
5606
5607 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5608
5609         * tools/gst-inspect.c: (print_interfaces),
5610         (print_element_properties_info), (print_element_list), (main):
5611           add more translatable strings
5612
5613 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
5614
5615         Patch by: Julien Moutte  <julien at moutte net>
5616
5617         * docs/gst/gstreamer-sections.txt:
5618           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
5619           
5620         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5621         (gst_fake_sink_preroll):
5622         * plugins/elements/gstfakesink.h:
5623           API: Add new GstFakeSink::preroll-handoff signal (#337100).
5624
5625 2006-05-23  Wim Taymans  <wim@fluendo.com>
5626
5627         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
5628         * gst/gstpad.h:
5629         Added _CUSTOM error and success GstFlowReturn that can be
5630         used be elements internally. 
5631         Added macro to check for SUCCESS flowreturns.
5632         API: GST_FLOW_CUSTOM_SUCCESS
5633         API: GST_FLOW_CUSTOM_ERROR
5634         API: GST_FLOW_IS_SUCCESS
5635
5636         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5637         Added check for GstFlowReturn sanity.
5638
5639 2006-05-23  Wim Taymans  <wim@fluendo.com>
5640
5641         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5642
5643         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5644         (gst_collect_pads_event):
5645         clear/reset segment info in FLUSH_STOP.
5646         Fixes #336929.
5647
5648 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
5649
5650         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
5651         (gst_collect_pads_check_collected):
5652         Flush queued buffer on _stop(), fixes playing again (#342454)
5653
5654 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5655
5656         * tests/check/gst/gststructure.c: (GST_START_TEST),
5657         (gst_structure_suite):
5658           add a test for a complete structure
5659
5660 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
5661
5662         * docs/faq/developing.xml:
5663         * docs/faq/faq.xml:
5664         * docs/faq/troubleshooting.xml:
5665         * docs/faq/using.xml:
5666           Some minor FAQ updates that won't change the fact that
5667           our FAQ is badly structured, full of information hardly
5668           anyone new to GStreamer needs to know and lacking lots
5669           of information people constantly ask for.
5670           
5671 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
5672
5673         * gst/gstpad.c: (gst_pad_set_caps):
5674           Short-circuit gst_pad_set_caps if setting the existing
5675           caps pointer again, and avoid printing debug and 
5676           reffing/unreffing the caps.
5677
5678         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5679           There's actually no need to set the caps before pushing -
5680           the acceptcaps method will handle it anyway.
5681
5682 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
5683
5684         * docs/gst/gstreamer-sections.txt:
5685         * win32/common/libgstreamer.def:
5686         * gst/gstutils.c: (gst_element_seek_simple):
5687         * gst/gstutils.h:
5688           API: add gst_element_seek_simple() (#342238).
5689
5690 2006-05-18  Edward Hervey  <edward@fluendo.com>
5691
5692         * gst/gsttypefind.c: (gst_type_find_get_type):
5693         * gst/gsttypefind.h:
5694         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
5695         registered for GstTypeFind pointers. This allows wrapping the structure
5696         in bindings (i.e. gst-python).
5697
5698 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
5699
5700         * gst/gsttagsetter.c:
5701           Docs additions and fixes (see #339918).
5702
5703 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
5704
5705         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5706         The caps intersection algorithm can produce multiple copies of the
5707         caps. Until that is fixed, we need to simplify the result to be
5708         sure whether the allowed caps are fixed or not.
5709
5710         * plugins/elements/gstqueue.c: (gst_queue_init),
5711         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
5712         (gst_queue_push_one):
5713         Proxied buffer alloc should not set the caps on the source pad.
5714         When pushing buffers, we always accept the caps change that triggers.
5715         This prevents negotiation errors caused by caps changing mid-stream 
5716         and then being refused on our source pad (because upstream is now
5717         refusing those caps).
5718
5719 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
5720
5721         * tests/examples/helloworld/helloworld.c: (main):
5722           Must plug audioconvert and audioresample between decoder
5723           and audio sink.
5724
5725 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
5726
5727         * gst/gstregistryxml.c: (read_string), (load_pad_template),
5728         (load_feature), (load_plugin):
5729         Allow empty strings for some of the plugin fields so we don't 
5730         drop valid plugin entries that were written out correctly
5731         (Fixes #341479)
5732
5733 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
5734         
5735         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5736           Use g_remove and g_rename instead of remove and rename that don't 
5737           handle utf8 characters. rename was failing for users who had specific
5738           characters in their name then the registry was built at each 
5739           gstreamer init.
5740         * win32/vs6/gst_inspect.dsp:
5741         * win32/vs6/gst_launch.dsp:
5742         * win32/vs6/libgstbase.dsp:
5743         * win32/vs6/libgstcoreelements.dsp:
5744         * win32/vs6/libgstreamer.dsp:
5745           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
5746           build of libgstreamer and clean unused libraries in projects link 
5747           settings.
5748
5749 2006-05-17  Edward Hervey  <edward@fluendo.com>
5750
5751         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5752         The queue is not responsible for pushing an EOS when receiving a fatal
5753         flow error. It's up to the real element driving the pipeline to do that.
5754
5755 2006-05-16  Edward Hervey  <edward@fluendo.com>
5756
5757         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5758         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
5759         buffer returned a fatal error. It should just send an EOS and stop
5760         its task.
5761         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
5762         when pushing buffers on the queue and will be able to handle the event.
5763
5764 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
5765
5766         * docs/manual/basics-bins.xml:
5767         * docs/manual/basics-init.xml:
5768           Fix typos and minor errors in sample code (#341856).
5769
5770 2006-05-16  Wim Taymans  <wim@fluendo.com>
5771
5772         * docs/design/part-qos.txt:
5773         Fix indexes in formulas to make more sense.
5774
5775 2006-05-15  Wim Taymans  <wim@fluendo.com>
5776
5777         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5778         Don't report POSITION based on clock time if sync is
5779         disabled in a sink.
5780
5781 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
5782
5783         * gst/gstobject.h:
5784           Add cast to make compiler happy - refcount variable was a gint
5785           in GstObject but is a guint in GObject and g_atomic_int_get()
5786           wants a gint *.
5787
5788 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5789
5790         * gst/parse/Makefile.am:
5791           chain commands using &&, which also makes parallel make work
5792
5793 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
5794
5795         * docs/gst/gstreamer-sections.txt:
5796         * gst/gstevent.c:
5797         * gst/gstevent.h:
5798         * gst/gstmessage.h:
5799           Minor docs fixes.
5800
5801 === release 0.10.6 ===
5802
5803 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
5804
5805         * configure.ac:
5806           releasing 0.10.6, "Take the cannoli"
5807
5808 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
5809
5810         * tools/gst-launch.c: (print_tag):
5811           Fix use of uninitialized variable in the hypothetical
5812           case that some broken plugin creates a GST_TAG_IMAGE
5813           tag containing a NULL buffer (#341667).
5814
5815 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
5816
5817         * tools/gst-launch.c: (print_tag):
5818           Print something more intelligible for image tags when
5819           using the -t switch (#341556).
5820
5821 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5822
5823         * Makefile.am:
5824           updates for win32
5825         * configure.ac:
5826           define GST_MAJORMINOR so we have it available in win32/common/config.h
5827           Possibly remove it from our Makefile.am files later
5828         * win32/common/config.h:
5829         * win32/common/config.h.in:
5830           added GST_MAJORMINOR
5831         * win32/common/gstenumtypes.c: (register_gst_resource_error):
5832         * win32/common/gstversion.h:
5833           updated
5834
5835 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
5836
5837         * win32/MANIFEST:
5838           Update win32 files listing.
5839         * win32/common/gstversion.h:
5840           Add GST_MAJORMINOR definition.
5841         * win32/common/libgstreamer.def:
5842           Add new exported functions.
5843           
5844 2006-05-12  Michael Smith  <msmith@fluendo.com>
5845
5846         * gst/gstplugin.c: (gst_plugin_load_file):
5847           If an so file has no plugin entry point, unload the module.
5848
5849 2006-05-11  Wim Taymans  <wim@fluendo.com>
5850
5851         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
5852         (gst_queue_set_property):
5853         Don't forget to signal the _chain or _loop function 
5854         when the queue size or thresholds change since that might
5855         cause them to make progres again.
5856
5857 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
5858
5859         * gst/gstclock.c: (gst_clock_class_init):
5860         * gst/gstindex.c: (gst_index_class_init):
5861         * gst/gstobject.c: (gst_object_class_init):
5862         * gst/gstpad.c: (gst_pad_class_init):
5863         * gst/gstpipeline.c: (gst_pipeline_class_init):
5864         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
5865         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
5866         * libs/gst/base/gstbasetransform.c:
5867         (gst_base_transform_class_init):
5868         * libs/gst/net/gstnetclientclock.c:
5869         (gst_net_client_clock_class_init):
5870         * libs/gst/net/gstnettimeprovider.c:
5871         (gst_net_time_provider_class_init):
5872         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
5873         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
5874         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
5875         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
5876         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
5877         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5878         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
5879         * plugins/elements/gstidentity.c: (gst_identity_class_init):
5880         * plugins/elements/gsttee.c: (gst_tee_class_init):
5881         * tests/old/examples/plugins/example.c: (gst_example_class_init):
5882         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
5883           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
5884
5885 2006-05-11  Wim Taymans  <wim@fluendo.com>
5886
5887         * gst/gstbuffer.c: (_gst_buffer_initialize):
5888         Register subbufer along with the buffer type so that
5889         it does not accidentally gets registered from N
5890         different streaming threads in a non threadsafe way.
5891
5892 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
5893
5894         * gst/gstbuffer.h:
5895         * gst/gstevent.h:
5896         * gst/gstmessage.h:
5897           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
5898           gst_event_ref() and gst_message_ref() functions again
5899           (ugly hack, please do fix if there's a better way besides
5900           overrides.txt, which doesn't seem to work).
5901
5902 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5903
5904         * libs/gst/check/gstcheck.h:
5905           add an assert for setting state to avoid lots of repetitive code
5906           in the future
5907
5908 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5909
5910         * gst/gstvalue.c: (gst_value_serialize_flags):
5911           fix a leak if no flags are set
5912         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5913           fix leak in tests
5914
5915 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
5916
5917         * docs/manual/basics-pads.xml:
5918           Expand a bit on caps and filtered links and update
5919           examples that were still using the no longer existing
5920           gst_pad_link_filtered() (#338206).
5921
5922 2006-05-10  Wim Taymans  <wim@fluendo.com>
5923
5924         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5925         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5926         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5927         (gst_collect_pads_stop):
5928         * libs/gst/base/gstcollectpads.h:
5929         No need to call _stop in _finalize.
5930         Iterate the main pad list in _finalize.
5931         Added some more debug.
5932         Free lists and data in the right order.
5933         Also free data whem doing _remove_pad when stopped for
5934         backward compatibility protect ::started with PAD_LOCK as
5935         well.
5936
5937 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5938
5939         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
5940         (gst_structure_parse_value):
5941           add some comments
5942           rename a method so that it actually says what it does better
5943
5944 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5945
5946         * gst/gstevent.c: (_gst_event_initialize):
5947         * gst/gstformat.c: (_gst_format_initialize):
5948           make sure some essential types used by events are registered
5949           as part of gst_init()
5950         * gst/gstvalue.c: (gst_value_serialize_flags):
5951           if no flags are set, serialize them to a value that represents NONE
5952           so that deserializing them works
5953         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5954           add tests for serialization and deserialization of flags
5955
5956 2006-05-10  Wim Taymans  <wim@fluendo.com>
5957
5958         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
5959         (gst_collect_pads_collect_range), (gst_collect_pads_available),
5960         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
5961         (gst_collect_pads_event), (gst_collect_pads_chain):
5962         Update docs.
5963         Better debug info.
5964         Catch and return errors from the collect function
5965         Refuse data on eos pads.
5966
5967 2006-05-10  Edward Hervey  <edward@fluendo.com>
5968
5969         * gst/gstinterface.h:
5970         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
5971         GInterface type checking.
5972         They were previously using non-defined macros.
5973
5974 2006-05-09  Wim Taymans  <wim@fluendo.com>
5975
5976         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
5977         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
5978         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
5979         (gst_collect_pads_start), (gst_collect_pads_stop),
5980         (gst_collect_pads_peek), (gst_collect_pads_pop),
5981         (gst_collect_pads_available), (gst_collect_pads_read),
5982         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
5983         (gst_collect_pads_is_collected), (gst_collect_pads_event),
5984         (gst_collect_pads_chain):
5985         * libs/gst/base/gstcollectpads.h:
5986         Clean up the mess that is collectpads, add comments and
5987         FIXMEs where needed.
5988         Maintain a separate pad list so we can add pads while
5989         collecting the other ones. For this we need a new separate 
5990         lock (see comics).
5991         Fix memory leak in finalize.
5992         Refactor some weird code to set/unset pad flushing flags, mark
5993         with comments.
5994         Don't crash in _available, _read, _flush when we're EOS.
5995
5996         * tests/check/libs/.cvsignore:
5997         Ignore adapter check binary.
5998
5999 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6000
6001         * gst/gstindex.c: (gst_index_resolver_get_type):
6002         * plugins/elements/gstfakesink.c:
6003         (gst_fake_sink_state_error_get_type):
6004         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6005         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
6006         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6007           Const-ify GEnumValue arrays.
6008
6009 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6010
6011         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6012           Add test case for flags + gst_buffer_make_metadata_writable().
6013
6014 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6015
6016         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
6017           gst_buffer_make_metadata_writable() should maintain the
6018           buffer flags (those that make sense at least) (see #340859).
6019
6020 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6021
6022         * tools/gst-inspect.c:
6023         * tools/gst-launch.c:
6024         * tools/gst-typefind.c:
6025         * tools/gst-xmlinspect.c:
6026         * tools/tools.h:
6027           Fix up includes: need to include stdlib.h in tools.h for exit().
6028
6029 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6030
6031         * gst/gsttaglist.c: (_gst_tag_initialize):
6032         * gst/gsttaglist.h:
6033           API: add GST_TAG_IMAGE tag (#340721).
6034
6035 2006-05-08  Wim Taymans  <wim@fluendo.com>
6036
6037         * gst/gstquery.c:
6038         Added some docs for the segment query.
6039
6040 2006-05-08  Wim Taymans  <wim@fluendo.com>
6041
6042         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6043         (gst_base_src_loop), (gst_base_src_change_state):
6044         Always push non-flushing serialized events in the streaming 
6045         thread.
6046
6047 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6048
6049         * gst/gsterror.c: (_gst_stream_errors_init):
6050           Add a missing error string.
6051
6052 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
6053
6054         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
6055         Add applied_rate to the debug
6056
6057         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6058         Copy applied_rate into the outgoing NEWSEGMENT event
6059
6060 2006-05-08  Wim Taymans  <wim@fluendo.com>
6061
6062         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
6063
6064         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6065         (gst_base_sink_change_state):
6066         call ::unlock before taking the PREROLL_LOCK so we can safely
6067         handle elements that lock in ::render.
6068         Fixes #340174.
6069
6070 2006-05-08  Edward Hervey  <edward@fluendo.com>
6071
6072         * autogen.sh: (CONFIGURE_DEF_OPT): 
6073         Darwin's libtoolize is in fact called glibtoolize.
6074         Adding glibtoolize to the list of accepted names for libtoolize.
6075
6076 2006-05-08  Wim Taymans  <wim@fluendo.com>
6077
6078         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6079         Unify error handling, don't post an error message
6080         when a push() returns EOS but perform our normal EOS
6081         handling code. Fixes #340772.
6082
6083 2006-05-08  Wim Taymans  <wim@fluendo.com>
6084
6085         * docs/design/part-overview.txt:
6086         Make upsteam/downstream concepts more clear.
6087         Give an example of serialized/non-serialized events.
6088
6089         * docs/design/part-events.txt:
6090         * docs/design/part-streams.txt:
6091         Mention applied_rate.
6092
6093         * docs/design/part-trickmodes.txt:
6094         Mention applied rate, flesh out some more use cases.
6095
6096         * gst/gstevent.c: (gst_event_new_new_segment),
6097         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
6098         (gst_event_parse_new_segment_full), (gst_event_new_tag),
6099         (gst_event_parse_tag), (gst_event_new_buffer_size),
6100         (gst_event_parse_buffer_size), (gst_event_new_qos),
6101         (gst_event_parse_qos), (gst_event_parse_seek),
6102         (gst_event_new_navigation):
6103         * gst/gstevent.h:
6104         Add applied_rate field to NEWSEGMENT event.
6105         API: gst_event_new_new_segment_full()
6106         API: gst_event_parse_new_segment_full()
6107
6108         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
6109         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
6110         (gst_segment_to_stream_time), (gst_segment_to_running_time):
6111         * gst/gstsegment.h:
6112         Add applied_rate to GstSegment structure.
6113         Make calculation of stream_time and running_time more correct
6114         wrt rate/applied_rate.
6115         Add some more docs.
6116         API: GstSegment::applied_rate field
6117         API: gst_segment_set_newsegment_full();
6118
6119         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6120         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
6121         * libs/gst/base/gstbasetransform.c:
6122         (gst_base_transform_sink_eventfunc),
6123         (gst_base_transform_handle_buffer):
6124         Parse and use applied_rate in the GstSegment field.
6125
6126         * tests/check/gst/gstevent.c: (GST_START_TEST):
6127         Add check for applied_rate field.
6128
6129         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6130         (gstsegments_suite):
6131         Add more checks for various GstSegment operations.
6132
6133 2006-05-08  Wim Taymans  <wim@fluendo.com>
6134
6135         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6136         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
6137         (gst_base_sink_get_position), (gst_base_sink_change_state):
6138         Store the sync time of the buffer end position separatly in a
6139         new variable eos_rtime so we can properly sync the EOS event.
6140         Fixes #340697.
6141         Fix the docs for gst_base_sink_set_qos_enabled().
6142         Don't set segment start to invalid value when we receive a 
6143         non TIME newsegment.
6144         get closer to handling position reporting for negative rates 
6145         correctly.
6146
6147 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
6148
6149         * gst/gstcaps.c:
6150         Docs about how to print caps for debug purposes.
6151
6152         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
6153         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
6154
6155 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
6156
6157         * gst/gstelement.c:
6158           use full enum names and preprend a '%' in docs strings to make recent 
6159           gtk-doc turn that into a link
6160
6161 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6162
6163         * docs/manual/basics-bins.xml:
6164         * docs/manual/basics-bus.xml:
6165         * docs/manual/basics-pads.xml:
6166           Some typo fixes, some additions, some clarifications. 
6167
6168 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6169
6170         * tools/gst-inspect.c: (main):
6171         * tools/gst-launch.c: (main):
6172         * tools/gst-run.c: (main):
6173         * tools/gst-typefind.c: (main):
6174         * tools/gst-xmlinspect.c: (main):
6175           Use the string passed to g_option_context_new() for
6176           what it's intended for - the program name is already
6177           printed elsewhere.
6178
6179 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6180
6181         * tools/Makefile.am:
6182         * tools/gst-inspect.c: (main):
6183         * tools/gst-launch.c: (main):
6184         * tools/gst-xmlinspect.c: (main):
6185         * tools/tools.h:
6186           Add back --version command line option (#340460).
6187
6188         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
6189           Add --version option and use GOption for argument parsing; refactor a
6190           bit; accept directories as arguments and recurse into them; lastly,
6191           print a decent error message when things go wrong.
6192
6193 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6194
6195         * docs/manual/basics-bins.xml:
6196         Don't mention GstThread (#340611)
6197         * docs/manual/basics-elements.xml:
6198         Update link to GObject tutorial (#340607)
6199         
6200 2006-05-05  Wim Taymans  <wim@fluendo.com>
6201
6202         * gst/gstbuffer.h:
6203         * gst/gstminiobject.c:
6204         Add note about refcounting and miniobject/buffer writeability
6205         to docs. Fixes #340604
6206
6207         * gst/gstelementfactory.h:
6208         Added some explanation about @klass.
6209
6210 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6211
6212         * docs/manual/intro-motivation.xml:
6213         * docs/manual/manual.xml:
6214         Avoid CORBA & Bonobo references (#340598)
6215
6216 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6217
6218         * docs/manual/basics-bus.xml:
6219         * docs/manual/basics-pads.xml:
6220         Fix up some inaccuracies and omissions (#340609)
6221         
6222 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6223
6224         * gst/gstghostpad.c:
6225           Small typo in docs (#340625)
6226
6227 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6228
6229         * gst/parse/Makefile.am:
6230           Make 'make -j' proof (see #340698).
6231
6232 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6233
6234         * configure.ac:
6235           Require GLib-2.8 here as well.
6236
6237 2006-05-05  Wim Taymans  <wim@fluendo.com>
6238
6239         * gst/glib-compat.c:
6240         * gst/gst.c: (init_pre):
6241         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6242         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
6243         (gst_object_dispatch_properties_changed):
6244         * gst/gstobject.h:
6245         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6246         * gst/gststructure.c: (gst_structure_set_valist):
6247         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6248         Remove pre glib2.8 compatibility, fixes #340508
6249
6250 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6251
6252         * gst/gsttaglist.h:
6253           Mention type of tags in doc blurbs.
6254
6255 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
6256
6257         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6258         (gst_pad_configure_src), (gst_pad_push):
6259         Restore acceptcaps checking behaviour now that good plugins have
6260         been released.
6261
6262 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6263
6264         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
6265
6266         * gst/gst.c:
6267         * gst/gstbus.c:
6268         * gst/gstclock.c:
6269         * gst/gstevent.c:
6270         * gst/gstformat.c:
6271         * gst/gstmessage.c:
6272         * gst/gstparse.c:
6273         * gst/gstquery.c:
6274         * gst/gstutils.c:
6275         * gst/parse/Makefile.am:
6276         * libs/gst/base/gstadapter.c:
6277         * libs/gst/base/gstbasesrc.c:
6278         * libs/gst/base/gstpushsrc.c:
6279         * libs/gst/base/gsttypefindhelper.c:
6280         * plugins/elements/gstfakesrc.c:
6281         * plugins/elements/gstidentity.c:
6282           Make sure gstprivate.h and/or config.h are
6283           always included first, otherwise some of our
6284           defines (like _FILE_OFFSET_BITS) might be
6285           redefined in the system headers. Fixes build
6286           on opensolaris (#340016).
6287
6288 2006-05-04  Wim Taymans  <wim@fluendo.com>
6289
6290         * docs/libs/gstreamer-libs-sections.txt:
6291         API: addition: gst_adapter_take_buffer()
6292         
6293         * libs/gst/base/gstadapter.c: (gst_adapter_push),
6294         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
6295         (gst_adapter_available_fast):
6296         * libs/gst/base/gstadapter.h:
6297         Prepare for optimizing the hell out of this hugely inefficient
6298         piece of code. 
6299         Added gst_adapter_take_buffer() so we can at least start thinking
6300         about subbuffering and merging.
6301         Added some comments.
6302
6303         * tests/check/Makefile.am:
6304         * tests/check/libs/adapter.c: (GST_START_TEST),
6305         (gst_adapter_suite), (main):
6306         Added GstAdapter check.
6307
6308 2006-05-04  Wim Taymans  <wim@fluendo.com>
6309
6310         * docs/design/part-overview.txt:
6311         Fix some typos, add blurb about buffer flags.
6312
6313 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6314
6315         * docs/libs/gstreamer-libs-sections.txt:
6316           make sure GstBaseTransformClass shows up in the docs
6317         * libs/gst/base/gstbasetransform.c:
6318         * libs/gst/base/gstbasetransform.h:
6319           move docs so gtk-doc picks it up now
6320
6321 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
6322
6323         * docs/libs/gstreamer-libs-sections.txt:
6324           add missing symbols to docs
6325
6326 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
6327
6328         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6329           back out the newsegment handling change, see #340060 for ongoing
6330           discussion
6331
6332 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
6333
6334         * tools/gst-run.c: (get_candidates), (main):
6335           Fix wrong g_file_test() usage (see glib docs for why it doesn't
6336           work); fix typo in error message. Fixes #340079.
6337
6338 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6339
6340         * common/Makefile.am:
6341         * docs/Makefile.am:
6342         * docs/faq/Makefile.am:
6343         * docs/gst/Makefile.am:
6344         * docs/libs/Makefile.am:
6345         * docs/manual/Makefile.am:
6346         * docs/plugins/Makefile.am:
6347         * docs/pwg/Makefile.am:
6348         * docs/slides/Makefile.am:
6349         * docs/upload.mak:
6350         * common/upload.mak:
6351           move upload.mak to common
6352
6353 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6354
6355         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6356           add more asserts on refcounts
6357           do more cleanup at end of tests
6358           fix test leaks showing in FC5
6359
6360 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
6361
6362         * plugins/elements/gsttypefindelement.c:
6363         (gst_type_find_element_handle_event):
6364         reverted wrong change and reflowed code to avoid others falling into
6365         this trap
6366
6367 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6368
6369         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6370           fix changelog entry about last collectpads change,
6371           add notes about proper fix
6372
6373 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6374
6375         * gst/gst.c:
6376         * gst/gstregistry.c: (gst_registry_scan_path_level),
6377         (gst_registry_scan_path):
6378         * gst/gstregistry.h:
6379           only write out registry if it has changed, fixes #338339
6380
6381 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6382
6383         * gst/gstbin.c:
6384         * gst/gstpipeline.c:
6385         * plugins/elements/gstcapsfilter.c:
6386         * plugins/elements/gstfakesink.c:
6387         * plugins/elements/gstfakesrc.c:
6388         * plugins/elements/gstfdsink.c:
6389         * plugins/elements/gstfdsrc.c:
6390         * plugins/elements/gstfilesink.c:
6391         * plugins/elements/gstfilesrc.c:
6392         * plugins/elements/gstidentity.c:
6393         * plugins/elements/gstqueue.c:
6394         * plugins/elements/gsttee.c:
6395         * plugins/elements/gsttypefindelement.c:
6396         (gst_type_find_element_handle_event):
6397           make GstElementDetails const
6398
6399 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6400
6401         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6402         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6403         (gst_collect_pads_is_collected), (gst_collect_pads_event):
6404           more detailed debug and formatting cleanup,
6405           forward newsegments to src-pad (so that e.g. adder not eats them)
6406
6407 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6408
6409         * gst/gstutils.c: (gst_element_link_pads):
6410           cleanup double code
6411
6412 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6413
6414         * libs/gst/controller/gstcontroller.c:
6415         (gst_controller_sync_values):
6416           some little tuning
6417         * tests/check/libs/controller.c: (GST_START_TEST),
6418         (gst_controller_suite):
6419           a new test for live value handling
6420
6421 2006-04-28  Wim Taymans  <wim@fluendo.com>
6422
6423         * gst/gstutils.c: (push_and_ref):
6424         Added some more docs.
6425         Fix refcount issue whith gst_element_found_tags() helper 
6426         function. Fixes #338335
6427
6428         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6429         Added testsuite for gst_element_found_tags().
6430
6431 2006-04-28  Michael Smith  <msmith@fluendo.com>
6432
6433         * gst/gstvalue.c: (gst_value_serialize_flags):
6434           Avoid NULL dereference when trying to serialize flags containing
6435           invalid values.
6436
6437 2006-04-28  Michael Smith  <msmith@fluendo.com>
6438
6439         * plugins/elements/gsttypefindelement.c:
6440         (gst_type_find_element_handle_event):
6441           If we get EOS before any data is accumulated, don't use
6442           uninitialised local variables.
6443
6444 2006-04-28  Michael Smith  <msmith@fluendo.com>
6445
6446         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6447         (gst_dp_event_from_packet):
6448           Fixes in reading/writing events over GDP (not currently used?) - 
6449           dereferencing NULL events for unknown/invalid event types, memory
6450           leak, and change g_warning to GST_WARNING.
6451
6452 2006-04-28  Wim Taymans  <wim@fluendo.com>
6453
6454         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
6455         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6456         (gst_base_sink_get_position), (gst_base_sink_change_state):
6457         When frame dropping is enabled, we should not ignore frames
6458         without a duration.
6459         Update some documentation.
6460
6461 2006-04-28  Wim Taymans  <wim@fluendo.com>
6462
6463         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6464         (gst_base_src_send_event), (gst_base_src_change_state):
6465         Documentation updates.
6466
6467 2006-04-28  Wim Taymans  <wim@fluendo.com>
6468
6469         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
6470         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
6471         handle EAGAIN, EINTR and short writes correctly. Also clean
6472         up some error cases, avoid a deadlock on bad file descriptors and
6473         use GST_DEBUG_OBJECT.
6474         Fixes #339843
6475
6476 2006-04-28  Wim Taymans  <wim@fluendo.com>
6477
6478         * gst/gstvalue.c: (gst_value_serialize_buffer),
6479         (gst_value_deserialize_buffer):
6480         Don't try to serialize a GValue with a NULL buffer. 
6481         Fixes #339821.
6482
6483         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6484         Added check for serialisation of NULL buffers.
6485
6486 2006-04-28  Wim Taymans  <wim@fluendo.com>
6487
6488         * gst/gstminiobject.c: (gst_value_take_mini_object):
6489         Taking a NULL miniobject is valid, fix the case where
6490         we try to unref the NULL miniobject.
6491
6492 2006-04-28  Wim Taymans  <wim@fluendo.com>
6493
6494         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6495
6496         * gst/gstbin.c: (gst_bin_handle_message_func):
6497         Update docs.
6498         Don't leak bin refcount when a state recalc is
6499         in progress and we delay another one #339808.
6500
6501 2006-04-28  Wim Taymans  <wim@fluendo.com>
6502
6503         * docs/design/part-TODO.txt:
6504         Mention QoS as an ongoing work item.
6505
6506         * docs/design/part-buffering.txt:
6507         New doc about buffering that needs to be fleshed out
6508         at some point.
6509
6510         * docs/design/part-qos.txt:
6511         More QoS policy for decoders/demuxers/transforms
6512
6513         * docs/design/part-trickmodes.txt:
6514         Small update.
6515
6516 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6517
6518         * configure.ac:
6519           back to HEAD
6520
6521 === release 0.10.5 ===
6522
6523 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
6524
6525         * configure.ac:
6526           releasing 0.10.5, "Fogo"
6527
6528 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6529
6530         patch by: Wim Taymans
6531
6532         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6533         (gst_pad_configure_src), (gst_pad_push):
6534         * gst/gstpipeline.c: (gst_pipeline_init):
6535           Fix internal data flow errors.  Fixes #338711.
6536
6537 2006-04-12  Wim Taymans  <wim@fluendo.com>
6538
6539         * tests/check/gst/gstelement.c: (GST_START_TEST):
6540         Don't leak the factory.
6541
6542 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6543
6544         * configure.ac:
6545         * win32/common/config.h:
6546           prerelease
6547
6548 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
6549
6550         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6551         (gst_controller_unset_all):
6552           Free allocated GstTimedValues when freeing list nodes.
6553           Should fix leaks 'make check-valgrind' complains about.
6554
6555         * win32/common/libgstcontroller.def:
6556           Add gst_controller_unset_all.
6557
6558 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
6559
6560         * docs/libs/gstreamer-libs-sections.txt:
6561         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6562         (gst_controller_unset_all):
6563         * libs/gst/controller/gstcontroller.h:
6564         API: Added new method gst_controller_unset_all()
6565         fixed gst_controller_unset()
6566         * tests/check/libs/controller.c: (GST_START_TEST),
6567         (gst_controller_suite):
6568         Added two testcases for new and fixed method
6569
6570 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
6571
6572         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6573           MSG_DONTWAIT is not defined on Cygwin, so work
6574           around that (fixes #317048).
6575           
6576 2006-04-11  Wim Taymans  <wim@fluendo.com>
6577
6578         * gst/gstelementfactory.c: (gst_element_register),
6579         (gst_element_factory_create), (gst_element_factory_make):
6580         Some cleanups.
6581         Fixed a FIXME.
6582         Updated docs (Fixes #131079)
6583
6584         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6585         Small cleanups.
6586
6587         * tests/check/gst/gstelement.c: (GST_START_TEST),
6588         (gst_element_suite):
6589         Added testcase for elementfactory class field.
6590
6591 2006-04-10  Wim Taymans  <wim@fluendo.com>
6592
6593         * gst/gstsegment.c:
6594         Added some more docs.
6595
6596         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
6597         (gst_base_sink_reset_qos):
6598         Calculate more accurate rate values.
6599
6600 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
6601
6602         * gst/gst_private.h:
6603           add a new #ifdef to use __declspec(dllimport) only for
6604           other modules and not for gstreamer core
6605         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
6606           use gst_guint64_to_gdouble for conversion
6607         * win32/common/libgstreamer.def:
6608           add new exported functions
6609         * win32/vs6/gst_inspect.dsp:
6610         * win32/vs6/gst_launch.dsp:
6611         * win32/vs6/libgstbase.dsp:
6612         * win32/vs6/libgstcontroller.dsp:
6613         * win32/vs6/libgstcoreelements.dsp:
6614         * win32/vs6/libgstdataprotocol.dsp:
6615         * win32/vs6/libgstnet.dsp:
6616           update project files
6617
6618 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
6619
6620         * gst/gstbuffer.c: (gst_subbuffer_class_init):
6621         * gst/gstclock.c: (gst_clock_class_init):
6622         * gst/gstelement.c: (gst_element_class_init):
6623         * gst/gstindex.c: (gst_index_class_init):
6624         * gst/gstindexfactory.c: (gst_index_factory_class_init):
6625         * gst/gstobject.c: (gst_object_class_init),
6626         (gst_signal_object_class_init):
6627         * gst/gstpad.c: (gst_pad_class_init):
6628         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
6629         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
6630         * gst/gstregistry.c: (gst_registry_class_init):
6631         * gst/gstsystemclock.c: (gst_system_clock_class_init):
6632         * gst/gsttask.c: (gst_task_class_init):
6633         * gst/gstxml.c: (gst_xml_class_init):
6634         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6635         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6636         (gst_base_src_loop):
6637         * libs/gst/controller/gstcontroller.c:/
6638         (_gst_controller_class_init):
6639         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6640         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
6641         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
6642         * tests/old/examples/plugins/example.c: (gst_example_class_init):
6643         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6644         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
6645
6646 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
6647
6648         * gst/gstpad.c: (gst_pad_link):
6649           Must set peer pads before calling the link function, otherwise
6650           a task started from a link function might get a flow-not-linked
6651           result when trying to push because the other thread where the
6652           linking happens hasn't had a chance to set the peers yet. This
6653           might happen for example when a queue gets linked to a downstream
6654           element, as queue starts a streaming task when its source pad
6655           gets linked. Happens in real life when playing back flac/musepack
6656           files in playbin (#332390).
6657           
6658 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
6659
6660         * gst/gstindex.h:
6661         * gst/gstxml.h:
6662         * libs/gst/base/gstadapter.h:
6663         * libs/gst/base/gstbasesink.h:
6664         * libs/gst/base/gstbasesrc.h:
6665         * libs/gst/base/gstbasetransform.h:
6666         * libs/gst/base/gstcollectpads.h:
6667         * libs/gst/base/gstpushsrc.h:
6668         Fix broken GObject macros
6669
6670 2006-04-07  Wim Taymans  <wim@fluendo.com>
6671
6672         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6673         Initialize start and stop times, thanks valgrind.
6674
6675 2006-04-07  Wim Taymans  <wim@fluendo.com>
6676
6677         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6678         Be a bit nicer to badly behaving upstream elements that expect
6679         us to deal with non TIME segments and timestamps (such as fakesrc
6680         in the testsuite).
6681
6682 2006-04-07  Wim Taymans  <wim@fluendo.com>
6683
6684         * gst/gstbus.c:
6685         Small documentation clarification about the signal watch.
6686
6687         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6688         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6689         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6690         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6691         (gst_base_sink_get_position_last),
6692         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
6693         Convert and store timestamps in stream time and running time, the
6694         raw timestamps are not useful, also document this better.
6695         Use different window sizes for good and bad QoS observations so
6696         we react to badness a little quicker.
6697         Keep track of the amount of rendered and dropped buffers.
6698         Send QoS timestamps in running time.
6699
6700         * libs/gst/base/gstbasetransform.c:
6701         (gst_base_transform_sink_eventfunc),
6702         (gst_base_transform_handle_buffer):
6703         Compare QoS timestamps against running time.
6704
6705 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
6706
6707         * gst/gstpad.c:
6708           Typo fixes in docs.
6709
6710 2006-04-06  Michael Smith  <msmith@fluendo.com>
6711
6712         * gst/gstpad.c: (gst_pad_set_property):
6713           Use g_value_get_object() instead of g_value_dup_gst_object(),
6714           to avoid double-reffing the pad template (which we then sink,
6715           so this worked previously if (and only if) the pad template
6716           was floating.
6717
6718         * gst/gstpadtemplate.c: (gst_pad_template_init),
6719         (gst_pad_template_pad_created):
6720           Never return floating references to pad templates, create
6721           them as initially-sunken.
6722
6723           Document an extra function (and make this stop sinking our
6724           pad template, since that is now guaranteed to do nothing,
6725           since we created it sunken).
6726
6727         * gst/gstghostpad.c:
6728           Fix docs typo.
6729
6730 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
6731
6732         * gst/gstinfo.c: (__gst_in_valgrind):
6733           Add some newlines.
6734
6735         * plugins/elements/gsttypefindelement.c:
6736         (gst_type_find_element_chain):
6737           Don't leak buffer caps.
6738
6739 2006-04-06  Michael Smith  <msmith@fluendo.com>
6740
6741         * gst/parse/grammar.y:
6742           Fix a leak in parse-launch for any source-or-sink named element 
6743           references used.
6744
6745         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6746           Unref the pipeline if it exists after we've failed parsing.
6747
6748 2006-04-05  Michael Smith  <msmith@fluendo.com>
6749
6750         * gst/gstpipeline.c: (gst_pipeline_init):
6751           When we create a pipeline bus, initially create it in flushing mode.
6752           Fixes leaks in at least one test, and makes a new pipeline work the
6753           same as one that has gone to READY and then back to NULL.
6754
6755         * gst/gstelement.c:
6756           Typo fix in docs.
6757
6758 2006-04-05  Michael Smith  <msmith@fluendo.com>
6759
6760         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6761           Unref a pad we reffed.
6762         * tests/check/gst/gstutils.c: (GST_START_TEST):
6763           Unref bins
6764
6765 2006-04-05  Michael Smith  <msmith@fluendo.com>
6766
6767         * gst/gstquery.c: (gst_query_set_formats),
6768         (gst_query_set_formatsv):
6769           Fix leaking GValues in queries, as shown by valgrind/testsuite.
6770
6771 2006-04-05  Michael Smith  <msmith@fluendo.com>
6772
6773         * tests/check/generic/sinks.c: (GST_START_TEST):
6774           Fix a variety of memleaks in sinks check, which are only sometimes 
6775           shown by running the tests under valgrind (weird?).
6776
6777 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
6778
6779         * docs/version.entities.in:
6780           Fix the substituted entity name after thomas' changes on the
6781           weekend.
6782
6783 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6784
6785         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
6786         VALGRIND_PRINTF
6787         
6788 2006-04-05  Andy Wingo  <wingo@pobox.com>
6789
6790         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
6791
6792         * libs/gst/base/gstbasetransform.c
6793         (gst_base_transform_sink_eventfunc): When resetting our segment on
6794         FLUSH_STOP, also update the flag saying we haven't seen a
6795         newsegment.
6796
6797 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
6798
6799         Patch by: Paolo Borelli  <pborelli at katamail dot com>
6800
6801         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6802         (gst_plugin_check_license):
6803           minor clean-ups: G_DEFINE_TYPE already takes care of the
6804           parent_class stuff, no need to do it twice. Mark array of
6805           license strings as constant. (#337103)
6806           
6807 2006-04-04  Michael Smith  <msmith@fluendo.com>
6808
6809         * tools/gst-inspect.c: (print_element_list):
6810           Free the right plugin list; fixes a memory leak.
6811
6812 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
6813
6814         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
6815
6816         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
6817           Don't error out on empty buffers (#336945).
6818           
6819 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
6820
6821         * docs/libs/gstreamer-libs-sections.txt:
6822         * gst/gsttaglist.c:
6823         * libs/gst/base/gstbasesink.c:
6824         * libs/gst/base/gstbasesink.h:
6825         * libs/gst/base/gstbasesrc.c:
6826         * libs/gst/base/gstbasesrc.h:
6827           Documentation updates. Make BaseSink and BaseSrc docs contain the
6828           class structure so that people can actually see the prototypes for
6829           virtual functions they're supposed to be overriding.
6830
6831 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
6832
6833         * plugins/elements/gsttypefindelement.c:
6834         (gst_type_find_element_chain):
6835           More debug info; when skipping typefinding, send cached
6836           events in all cases.
6837
6838 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6839
6840         * configure.ac:
6841           use new AS_VERSION and AS_NANO macros
6842         * gst/gst-i18n-lib.h:
6843         * gst/gst.c:
6844         * gst/gsterror.c:
6845         * gst/gstversion.h.in:
6846         * win32/common/config.h:
6847         * win32/common/config.h.in:
6848           update accordingly
6849
6850 2006-03-31  Michael Smith  <msmith@fluendo.com>
6851
6852         * plugins/elements/gsttypefindelement.c:
6853         (gst_type_find_element_chain):
6854           Do not typefind content if the buffers already have caps.
6855           Neccesary for icydemux (#333657), and the right thing to do anyway.
6856
6857 2006-03-30  Wim Taymans  <wim@fluendo.com>
6858
6859         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6860         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
6861         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
6862         (gst_base_sink_record_qos_observation),
6863         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6864         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
6865         (gst_base_sink_change_state):
6866         More QoS measurements as described in the design doc.
6867         Get rid of ringbuffer with observations, running average is
6868         more simple and equally good.
6869         Calculates valid proportion now.
6870         Added beginning of flood measurement.
6871
6872 2006-03-29  Wim Taymans  <wim@fluendo.com>
6873
6874         * docs/design/part-qos.txt:
6875         * gst/gstclock.c:
6876         Small documentation updates and additions.
6877
6878 2006-03-29  Wim Taymans  <wim@fluendo.com>
6879
6880         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
6881         (gst_base_src_send_event), (gst_base_src_loop),
6882         (gst_base_src_change_state):
6883         Perform the EOS logic when we reach the segment stop position.
6884         Fix compilation on gcc4.1
6885
6886 2006-03-29  Wim Taymans  <wim@fluendo.com>
6887
6888         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
6889
6890         * plugins/elements/gstqueue.c: (gst_queue_init),
6891         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
6892         (gst_queue_set_property):
6893         * plugins/elements/gstqueue.h:
6894         In queue, when EOS is received, if minimum threshold > max_size -
6895         current_level, there is chance that queue blocks forever in conditional
6896         item del wait. This is because the queue is not emptied completely due
6897         to minimum threshold.  Here is another approach. Instead of setting
6898         cur_levels to max in EOS, just zero all minimum threshold levels. This
6899         should make sure that queue gives out all data. When going to READY
6900         (stop) state, just reset the original minimum threshold levels.
6901         Fixes #336336.
6902
6903 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
6904
6905         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
6906         (gst_type_find_element_handle_event),
6907         (gst_type_find_element_send_cached_events),
6908         (gst_type_find_element_change_state):
6909         * plugins/elements/gsttypefindelement.h:
6910           When typefinding is done in push mode, we should cache
6911           events we receive during typefinding instead of just
6912           dropping them (e.g. newsegment, custom events from
6913           dvdreadsrc etc.) and then send them out once we've
6914           determined the type of the stream (and decodebin
6915           has had a chance to plug in a decoder/demuxer).
6916           
6917 2006-03-27  Wim Taymans  <wim@fluendo.com>
6918
6919         * docs/design/part-qos.txt:
6920         First QoS ideas.
6921
6922 2006-03-27  Wim Taymans  <wim@fluendo.com>
6923
6924         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
6925
6926         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
6927         (gst_base_src_send_event), (gst_base_src_change_state):
6928         Handle element seek correctly when we are streaming.
6929         Fixes #326998.
6930
6931 2006-03-24  Michael Smith  <msmith@fluendo.com>
6932
6933         * docs/faq/gst-uninstalled:
6934           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
6935           allow you to correctly run intalled applications built against old 
6936           core, using plugins that require updated core (e.g. running
6937           installed totem against a full uninstalled gstreamer stack)
6938
6939 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
6940
6941         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
6942         more debug details
6943
6944 2006-03-24  Wim Taymans  <wim@fluendo.com>
6945
6946         * docs/gst/gstreamer-sections.txt:
6947         Rearrange the order of the methods so that related methods
6948         are grouped together in sections.
6949
6950 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
6951
6952         * gst/gstelement.c:
6953           Little clarification in the docs
6954
6955 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
6956
6957         * docs/README:
6958         formatting fix
6959         * plugins/elements/gstidentity.c:
6960         * plugins/elements/gstqueue.c:
6961         * plugins/elements/gsttee.c:
6962         * plugins/elements/gsttypefindelement.c:
6963         GST_ELEMENT_DETAILS formatting
6964
6965 2006-03-24  Wim Taymans  <wim@fluendo.com>
6966
6967         * libs/gst/base/gstbasesink.h:
6968         Only add fields, not insert or we break ABI.
6969
6970 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
6971
6972         * win32/common/libgstbase.def:
6973         * win32/common/libgstreamer.def:
6974           Update, add recently added functions.
6975
6976 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
6977
6978         * docs/gst/gstreamer-sections.txt:
6979         * gst/gstutils.c: (gst_pad_query_peer_position),
6980         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
6981         * gst/gstutils.h:
6982           API: add some new utility functions:
6983            - gst_pad_query_peer_position()
6984            - gst_pad_query_peer_duration()
6985            - gst_pad_query_peer_convert()
6986           
6987 2006-03-23  Wim Taymans  <wim@fluendo.com>
6988
6989         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6990         (gst_base_sink_init), (gst_base_sink_finalize),
6991         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
6992         (gst_base_sink_set_property), (gst_base_sink_get_property),
6993         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
6994         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6995         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
6996         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6997         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
6998         (gst_base_sink_preroll_object), (gst_base_sink_event),
6999         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
7000         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
7001         (gst_base_sink_query), (gst_base_sink_change_state):
7002         Decouple max-lateness and the fact that QoS messages are generated
7003         with a new property (qos).
7004         added API: GstBaseSink::async_play()
7005         Add vmethod so subclasses can be notified of ASYNC playing
7006         state changes.
7007         Collect timestamp start and stop to report better current
7008         position in EOS/PLAYING/PAUSED/READY/NULL.
7009         Refactor QoS/frame dropping and other measurements.
7010         API: GstBaseSrc::qos
7011         Fixes #326311
7012
7013         * libs/gst/base/gstbasesink.h:
7014         Added Private struct.
7015         API: gst_base_sink_set_qos_enabled()
7016         API: gst_base_sink_is_qos_enabled()
7017
7018 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7019
7020         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7021           If compiling against GLib-2.8 or newer, try to read the
7022           registry file using GMappedFile first before falling back
7023           to fopen() + fread() (#332151).
7024
7025 2006-03-22  Wim Taymans  <wim@fluendo.com>
7026
7027         * gst/gstinfo.c: (gst_debug_set_active),
7028         (gst_debug_category_set_threshold):
7029         Disable debugging unless explicitly activated.
7030         Fixes #335480.
7031
7032 2006-03-22  Wim Taymans  <wim@fluendo.com>
7033
7034         * gst/gstelement.c: (gst_element_set_locked_state),
7035         (gst_element_dispose):
7036         Cleanup the error case.
7037
7038         * gst/gstobject.c: (gst_object_dispose):
7039         print a critical when some object was disposed with
7040         a parent, also revive the object since it might
7041         crash the parent.
7042
7043 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
7044
7045         * tools/gst-launch.1.in:
7046           Fix another typo.
7047
7048 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7049
7050         * configure.ac:
7051         * tests/check/Makefile.am:
7052           disable some tests when we don't have a registry
7053         * tests/check/gst/gstutils.c: (gst_utils_suite):
7054           don't build the part that needs parsing
7055
7056 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7057
7058         * gst/Makefile.am
7059         * tests/examples/Makefile.am:
7060           fix --disable-parse build
7061
7062 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7063
7064         * tools/gst-feedback.1.in:
7065           Fix typo: s/feeback/feedback/ (#133494).
7066
7067 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7068
7069         * tools/Makefile.am:
7070         * tools/gst-launch.1.in:
7071           Add FILES section and correct entry about GST_REGISTRY_PATH
7072           environment variable (#133495; #133494).
7073
7074 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7075
7076         * tools/Makefile.am:
7077         * tools/gst-md5sum.1.in:
7078         * tools/gst-md5sum.c:
7079           Remove gst-md5sum and man page (the md5sink element
7080           required was removed ages ago)
7081
7082 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7083
7084         * gst/gststructure.c: (gst_structure_id_set_value):
7085           Make sure that string fields in structures/taglists
7086           contain valid UTF-8 - we don't want to pass rubbish to
7087           applications because of a buggy plugin (cp. #334167).
7088
7089 2006-03-21  Edward Hervey  <edward@fluendo.com>
7090
7091         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7092         (gst_bin_handle_message_func):
7093         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
7094         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
7095         (gst_element_set_bus_func):
7096         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
7097         * gst/gstminiobject.c: (gst_value_set_mini_object),
7098         (gst_value_take_mini_object):
7099         * gst/gstpad.c: (gst_pad_set_pad_template):
7100         * gst/gstpipeline.c: (gst_pipeline_dispose),
7101         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
7102         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
7103         (gst_collect_pads_chain):
7104         * libs/gst/net/gstnettimeprovider.c:
7105         (gst_net_time_provider_set_property):
7106         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
7107         It's in fact all issues with gst_*object_replace().
7108
7109 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7110
7111         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
7112         
7113         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7114         * pkgconfig/gstreamer-check.pc.in:
7115           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
7116
7117 2006-03-21  Edward Hervey  <edward@fluendo.com>
7118
7119         * gst/gstbuffer.h:
7120         * gst/gstevent.h:
7121         * gst/gstmessage.h:
7122         gst_[buffer|event|message]_ref() macros are replaced by a static
7123         inline functions because gcc-4.1 will about if the return value
7124         isn't used.
7125         * tests/check/gst/gstevent.c: (event_probe):
7126         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
7127
7128 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
7129
7130         * gst/gstutils.h:
7131         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
7132         the type' case. (Closes: #335195 for now). In the future, when we
7133         depend on GLib 2.10, we could also intern the type name using
7134         g_intern_static_string()
7135
7136 2006-03-20  Wim Taymans  <wim@fluendo.com>
7137
7138         * gst/gstbin.c: (gst_bin_handle_message_func),
7139         (bin_query_max_init), (bin_query_position_fold),
7140         (bin_query_position_done), (gst_bin_query):
7141         Position query should also take max of all streams.
7142
7143 2006-03-20  Wim Taymans  <wim@fluendo.com>
7144
7145         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7146         (gst_fake_src_finalize):
7147         Fix leaks in fakesrc.
7148
7149         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7150         Fix leaks in the testcase.
7151
7152 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
7153
7154         * gst/gst_private.h:
7155           add win32 specific import decoration(__declspec(dllimport)) 
7156           for all extern GstDebugCategory * variables
7157         * win32/common/libgstbase.def:
7158         * win32/common/libgstcontroller.def:
7159         * win32/common/libgstreamer.def:
7160           Add some exports, remove empty lines
7161         * win32/common/libgstdataprotocol.def:
7162         * win32/common/libgstdataprotocol.dsp:
7163         * win32/common/libgstnet.def:
7164         * win32/common/libgstnet.dsp:
7165           new project files and exportation files added
7166         
7167 2006-03-19  Wim Taymans  <wim@fluendo.com>
7168
7169         * tests/check/libs/basesrc.c: (eos_event_counter):
7170         Use proper return value for probe.
7171
7172 2006-03-17  Wim Taymans  <wim@fluendo.com>
7173
7174         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7175         (gst_pad_push):
7176         Don't leak buffers, caps and pads on negotiation errors.
7177
7178 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
7179
7180         * docs/faq/cvs.xml:
7181         * docs/faq/dependencies.xml:
7182         * docs/faq/developing.xml:
7183         * docs/faq/faq.xml:
7184         * docs/faq/general.xml:
7185         * docs/faq/getting.xml:
7186         * docs/faq/legal.xml:
7187         * docs/faq/troubleshooting.xml:
7188         * docs/faq/using.xml:
7189         Faq review and update.
7190
7191 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
7192
7193         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7194         (gst_pad_push):
7195         Don't pound the cpu to pieces by checking get_caps when accept_caps
7196         is called with the same caps as the pad already has.
7197         Use GST_DEBUG_OBJECT when outputting caps change information.
7198
7199 2006-03-15  Wim Taymans  <wim@fluendo.com>
7200
7201         * gst/gstclock.c: (gst_clock_class_init):
7202         Fix docs.
7203
7204 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
7205
7206         * gst/gstbuffer.h:
7207         Documentation fix.
7208
7209         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
7210         (gst_pad_accept_caps), (gst_pad_configure_sink),
7211         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
7212         Make the default acceptcaps behaviour be to check the requested 
7213         caps against the gst_pad_get_caps output. 
7214
7215         Ensure that gst_pad_accept_caps is used to check caps when a pad
7216         doesn't have a setcaps function, so that pads automatically refuse 
7217         caps that they don't allow in their pad template. (Fixes #332986)
7218
7219         When a buffer with attached caps is pushed, ensure that the source 
7220         pad receives those caps even if the element didn't call
7221         gst_pad_set_caps first.
7222
7223 2006-03-15  Wim Taymans  <wim@fluendo.com>
7224
7225         * libs/gst/base/gstadapter.c:
7226         Add some docs.
7227
7228 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7229
7230         * win32/common/libgstbase.def:
7231         * win32/common/libgstcontroller.def:
7232         * win32/common/libgstreamer.def:
7233           Add a whole bunch of missing functions (#334434).
7234
7235 2006-03-14  Wim Taymans  <wim@fluendo.com>
7236
7237         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7238         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7239         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
7240         Better debug info when we receive a segment event.
7241         Reorganize a bit so we can pass the get_times() results around.
7242         Use the segment format when calculating the running time.
7243         Don't do QoS is sync is disabled or we have no clock or the
7244         element does not want us to sync to the clock.
7245         Don't drop buffers if QoS is disabled for now.
7246
7247 2006-03-14  Wim Taymans  <wim@fluendo.com>
7248
7249         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
7250         Marked the stats property as unimplemented so people don't get
7251         wild ideas.
7252         Add debug message when regression goes wrong.
7253         Added some more docs.
7254
7255 2006-03-14  Wim Taymans  <wim@fluendo.com>
7256
7257         * gst/gstsegment.c: (gst_segment_to_stream_time):
7258         Return correct return type in case of errors.
7259
7260 2006-03-14  Wim Taymans  <wim@fluendo.com>
7261
7262         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
7263           Don't segfault on invalid formats.
7264
7265 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7266
7267         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7268           Can't use gst_segment_to_running_time() when the segment
7269           is not in GST_TIME_FORMAT (like with filesink, for example).
7270           Stops flac encoding pipelines from spewing critical warnings
7271           at EOS (#331248).
7272           
7273 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7274
7275         * gst/gstpipeline.c: (gst_pipeline_class_init):
7276           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
7277
7278         * plugins/elements/gsttypefindelement.c:
7279         (gst_type_find_element_handle_event):
7280           Don't try to typefind empty streams.
7281
7282 2006-03-14  Wim Taymans  <wim@fluendo.com>
7283
7284         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7285         (gst_base_sink_do_qos):
7286         Separate QoS calculation.
7287         Only drop buffers when lateness is bigger than the 
7288         duration of the buffer.
7289
7290 2006-03-13  Wim Taymans  <wim@fluendo.com>
7291
7292         * gst/gstpipeline.c: (gst_pipeline_set_property),
7293         (gst_pipeline_get_property), (do_pipeline_seek),
7294         (gst_pipeline_change_state), (gst_pipeline_set_delay),
7295         (gst_pipeline_get_delay):
7296         Don't deadlock when reading properties.
7297
7298 2006-03-13  Wim Taymans  <wim@fluendo.com>
7299
7300         * libs/gst/base/gstbasetransform.c:
7301         (gst_base_transform_class_init), (gst_base_transform_init),
7302         (gst_base_transform_sink_event),
7303         (gst_base_transform_sink_eventfunc),
7304         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
7305         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7306         (gst_base_transform_set_property),
7307         (gst_base_transform_get_property),
7308         (gst_base_transform_change_state), (gst_base_transform_update_qos),
7309         (gst_base_transform_set_qos_enabled),
7310         (gst_base_transform_is_qos_enabled):
7311         * libs/gst/base/gstbasetransform.h:
7312         Make basetransform virtual method for src events too.
7313         Handle QOS in basetransform.
7314         API: gst_base_transform_update_qos()
7315         API: gst_base_transform_set_qos_enabled()
7316         API: gst_base_transform_is_qos_enabled()
7317
7318 2006-03-13  Wim Taymans  <wim@fluendo.com>
7319
7320         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7321         (gst_base_sink_do_sync):
7322         Small cleanups.
7323         Use QOS debug category.
7324
7325 2006-03-13  Wim Taymans  <wim@fluendo.com>
7326
7327         * plugins/elements/gstqueue.c:
7328         Very small doc update.
7329
7330 2006-03-13  Wim Taymans  <wim@fluendo.com>
7331
7332         * gst/gst_private.h:
7333         * gst/gstinfo.c: (_gst_debug_init):
7334         Added QOS debug category
7335
7336 2006-03-13  Wim Taymans  <wim@fluendo.com>
7337
7338         * docs/gst/gstreamer-sections.txt:
7339         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
7340         * gst/gstbin.h:
7341         * gst/gstbus.c: (gst_bus_class_init):
7342         * gst/gstbus.h:
7343         * gst/gstclock.c:
7344         * gst/gstelement.c: (gst_element_set_locked_state):
7345         * gst/gstsegment.c:
7346         Documentation updates.
7347
7348         * gst/gstpipeline.c: (gst_pipeline_get_type),
7349         (gst_pipeline_class_init), (gst_pipeline_init),
7350         (gst_pipeline_dispose), (gst_pipeline_set_property),
7351         (gst_pipeline_get_property), (do_pipeline_seek),
7352         (gst_pipeline_send_event), (gst_pipeline_change_state),
7353         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
7354         (gst_pipeline_get_delay):
7355         * gst/gstpipeline.h:
7356         Added methods for setting the delay.
7357         API: gst_pipeline_set_delay()
7358         API: gst_pipeline_get_delay()
7359         Add pipeline debug category
7360         Various cleanups.
7361         Updated docs.
7362         Don't reset stream time when seek failed.
7363
7364 2006-03-13  Wim Taymans  <wim@fluendo.com>
7365
7366         * docs/design/draft-klass.txt:
7367         * docs/design/part-clocks.txt:
7368         * docs/design/part-events.txt:
7369         * docs/design/part-gstbin.txt:
7370         * docs/design/part-gstpipeline.txt:
7371         * docs/design/part-messages.txt:
7372         * docs/design/part-negotiation.txt:
7373         * docs/design/part-overview.txt:
7374         * docs/design/part-preroll.txt:
7375         * docs/design/part-seeking.txt:
7376         * docs/design/part-states.txt:
7377         * docs/design/part-streams.txt:
7378         Documentation updates.
7379
7380 2006-03-12  Julien MOUTTE  <julien@moutte.net>
7381
7382         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
7383         us to leak strings...
7384
7385 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7386
7387         * libs/gst/net/gstnettimeprovider.c:
7388           fix docs
7389         * win32/common/config.h:
7390           update
7391
7392 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7393
7394         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
7395
7396         * configure.ac:
7397           Don't check for libgnomeui (leftover from old examples
7398           that aren't built or disted any longer) (#334303).
7399           
7400 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
7401
7402         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
7403         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7404           Emit RESOURCE_NO_SPACE_LEFT error here as well when
7405           there's no space left on the device.
7406
7407 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
7408
7409         * gst/gstclock.h:
7410           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
7411           to cast the input to GstClockTime before comparing with
7412           another GstClockTime value.
7413
7414 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7415
7416         * configure.ac:
7417           back to trunk
7418
7419 === release 0.10.4 ===
7420
7421 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
7422
7423         * configure.ac:
7424           releasing 0.10.4, "Light"
7425
7426 2006-03-10  Michael Smith  <msmith@fluendo.com>
7427
7428         * libs/gst/dataprotocol/dataprotocol.c:
7429           Fix docs for dataprocotol to not get the return types completely
7430           wrong for a few functions.
7431
7432 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7433
7434         * docs/gst/gstreamer-sections.txt:
7435         * gst/gstpipeline.c: (gst_pipeline_class_init),
7436         (gst_pipeline_init), (gst_pipeline_set_property),
7437         (gst_pipeline_get_property), (gst_pipeline_change_state),
7438         (gst_pipeline_set_auto_flush_bus),
7439         (gst_pipeline_get_auto_flush_bus):
7440         * gst/gstpipeline.h:
7441           Add new API: gst_pipeline_set_auto_flush_bus() and
7442           gst_pipeline_get_auto_flush_bus() to disable automatic
7443           flushing of the pipeline's GstBus when going from READY
7444           to NULL state (#332045).
7445
7446 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7447
7448         * docs/gst/gstreamer-sections.txt:
7449         * gst/gsturi.c: (gst_uri_has_protocol):
7450         * gst/gsturi.h:
7451            Add new API: gst_uri_has_protocol() (#333779).
7452
7453 2006-03-09  Wim Taymans  <wim@fluendo.com>
7454
7455         * gst/gstclock.c: (gst_clock_entry_new),
7456         (gst_clock_id_compare_func), (gst_clock_id_wait),
7457         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
7458         (gst_clock_init), (gst_clock_get_internal_time),
7459         (gst_clock_set_master), (do_linear_regression),
7460         (gst_clock_add_observation), (gst_clock_set_property):
7461         * gst/gstclock.h:
7462         Review docs.
7463         Small cleanups.
7464         Fix a possible segfault when the window-size is made smaller.
7465         Calculate jitter before performing the clock wait. Ideally
7466         the clock implementation should calculate jitter but we need
7467         API breakage for that.
7468
7469         * gst/gstsystemclock.c: (gst_system_clock_init):
7470         Docs review.
7471         
7472         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7473         Remove leftover else
7474
7475         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7476         (gst_systemclock_suite):
7477         Added check to test GST_CLOCK_DIFF.
7478
7479 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7480
7481         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
7482         (gst_type_find_helper_get_range):
7483           If we are provided with the size, we should implement
7484           GstTypeFind::get_length, so that typefind functions who
7485           want to can actually peek at the middle of a file.
7486
7487 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
7488
7489         * docs/manual/advanced-dataaccess.xml:
7490           Add some very very basic error checking.
7491
7492         * docs/pwg/appendix-checklist.xml:
7493           Some updates to the list of things to check when writing an element.
7494
7495 2006-03-08  Wim Taymans  <wim@fluendo.com>
7496
7497         * docs/design/part-element-transform.txt:
7498         Added some docs about the design of tranform elements.
7499
7500         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7501         (gst_base_src_loop), (gst_base_src_change_state):
7502         Mark buffers with the DISCONT flag.
7503
7504 2006-03-08  Michael Smith  <msmith@fluendo.com>
7505
7506         * gst/gstregistry.h:
7507         * gst/gstregistryxml.c: (gst_registry_save),
7508         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
7509         (gst_registry_xml_save_pad_template),
7510         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
7511         (gst_registry_xml_write_cache):
7512           Rewrite registry-saving to avoid race conditions and check for
7513           failed writes.
7514
7515 2006-03-08  Wim Taymans  <wim@fluendo.com>
7516
7517         * libs/gst/base/gstbasetransform.c:
7518         (gst_base_transform_transform_caps),
7519         (gst_base_transform_transform_size),
7520         (gst_base_transform_prepare_output_buffer),
7521         (gst_base_transform_get_unit_size),
7522         (gst_base_transform_buffer_alloc),
7523         (gst_base_transform_handle_buffer),
7524         (gst_base_transform_change_state):
7525         Cleanups, separate normal flow from errors, add sensible
7526         DEBUG lines.
7527         Don't try to renegotiate when allocating an output buffer.
7528         Also copy DISCONT buffer flag when copying a buffer.
7529         Reset the transform after we finish streaming, not during.
7530
7531 2006-03-08  Wim Taymans  <wim@fluendo.com>
7532
7533         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7534         Use last buffer timestamp in qos message.
7535
7536 2006-03-07  Wim Taymans  <wim@fluendo.com>
7537
7538         Patch by: Christophe Fergeau
7539
7540         * docs/pwg/advanced-tagging.xml:
7541         * docs/pwg/building-pads.xml:
7542           fixes #333416
7543
7544 2006-03-07  Wim Taymans  <wim@fluendo.com>
7545
7546         * docs/libs/gstreamer-libs-sections.txt:
7547         Added basesink new methods.
7548
7549         * gst/gstevent.c:
7550         * gst/gstevent.h:
7551         Docs updates. Flesh out the QoS docs.
7552
7553         * libs/gst/base/gstadapter.c:
7554         Small doc clarification about ownership and flushing.
7555
7556         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
7557         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7558         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
7559         (gst_base_sink_get_property), (gst_base_sink_do_sync):
7560         * libs/gst/base/gstbasesink.h:
7561         API additions: 
7562         Added new methods to allow subclass to control max-lateness 
7563         and sync.
7564         Generate very basic QoS events based on last sync observation.
7565         Updated docs, fix typo, added some QoS blurb.
7566
7567         * libs/gst/base/gstbasesrc.c:
7568         Remove obsolete _get_state() calls from docs.
7569
7570 2006-03-07  Wim Taymans  <wim@fluendo.com>
7571
7572         * docs/libs/gstreamer-libs-sections.txt:
7573         * libs/gst/base/gstbasetransform.h:
7574         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
7575         Fix docs for GstBaseSrc.
7576
7577 2006-03-07  Wim Taymans  <wim@fluendo.com>
7578
7579         * docs/gst/gstreamer-sections.txt:
7580         * gst/gstbuffer.h:
7581         * gst/gstvalue.c:
7582         * libs/gst/base/gstbasetransform.h:
7583         Small documentation fixes.
7584
7585 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7586
7587         * gst/gstvalue.c:
7588           Document thread-unsafety of gst_value_register_foo_func()
7589           when used at the same time as gst_value_foo() (#322628).
7590
7591 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7592
7593         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
7594         (gst_push_src_check_get_range):
7595           Push sources don't support pull mode by default.
7596
7597 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
7598
7599         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7600         (gst_base_src_init), (gst_base_src_pad_check_get_range),
7601         (gst_base_src_default_check_get_range):
7602         * libs/gst/base/gstbasesrc.h:
7603           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
7604           provide default implementation, and rename
7605           gst_base_src_check_get_range() to
7606           gst_base_src_pad_check_get_range() for clarity.
7607
7608 2006-03-06  Wim Taymans  <wim@fluendo.com>
7609
7610         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7611         Make property overridable.
7612
7613 2006-03-06  Wim Taymans  <wim@fluendo.com>
7614
7615         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7616         (gst_base_sink_init), (gst_base_sink_set_property),
7617         (gst_base_sink_get_property), (gst_base_sink_do_sync):
7618         * libs/gst/base/gstbasesink.h:
7619         API addition: Make max-lateness a property.
7620
7621 2006-03-06  Wim Taymans  <wim@fluendo.com>
7622
7623         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
7624         (gst_base_sink_do_sync), (gst_base_sink_render_object):
7625         Don't ever draw a frame that is >10ms late.
7626
7627 2006-03-06  Michael Smith  <msmith@fluendo.com>
7628
7629         * gst/gstmessage.c: (_gst_message_copy):
7630           When copying a message, set the parent_refcount of the enclosed
7631           structure to point at the copy, not the original message.
7632
7633 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
7634
7635         Patch by: Christophe Fergeau
7636
7637         * gst/gstutils.h:
7638           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
7639           usable in c++ code (#333417)
7640
7641 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7642
7643         * gst/gstclock.h:
7644           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
7645
7646 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
7647
7648         * libs/gst/base/gstbasetransform.c:
7649         (gst_base_transform_transform_caps):
7650           Make sure caps are writable before passing them to
7651           gst_caps_append().
7652
7653 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
7654
7655         * gst/gsterror.h:
7656           Fix some minor docs errors.
7657
7658 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
7659
7660           Patch by: Ross Burton <ross at burtonini dot com>
7661
7662         * gst/gsterror.c: (_gst_resource_errors_init):
7663         * gst/gsterror.h:
7664           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
7665
7666 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
7667
7668         * gst/gst.c:
7669         Add a check and output a g_warning when GStreamer is built
7670         against GLib 2.6 but running against 2.8 or higher, and vice 
7671         versa. (Closes: #323542)
7672
7673 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
7674
7675         * gst/parse/parse.l:
7676           Commit patch for parse_launch syntax from #331255. Removes 
7677           support for quoted strings and mimetypes when writing filtered 
7678           caps. See the bug report for more details - I'm pretty sure this
7679           obscure feature is not in use by _anyone_ anywhere.
7680
7681           With this simple change, the size of the gstreamer.so here 
7682           drops from 2193KB to 1565KB.
7683
7684 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
7685
7686         * plugins/elements/gsttypefindelement.h:
7687         * plugins/elements/gsttypefindelement.c:
7688         (gst_type_find_element_src_event), (start_typefinding),
7689         (stop_typefinding), (gst_type_find_element_handle_event),
7690         (gst_type_find_element_chain),
7691         (gst_type_find_element_chain_do_typefinding):
7692           Use gst_type_find_helper_for_buffer() for chain-based
7693           typefinding.
7694
7695 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
7696
7697         * plugins/elements/gsttypefindelement.c:
7698         (gst_type_find_element_class_init),
7699         (gst_type_find_element_set_property),
7700         (gst_type_find_element_get_property):
7701           Deprecate "maximum" property (not only was it only taken into
7702           account for typefinding in push-mode anyway, it also was never
7703           actually possible to set it in the first place because the
7704           property was registered with the numeric property ID for the
7705           "minimum" property). Register "maximum" property correctly,
7706           for the sake of future copy'n'pasters. Remove some cruft
7707           from property get/set functions.
7708
7709 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
7710
7711         * plugins/elements/gsttypefindelement.c:
7712         (gst_type_find_element_activate):
7713           Use gst_type_find_helper_get_range() here, so we
7714           can honour the "minimum" property and also emit
7715           the signal with the correct probability of the found caps.
7716
7717 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
7718
7719         * docs/libs/gstreamer-libs-sections.txt:
7720         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7721         (helper_find_suggest), (gst_type_find_helper_get_range),
7722         (gst_type_find_helper):
7723         * libs/gst/base/gsttypefindhelper.h:
7724           New API: gst_type_find_helper_get_range() (#333042).
7725
7726 2006-03-02  Michael Smith  <msmith@fluendo.com>
7727
7728         * gst/gstregistryxml.c: (load_feature):
7729           Asserting on a failure to read part of the registry is Not Cool.
7730           Just log a warning and return NULL (which is already handled)
7731
7732 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
7733
7734         * win32/common/libgstbase.def:
7735           added export of gst_type_find_helper_for_buffer
7736         * win32/common/libgstbase.def:
7737           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
7738           gst_ghost_pad_get_target
7739
7740 2006-02-28  Wim Taymans  <wim@fluendo.com>
7741
7742         * docs/design/draft-klass.txt:
7743         We use Filter now.
7744         Added Connector to mark elements that are only used to
7745         allow pipeline connections.
7746         Moved Debug to extra feature since most of them are 
7747         functionally something else.
7748
7749 2006-02-28  Wim Taymans  <wim@fluendo.com>
7750
7751         * docs/design/draft-klass.txt:
7752         Some updates and clarifications.
7753
7754 2006-02-28  Wim Taymans  <wim@fluendo.com>
7755
7756         * docs/design/draft-klass.txt:
7757         Proposal for klass field values.
7758
7759         * docs/design/part-streams.txt:
7760         Start of a doc describing stream anatomy.
7761
7762 2006-02-28  Wim Taymans  <wim@fluendo.com>
7763
7764         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
7765         Help the compiler a bit with type registration.
7766         Use existing forward cod path instead of duplicating it when 
7767         handling a message.
7768         
7769         * gst/gstbus.c: (gst_bus_get_type):
7770         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
7771         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
7772         * gst/gstclock.c: (gst_clock_get_type):
7773         * gst/gstelement.c: (gst_element_get_type),
7774         * gst/gstelementfactory.c: (gst_element_factory_get_type):
7775         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7776         * gst/gstminiobject.c: (gst_mini_object_get_type):
7777         * gst/gstpad.c: (gst_pad_get_type):
7778         * gst/gstsegment.c: (gst_segment_get_type):
7779         * gst/gststructure.c: (gst_structure_get_type):
7780         * gst/gstsystemclock.c: (gst_system_clock_get_type):
7781         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
7782         * gst/gstvalue.c:
7783         Help compiler with type registration.
7784
7785         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
7786         Small doc update.
7787
7788 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7789
7790         * plugins/elements/gsttypefindelement.c:
7791         (gst_type_find_element_handle_event):
7792           When we get an EOS event and have not found a type yet
7793           (most likely because we had not yet accumulated
7794           TYPE_FIND_MIN_SIZE of data yet), try to determine the
7795           type given the data we have so far. Fixes typefinding
7796           for very short streams again, most notably quicktime
7797           redirections as used on Apple's trailer site (#331701).
7798
7799 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7800
7801         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
7802         (gst_type_find_helper):
7803           Try typefinding factories with the highest rank first.
7804
7805 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7806
7807         * docs/libs/gstreamer-libs-docs.sgml:
7808         * docs/libs/gstreamer-libs-sections.txt:
7809         * libs/gst/base/gsttypefindhelper.c:
7810           Add section for typefind helper and add documentation
7811           for the old and the new function.
7812
7813 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7814
7815         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
7816         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
7817         (gst_type_find_helper_for_buffer):
7818         * libs/gst/base/gsttypefindhelper.h:
7819           New API: gst_type_find_helper_for_buffer() (#332723).
7820           
7821 2006-02-27  Michael Smith  <msmith@fluendo.com>
7822
7823         Patch by: Loïc Minier
7824
7825         * configure.ac:
7826         * docs/Makefile.am:
7827         * docs/slides/Makefile.am:
7828           prevent CVS directories getting disted.
7829
7830 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7831
7832         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
7833           Use the REFCOUNTING category for caps refcounting.
7834           
7835 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
7836
7837         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
7838           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
7839
7840 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
7841
7842         * plugins/elements/gsttypefindelement.c:
7843         (gst_type_find_element_activate):
7844           Use gst_pad_check_pull_range() before _activate_pull()
7845           to avoid unnecessary open/close (see #331690).
7846
7847 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
7848
7849         * gst/gstutils.c:
7850           Docs enhancement: make it crystal clear what the
7851           gst_pad_add_*_probe() callbacks should look like.
7852
7853 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
7854
7855         * libs/gst/base/gstbasesrc.c:
7856           Document how applications can stop recording from
7857           live sources (see #330996).
7858
7859 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7860
7861         * tests/check/Makefile.am:
7862         * tests/check/libs/basesrc.c: (eos_event_counter),
7863         (basesrc_eos_events_pull), (basesrc_eos_events_push),
7864         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
7865         (gst_basesrc_suite), (main):
7866           ... and add some tests for the base source EOS stuff.
7867
7868 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7869
7870         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
7871           Test case originally showed the problem fixed below,
7872           but was then amended. Add checks back at the place
7873           where they used to be.
7874
7875 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7876
7877         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7878         (gst_base_src_init), (gst_base_src_loop),
7879         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7880         (gst_base_src_change_state):
7881         * libs/gst/base/gstbasesrc.h:
7882           Don't unconditionally send EOS when going from PAUSED to
7883           READY state, esp. make sure we don't send two EOS events
7884           in some cases (e.g. one when reaching EOS and one when
7885           going from PAUSED to READY). Also, we don't want to send
7886           EOS events when operating in pull mode. However, we do
7887           want to send an EOS event when shutting down a live
7888           source explicitly, for example (fixes #330996).
7889           
7890 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7891
7892         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7893           Update src->read_position after a seek when not using mmap.
7894           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
7895
7896 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
7897
7898         * gst/Makefile.am:
7899         * gst/gstparse.h:
7900         * gst/gstutils.c:
7901         * gst/gstutils.h:
7902         Make things work with --disable-parse as they do with 
7903         --disable-load-save - the symbols involved disappear, but the
7904         header is still installed and GST_DISABLE_PARSE is included via
7905         gstconfig.h
7906
7907 2006-02-20  Julien MOUTTE  <julien@moutte.net>
7908
7909         * libs/gst/base/gstbasetransform.c:
7910         (gst_base_transform_change_state): Fix a stupid bug. I was 
7911         sure I compiled that.
7912
7913 2006-02-20  Julien MOUTTE  <julien@moutte.net>
7914
7915         * gst/gstpad.c: (gst_pad_set_blocked_async):
7916         * gst/gstutils.c: (gst_pad_add_data_probe),
7917         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7918         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7919         (gst_pad_remove_buffer_probe): Make those function act on the
7920         ghostpad target when it's a ghostpad. (Closes #331727)
7921
7922 2006-02-20  Julien MOUTTE  <julien@moutte.net>
7923
7924         * libs/gst/base/gstbasetransform.c:
7925         (gst_base_transform_change_state): Make basetransform reusable.
7926         (Closes #331898)
7927
7928 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
7929
7930         * docs/random/release:
7931         Move the current documentation of how to do a release to the top
7932         of the file.
7933
7934         * gst/gstbin.c: (gst_bin_class_init),
7935         (gst_bin_handle_message_func):
7936         Allow multiple state-recalculation threads. (Closes #328873)
7937
7938 2006-02-19  Julien MOUTTE  <julien@moutte.net>
7939
7940         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
7941         * gst/gstpad.c: (gst_pad_set_event_function),
7942         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7943         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
7944         2 strings. You can't use the STR_NULL macro on that.
7945
7946 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
7947
7948         * gst/gstpad.c: (gst_pad_set_event_function),
7949         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7950         (gst_pad_set_getcaps_function)
7951         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
7952           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
7953           So now, we can use --gst-debug-level=5 on Windows
7954         * win32/common/libgstcontroller.def:
7955           Added export of gst_controller_init
7956         * win32/vs6/libgstcontroller.dsp:
7957           Fixed Release post build configuration
7958
7959 2006-02-17  Wim Taymans  <wim@fluendo.com>
7960
7961         * tests/check/gst/gstquery.c: (GST_START_TEST):
7962         Added another check.
7963
7964 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
7965
7966         * plugins/elements/gsttypefindelement.c: (find_peek):
7967           We can do peeks at non-zero offsets, as long as they
7968           fall within the buffer we have.
7969
7970 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
7971
7972         * tests/check/Makefile.am:
7973         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
7974         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
7975         (parse_suite), (main):
7976           Add testsuite for parse launch syntax
7977
7978 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
7979
7980         * plugins/elements/gsttypefindelement.c:
7981         (gst_type_find_element_chain):
7982           When typefinding is unsuccessful in the chain function, don't
7983           error out immediately. Only error out with NO_CAPS_FOUND if
7984           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
7985           otherwise simply wait for more data so we can try typefinding
7986           again with more data later. Also, don't attempt to typefind
7987           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
7988           this should improve typefinding from network sources where the
7989           size of the first buffer can be somewhat random.
7990
7991 2006-02-14  Wim Taymans  <wim@fluendo.com>
7992
7993         * docs/gst/gstreamer-sections.txt:
7994         * gst/gstpadtemplate.c:
7995         * gst/gstpadtemplate.h:
7996         Fix padtemplate docs, fixes #328805.
7997
7998 2006-02-14  Wim Taymans  <wim@fluendo.com>
7999
8000         * tools/gst-launch.c: (main):
8001         NO_PREROLL is not an ERROR so don't send confusing messages
8002         to the user.
8003
8004 2006-02-14  Wim Taymans  <wim@fluendo.com>
8005
8006         Patch by: Torsten Schoenfeld
8007
8008         * gst/gstregistry.c: (gst_registry_get_default),
8009         (_gst_registry_cleanup):
8010         Protect default registry with lock and ref/sink it.
8011         Fixes #324818
8012
8013 2006-02-14  Wim Taymans  <wim@fluendo.com>
8014
8015         * gst/gstbuffer.c:
8016         * gst/gstquery.c: (gst_query_list_add_format),
8017         (gst_query_set_formatsv), (gst_query_parse_formats_length),
8018         (gst_query_parse_formats_nth):
8019         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8020         Docs fixes.
8021
8022 2006-02-14  Wim Taymans  <wim@fluendo.com>
8023
8024         * docs/gst/gstreamer-sections.txt:
8025         Reworked query docs.
8026
8027         * gst/gstquery.c: (gst_query_new_formats),
8028         (gst_query_list_add_format), (gst_query_set_formats),
8029         (gst_query_set_formatsv), (gst_query_parse_formats_length),
8030         (gst_query_parse_formats_nth):
8031         * gst/gstquery.h:
8032         Flesh out formats query, added some new methods.
8033         Fix part of #324398.
8034
8035         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
8036         Added query creation tests.
8037
8038 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
8039
8040         * gst/gstpad.c: (fixate_value):
8041         Add a default fixation for fraction lists.
8042
8043 2006-02-13  Wim Taymans  <wim@fluendo.com>
8044
8045         * gst/gsttask.c: (gst_task_init), (gst_task_func),
8046         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
8047         (gst_task_join):
8048         * gst/gsttask.h:
8049         Detect and warn for obvious deadlocks. fixes #320340
8050         Fix error case where lock was not released.
8051
8052         * tests/check/Makefile.am:
8053         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
8054         (task_func), (gst_element_suite), (main):
8055         Add task check.
8056
8057 2006-02-13  Wim Taymans  <wim@fluendo.com>
8058
8059         * docs/gst/gstreamer-sections.txt:
8060         * gst/gstbus.c:
8061         Add new functions to docs.
8062
8063 2006-02-13  Wim Taymans  <wim@fluendo.com>
8064
8065         * docs/design/part-TODO.txt:
8066         Updated TODO list, basesrc supports seeking to non-bytes
8067         formats.
8068
8069         * docs/design/part-element-sink.txt:
8070         Update docs.
8071
8072         * gst/gstbin.c: (bin_replace_message),
8073         (gst_bin_handle_message_func):
8074         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
8075         * gst/gstevent.c: (gst_event_finalize):
8076         * gst/gstpad.c: (gst_pad_event_default_dispatch),
8077         (gst_pad_send_event):
8078         Use shiny new _TYPE_NAME macros.
8079
8080         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8081         Move debug statement up.
8082
8083         * gst/gstelement.c: (gst_element_set_locked_state):
8084         Add some debugging.
8085
8086 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
8087
8088         * docs/gst/gstreamer-sections.txt:
8089         * gst/gstmessage.h:
8090         * gst/gstquery.h:
8091           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
8092           macros (#330906). Also, document the already existing
8093           GST_QUERY_TYPE macro.
8094
8095 2006-02-13  Wim Taymans  <wim@fluendo.com>
8096
8097         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
8098         (event_probe), (GST_START_TEST):
8099         Only events up to the pipeline EOS are counted, there are
8100         some more when going to NULL currently which we don't care
8101         about for now.
8102
8103 2006-02-13  Wim Taymans  <wim@fluendo.com>
8104
8105         * gst/gstpad.c: (gst_pad_send_event):
8106         Correctly check flushing and emit probes. fixes #330125
8107
8108 2006-02-10  Andy Wingo  <wingo@pobox.com>
8109
8110         * gst/gstbus.c (gst_bus_class_init): Declare our private data
8111         structure.
8112         (gst_bus_init): Cache the location of the private data in the
8113         instance structure.
8114         (gst_bus_enable_sync_message_emission) 
8115         (gst_bus_disable_sync_message_emission): Implement new public
8116         functions.
8117         (gst_bus_post): Emit the sync-message signal if the user asked for
8118         it. Fixes #330684.
8119
8120         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
8121         location of the bus-private structure.
8122         (gst_bus_enable_sync_message_emission)
8123         (gst_bus_disable_sync_message_emission): API addition
8124
8125 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
8126
8127         Patch by: Vincent Torri
8128
8129         * docs/pwg/building-boiler.xml:
8130         PWG patch from #326800
8131
8132 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8133
8134         * configure.ac:
8135         * docs/Makefile.am:
8136         * docs/design/Makefile.am:
8137           Dist design docs.
8138
8139 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
8140
8141         * configure.ac:
8142           back to CVS
8143
8144 === release 0.10.3 ===
8145
8146 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
8147
8148         * configure.ac:
8149           releasing 0.10.3, "Like a virgin"
8150
8151 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
8152
8153         * configure.ac:
8154           2nd prerelease of 0.10.3
8155           Bump libtool versioning.
8156
8157 2006-02-07  Andy Wingo  <wingo@pobox.com>
8158
8159         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
8160         update last_stop if we're in TIME format and the timestamp is
8161         valid.
8162
8163         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
8164         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
8165         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
8166         If we get a new newsegment with a different format, adapt
8167         accordingly.
8168
8169         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
8170         of 0. Not a problem, really.
8171
8172         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
8173         warn if sync=true.
8174
8175 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
8176
8177         * configure.ac:
8178           Prelease of 0.10.3
8179
8180 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
8181
8182         * win32/vs7:
8183           project files updated to the default vs7 configuration
8184         * win32/common/libgstbase.def:
8185         * win32/common/libgstreamer.def:
8186           added new symbols,
8187           removed empty lines,
8188           sorted all exported symbols alphabetically
8189         * win32/common/dirent.c:
8190         * win32/common/dirent.h:
8191         * win32/common/gchar.h:
8192           use windows line end.
8193           
8194 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
8195
8196         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8197           Send EOS event when stopping.
8198
8199 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
8200
8201         * docs/README:
8202           Tell folks what to do if the plugin-foobar.xml file
8203           hasn't been generated for a newly-added plugin.
8204
8205 2006-02-05  Julien MOUTTE  <julien@moutte.net>
8206
8207         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8208         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8209         (gst_collect_pads_start), (gst_collect_pads_stop),
8210         (gst_collect_pads_event): Collectpads now holds a reference
8211         to the GstPad that was added. Indeed we don't want to look
8212         at pads that might just go away with no warning...
8213
8214 2006-02-05  Julien MOUTTE  <julien@moutte.net>
8215
8216         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8217         (gst_collect_pads_start), (gst_collect_pads_stop),
8218         (gst_collect_pads_event), (gst_collect_pads_chain):
8219         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
8220         Mark Nauwelaerts's patch on bug #328491.
8221
8222 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8223
8224         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
8225         (gst_utils_suite):
8226           Add some simple tests for gst_parse_bin_from_description() and
8227           gst_bin_find_unconnected_pad() (#329069).
8228
8229 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8230
8231         * tools/gst-launch.c: (event_loop), (main):
8232           Catch errors during preroll (#320084).
8233
8234 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
8235
8236         * plugins/elements/gsttypefindelement.c:
8237         (gst_type_find_element_activate):
8238           Post TYPE_NOT_FOUND error message when typefinding
8239           is unsuccessful in the activate function as well.
8240
8241 2006-02-02  Wim Taymans  <wim@fluendo.com>
8242
8243         * docs/design/part-element-sink.txt:
8244         Updated doc.
8245
8246 2006-02-02  Wim Taymans  <wim@fluendo.com>
8247
8248         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8249         (gst_base_sink_render_object),
8250         (gst_base_sink_queue_object_unlocked):
8251         Only keep track of prerollable items when we are 
8252         prerolling.
8253         Before rendering after preroll, always check if we
8254         have queued items.
8255         Added some more debugging.
8256
8257 2006-02-02  Wim Taymans  <wim@fluendo.com>
8258
8259         * gst/gstelement.c: (gst_element_continue_state),
8260         (gst_element_set_state_func), (gst_element_change_state):
8261         Fixed #326576, been running this for quite some time with
8262         no regressions at all.
8263
8264 2006-02-02  Wim Taymans  <wim@fluendo.com>
8265
8266         * common/gst.supp:
8267         Added more suppressions
8268
8269 2006-02-02  Wim Taymans  <wim@fluendo.com>
8270
8271         * docs/design/part-element-sink.txt:
8272         Updated document.
8273
8274         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8275         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
8276         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
8277         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8278         (gst_base_sink_do_sync), (gst_base_sink_render_object),
8279         (gst_base_sink_preroll_object),
8280         (gst_base_sink_queue_object_unlocked),
8281         (gst_base_sink_queue_object), (gst_base_sink_event),
8282         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
8283         (gst_base_sink_loop), (gst_base_sink_activate_pull),
8284         (gst_base_sink_get_position), (gst_base_sink_change_state):
8285         * libs/gst/base/gstbasesink.h:
8286         Totally refactored matching the design doc.
8287         Use two segments, one to clip incomming buffers and another to
8288         perform sync.
8289         Handle queueing correctly, bypass the queue when playing.
8290         Make EOS cancelable.
8291         Handle errors correctly when operating in pull based mode.
8292
8293         * tests/check/elements/fakesink.c: (GST_START_TEST),
8294         (fakesink_suite):
8295         Added new check for sinks.
8296
8297 2006-02-02  Wim Taymans  <wim@fluendo.com>
8298
8299         * gst/gstsegment.c: (gst_segment_clip):
8300         No reason to refuse to clip when start == -1
8301
8302 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
8303
8304         * docs/README:
8305         * docs/manual/intro-basics.xml:
8306         * docs/manual/intro-preface.xml:
8307         * docs/manual/manual.xml:
8308         * docs/pwg/advanced-dparams.xml:
8309         * docs/pwg/intro-basics.xml:
8310         * docs/pwg/intro-preface.xml:
8311         * docs/pwg/pwg.xml:
8312           describe dparams (controller) for plugins
8313           unify docs a little more
8314
8315 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
8316
8317         * docs/gst/gstreamer-sections.txt:
8318         * gst/gstutils.c: (element_find_unconnected_pad),
8319         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
8320         * gst/gstutils.h:
8321           Add new API: gst_parse_bin_from_description() and
8322           gst_bin_find_unconnected_pad() (#329069).
8323
8324 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
8325
8326         * docs/manual/README:
8327           uncover a nasty detail of the docs build
8328
8329 2006-01-31  Wim Taymans  <wim@fluendo.com>
8330
8331         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
8332         Don't cache duration messages if we're not going to use or
8333         free them.
8334
8335 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
8336
8337         * docs/manual/advanced-dparams.xml:
8338         * docs/pwg/advanced-dparams.xml:
8339           more dparam docs
8340         * gst/gstindex.c:
8341           fix docs
8342         * libs/gst/controller/lib.c: (gst_controller_init):
8343           init just once
8344
8345 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
8346
8347         * gst/gstelement.c: (gst_element_message_full):
8348           also show file/line/func if no additional debug was given
8349
8350 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
8351         
8352         * win32/vs7/grammar.vcproj:
8353           activate copy of autogenerated files for Release mode
8354
8355 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
8356         
8357         * win32/common/libgstreamer.def:
8358           export gst_value_compare
8359
8360 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
8361
8362         * plugins/elements/Makefile.am:
8363         * plugins/elements/gstelements.c:
8364         * plugins/elements/gstfdsink.c: (_do_init),
8365         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
8366         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
8367         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
8368         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
8369         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
8370         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
8371         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
8372         * plugins/elements/gstfdsink.h:
8373         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
8374
8375 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
8376
8377         * docs/manual/advanced-dparams.xml:
8378           describe controller
8379         * docs/manual/advanced-position.xml:
8380         * docs/manual/basics-init.xml:
8381         * docs/manual/manual.xml:
8382         * docs/manual/titlepage.xml:
8383         * docs/pwg/pwg.xml:
8384         * docs/pwg/titlepage.xml:
8385           cleanup xml (more to come)
8386         * libs/gst/controller/gstcontroller.c:
8387           fix typo
8388
8389 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
8390         
8391         * win32/vs6/grammar.dsp:
8392           add autogen of gstmarshal.c,h for Release mode
8393                 
8394 2006-01-30  Wim Taymans  <wim@fluendo.com>
8395
8396         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8397         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
8398         (gst_base_sink_handle_object), (gst_base_sink_event),
8399         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
8400         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8401         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
8402         (gst_base_sink_deactivate), (gst_base_sink_activate),
8403         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8404         (gst_base_sink_query), (gst_base_sink_change_state):
8405         Basesink cleanups, remove some old code.
8406         Handle the case where a subclass can preroll in the render
8407         method (mostly audiosinks).
8408         Handle more events.
8409         Remove some locks around variables that are now protected
8410         with the PREROLL_LOCK (clock_id, flushing, ..).
8411         Optimize position query some more, do correct locking.
8412         Remove old code to push queue in state change, this is not
8413         needed anymore since preroll blocks on all prerollable items 
8414         now.
8415         Almost implemented as described in design doc.
8416
8417 2006-01-30  Wim Taymans  <wim@fluendo.com>
8418
8419         * tests/check/gst/gstbin.c: (GST_START_TEST):
8420         Wait for refcount to settle down before checking.
8421
8422 2006-01-30  Wim Taymans  <wim@fluendo.com>
8423
8424         * docs/design/part-element-sink.txt:
8425         Pseudo code overview of desired sink behaviour regarding
8426         preroll.
8427
8428 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8429         * win32/vs6/grammar.dsp:
8430           fix some bugs in Release mode for autogenerated files
8431                 
8432 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8433         * win32/common/libgstbase.def:
8434         * win32/common/libgstreamer.def:
8435           export some new symbols: gst_base_src_set_format,
8436           gst_iterator_next, gst_structure_set_valist
8437
8438 2006-01-29  Julien MOUTTE  <julien@moutte.net>
8439
8440         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8441         Set pad functions unconditionally. Fixes #329105.
8442
8443 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8444         * win32/vs8:
8445           add vs8 project files created by Sergey Scobich
8446
8447 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
8448
8449         * gst/gstutils.c: (gst_element_unlink_pads):
8450         Don't leak pad references.
8451
8452         * tests/check/elements/fakesink.c: (GST_START_TEST):
8453         * tests/check/generic/sinks.c: (GST_START_TEST):
8454         * tests/check/generic/states.c: (GST_START_TEST):
8455         * tests/check/gst/gstbin.c: (GST_START_TEST):
8456         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8457         * tests/check/gst/gstelement.c: (GST_START_TEST):
8458         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8459         * tests/check/gst/gstiterator.c: (GST_START_TEST):
8460         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8461         Fix a bunch of leaks. Make generic/sinks.c
8462         use a bit less cpu by slowing the buffer rate
8463         between fakesrc and fakesink.
8464         
8465 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
8466         * gst/gstcaps.c:
8467         * gst/gstelement.c: (gst_element_send_event):
8468         * gst/gstevent.c:
8469         * gst/gstinfo.c:
8470         * gst/gstiterator.c:
8471         * gst/gstiterator.h:
8472         * gst/gstpad.c: (gst_pad_send_event):
8473         * gst/gststructure.c:
8474         * gst/gsturi.c:
8475         * gst/gstutils.c:
8476         * gst/gstvalue.c:
8477         * libs/gst/base/gstadapter.c:
8478           doc fixes, to link to function, just write gst_cool_function(), don't
8479           prefix with '#'
8480
8481 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8482
8483         * plugins/elements/gsttee.c: (gst_tee_do_push),
8484         (gst_tee_handle_buffer):
8485         Always prefer an actual return value from a src
8486         pad in place of NOT_LINKED. This means we return
8487         WRONG_STATE when all src pads are WRONG_STATE
8488         instead of NOT_LINKED.
8489
8490         Lock when replacing the last message to prevent
8491         racing with the get_property method.
8492
8493         Add debug output
8494
8495 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8496
8497         * tests/check/Makefile.am:
8498         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
8499         (main):
8500         Add a very simple check that should have caught the memleak I fixed
8501         last night (if not for the slice allocator hiding it)
8502
8503 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8504
8505         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8506         (gst_bin_remove_func), (gst_bin_handle_message_func),
8507         (bin_query_duration_fold), (bin_query_generic_fold):
8508         Clean up references to the clock provider when disposed or when
8509         handling a clock-lost message from it.
8510
8511         Unref sinks when performing a query via gst_iterator_fold, as the
8512         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
8513
8514         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
8515         (gst_clock_set_master):
8516         Drop our reference to the master clock, if any, when we are disposed.
8517
8518         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
8519         Chain up in dispose. 
8520
8521 2006-01-26  Wim Taymans  <wim@fluendo.com>
8522
8523         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8524         Add some debugging.
8525
8526 2006-01-26  Julien MOUTTE  <julien@moutte.net>
8527
8528         * plugins/elements/gsttee.c: (gst_tee_do_push),
8529         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
8530         handles pad being NOT_LINKED or in WRONG_STATE.
8531
8532 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8533
8534         * win32/MANIFEST:
8535           more updating
8536
8537 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8538
8539         * win32/MANIFEST:
8540           remove obsolete entry
8541
8542 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8543
8544         * docs/gst/gstreamer-sections.txt:
8545         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
8546         (gst_bin_iterate_sources), (gst_bin_send_event):
8547         * gst/gstbin.h:
8548         * gst/gstelement.c: (gst_element_send_event):
8549         * gst/gstevent.c:
8550         * gst/gstpad.c: (gst_pad_send_event):
8551           added code for downstream events, reviewed docs in gstevent.c
8552
8553 2006-01-25  Julien MOUTTE  <julien@moutte.net>
8554
8555         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8556         We only query position using the clock in the playing state.
8557         Query peer in the other cases.
8558         * win32/common/config.h: Updates.
8559
8560 2006-01-24  Wim Taymans  <wim@fluendo.com>
8561
8562         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8563         A clock entry that is scheduled for the exact time of the
8564         clock is still in time.
8565
8566         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8567         (gst_base_sink_do_sync):
8568         Add some more debug info.
8569
8570 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
8571
8572         * win32/vs7:
8573           Add new vs7 project files and solution.
8574
8575 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
8576
8577         * win32/vs7:
8578           all files removed as they were out-dated.
8579
8580 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8581
8582         * docs/random/release:
8583           update notes
8584         * gst/gstbin.c: (gst_bin_init):
8585         * gst/gstbus.c: (gst_bus_new):
8586         * gst/gstbus.h:
8587         * gst/gstpipeline.c: (gst_pipeline_init):
8588           use gst_bus_new(), improve logging, fix docs
8589         * win32/common/config.h:
8590           update for cvs build
8591
8592 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8593
8594         * autogen.sh:
8595           up required version of automake to 1.7
8596
8597 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
8598
8599         * win32/common/libgstreamer.def:
8600           export gst_buffer_is_metadata_writable
8601
8602 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
8603
8604         * docs/gst/gstreamer-sections.txt:
8605         * gst/gstevent.h:
8606           Add gst_event_replace() (#327001)
8607
8608 2006-01-20  Wim Taymans  <wim@fluendo.com>
8609
8610         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8611         Make it actually compile too..
8612
8613 2006-01-20  Wim Taymans  <wim@fluendo.com>
8614
8615         * gst/gstcaps.c:
8616         Clarify behaviour of _is_equal() when passing NULL parameters.
8617
8618         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8619         (gst_pad_set_caps):
8620         Cleanups. Don't unref NULL caps.
8621         When setting the same caps, protect caps of the pad with
8622         proper lock.
8623         Use full functionality of _is_equal() when comparing caps.
8624
8625 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
8626
8627         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8628         Don't loop infinitely if there are no buffers to present. Partially
8629         fixes #327197, but collectpads is just broken for reusing elements
8630         to do multiple encodes atm.
8631
8632 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
8633
8634         * tools/gst-inspect.c: (print_element_features):
8635         * tools/gst-xmlinspect.c: (main):
8636         URL_HANDLER is not a plugin feature we can search for in
8637         the registry.
8638
8639 2006-01-19  Edward Hervey  <edward@fluendo.com>
8640
8641         * gst/gstelement.c: (gst_element_pads_activate): 
8642         When activating, do src pads first, then sink pads.
8643         When de-activating, do sink pads first, then src pads.
8644
8645 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8646
8647         * docs/gst/gstreamer-sections.txt:
8648         Add gst_index_add_associationv to the docs
8649
8650 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8651
8652         * gst/gstevent.c:
8653           Fix docs typo
8654
8655         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
8656         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
8657           Do some refactoring. Doesn't actually change functionality,
8658           but makes landing the DRAIN event easier later.
8659
8660 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
8661
8662         * docs/pwg/advanced-scheduling.xml:
8663           Update from 0.9.x to 0.10 API and make example a bit
8664           clearer.
8665
8666 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8667
8668         * docs/gst/gstreamer-sections.txt:
8669         Add gst_buffer_(is|make)_metadata_writable methods.
8670
8671 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8672
8673         * docs/design/part-sparsestreams.txt:
8674         Update sparse streams doc, hopefully for greater clarity
8675
8676 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
8677
8678         * docs/design/part-events.txt:
8679         Remove mention of FILLER events.
8680         Add DRAIN event.
8681
8682         * docs/design/part-sparsestreams.txt:
8683         Write some things about using NEWSEGMENT to keep sparse streams
8684         flowing.
8685
8686 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
8687
8688         * gst/gstbin.c: (gst_bin_dispose):
8689           Guard gst_object_unref call against a NULL object (dispose
8690           can theoretically be called multiple times).
8691           
8692 2006-01-18  Wim Taymans  <wim@fluendo.com>
8693
8694         * gst/gstbin.c: (gst_bin_element_set_state):
8695         * gst/gstclock.c: (gst_clock_id_wait):
8696         Added some more debug info.
8697
8698         * libs/gst/base/gstadapter.c:
8699         Added more docs.
8700
8701         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8702         (gst_base_sink_do_sync), (gst_base_sink_chain):
8703         Added some comments.
8704
8705 2006-01-18  Wim Taymans  <wim@fluendo.com>
8706
8707         * tests/check/Makefile.am:
8708         * tests/check/elements/fakesink.c: (chain_async_buffer),
8709         (chain_async), (chain_async_return), (GST_START_TEST),
8710         (fakesink_suite), (main):
8711         Added fakesink test that checks prerolling and clipping
8712         behaviour.
8713
8714         * tests/check/gst/gstutils.c: (GST_START_TEST):
8715         Make check run faster so that buildbots don't timeout.
8716
8717 2006-01-18  Wim Taymans  <wim@fluendo.com>
8718
8719         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8720         (gst_base_sink_do_sync):
8721         Some cleanups.
8722         When the sink finishes blocking on the preroll buffer, it can
8723         immediatly render it instead of rendering when the next buffer
8724         arrives.
8725
8726 2006-01-18  Wim Taymans  <wim@fluendo.com>
8727
8728         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
8729         (gst_base_sink_get_property), (gst_base_sink_do_sync),
8730         (gst_base_sink_chain):
8731         Small cleanups.
8732         GST_ELEMENT_CLOCK and sync are protected with LOCK.
8733         Don't store _last_stop if the buffer is dropped.
8734
8735 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
8736
8737         * plugins/elements/gsttypefindelement.c:
8738         (gst_type_find_element_class_init):
8739           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
8740           object method handler that sets the caps on the pad and we want
8741           that to happen before we emit the signal (fixes e.g. feeding a
8742           plain text file to decodebin).
8743
8744 2006-01-18  Christian Schaller  <Christian@fluendo.com>
8745
8746         * gst/gstplugin.c: Add MPL and Proprietary as license options
8747
8748 2006-01-18  Andy Wingo  <wingo@pobox.com>
8749
8750         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
8751         symbol was exported before, it appears this was just an oversight.
8752         Fixes #168703.
8753         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
8754
8755         * gst/gstindex.c (gst_index_add_associationv): Changed int in
8756         prototype to gint. OK since this prototype was not in the header.
8757
8758 2006-01-17  Andy Wingo  <wingo@pobox.com>
8759
8760         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
8761         registry while we remove plugins.
8762
8763         * tools/gst-inspect.c (print_element_info): Don't unref the
8764         factory arg, that should be the responsibility of whatever code
8765         received the ref. Fixes a double-free when called from
8766         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
8767         (main): Unref the factory if we have one.
8768         (print_element_list): No change -- relies on the
8769         plugin_feature_list_free to free the list of features.
8770
8771 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
8772
8773         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8774         (gst_buffer_make_metadata_writable):
8775         * gst/gstbuffer.h:
8776         * libs/gst/base/gstbasetransform.c:
8777         (gst_base_transform_prepare_output_buf):
8778         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8779         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8780           Replace gst_buffer_(make|is)_metadata_writable patch now
8781           that the release is out.
8782
8783 2006-01-17  Andy Wingo  <wingo@pobox.com>
8784
8785         * gst/gstregistry.c: Reflow design comment. Update so as to speak
8786         in the present tense without reference to versions.
8787
8788         * gst/gstregistry.c (gst_registry_add_plugin)
8789         (gst_registry_remove_plugin, gst_registry_remove_feature)
8790         (gst_registry_find_feature, gst_registry_get_feature_list)
8791         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
8792         (gst_registry_lookup, gst_registry_scan_path)
8793         (_gst_registry_remove_cache_plugins)
8794         (gst_registry_get_feature_list_by_plugin): Add argument
8795         validation.
8796
8797 === release 0.10.2 ===
8798
8799 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
8800
8801         * configure.ac:
8802           releasing 0.10.2, "If man is five"
8803
8804 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
8805
8806         * gst/gstbuffer.c:
8807         * gst/gstbuffer.h:
8808         * libs/gst/base/gstbasetransform.c:
8809         (gst_base_transform_prepare_output_buf):
8810         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8811         * tests/check/gst/gstbuffer.c: (gst_test_suite):
8812           Back out patch until after the release.
8813
8814 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
8815
8816         * gst/gstminiobject.c:
8817           Spelling fix in docs.
8818         * ChangeLog - remove conflict indicator
8819
8820 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
8821
8822         Reviewed By: Andy Wingo
8823
8824         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8825         (gst_buffer_make_metadata_writable):
8826         * gst/gstbuffer.h:
8827           Add gst_buffer_(is|make)_metadata_writable as analogues of
8828           gst_buffer_(is|make)_writable.
8829
8830         * libs/gst/base/gstbasetransform.c:
8831         (gst_base_transform_prepare_output_buf):
8832         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8833           Use name gst_buffer_(is|make)_metadata_writable functions.
8834
8835         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8836           Test gst_buffer_(is|make)_metadata_writable
8837         
8838           (Closes: #324162)
8839
8840 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8841
8842         * docs/manual/Makefile.am:
8843           don't do parallel make
8844         * configure.ac:
8845           AC_SUBST HOST_CPU
8846         * win32/common/config.h.in:
8847           add generations for HOST_CPU and GST_MAJORMINOR
8848         * win32/common/config.h:
8849           commit generated result
8850
8851 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
8852
8853         * docs/manual/appendix-integration.xml:
8854           Update GNOME integration section to use gst_init_get_option_group()
8855           instead of the old popt stuff (#322911). Also, GNOME applications
8856           should  now use gconf*sink and gconf*src instead of the old gconf
8857           helper lib we had.
8858
8859 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
8860
8861
8862         * docs/gst/gstreamer-docs.sgml:
8863         * docs/gst/gstreamer-sections.txt:
8864         * docs/libs/gstreamer-libs-sections.txt:
8865           add new API entries to the docs
8866         * libs/gst/controller/Makefile.am:
8867         * libs/gst/controller/gstcontroller.c:
8868         * libs/gst/controller/gstcontroller.h:
8869         * libs/gst/controller/gstcontrollerprivate.h:
8870         * libs/gst/controller/gsthelper.c:
8871         * libs/gst/controller/gstinterpolation.c:
8872           move private structs to private header
8873         * po/README:
8874           gstreamer-0.7 -> gstreamer-0.10
8875         * tests/check/libs/struct_i386.h:
8876           remove private structs
8877
8878 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8879
8880         * plugins/indexers/Makefile.am:
8881           Fixes as part of #317048
8882
8883 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8884
8885         * plugins/indexers/Makefile.am:
8886           fix #316086 - compilation when mmap is missing
8887
8888 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
8889
8890         * libs/gst/base/gstbasesink.c:
8891           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
8892           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
8893         * win32/common/config.h:
8894           added some defines GST_MAJORMINOR and HOST_CPU
8895         * win32/common/libgstbase.def:
8896         * win32/common/libgstreamer.def:
8897           added some exported functions.
8898
8899 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
8900
8901         * libs/gst/controller/gstcontroller.c:
8902         (gst_controlled_property_set_interpolation_mode),
8903         (gst_controlled_property_new):
8904         * libs/gst/controller/gstcontroller.h:
8905         * libs/gst/controller/gstinterpolation.c:
8906         (interpolate_none_get_string_value_array):
8907           make G_TYPE_STRING controlable
8908
8909 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
8910
8911         * tools/README:
8912         * tools/gst-feedback.1.in:
8913         * tools/gst-inspect.1.in:
8914         * tools/gst-launch.1.in:
8915         * tools/gst-md5sum.1.in:
8916         * tools/gst-typefind.1.in:
8917         * tools/gst-xmlinspect.1.in:
8918         * tools/gst-xmllaunch.1.in:
8919           cleanup man-pages, remove reference to gst-register, document env-vars
8920
8921 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
8922
8923         * gst/gstbuffer.c: (gst_buffer_span):
8924           gst_buffer_span should copy the timestamp of the first buffer
8925           if they were both originally overlapping subbuffers of the 
8926           same parent, using the same logic as the 'slow copy' case.
8927
8928 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
8929
8930         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
8931           Need to awaken ALL the pads when we pop a buffer, otherwise
8932           collectpads only works when there is 2 input streams.
8933
8934 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
8935
8936         * docs/random/ensonic/media-device-daemon.txt:
8937           more ideas (dbus)
8938         * gst/gstbuffer.c:
8939           fix doc example, add clarification
8940         * tools/gst-launch.1.in:
8941           add initial info about GST_PLUGIN_PATH, needs more work
8942
8943 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8944
8945         * docs/manual/basics-bins.xml:
8946         * docs/manual/basics-elements.xml:
8947         * docs/manual/intro-basics.xml:
8948           Some more minor docs additions and updates.
8949
8950 2006-01-11  Wim Taymans  <wim@fluendo.com>
8951
8952         * docs/manual/basics-bins.xml:
8953         * docs/manual/basics-elements.xml:
8954         Some small fixes as pointed out by Ser-ver on IRC.
8955
8956 2006-01-10  Edward Hervey  <edward@fluendo.com>
8957
8958         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8959         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
8960         the single-segment mode.
8961
8962 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
8963
8964         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
8965
8966         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
8967         (gst_base_src_perform_seek), (gst_base_src_send_event),
8968         (gst_base_src_set_property), (gst_base_src_get_property),
8969         (gst_base_src_loop), (gst_base_src_start),
8970         (gst_base_src_activate_push):
8971         * libs/gst/base/gstbasesrc.h:
8972           Name (private) union; makes Sun's Forte compiler happy (#324900).
8973
8974 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
8975
8976         * README:
8977           gst-register is gone.
8978
8979 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8980
8981         * gst/gstvalue.c: (_gst_value_initialize):
8982           make the G_TYPE_DATE instantiation work if debug is disabled
8983
8984 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
8985
8986         * gst/gstmessage.c: (gst_message_parse_tag),
8987         (gst_message_parse_error), (gst_message_parse_warning):
8988           Don't crash when return location for error/warning debug
8989           string is NULL; add fact that return locations can be
8990           NULL to docs where appropriate.
8991
8992 2006-01-05  Wim Taymans  <wim@fluendo.com>
8993
8994         * gst/gstplugin.c: (gst_plugin_load_file):
8995         Replace strdup by g_strdup.
8996
8997 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8998
8999         * docs/pwg/advanced-types.xml:
9000           fix doc borkage
9001
9002 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9003
9004         submitted by: Abel Cheung
9005
9006         * po/LINGUAS:
9007         * po/zh_TW.po:
9008           Added Chinese (traditional) translation
9009
9010 2006-01-04  Wim Taymans  <wim@fluendo.com>
9011
9012         * docs/manual/basics-pads.xml:
9013         * docs/plugins/Makefile.am:
9014         * docs/plugins/gstreamer-plugins-docs.sgml:
9015         * docs/plugins/gstreamer-plugins-sections.txt:
9016         * docs/pwg/advanced-clock.xml:
9017         * docs/pwg/advanced-scheduling.xml:
9018         * docs/pwg/advanced-types.xml:
9019         * plugins/elements/gstfdsink.c:
9020         * plugins/elements/gstfdsrc.c:
9021         * plugins/elements/gstfdsrc.h:
9022         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9023         * plugins/elements/gstidentity.h:
9024         * plugins/elements/gstqueue.h:
9025         * plugins/elements/gsttee.c:
9026         * plugins/elements/gsttee.h:
9027         * plugins/elements/gsttypefindelement.c:
9028         (gst_type_find_element_class_init):
9029         * plugins/elements/gsttypefindelement.h:
9030         Small updates to various docs.
9031         Added core plugins to docs.
9032
9033 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9034
9035         * common/gst.supp:
9036           add a suppression for liboil's uninitialized variable
9037
9038 2006-01-02  James Livingston  <jrl at ids dot org dot au>
9039
9040         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9041
9042         * gst/gstutils.h:
9043           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
9044           macro, so that gcc doesn't complain if the -Wmissing-prototypes
9045           compiler switch is being used (#325429).
9046
9047 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
9048
9049         * gst/gstbin.c: (gst_bin_query):
9050           Disable duration query caching in bins until it gets
9051           fixed (see #324807).
9052
9053 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
9054
9055         * tools/gst-inspect.c: (print_element_properties_info):
9056           Handle properties of POINTER and BOXED type.
9057
9058 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
9059
9060         * gst/gst.c: (init_post):
9061           Init tags stuff and some other things before loading
9062           any static plugins (there may be other static plugins
9063           than just the GStreamer ones, and they may want to
9064           register their own tags or formats or whatever, and
9065           preferably without segfaulting).
9066
9067         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
9068           Print at least a warning in the debug logs if we drop a
9069           query just because we don't know how to adjust the value
9070           in the particular format.
9071
9072 2005-12-24  David Schleef  <ds@schleef.org>
9073
9074         * tools/gstreamer-completion:
9075           Replacement for gst-complete written in sh and sed.  Only
9076           completes names of features, but that's 90% of what I want
9077           it for.  Properties are not available in registry.xml.  (Maybe
9078           they should be...)
9079
9080 === release 0.10.1 ===
9081
9082 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
9083
9084         * configure.ac:
9085           releasing 0.10.1, "Nollaig chridheil"
9086
9087 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
9088
9089         * docs/faq/cvs.xml:
9090           Add missing quote, should be make ERROR_CFLAGS="".
9091
9092 2005-12-20  Wim Taymans  <wim@fluendo.com>
9093
9094         * docs/design/part-trickmodes.txt:
9095         More documentation on trickmodes.
9096
9097 2005-12-20  Edward Hervey  <edward@fluendo.com>
9098
9099         * gst/gstcaps.c: (gst_static_caps_get_type):
9100         * gst/gstcaps.h:
9101           API addition: GST_TYPE_STATIC_CAPS
9102         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
9103         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
9104         * gst/gstpadtemplate.h:
9105           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
9106         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
9107         bindings.
9108
9109 2005-12-18  Wim Taymans  <wim@fluendo.com>
9110
9111         * libs/gst/base/gstadapter.c:
9112         * libs/gst/base/gstadapter.h:
9113         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9114         (gst_base_sink_get_position):
9115         * libs/gst/base/gstbasesink.h:
9116         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9117         (gst_base_src_default_query), (gst_base_src_default_do_seek),
9118         (gst_base_src_do_seek), (gst_base_src_perform_seek),
9119         (gst_base_src_send_event), (gst_base_src_update_length),
9120         (gst_base_src_get_range), (gst_base_src_loop),
9121         (gst_base_src_start):
9122         * libs/gst/base/gstbasesrc.h:
9123         * libs/gst/base/gstbasetransform.h:
9124         * libs/gst/base/gstcollectpads.h:
9125         * libs/gst/base/gstpushsrc.c:
9126         * libs/gst/base/gstpushsrc.h:
9127         * libs/gst/dataprotocol/dataprotocol.c:
9128         * libs/gst/dataprotocol/dataprotocol.h:
9129         * libs/gst/net/gstnetclientclock.h:
9130         * libs/gst/net/gstnettimeprovider.h:
9131         Documentation updates.
9132
9133 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
9134
9135         * docs/manual/basics-helloworld.xml:
9136           Remove superfluous closing bracket in helloworld example.
9137
9138 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
9139
9140         * tools/gst-launch.1.in:
9141           Update gst-launch man page; add a section with useful
9142           environment variables. Fixes #323882.
9143
9144 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
9145
9146         * gst/gst.c:
9147         * gst/gst_private.h:
9148           change some char* into char[]
9149
9150 2005-12-16  Wim Taymans  <wim@fluendo.com>
9151
9152         * gst/gstregistryxml.c: (load_feature):
9153         Cleanups.
9154         Don't use g_object_unref on GstObjects so that we avoid
9155         leaks on unsafe glibs.
9156
9157 2005-12-16  Wim Taymans  <wim@fluendo.com>
9158
9159         * gst/gstbin.c: (gst_bin_recalc_state):
9160         Small doc updates.
9161
9162 2005-12-16  Wim Taymans  <wim@fluendo.com>
9163
9164         * common/check.mak:
9165         Added make forever target for check.
9166
9167 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9168
9169         * gst/gst.c: (init_post):
9170           make the registry cache file HOST_CPU-dependent
9171
9172 2005-12-16  Andy Wingo  <wingo@pobox.com>
9173
9174         * plugins/elements/gstbufferstore.c
9175         (gst_buffer_store_cleared_func): Pay attention to g_list_append
9176         return value.
9177
9178         * tests/check/gst/gstobject.c
9179         (test_fake_object_name_threaded_unique): Pay attention to
9180         g_list_sort return value.
9181
9182 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9183
9184         * tools/gst-feedback-m.m:
9185           Update for 0.9/0.10 (fixes #323870).
9186
9187 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
9188
9189         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
9190           Fix lcopy for mini objects, the mini object needs to be ref'ed.
9191           
9192         * tests/check/gst/gstminiobject.c: (my_foo_init),
9193         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
9194         (test_value_collection), (gst_mini_object_suite):
9195           Add test to ensure refcounts end up as expected when passing
9196           GstMiniObjects through g_object_get() and g_object_set().
9197
9198 2005-12-14  Julien MOUTTE  <julien@moutte.net>
9199
9200         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9201         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
9202         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
9203         of collectpads. This version removes a lot of races without
9204         touching API/ABI. Yay !
9205
9206 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
9207
9208         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
9209           Don't allow activation of a srcpad in pull_range if it has no
9210           getrange function.
9211           Change some debug statements to be a little clearer
9212
9213         * plugins/elements/gsttypefindelement.c:
9214         (gst_type_find_handle_src_query):
9215           Check that we have a peer before executing queries thereupon.
9216
9217         * tests/examples/metadata/read-metadata.c: (message_loop):
9218           Use gst_bus_pop instead of gst_bus_poll when we just want it to
9219           immediately return us any available message with 0 timeout.
9220
9221 2005-12-12  Michael Smith  <msmith@fluendo.com>
9222
9223         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9224           Don't unref factories after calling them.
9225         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
9226         * plugins/elements/gsttypefindelement.c:
9227         (gst_type_find_element_chain):
9228           Free lists of factories after using them. Fixing typefinding memory
9229           leaks.
9230
9231 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9232
9233         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9234         (gst_plugin_feature_load):
9235           more meaningful debug output
9236         * configure.ac:
9237         * tests/Makefile.am:
9238         * tests/old/examples/Makefile.am:
9239           make make distcheck happy again
9240
9241 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9242
9243         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9244           Catch the special case where we are operating chain-based,
9245           but the downstream peer pad has no chain function. Emit a
9246           custom error message in this case instead of letting the
9247           core generate one implying that this is some sort of core
9248           bug. It's not, it just means that whatever got plugged
9249           into the pipeline downstream when we announced the type
9250           can only operate pull-based, while our source can only
9251           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
9252           Error string has not been marked for translation yet, as
9253           it probably needs some more work first.
9254
9255         (gst_type_find_element_get_best_possibility):
9256           Add helper function to find the best of all available
9257           found possibilities that qualify given the min. threshold.
9258
9259         (gst_type_find_element_handle_event):
9260           Fix the case where we get an EOS while still in TYPEFIND
9261           mode (we want to chose the best of all possible types,
9262           not just the first type that happens to be in our unsorted
9263           list of possible types).
9264
9265         (gst_type_find_element_chain):
9266           Make sure we return GST_FLOW_ERROR when we errored out
9267           in stop_typefinding(); also, don't just find the best of
9268           all found type entries and then use the last examined
9269           type entry, but actually use the best entry.
9270
9271 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9272
9273         * tests/examples/typefind/typefind.c: (type_found):
9274         * tests/examples/xml/runxml.c: (xml_loaded):
9275           More gcc4 fixes and a mem leak fix.
9276
9277 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9278
9279         * tests/examples/xml/createxml.c: (object_saved):
9280           gcc 4 fixes
9281
9282 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9283
9284         * tests/Makefile.am:
9285           enable the examples even more
9286
9287 2005-12-12  Andy Wingo  <wingo@pobox.com>
9288
9289         * libs/gst/net/gstnettimeprovider.c
9290         (gst_net_time_provider_class_init, gst_net_time_provider_init)
9291         (gst_net_time_provider_set_property)
9292         (gst_net_time_provider_get_property):
9293         API addition: Export "active" as a GObject property.
9294         (gst_net_time_provider_thread): Only respond to time queries if
9295         the time provider is active.
9296
9297         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
9298         NetTimeProvider, preserving binary compat.
9299
9300 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9301
9302         * tests/examples/controller/audio-example.c: (main):
9303         * tests/examples/launch/Makefile.am:
9304           convert comments again
9305
9306 2005-12-12  Wim Taymans  <wim@fluendo.com>
9307
9308         * libs/gst/base/gstpushsrc.c:
9309         Fix typo.
9310
9311 2005-12-12  Wim Taymans  <wim@fluendo.com>
9312
9313         * docs/libs/gstreamer-libs-sections.txt:
9314         Added new symbol to docs.
9315
9316         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9317         (gst_base_src_init), (gst_base_src_set_format),
9318         (gst_base_src_default_query), (gst_base_src_query),
9319         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
9320         (gst_base_src_perform_seek), (gst_base_src_send_event),
9321         (gst_base_src_default_event), (gst_base_src_event_handler),
9322         (gst_base_src_set_property), (gst_base_src_get_property),
9323         (gst_base_src_wait), (gst_base_src_do_sync),
9324         (gst_base_src_update_length), (gst_base_src_get_range),
9325         (gst_base_src_check_get_range), (gst_base_src_loop),
9326         (gst_base_src_default_negotiate), (gst_base_src_start),
9327         (gst_base_src_activate_push), (gst_base_src_activate_pull),
9328         (gst_base_src_change_state):
9329         * libs/gst/base/gstbasesrc.h:
9330         Implement seeking to other formats than _BYTES.
9331         Implement more seeking methods correctly.
9332         Doc updates.
9333         Added query vmethod.
9334         Added do_seek vmethod to make life easier for subclasses
9335         when seeking.
9336         API addition: gst_base_src_set_format()
9337
9338 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9339
9340         * tests/examples/Makefile.am:
9341           added that too
9342
9343 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9344
9345         * configure.ac:
9346         * docs/random/ensonic/media-device-daemon.txt:
9347         * tests/examples/controller/.cvsignore:
9348         * tests/examples/controller/Makefile.am:
9349         * tests/examples/controller/audio-example.c: (main):
9350         * tests/examples/helloworld/.cvsignore:
9351         * tests/examples/helloworld/Makefile.am:
9352         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
9353         * tests/examples/launch/.cvsignore:
9354         * tests/examples/launch/Makefile.am:
9355         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
9356         * tests/examples/metadata/.cvsignore:
9357         * tests/examples/metadata/Makefile.am:
9358         * tests/examples/metadata/read-metadata.c: (message_loop),
9359         (make_pipeline), (print_tag), (main):
9360         * tests/examples/queue/.cvsignore:
9361         * tests/examples/queue/Makefile.am:
9362         * tests/examples/queue/queue.c: (event_loop), (main):
9363         * tests/examples/typefind/.cvsignore:
9364         * tests/examples/typefind/Makefile.am:
9365         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
9366         (main):
9367         * tests/examples/xml/.cvsignore:
9368         * tests/examples/xml/Makefile.am:
9369         * tests/examples/xml/createxml.c: (object_saved), (main):
9370         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
9371         * tests/old/examples/Makefile.am:
9372         * tests/old/examples/TODO:
9373         * tests/old/examples/controller/.cvsignore:
9374         * tests/old/examples/controller/Makefile.am:
9375         * tests/old/examples/controller/audio-example.c:
9376         * tests/old/examples/helloworld/.cvsignore:
9377         * tests/old/examples/helloworld/Makefile.am:
9378         * tests/old/examples/helloworld/helloworld.c:
9379         * tests/old/examples/launch/.cvsignore:
9380         * tests/old/examples/launch/Makefile.am:
9381         * tests/old/examples/launch/mp3parselaunch.c:
9382         * tests/old/examples/launch/mp3play:
9383         * tests/old/examples/manual/Makefile.am:
9384         * tests/old/examples/metadata/Makefile.am:
9385         * tests/old/examples/metadata/read-metadata.c:
9386         * tests/old/examples/queue/.cvsignore:
9387         * tests/old/examples/queue/Makefile.am:
9388         * tests/old/examples/queue/queue.c:
9389         * tests/old/examples/typefind/.cvsignore:
9390         * tests/old/examples/typefind/Makefile.am:
9391         * tests/old/examples/typefind/typefind.c:
9392         * tests/old/examples/xml/.cvsignore:
9393         * tests/old/examples/xml/Makefile.am:
9394         * tests/old/examples/xml/createxml.c:
9395         * tests/old/examples/xml/runxml.c:
9396           applied some simple fixing to some examples
9397           re-enabled the working examples
9398
9399 2005-12-12  Wim Taymans  <wim@fluendo.com>
9400
9401         * gst/gstsegment.c: (gst_segment_init),
9402         (gst_segment_set_last_stop), (gst_segment_set_seek),
9403         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
9404         (gst_segment_to_running_time):
9405         Added more documentation.
9406         Make sure the last_pos value is updated properly.
9407         Make sure to_stream_time and to_running_time don't
9408         operate on wrong values.
9409
9410         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9411         Update check.
9412
9413 2005-12-12  Michael Smith  <msmith@fluendo.com>
9414
9415         * plugins/elements/gsttypefindelement.c: (free_entry),
9416         (gst_type_find_element_chain):
9417           Now that we're not leaking factories, make sure we keep references
9418           to them while we need them.
9419
9420 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9421
9422         * tests/check/gst/struct_i386.h:
9423           ifdef out the XML structs
9424
9425 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9426
9427         * gst/gstvalue.c: (gst_value_transform_double_fraction):
9428           floor is not needed, F is always positive; this obviates the
9429           need for adding -lm when building without libxml
9430
9431 2005-12-12  Wim Taymans  <wim@fluendo.com>
9432
9433         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9434         Take current playback rate into account when reporting
9435         the position.
9436
9437 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9438
9439         * docs/manual/mime-world.fig:
9440           Let's try this again, this time with a file that is
9441           actually in XFig format.
9442
9443 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9444
9445         * docs/manual/mime-world.fig:
9446           Add audioconvert element to diagram so that it
9447           matches the text and the code (fixes #319526).
9448
9449 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9450
9451         * docs/pwg/building-chainfn.xml:
9452         * docs/pwg/building-pads.xml:
9453         * docs/pwg/building-state.xml:
9454         * docs/pwg/other-source.xml:
9455           Update state change stuff for 0.10 (fixes #322969).
9456
9457 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9458
9459         * docs/manual/advanced-dataaccess.xml:
9460         * docs/manual/appendix-checklist.xml:
9461         * docs/manual/appendix-programs.xml:
9462         * docs/manual/basics-pads.xml:
9463         * docs/manual/highlevel-components.xml:
9464         * docs/manual/manual.xml:
9465           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
9466           add converters in front of pipelines; remove curly
9467           brackets for threads stuff, they no longer exist; use
9468           GST_TYPE_FRACTION for framerates; update some pieces of
9469           code to 0.10, but there's plenty more to do.
9470
9471         * docs/manual/appendix-porting.xml:
9472           Expand on asynchroneous state changes; s/0.9/0.10/;
9473           mention disappearance of gst_init_get_popt_table()
9474           (fixes #322916).
9475
9476 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9477
9478         * docs/faq/using.xml:
9479           Spider no longer exists, and neither does gst-launch-ext.
9480           Update examples to use decodebin and playbin and put
9481           converters in front of sinks (fixes #323726).
9482
9483 2005-12-09  Michael Smith  <msmith@fluendo.com>
9484
9485         * plugins/elements/gsttypefindelement.c: (find_peek),
9486         (gst_type_find_element_chain):
9487           Fix leaking element factories in typefinding.
9488           Fix problem where we forgot about a probable type on non-seekable
9489           files, and thus later mis-typefound it.
9490
9491 2005-12-09  Michael Smith  <msmith@fluendo.com>
9492
9493         * common/m4/gst-makecontext.m4:
9494         * common/m4/gst-mcsc.m4:
9495         * configure.ac:
9496         * win32/common/config.h:
9497         * win32/common/config.h.in:
9498           Remove makecontext stuff; not used in 0.10 and causes problems on
9499           HPUX according to bug #322441
9500
9501 2005-12-07  Wim Taymans  <wim@fluendo.com>
9502
9503         * tests/check/Makefile.am:
9504         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
9505         (main):
9506         * tests/check/libs/struct_i386.h:
9507         Added ABI check for libs
9508
9509 2005-12-07  Wim Taymans  <wim@fluendo.com>
9510
9511         * tests/check/Makefile.am:
9512         And add the struct_i386.h to dist.
9513
9514 2005-12-07  Wim Taymans  <wim@fluendo.com>
9515
9516         * tests/check/Makefile.am:
9517         * tests/check/gst/.cvsignore:
9518         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
9519         (main):
9520         * tests/check/gst/struct_i386.h:
9521         Added check for ABI compatibility.
9522
9523 2005-12-07  Wim Taymans  <wim@fluendo.com>
9524
9525         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9526         (gst_fake_src_get_times), (gst_fake_src_create):
9527         Fix broken sync option, fixes #323259
9528
9529 2005-12-07  Wim Taymans  <wim@fluendo.com>
9530
9531         * gst/gstbuffer.c:
9532         Small docs update.
9533
9534         * gst/gstcaps.c: (gst_caps_is_equal):
9535         Don't assert on NULL <--> X. Fixes #323260
9536
9537         * gst/gstminiobject.c: (gst_mini_object_replace):
9538         If we're doing atomic operations, we might just as well use
9539         the proper way to get an atomic pointer.
9540
9541         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9542         Clean up debugging.
9543
9544 2005-12-07  Michael Smith  <msmith@fluendo.com>
9545
9546         * gst/parse/grammar.y:
9547           Remove handling of { } for threads.
9548
9549 2005-12-06  David Schleef  <ds@schleef.org>
9550
9551         * libs/gst/base/gstbasetransform.c: speling fix.
9552
9553 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9554
9555         * docs/libs/tmpl/gstdataprotocol.sgml:
9556         * docs/random/omega/testing/gstobject.c:
9557         * gst/gst.c:
9558         * gst/gstclock.c:
9559         * gst/gstelement.c:
9560         * gst/gstelementfactory.c:
9561         * gst/gsterror.c:
9562         * gst/gstevent.c:
9563         * gst/gstghostpad.c:
9564         * gst/gstinfo.c:
9565         * gst/gstpadtemplate.c:
9566         * gst/gstregistryxml.c:
9567         * gst/gsttaglist.c:
9568         * gst/gsttagsetter.c:
9569         * gst/gsttypefind.c:
9570         * gst/gstvalue.c:
9571         * libs/gst/base/gstbasesrc.c:
9572         * libs/gst/net/gstnetclientclock.c:
9573         * libs/gst/net/gstnettimeprovider.c:
9574         * plugins/elements/gstfakesrc.c:
9575         * plugins/elements/gstfdsrc.c:
9576         * plugins/elements/gstfilesrc.c:
9577         * plugins/elements/gstidentity.c:
9578         * plugins/elements/gstqueue.c:
9579         * plugins/elements/gsttypefindelement.c:
9580         * plugins/indexers/gstfileindex.c:
9581         * plugins/indexers/gstmemindex.c:
9582         * tests/check/gst/gsttag.c:
9583         * tests/old/examples/cutter/cutter.c:
9584         * tests/old/examples/mixer/mixer.c:
9585         * tests/old/examples/xml/runxml.c: (main):
9586         * tests/old/testsuite/caps/normalisation.c:
9587         * tests/old/testsuite/debug/global.c:
9588         * tests/old/testsuite/parse/parse1.c:
9589         * tools/gst-xmlinspect.c:
9590         * win32/common/dirent.c:
9591           expand tabs
9592
9593 === release 0.10.0 ===
9594
9595 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9596
9597         * configure.ac:
9598           releasing 0.10.0, "Maroilles"
9599
9600 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9601
9602         submitted by: Funda Wang <fundawang@linux.net.cn>
9603
9604         * po/LINGUAS:
9605         * po/zh_CN.po:
9606           added Chinese (Traditional) translation
9607
9608 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9609
9610         * docs/gst/gstreamer-sections.txt:
9611         * docs/libs/tmpl/gstdataprotocol.sgml:
9612         * docs/random/thomasvs/TODO:
9613         * gst/gstutils.c:
9614         * gst/gstutils.h:
9615           fix docs
9616
9617 2005-12-05  Andy Wingo  <wingo@pobox.com>
9618
9619         patch by: Wim Taymans <wim@fluendo.com>
9620
9621         * libs/gst/base/gstbasetransform.c
9622         (gst_base_transform_prepare_output_buf)
9623         (gst_base_transform_buffer_alloc):
9624         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
9625         alloc_buffer_and_set_caps.
9626
9627         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
9628         set_caps on the source pad.
9629         (gst_pad_alloc_buffer_and_set_caps): New function, does what
9630         alloc_buffer used to do. Fixes #322874.
9631
9632         * docs/gst/gstreamer-sections.txt: 
9633         * docs/design/part-negotiation.txt: 
9634         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
9635         changes.
9636
9637 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9638
9639         patch by: Sebastien Moutte
9640
9641         * win32/MANIFEST:
9642         * win32/common/config.h.in:
9643         * win32/vs6/libgstcontroller.dsp:
9644           win32 build fixes
9645
9646 2005-12-05  Wim Taymans  <wim@fluendo.com>
9647
9648         * gst/gstcaps.c: (gst_caps_is_equal):
9649         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9650         (gst_fake_src_create):
9651         Back out previous code changes, leave doc updates, file bugs 
9652         instead. 
9653
9654 2005-12-05  Wim Taymans  <wim@fluendo.com>
9655
9656         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9657         (gst_fake_src_get_times), (gst_fake_src_create):
9658         * plugins/elements/gstfakesrc.h:
9659         Fix broken sync code.
9660
9661 2005-12-05  Wim Taymans  <wim@fluendo.com>
9662
9663         * gst/gstcaps.c: (gst_caps_is_equal):
9664         Comparing NULL against !NULL yields different caps, not a
9665         failure.
9666
9667 2005-12-05  Wim Taymans  <wim@fluendo.com>
9668
9669         * gst/gstpipeline.c:
9670         Fix small typo in docs.
9671
9672 2005-12-05  Andy Wingo  <wingo@pobox.com>
9673
9674         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
9675
9676         * gst/gst.c (init_post): remove hard-coded 0.9 location for
9677         registries/plugins with a MAJORMINOR one.
9678         (plugin_desc): Rename library from gstcoreleements to
9679         staticelements. Fixes #323222.
9680
9681 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
9682
9683         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
9684           Change debug category to 'collectpads' from 'collect_pads'
9685           (fixes #323250).
9686
9687 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9688
9689         patch by: Sebastien Moutte
9690
9691         * libs/gst/controller/gstinterpolation.c:
9692           use convert function for uint64/double
9693         * win32/vs6/libgstcontroller.dsp:
9694           link to GLib
9695
9696 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9697
9698         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
9699         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
9700         * gst/gstutils.h:
9701         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9702           add tests that seem to show that the guint64/gdouble conversions
9703           are correct.
9704
9705 2005-12-02  Wim Taymans  <wim@fluendo.com>
9706
9707         * gst/gstregistry.c: (gst_registry_add_path):
9708         * gst/gstregistry.h:
9709         * gst/gstregistryxml.c:
9710         Fix docs again.
9711
9712 2005-12-02  Wim Taymans  <wim@fluendo.com>
9713
9714         * gst/gstutils.c: (gst_util_uint64_scale_int64),
9715         (gst_util_uint64_scale_int):
9716         Small cleanup.
9717
9718         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9719         Add debug log line.
9720
9721         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
9722         Add FIXME.
9723
9724 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9725
9726         * win32/MANIFEST:
9727         * win32/common/config.h:
9728         * win32/vs6/gstreamer.dsw:
9729         * win32/vs6/libgstcoreelements.dsp:
9730         * win32/vs6/libgstelements.dsp:
9731           renamed core elements plugin
9732
9733 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9734
9735         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
9736         (get_candidates):
9737           do piece-wise major/minor comparison so 0.9 < 0.10
9738           also allow .exe extensions for tools
9739
9740 2005-12-02  Michael Smith  <msmith@fluendo.com>
9741
9742         * gst/gst.c:
9743           Escape a % to make gtkdoc happier; bug 322958.
9744
9745 === release 0.9.7 ===
9746
9747 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9748
9749         * configure.ac:
9750           releasing 0.9.7, "My Dog Has No Nose"
9751
9752 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9753
9754         * common/gst-xmlinspect.py:
9755         * configure.ac:
9756         * docs/libs/tmpl/gstdataprotocol.sgml:
9757         * docs/random/release:
9758         * po/af.po:
9759         * po/az.po:
9760         * po/bg.po:
9761         * po/ca.po:
9762         * po/cs.po:
9763         * po/de.po:
9764         * po/en_GB.po:
9765         * po/fr.po:
9766         * po/it.po:
9767         * po/nb.po:
9768         * po/nl.po:
9769         * po/ru.po:
9770         * po/sq.po:
9771         * po/sr.po:
9772         * po/sv.po:
9773         * po/tr.po:
9774         * po/uk.po:
9775         * po/vi.po:
9776         * win32/common/config.h:
9777         * win32/common/config.h.in:
9778         * win32/vs6/gst_inspect.dsp:
9779         * win32/vs6/gst_launch.dsp:
9780         * win32/vs6/libgstbase.dsp:
9781         * win32/vs6/libgstelements.dsp:
9782         * win32/vs6/libgstreamer.dsp:
9783         * win32/vs7/GStreamer.vcproj:
9784         * win32/vs7/gst-inspect.vcproj:
9785         * win32/vs7/gst-launch.vcproj:
9786         * win32/vs7/libgstbase.vcproj:
9787           bump GST_MAJORMINOR to 0.10
9788           reset libtool version
9789
9790 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9791
9792         * po/LINGUAS:
9793         * po/bg.po:
9794           Added Bulgarian translation by (Alexander Shopov)
9795
9796 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9797
9798         * tests/check/gst/gstplugin.c:
9799           fix test
9800
9801 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9802
9803         * common/gst-xmlinspect.py:
9804         * common/gtk-doc-plugins.mak:
9805         * configure.ac:
9806         * docs/Makefile.am:
9807         * docs/gst/Makefile.am:
9808         * docs/gst/gstreamer-docs.sgml:
9809         * docs/gst/gstreamer-sections.txt:
9810         * docs/gst/gstreamer.types:
9811         * docs/gst/gstreamer.types.in:
9812         * docs/plugins/Makefile.am:
9813         * docs/plugins/gstreamer-plugins-docs.sgml:
9814         * docs/plugins/gstreamer-plugins-sections.txt:
9815         * docs/plugins/gstreamer-plugins.types:
9816         * docs/plugins/inspect.stamp:
9817         * docs/plugins/inspect/plugin-coreelements.xml:
9818         * docs/plugins/inspect/plugin-coreindexers.xml:
9819         * docs/plugins/scanobj-build.stamp:
9820         * gstreamer.spec.in:
9821         * plugins/elements/Makefile.am:
9822         * plugins/elements/gstelements.c:
9823         * plugins/elements/gstfakesink.c:
9824         * plugins/elements/gstfakesrc.c:
9825         * plugins/elements/gstfilesink.c:
9826         * plugins/elements/gstfilesrc.c:
9827         * plugins/elements/gstqueue.c:
9828         * plugins/indexers/Makefile.am:
9829         * plugins/indexers/gstindexers.c:
9830           document core plugins in a separate document just like all the
9831           others
9832           rename these plugins to something starting with core
9833
9834 2005-12-01  Andy Wingo  <wingo@pobox.com>
9835
9836         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
9837         padding here before, but it missed the commit.
9838
9839 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9840
9841         * libs/gst/controller/gstinterpolation.c:
9842           whitespace prices have crashed, we should feel free to use some now
9843           use gst_guint64_to_gdouble
9844
9845 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9846
9847         * libs/gst/controller/gstcontroller.c:
9848         * libs/gst/controller/gsthelper.c:
9849         * libs/gst/controller/gstinterpolation.c:
9850         * libs/gst/controller/lib.c:
9851           wrap config.h include
9852
9853 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9854
9855         * docs/gst/gstreamer-sections.txt:
9856           update docs
9857
9858 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9859
9860         * plugins/elements/gstelements.c:
9861         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
9862         (gst_fd_sink__class_init), (gst_fd_sink__init),
9863         (gst_fd_sink__chain), (gst_fd_sink__set_property),
9864         (gst_fd_sink__get_property):
9865         * plugins/elements/gstfdsink.h:
9866         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
9867         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
9868         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
9869         (gst_fd_src_unlock), (gst_fd_src_set_property),
9870         (gst_fd_src_get_property), (gst_fd_src_create),
9871         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
9872         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
9873         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
9874         (gst_fd_src_uri_handler_init):
9875         * plugins/elements/gstfdsrc.h:
9876         * plugins/elements/gstqueue.c: (gst_queue_get_type):
9877           more anal cleanup
9878
9879 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9880
9881         * docs/gst/Makefile.am:
9882         * docs/gst/gstreamer.types.in:
9883         * gst/Makefile.am:
9884           fix the docs build
9885
9886 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
9887
9888         * configure.ac:
9889         * gst/Makefile.am:
9890         * gst/gst.c:
9891         * gst/gstplugin.h:
9892         * gst/gstregistry.h:
9893         * tests/benchmarks/complexity.c:
9894         * tests/benchmarks/mass-elements.c:
9895         * tests/check/Makefile.am:
9896         * tools/Makefile.am:
9897         * tools/gst-inspect.c:
9898         * tools/gst-xmlinspect.c:
9899           various fixes to make
9900           --disable-nls --disable-registry --disable-loadsave
9901           --disable-parse --disable-gst-debug
9902           work and get the core .so down to 360444 bytes after stripping
9903
9904 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
9905
9906         * Makefile.am:
9907         * configure.ac:
9908           descend into tests
9909         * docs/random/thomasvs/TODO:
9910         * tests/Makefile.am:
9911         * tests/README:
9912           add a README
9913
9914 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
9915
9916         * win32/GStreamer.vcproj:
9917         * win32/MANIFEST:
9918         * win32/Makefile:
9919         * win32/Makefile.inspect:
9920         * win32/Makefile.launch:
9921         * win32/Makefile.register:
9922         * win32/README.txt:
9923         * win32/gst-inspect.vcproj:
9924         * win32/gst-launch.vcproj:
9925         * win32/gst-register.vcproj:
9926         * win32/gstelements.vcproj:
9927         * win32/gstgetbits.def:
9928         * win32/gstgetbits.vcproj:
9929         * win32/gstreamer-dbg.def:
9930         * win32/gstreamer.def:
9931         * win32/libgstbase.def:
9932         * win32/libgstbase.vcproj:
9933         * win32/link_oldruntime.c:
9934         * win32/mman.c:
9935         * win32/mman.h:
9936         * win32/mman.inl:
9937         * win32/msvc71.sln:
9938           move even more stuff, win32/ is nice and clean now
9939
9940 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
9941
9942         * libs/gst/control/.cvsignore:
9943         * win32/MANIFEST:
9944         * win32/config.h:
9945         * win32/dirent.c:
9946         * win32/dirent.h:
9947         * win32/gstbytestream.def:
9948         * win32/gstbytestream.vcproj:
9949         * win32/gstconfig.h:
9950         * win32/gstenumtypes.c:
9951         * win32/gstenumtypes.h:
9952         * win32/gstoptimalscheduler.vcproj:
9953         * win32/gstversion.h:
9954         * win32/gtchar.h:
9955         * win32/testsuite/bins.vcproj:
9956         * win32/testsuite/bytestream.vcproj:
9957         * win32/testsuite/caps.vcproj:
9958         * win32/testsuite/cleanup.vcproj:
9959         * win32/testsuite/clock.vcproj:
9960         * win32/testsuite/debug.vcproj:
9961         * win32/testsuite/dlopen.vcproj:
9962         * win32/testsuite/dynparams.vcproj:
9963         * win32/testsuite/elements.vcproj:
9964         * win32/testsuite/ghostpads.vcproj:
9965         * win32/testsuite/indexers.vcproj:
9966         * win32/testsuite/negotiation.vcproj:
9967         * win32/testsuite/parse.vcproj:
9968         * win32/testsuite/plugin.vcproj:
9969         * win32/testsuite/refcounting.vcproj:
9970         * win32/testsuite/schedulers.vcproj:
9971         * win32/testsuite/states.vcproj:
9972         * win32/testsuite/tags.vcproj:
9973         * win32/testsuite/threads.vcproj:
9974           remove old win32 stuff that isn't maintained and should be
9975           reorganized
9976
9977 2005-11-30  Andy Wingo  <wingo@pobox.com>
9978
9979         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
9980         loading the gst.interfaces python module bork.
9981
9982         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
9983         available since GLib 2.2. Fixes #318031.
9984
9985 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
9986
9987         * Makefile.am:
9988         * check/.cvsignore:
9989         * check/Makefile.am:
9990         * check/elements/.cvsignore:
9991         * check/elements/fakesrc.c:
9992         * check/elements/fdsrc.c:
9993         * check/elements/identity.c:
9994         * check/generic/.cvsignore:
9995         * check/generic/states.c:
9996         * check/gst-libs/.cvsignore:
9997         * check/gst-libs/controller.c:
9998         * check/gst-libs/gdp.c:
9999         * check/gst/.cvsignore:
10000         * check/gst/capslist.h:
10001         * check/gst/gst.c:
10002         * check/gst/gstbin.c:
10003         * check/gst/gstbuffer.c:
10004         * check/gst/gstbus.c:
10005         * check/gst/gstcaps.c:
10006         * check/gst/gstelement.c:
10007         * check/gst/gstevent.c:
10008         * check/gst/gstghostpad.c:
10009         * check/gst/gstiterator.c:
10010         * check/gst/gstmessage.c:
10011         * check/gst/gstminiobject.c:
10012         * check/gst/gstobject.c:
10013         * check/gst/gstpad.c:
10014         * check/gst/gstpipeline.c:
10015         * check/gst/gstplugin.c:
10016         * check/gst/gstsegment.c:
10017         * check/gst/gststructure.c:
10018         * check/gst/gstsystemclock.c:
10019         * check/gst/gsttag.c:
10020         * check/gst/gstutils.c:
10021         * check/gst/gstvalue.c:
10022         * check/net/.cvsignore:
10023         * check/net/gstnetclientclock.c:
10024         * check/net/gstnettimeprovider.c:
10025         * check/pipelines/.cvsignore:
10026         * check/pipelines/cleanup.c:
10027         * check/pipelines/simple_launch_lines.c:
10028         * check/pipelines/stress.c:
10029         * check/states/.cvsignore:
10030         * check/states/sinks.c:
10031         * configure.ac:
10032         * examples/Makefile.am:
10033         * examples/appreader/.cvsignore:
10034         * examples/appreader/Makefile.am:
10035         * examples/appreader/appreader.c:
10036         * examples/controller/.cvsignore:
10037         * examples/controller/Makefile.am:
10038         * examples/controller/audio-example.c:
10039         * examples/cutter/.cvsignore:
10040         * examples/cutter/Makefile.am:
10041         * examples/cutter/cutter.c:
10042         * examples/cutter/cutter.h:
10043         * examples/events/Makefile.am:
10044         * examples/events/seek.c:
10045         * examples/helloworld/.cvsignore:
10046         * examples/helloworld/Makefile.am:
10047         * examples/helloworld/helloworld.c:
10048         * examples/helloworld2/.cvsignore:
10049         * examples/helloworld2/Makefile.am:
10050         * examples/helloworld2/helloworld2.c:
10051         * examples/launch/.cvsignore:
10052         * examples/launch/Makefile.am:
10053         * examples/launch/mp3parselaunch.c:
10054         * examples/launch/mp3play:
10055         * examples/manual/.cvsignore:
10056         * examples/manual/Makefile.am:
10057         * examples/manual/extract.pl:
10058         * examples/metadata/Makefile.am:
10059         * examples/metadata/read-metadata.c:
10060         * examples/mixer/.cvsignore:
10061         * examples/mixer/Makefile.am:
10062         * examples/mixer/mixer.c:
10063         * examples/mixer/mixer.h:
10064         * examples/pingpong/.cvsignore:
10065         * examples/pingpong/Makefile.am:
10066         * examples/pingpong/pingpong.c:
10067         * examples/plugins/.cvsignore:
10068         * examples/plugins/Makefile.am:
10069         * examples/plugins/example.c:
10070         * examples/plugins/example.h:
10071         * examples/pwg/.cvsignore:
10072         * examples/pwg/Makefile.am:
10073         * examples/pwg/extract.pl:
10074         * examples/queue/.cvsignore:
10075         * examples/queue/Makefile.am:
10076         * examples/queue/queue.c:
10077         * examples/queue2/.cvsignore:
10078         * examples/queue2/Makefile.am:
10079         * examples/queue2/queue2.c:
10080         * examples/queue3/.cvsignore:
10081         * examples/queue3/Makefile.am:
10082         * examples/queue3/queue3.c:
10083         * examples/queue4/.cvsignore:
10084         * examples/queue4/Makefile.am:
10085         * examples/queue4/queue4.c:
10086         * examples/retag/.cvsignore:
10087         * examples/retag/Makefile.am:
10088         * examples/retag/retag.c:
10089         * examples/retag/transcode.c:
10090         * examples/thread/.cvsignore:
10091         * examples/thread/Makefile.am:
10092         * examples/thread/thread.c:
10093         * examples/typefind/.cvsignore:
10094         * examples/typefind/Makefile.am:
10095         * examples/typefind/typefind.c:
10096         * examples/xml/.cvsignore:
10097         * examples/xml/Makefile.am:
10098         * examples/xml/createxml.c:
10099         * examples/xml/runxml.c:
10100         * tests/Makefile.am:
10101         * tests/check/Makefile.am:
10102         * testsuite/.cvsignore:
10103         * testsuite/Makefile.am:
10104         * testsuite/Rules:
10105         * testsuite/caps/.cvsignore:
10106         * testsuite/caps/Makefile.am:
10107         * testsuite/caps/app_fixate.c:
10108         * testsuite/caps/audioscale.c:
10109         * testsuite/caps/caps.c:
10110         * testsuite/caps/caps.h:
10111         * testsuite/caps/caps_strings:
10112         * testsuite/caps/compatibility.c:
10113         * testsuite/caps/deserialize.c:
10114         * testsuite/caps/enumcaps.c:
10115         * testsuite/caps/eratosthenes.c:
10116         * testsuite/caps/filtercaps.c:
10117         * testsuite/caps/fixed.c:
10118         * testsuite/caps/fraction-convert.c:
10119         * testsuite/caps/fraction-multiply-and-zero.c:
10120         * testsuite/caps/intersect2.c:
10121         * testsuite/caps/intersection.c:
10122         * testsuite/caps/normalisation.c:
10123         * testsuite/caps/random.c:
10124         * testsuite/caps/renegotiate.c:
10125         * testsuite/caps/sets.c:
10126         * testsuite/caps/simplify.c:
10127         * testsuite/caps/string-conversions.c:
10128         * testsuite/caps/structure.c:
10129         * testsuite/caps/subtract.c:
10130         * testsuite/caps/union.c:
10131         * testsuite/debug/.cvsignore:
10132         * testsuite/debug/Makefile.am:
10133         * testsuite/debug/category.c:
10134         * testsuite/debug/commandline.c:
10135         * testsuite/debug/global.c:
10136         * testsuite/debug/output.c:
10137         * testsuite/debug/printf_extension.c:
10138         * testsuite/dlopen/.cvsignore:
10139         * testsuite/dlopen/Makefile.am:
10140         * testsuite/dlopen/dlopen_gst.c:
10141         * testsuite/dlopen/loadgst.c:
10142         * testsuite/elements/.cvsignore:
10143         * testsuite/elements/Makefile.am:
10144         * testsuite/elements/gst-inspect-check.in:
10145         * testsuite/elements/struct_i386.h:
10146         * testsuite/elements/struct_size.c:
10147         * testsuite/indexers/.cvsignore:
10148         * testsuite/indexers/Makefile.am:
10149         * testsuite/indexers/cache1.c:
10150         * testsuite/indexers/indexdump.c:
10151         * testsuite/parse/.cvsignore:
10152         * testsuite/parse/Makefile.am:
10153         * testsuite/parse/parse1.c:
10154         * testsuite/parse/parse2.c:
10155         * testsuite/plugin/.cvsignore:
10156         * testsuite/plugin/Makefile.am:
10157         * testsuite/plugin/README:
10158         * testsuite/plugin/dynamic.c:
10159         * testsuite/plugin/linked.c:
10160         * testsuite/plugin/loading.c:
10161         * testsuite/plugin/registry.c:
10162         * testsuite/plugin/static.c:
10163         * testsuite/plugin/static2.c:
10164         * testsuite/plugin/testplugin.c:
10165         * testsuite/plugin/testplugin2.c:
10166         * testsuite/plugin/testplugin2_s.c:
10167         * testsuite/plugin/testplugin_s.c:
10168         * testsuite/refcounting/.cvsignore:
10169         * testsuite/refcounting/Makefile.am:
10170         * testsuite/refcounting/bin.c:
10171         * testsuite/refcounting/element.c:
10172         * testsuite/refcounting/element_pad.c:
10173         * testsuite/refcounting/mainloop.c:
10174         * testsuite/refcounting/mem.c:
10175         * testsuite/refcounting/mem.h:
10176         * testsuite/refcounting/object.c:
10177         * testsuite/refcounting/pad.c:
10178         * testsuite/refcounting/sched.c:
10179         * testsuite/refcounting/thread.c:
10180         * testsuite/states/.cvsignore:
10181         * testsuite/states/Makefile.am:
10182         * testsuite/states/bin.c:
10183         * testsuite/states/locked.c:
10184         * testsuite/states/parent.c:
10185         * testsuite/threads/.cvsignore:
10186         * testsuite/threads/159566.c:
10187         * testsuite/threads/159852.c:
10188         * testsuite/threads/Makefile.am:
10189         * testsuite/threads/queue.c:
10190         * testsuite/threads/signals.c:
10191         * testsuite/threads/staticrec.c:
10192         * testsuite/threads/thread.c:
10193         * testsuite/threads/threadb.c:
10194         * testsuite/threads/threadc.c:
10195         * testsuite/threads/threadd.c:
10196         * testsuite/threads/threade.c:
10197         * testsuite/threads/threadf.c:
10198         * testsuite/threads/threadg.c:
10199         * testsuite/threads/threadh.c:
10200         * testsuite/threads/threadi.c:
10201           move all of these under tests
10202
10203 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10204
10205         * configure.ac:
10206         * tests/Makefile.am:
10207           fix distcheck
10208
10209 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10210
10211         * docs/gst/gstreamer-sections.txt:
10212         * tests/sched/.cvsignore:
10213         * tests/sched/Makefile.am:
10214         * tests/sched/cases/(fs-fs).xml:
10215         * tests/sched/cases/(fs-i-fs).xml:
10216         * tests/sched/cases/(fs-i-i-fs).xml:
10217         * tests/sched/cases/(fs-i-q[i-fs]).xml:
10218         * tests/sched/dynamic-pipeline.c:
10219         * tests/sched/interrupt1.c:
10220         * tests/sched/interrupt2.c:
10221         * tests/sched/interrupt3.c:
10222         * tests/sched/runtestcases:
10223         * tests/sched/runxml.c:
10224         * tests/sched/sched-stress.c:
10225         * tests/sched/sort.c:
10226         * tests/sched/testcases:
10227         * tests/sched/testcases1.tc:
10228         * tests/seeking/.cvsignore:
10229         * tests/seeking/Makefile.am:
10230         * tests/seeking/seeking1.c:
10231         * tests/threadstate/.cvsignore:
10232         * tests/threadstate/Makefile.am:
10233         * tests/threadstate/test1.c:
10234         * tests/threadstate/test2.c:
10235         * tests/threadstate/threadstate1.c:
10236         * tests/threadstate/threadstate2.c:
10237         * tests/threadstate/threadstate3.c:
10238         * tests/threadstate/threadstate4.c:
10239         * tests/threadstate/threadstate5.c:
10240           remove obsolete tests
10241         * configure.ac:
10242         * tests/bench-complexity.scm:
10243         * tests/bench-mass_elements.scm:
10244         * tests/complexity.c:
10245         * tests/complexity.gnuplot:
10246         * tests/instantiate/.cvsignore:
10247         * tests/instantiate/Makefile.am:
10248         * tests/instantiate/caps.c:
10249         * tests/mass_elements.c:
10250         * tests/network-clock-utils.scm:
10251         * tests/network-clock.scm:
10252         * tests/plot-data:
10253         First pass at cleaning up tests/ dir before moving the rest
10254         Combined with CVS surgery
10255
10256 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10257
10258         * po/POTFILES.in:
10259           queue has moved, update
10260
10261 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10262
10263         * docs/gst/gstreamer-sections.txt:
10264           remove double entries from the docs
10265         * gst/gst_private.h:
10266         * gst/gstinfo.c: (_gst_debug_init):
10267           remove the THREAD debug category
10268         * gst/Makefile.am:
10269         * gst/gstqueue.c:
10270         * gst/gstqueue.h:
10271         * docs/gst/gstreamer.types:
10272         * plugins/elements/gstqueue.c: (gst_queue_get_type),
10273         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
10274           completely move queue and fix up debugging categories
10275
10276 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10277
10278         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10279           make initialization portable, using LL is not
10280
10281 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10282
10283         * win32/common/gstconfig.h:
10284           add large padding
10285
10286 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10287
10288         * win32/common/libgstreamer.def:
10289           rename symbols; sort base section
10290
10291 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10292
10293         * gst/gstclock.c: (do_linear_regression):
10294           remove crack non-portable handrolled DEBUG macro
10295
10296 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10297
10298         * docs/random/release:
10299           update notes
10300         * win32/common/gstenumtypes.c: (register_gst_object_flags),
10301         (gst_object_flags_get_type), (register_gst_bin_flags),
10302         (gst_bin_flags_get_type), (register_gst_buffer_flag),
10303         (gst_buffer_flag_get_type), (register_gst_bus_flags),
10304         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10305         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
10306         (gst_caps_flags_get_type), (register_gst_clock_return),
10307         (gst_clock_return_get_type), (register_gst_clock_entry_type),
10308         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10309         (gst_clock_flags_get_type), (register_gst_state),
10310         (gst_state_get_type), (register_gst_state_change_return),
10311         (gst_state_change_return_get_type), (register_gst_state_change),
10312         (gst_state_change_get_type), (register_gst_element_flags),
10313         (gst_element_flags_get_type), (register_gst_core_error),
10314         (gst_core_error_get_type), (register_gst_library_error),
10315         (gst_library_error_get_type), (register_gst_resource_error),
10316         (gst_resource_error_get_type), (register_gst_stream_error),
10317         (gst_stream_error_get_type), (register_gst_event_type_flags),
10318         (gst_event_type_flags_get_type), (register_gst_event_type),
10319         (gst_event_type_get_type), (register_gst_seek_type),
10320         (gst_seek_type_get_type), (register_gst_seek_flags),
10321         (gst_seek_flags_get_type), (register_gst_format),
10322         (gst_format_get_type), (register_gst_index_certainty),
10323         (gst_index_certainty_get_type), (register_gst_index_entry_type),
10324         (gst_index_entry_type_get_type),
10325         (register_gst_index_lookup_method),
10326         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10327         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10328         (gst_index_resolver_method_get_type), (register_gst_index_flags),
10329         (gst_index_flags_get_type), (register_gst_debug_level),
10330         (gst_debug_level_get_type), (register_gst_debug_color_flags),
10331         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10332         (gst_iterator_result_get_type), (register_gst_iterator_item),
10333         (gst_iterator_item_get_type), (register_gst_message_type),
10334         (gst_message_type_get_type), (register_gst_mini_object_flags),
10335         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10336         (gst_pad_link_return_get_type), (register_gst_flow_return),
10337         (gst_flow_return_get_type), (register_gst_activate_mode),
10338         (gst_activate_mode_get_type), (register_gst_pad_direction),
10339         (gst_pad_direction_get_type), (register_gst_pad_flags),
10340         (gst_pad_flags_get_type), (register_gst_pad_presence),
10341         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10342         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10343         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10344         (gst_plugin_error_get_type), (register_gst_plugin_flags),
10345         (gst_plugin_flags_get_type), (register_gst_rank),
10346         (gst_rank_get_type), (register_gst_query_type),
10347         (gst_query_type_get_type), (register_gst_tag_merge_mode),
10348         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10349         (gst_tag_flag_get_type), (register_gst_task_state),
10350         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10351         (gst_alloc_trace_flags_get_type),
10352         (register_gst_type_find_probability),
10353         (gst_type_find_probability_get_type), (register_gst_uri_type),
10354         (gst_uri_type_get_type), (register_gst_parse_error),
10355         (gst_parse_error_get_type):
10356         * win32/common/gstenumtypes.h:
10357         * win32/common/gstversion.h:
10358           update visual studio generated files
10359
10360 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10361
10362         * win32/vs6/libgstbase.dsp:
10363         * win32/vs6/libgstelements.dsp:
10364           update project files for new locations
10365
10366 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10367
10368         * Makefile.am:
10369           remove some files
10370         * README:
10371           reinstate and update
10372         * DEVEL:
10373         * REQUIREMENTS:
10374           removed
10375         * LICENSE:
10376         * docs/random/LICENSE:
10377           moved to random
10378
10379 2005-11-30  Edward Hervey  <edward@fluendo.com>
10380
10381         * gst/gsttypefind.c: (gst_type_find_register):
10382         * gst/gsttypefind.h:
10383         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
10384         (gst_type_find_factory_dispose):
10385         * gst/gsttypefindfactory.h:
10386         Fix memory leak in GstTypeFindFactory.
10387
10388 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10389
10390         * gst/gst.c:
10391         * plugins/elements/Makefile.am:
10392         * plugins/elements/gstelements.c:
10393         * plugins/elements/gstqueue.c:
10394           move queue from core to the elements plugin
10395
10396 2005-11-29  Andy Wingo  <wingo@pobox.com>
10397
10398         * libs/gst/base/gstbasetransform.h: 
10399         * libs/gst/base/gstbasesrc.h: 
10400         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
10401
10402         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
10403         of pointers by which to pad very extensible base classes (like the
10404         ones in libs/gst/base).
10405
10406 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10407
10408         * docs/gst/gstreamer-docs.sgml:
10409         * docs/gst/gstreamer-sections.txt:
10410         * docs/libs/gstreamer-libs-docs.sgml:
10411         * docs/libs/gstreamer-libs-sections.txt:
10412           moving documentation from core to lib
10413
10414 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10415
10416         * check/Makefile.am:
10417         * configure.ac:
10418         * docs/gst/Makefile.am:
10419         * gst/Makefile.am:
10420         * gst/base/.cvsignore:
10421         * gst/base/Makefile.am:
10422         * gst/base/README:
10423         * gst/base/gstadapter.c:
10424         * gst/base/gstadapter.h:
10425         * gst/base/gstbasesink.c:
10426         * gst/base/gstbasesink.h:
10427         * gst/base/gstbasesrc.c:
10428         * gst/base/gstbasesrc.h:
10429         * gst/base/gstbasetransform.c:
10430         * gst/base/gstbasetransform.h:
10431         * gst/base/gstcollectpads.c:
10432         * gst/base/gstcollectpads.h:
10433         * gst/base/gstpushsrc.c:
10434         * gst/base/gstpushsrc.h:
10435         * gst/base/gsttypefindhelper.c:
10436         * gst/base/gsttypefindhelper.h:
10437         * gst/check/Makefile.am:
10438         * gst/check/gstcheck.c:
10439         * gst/check/gstcheck.h:
10440         * gst/net/Makefile.am:
10441         * gst/net/gstnet.h:
10442         * gst/net/gstnetclientclock.c:
10443         * gst/net/gstnetclientclock.h:
10444         * gst/net/gstnettimepacket.c:
10445         * gst/net/gstnettimepacket.h:
10446         * gst/net/gstnettimeprovider.c:
10447         * gst/net/gstnettimeprovider.h:
10448         * libs/gst/Makefile.am:
10449         * libs/gst/base/Makefile.am:
10450         * libs/gst/base/gstbasetransform.c:
10451         * libs/gst/check/Makefile.am:
10452         * plugins/elements/Makefile.am:
10453         * po/POTFILES.in:
10454           CVS surgery + support to move base, check, and net out of gst
10455           and into libs/gst
10456
10457 2005-11-29  Andy Wingo  <wingo@pobox.com>
10458
10459         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
10460
10461         * gst/gststructure.h (struct _GstStructure): Only one pointer of
10462         padding.
10463
10464         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
10465
10466         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
10467
10468         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
10469
10470         * gst/gstobject.h: (struct _GstObject): Only one pointer of
10471         padding; reduces object size by about 30%. We don't expect
10472         anything else to go into gstobject.
10473
10474         * gst/gstminiobject.h (struct _GstMiniObject)
10475         (struct _GstMiniObjectClass): Only one pointer of padding; the
10476         payload is only a pointer and two ints anyway. For the class there
10477         are only two methods as well.
10478         
10479         * gst/gstelement.h (struct _GstElementClass): Removed
10480         the state_changed signal callback, it is not used.
10481
10482 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10483
10484         * docs/gst/gstreamer.types:
10485           fix includes, though they are a little dinky
10486
10487 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10488
10489         * check/Makefile.am:
10490           look in the right place for elements, a lot more chance of
10491           success
10492         * gst/Makefile.am:
10493           remove indexers and elements subdirs
10494         * plugins/Makefile.am:
10495           make indexers conditional
10496
10497 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10498
10499         * Makefile.am:
10500         * configure.ac:
10501         * plugins/elements/Makefile.am:
10502         * plugins/elements/gstcapsfilter.c:
10503         * plugins/elements/gstfilesink.c:
10504         * plugins/elements/gstfilesrc.c:
10505         * plugins/elements/gstidentity.c:
10506         * plugins/indexers/Makefile.am:
10507           do CVS surgery and related build fixery to move elements
10508           and indexers in a new gstreamer/plugins directory, out of the
10509           gst/ directory
10510
10511 2005-11-29  Andy Wingo  <wingo@pobox.com>
10512
10513         * check/Makefile.am:
10514         * pkgconfig/gstreamer-net-uninstalled.pc.in:
10515         * pkgconfig/gstreamer-net.pc.in:
10516         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
10517         #322257.
10518
10519 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10520
10521         * tools/Makefile.am:
10522         * tools/gst-complete.1.in:
10523         * tools/gst-complete.c:
10524         * tools/gst-compprep.1.in:
10525         * tools/gst-compprep.c:
10526           removing -compprep and -complete
10527
10528 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10529
10530         * gst/gstevent.c: (gst_event_new_new_segment),
10531         (gst_event_parse_new_segment):
10532         * gst/gstevent.h:
10533           fix #320529 - clean up new_segment API and structure.
10534           Let's hope everyone was using the methods, and not the structure.
10535
10536 2005-11-29  Edward Hervey  <edward@fluendo.com>
10537
10538         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10539         (gst_base_sink_event), (gst_base_sink_do_sync),
10540         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
10541         Properly handle non GST_FORMAT_TIME segment
10542         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
10543         Properly handle non GST_FORMAT_TIME segment
10544         * gst/gstsegment.c:
10545         This function is valid if the accumulator is 0 and the format
10546         is different from the requested format.
10547         
10548 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
10549
10550         * docs/gst/gstreamer-sections.txt:
10551         Add gst_query_new_seeking and gst_query_parse_seeking to the
10552         docs.
10553
10554 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
10555
10556         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
10557           Treat a pad alloc with new caps the same as if we were not
10558           negotiated, in order to allow a changing upstream output
10559           to produce a new format of data.
10560
10561 2005-11-29  Edward Hervey  <edward@fluendo.com>
10562
10563         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10564         (gst_base_transform_event), (gst_base_transform_eventfunc):
10565         The event virtual method is now properly implemented, with a default
10566         handler
10567         Sub classes should call the parent_class event method. They should
10568         return FALSE if they had a problem handling the given event, or don't
10569         want GstBaseTransform to send that even downstream
10570         * gst/elements/gstidentity.c: (gst_identity_class_init),
10571         (gst_identity_init), (gst_identity_event),
10572         (gst_identity_transform_ip), (gst_identity_set_property),
10573         (gst_identity_get_property):
10574         * gst/elements/gstidentity.h:
10575         Added the single-segment boolean property.
10576         If set to TRUE, it will output a single segment of data, starting from
10577         0, will eat up all incoming newsegment, and modify the timestamp of the
10578         buffers accordingly
10579
10580 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
10581
10582         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
10583           Don't ref NULL target pad (#322751). Improve docs.
10584
10585 2005-11-29  Michael Smith  <msmith@fluendo.com>
10586
10587         * gst/gstregistryxml.c: (load_plugin):
10588           Don't crash if we failed to load a feature from a plugin. 
10589
10590 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10591
10592         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10593         (GST_START_TEST):
10594           use more check API and less GLib API
10595
10596 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10597
10598         * Makefile.am:
10599           don't run checks if we don't have check
10600         * common/check.mak:
10601           remove the registry when running make torture
10602         * docs/gst/gstreamer-sections.txt:
10603           remove second multiply
10604         * gst/gstqueue.c: (gst_queue_loop):
10605           fix a compile warning when disabling debug
10606
10607 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10608
10609         * gst/gstinfo.h:
10610         Hey! Let's print the pad name if the pointer != NULL instead
10611         of when it == NULL :-)
10612
10613 2005-11-28  Wim Taymans  <wim@fluendo.com>
10614
10615         * check/gst/gstutils.c: (GST_START_TEST):
10616         Updated check, add some scaling accuracy checking code.
10617
10618         * gst/gstutils.c: (gst_util_div128_64),
10619         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
10620         (gst_util_uint64_scale_int):
10621         Fix 6 times faster division code. Optimize for common 
10622         1/1 and less common X/1 cases.
10623
10624 2005-11-28  Wim Taymans  <wim@fluendo.com>
10625
10626         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10627         More checks.
10628
10629         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
10630         (do_linear_regression), (gst_clock_add_observation):
10631         Cleanups.
10632         Release lock when the clock cannot be slaved.
10633         Catch the case where the regression returned an invalid denominator.
10634
10635         * gst/gstutils.c: (gst_util_div128_64_iterate),
10636         (gst_util_div128_64), (gst_util_uint64_scale_int64),
10637         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10638         Add protentially more performant non-iterative 128/64 divide function
10639         that unfortunatly does not work yet.
10640         Shortcut the trivial 0/X = 0 case.
10641         Remove the warnings on overflow.
10642
10643 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10644
10645         * gst/gstplugin.c: (gst_plugin_register_func):
10646           everything causing a plugin not to load should be at least a WARNING
10647
10648 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
10649
10650         * docs/random/ensonic/dparams.txt:
10651           some TODOs for the next dev cycle
10652         * libs/gst/controller/gstcontroller.c:
10653         (gst_controlled_property_set_interpolation_mode),
10654         (gst_controlled_property_new):
10655         * libs/gst/controller/gstcontroller.h:
10656           use base type to assign acccessor functions
10657
10658 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10659
10660         * check/Makefile.am:
10661         Oops, that should have been top_srcdir
10662
10663 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10664
10665         * check/Makefile.am:
10666         * check/elements/fdsrc.c: (GST_START_TEST):
10667         Use a cmdline define to specify the location of a file to use for
10668         testing, to avoid breaking distcheck.
10669
10670 2005-11-28  Andy Wingo  <wingo@pobox.com>
10671
10672         * gst/gstpad.c (fixate_value): Use array functions for arrays.
10673
10674 2005-11-28  Edward Hervey  <edward@fluendo.com>
10675
10676         * tools/gst-launch.c: (main):
10677         Clarify the output strings, makes it easier to translate.
10678         Fixes #322626
10679
10680 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10681
10682         * gst/Makefile.am:
10683           don't try and build net if we don't even have <sys/socket.h>
10684
10685 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
10686
10687         * check/Makefile.am:
10688         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
10689         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
10690           Add tests for fdsrc seekability
10691
10692         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10693         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
10694         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
10695         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
10696         * gst/elements/gstfdsrc.h:
10697           fdsrc should not be a 'live' source.
10698           Implement seeking on seekable fd's.
10699
10700         * gst/gstquery.c: (gst_query_new_seeking),
10701         (gst_query_parse_seeking):
10702         * gst/gstquery.h:
10703           Implement SEEKING query functions: 
10704             *_new_seeking and *_parse_seeking
10705
10706 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
10707
10708         * gst/gstelement.c: (gst_element_dispose):
10709           don't loop forever
10710
10711         * gst/gstiterator.c:
10712         * gst/gststructure.c:
10713           doc fixes
10714
10715         * libs/gst/controller/gstcontroller.c:
10716         (gst_controlled_property_set_interpolation_mode):
10717         * libs/gst/controller/gstcontroller.h:
10718         * libs/gst/controller/gstinterpolation.c:
10719         (interpolate_none_get_enum_value_array):
10720           support controlling enums
10721
10722 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
10723
10724         * gst/gstvalue.c:
10725           Improve documentation for gst_value_union().
10726
10727         * gst/gstvalue.h:
10728           Change return value for union, intersect and subtract functions
10729           from gint to gboolean.
10730
10731 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
10732
10733         * gst/gstvalue.c: (gst_value_serialize_any_list),
10734         (gst_value_transform_any_list_string),
10735         (gst_value_deserialize_list), (gst_value_deserialize_array),
10736         (gst_value_set_int_range), (gst_value_deserialize_int_range),
10737         (gst_value_set_double_range), (gst_value_deserialize_double_range),
10738         (gst_value_set_fraction_range_full),
10739         (gst_value_deserialize_fraction_range),
10740         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
10741         (gst_value_deserialize_boolean),
10742         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
10743         (gst_value_serialize_float), (gst_value_deserialize_float),
10744         (gst_string_wrap), (gst_value_deserialize_string),
10745         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
10746         (gst_value_union_int_range_int_range),
10747         (gst_value_intersect_int_range_int_range),
10748         (gst_value_intersect_double_range_double_range),
10749         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
10750         (gst_value_subtract_int_range_int_range),
10751         (gst_value_subtract_double_double_range),
10752         (gst_value_subtract_double_range_double_range),
10753         (gst_value_deserialize_fraction):
10754         * gst/gstvalue.h:
10755           Use gint, gdouble and gchar in our API instead of int, double and
10756           char (and make usage in gstvalue.c more consistent).
10757
10758 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10759
10760         * check/Makefile.am:
10761         * libs/gst/controller/Makefile.am:
10762         * libs/gst/dataprotocol/Makefile.am:
10763           fix up Makefile.am and remove GST_ENABLE_NEW
10764
10765 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10766
10767         * configure.ac:
10768         * gst/Makefile.am:
10769         * gst/base/Makefile.am:
10770         * gst/check/Makefile.am:
10771         * gst/elements/Makefile.am:
10772         * gst/net/Makefile.am:
10773           update LDFLAGS use some more
10774
10775 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10776
10777         * common/m4/gst-doc.m4:
10778           Fixes #312589
10779
10780 2005-11-26  Edward Hervey  <edward@fluendo.com>
10781
10782         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10783         This shouldn't issue a g_warning since it returns NULL if it
10784         couldn't find the plugin, and all functions using this behave
10785         properly on a NULL return. Switching to a GST_WARNING.
10786
10787 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
10788
10789         * gst/gstbin.c: (gst_bin_handle_message_func):
10790         Don't leak clock messages.
10791
10792 2005-11-25  Wim Taymans  <wim@fluendo.com>
10793
10794         * gst/gstutils.c: (gst_util_uint64_scale_int64),
10795         (gst_util_uint64_scale_int):
10796         Optimisations, remove unneeded vars.
10797
10798 2005-11-25  Wim Taymans  <wim@fluendo.com>
10799
10800         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10801         Added more checks for the high precision uint64 cases.
10802
10803         * gst/gstutils.c: (gst_util_uint64_scale_int64),
10804         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10805         Implement high precision (guint64 * guint64) / guint64.
10806
10807 2005-11-24  Wim Taymans  <wim@fluendo.com>
10808
10809         * gst/base/gstbasesrc.c: (gst_base_src_query):
10810         Fix wrong percentage query.
10811
10812         * gst/gstutils.c: (gst_util_uint64_scale),
10813         (gst_util_uint64_scale_int):
10814         Add some more common cases that can be handled 
10815         efficiently to _scale.
10816
10817 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10818
10819         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
10820         (gst_mini_object_suite):
10821           don't use check calls from threads; check probably isn't
10822           threadsafe and using a lock to make it threadsafe would
10823           defeat the purpose of this check
10824         * gst/check/gstcheck.c:
10825         * gst/check/gstcheck.h:
10826           use GST_DEBUG some more
10827
10828 2005-11-24  Wim Taymans  <wim@fluendo.com>
10829
10830         * gst/gstutils.c: (gst_util_uint64_scale),
10831         (gst_util_uint64_scale_int):
10832         Chain trivial case to _scale_int.
10833
10834 2005-11-24  Wim Taymans  <wim@fluendo.com>
10835
10836         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10837         Added test for scaling.
10838
10839         * gst/gstclock.h:
10840         Small doc fix.
10841
10842         * gst/gstutils.c: (gst_util_uint64_scale_int):
10843         Implemented high precision scaling code.
10844
10845 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
10846
10847         * gst/gstinfo.h:
10848           do not crash on pad==NULL
10849
10850 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10851
10852         Patch by: Stefan Kost
10853
10854         * common/gtk-doc.mak:
10855         * docs/gst/Makefile.am:
10856         * docs/libs/Makefile.am:
10857           Fix distcheck issues for the libraries docs build
10858           Closes #319599.
10859
10860 2005-11-24  Michael Smith <msmith@fluendo.com>
10861
10862         * docs/manual/basics-helloworld.xml:
10863           Fix bug #315027: memory leak in example code in docs.
10864
10865 2005-11-24  Michael Smith <msmith@fluendo.com>
10866
10867         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10868           Unlock the PREROLL_LOCK in a failure case.
10869
10870 2005-11-24  Wim Taymans  <wim@fluendo.com>
10871
10872         * docs/gst/gstreamer-sections.txt:
10873         * gst/base/gstadapter.h:
10874         * gst/base/gstbasesink.h:
10875         * gst/base/gstbasesrc.h:
10876         * gst/base/gstbasetransform.h:
10877         * gst/base/gstpushsrc.h:
10878         * gst/elements/gstfakesink.h:
10879         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
10880         * gst/elements/gstfakesrc.h:
10881         * gst/elements/gstfilesink.h:
10882         * gst/elements/gstfilesrc.h:
10883         * gst/gst.c:
10884         * gst/gstbin.c:
10885         * gst/gstbuffer.c: (_gst_buffer_copy):
10886         * gst/gstbus.h:
10887         * gst/gstcaps.c:
10888         * gst/gstchildproxy.c:
10889         * gst/gstclock.c:
10890         * gst/gstelement.c:
10891         * gst/gstelementfactory.c:
10892         * gst/gstelementfactory.h:
10893         * gst/gstevent.c:
10894         * gst/gstghostpad.h:
10895         * gst/gstindex.h:
10896         * gst/gstinterface.h:
10897         * gst/gstminiobject.c:
10898         * gst/gstminiobject.h:
10899         * gst/gstpad.c:
10900         * gst/gstpad.h:
10901         * gst/gstpadtemplate.h:
10902         * gst/gstpipeline.h:
10903         * gst/gstpluginfeature.h:
10904         * gst/gstquery.h:
10905         * gst/gstqueue.h:
10906         * gst/gsttaglist.c:
10907         * gst/gsttaglist.h:
10908         * gst/gsttagsetter.c:
10909         * gst/gsttagsetter.h:
10910         * gst/gsttrace.c:
10911         * gst/gsttrace.h:
10912         * gst/gsttypefind.h:
10913         * gst/gsturi.h:
10914         * gst/gstvalue.c:
10915         * gst/net/gstnetclientclock.c:
10916         * gst/net/gstnetclientclock.h:
10917         * gst/net/gstnettimepacket.c:
10918         * gst/net/gstnettimeprovider.c:
10919         * gst/net/gstnettimeprovider.h:
10920         Doc fixes.
10921
10922 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10923
10924         * configure.ac: back to HEAD
10925
10926 === release 0.9.6 ===
10927
10928 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
10929
10930         * configure.ac:
10931           releasing 0.9.6, "Always On Time"
10932
10933 2005-11-23  Wim Taymans  <wim@fluendo.com>
10934
10935         * docs/gst/gstreamer-sections.txt:
10936         * gst/glib-compat.c:
10937         * gst/gsttagsetter.c:
10938         * gst/gstvalue.c:
10939         * gst/net/gstnetclientclock.c:
10940         * gst/net/gstnettimepacket.h:
10941         Doc updates.
10942
10943 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10944
10945         * docs/faq/using.xml:
10946         * docs/libs/tmpl/gstcontrol.sgml:
10947         * docs/manual/advanced-dparams.xml:
10948         * docs/manual/appendix-checklist.xml:
10949         * docs/manual/basics-elements.xml:
10950         * docs/pwg/other-source.xml:
10951         * docs/random/moving-plugins:
10952         * gst/gstpad.c:
10953         * tools/gst-launch.1.in:
10954           remove mentions of sinesrc
10955
10956 2005-11-23  Michael Smith <msmith@fluendo.com>
10957
10958         * docs/gst/gstreamer-sections.txt:
10959           Update for new API and API changes.
10960         * gst/gstobject.h:
10961           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
10962         * gst/gstvalue.c:
10963           Documentation typo fix.
10964         * gst/net/gstnettimepacket.c:
10965           Documentation fixes for arguments.
10966
10967 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
10968
10969         * gst/gststructure.c: (gst_structure_get_fraction),
10970         (gst_structure_parse_value),
10971         (gst_structure_fixate_field_nearest_fraction):
10972         * gst/gststructure.h:
10973         * gst/gstutils.c: (gst_util_uint64_scale_int):
10974         * gst/gstutils.h:
10975         * scripts/update-funcnames:
10976         API Changes. 
10977         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
10978         Make gst_structure_fixate_field_nearest_fraction take a numerator
10979         and denominator argument instead of a GValue
10980         add gst_structure_get_fraction helper function.
10981
10982 2005-11-23  Wim Taymans  <wim@fluendo.com>
10983
10984         * docs/design/part-TODO.txt:
10985         Update TODO.
10986
10987         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10988         * gst/net/gstnetclientclock.h:
10989         Use parent fields for timeout and window_size.
10990
10991 2005-11-23  Andy Wingo  <wingo@pobox.com>
10992
10993         * check/net/gstnetclientclock.c (test_functioning): Adjust to
10994         rate_num/rate_denom change.
10995
10996         * gst/net/gstnetclientclock.c
10997         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
10998         OBJECT_LOCK. Don't call add_observation with the lock.
10999
11000         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
11001         fraction.
11002         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
11003         rate fraction.
11004         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
11005         deal with rate as a fraction whose numerator and denominator are
11006         GstClockTime values.
11007         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
11008         master; the other fields are protected by the SLAVE_LOCK.
11009         (do_linear_regression): Note that this must be called with the
11010         SLAVE_LOCK.
11011         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
11012         OBJECT_LOCK. Call set_calibration instead of touching the
11013         variables directly.
11014         (gst_clock_set_property, gst_clock_get_property): Protect
11015         master/slave parameters with the SLAVE_LOCK.
11016
11017         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
11018         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
11019         note that all of the instance variables that add_observation and
11020         the set_master functions use are protected by that lock and not
11021         the OBJECT_LOCK.
11022         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
11023
11024         * gst/gstclock.c (gst_clock_add_observation): No longer requires
11025         the caller to take the object lock.
11026
11027 2005-11-23  Wim Taymans  <wim@fluendo.com>
11028
11029         * gst/gsterror.c: (_gst_core_errors_init):
11030         * gst/gsterror.h:
11031         Add error for clock stuff.
11032
11033         * gst/gstpipeline.c: (gst_pipeline_change_state),
11034         (gst_pipeline_set_clock):
11035         Post clock error when clock cannot be used in a pipeline.
11036
11037 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
11038
11039         * docs/gst/gstreamer-sections.txt:
11040           make two symbols from gstinfo private for the docs
11041         * gst/base/gstcollectpads.h:
11042         * gst/gstutils.c:
11043           fix doc typos, update docs
11044
11045 2005-11-22  Wim Taymans  <wim@fluendo.com>
11046
11047         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11048         (gst_base_sink_wait), (gst_base_sink_do_sync),
11049         (gst_base_sink_handle_event):
11050         * gst/base/gstbasesink.h:
11051         No need to store the clock, the parent element class already
11052         has it.
11053
11054         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
11055         Updates for clock_set returning a gboolean
11056
11057         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
11058         (gst_clock_id_wait_async), (gst_clock_class_init),
11059         (gst_clock_init), (gst_clock_finalize),
11060         (gst_clock_get_internal_time), (gst_clock_get_time),
11061         (gst_clock_slave_callback), (gst_clock_set_master),
11062         (gst_clock_get_master), (do_linear_regression),
11063         (gst_clock_add_observation), (gst_clock_set_property),
11064         (gst_clock_get_property):
11065         * gst/gstclock.h:
11066         Implement master/slave. When setting a clock as a slave, a
11067         periodic timeout is scheduled to sample master and slave times.
11068         Then the slave clock is recalibrated to match offset and rate
11069         of the master clock.
11070         Update logging a bit.
11071         Add flag so that a clock can state that is cannot be slaved to
11072         another clock.
11073
11074         * gst/gstelement.c: (gst_element_set_clock):
11075         * gst/gstelement.h:
11076         The set clock returns a gboolean for when an element cannot
11077         deal with the selected clock in the pipeline. 
11078
11079         * gst/gstpipeline.c: (gst_pipeline_change_state),
11080         (gst_pipeline_set_clock):
11081         * gst/gstpipeline.h:
11082         Handle the case where the selected clock cannot be set on
11083         the pipeline.
11084
11085         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
11086         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11087         (gst_net_client_clock_set_property),
11088         (gst_net_client_clock_get_property),
11089         (gst_net_client_clock_observe_times):
11090         * gst/net/gstnetclientclock.h:
11091         Use regression code in GstClock parent, remove duplicated
11092         functionality.
11093
11094 2005-11-22  Michael Smith <msmith@fluendo.com>
11095
11096         * gst/gstutils.c: (gst_util_clock_time_scale):
11097         * gst/gstutils.h:
11098         * docs/gst/gstreamer-sections.txt:
11099           Rename method to have extra underscore.
11100
11101 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11102
11103         * gst/elements/Makefile.am:
11104         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
11105         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11106         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
11107         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
11108         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
11109         * gst/elements/gstfakesrc.h:
11110         * gst/gstqueue.c: (queue_leaky_get_type):
11111           correctly fix GEnumValues so that nick is the short lowercase
11112           dashed tag
11113         * tools/gst-inspect.c: (print_element_properties_info):
11114           also show the nick, since it's useful to use from parse_launch
11115           syntax
11116           Fixes #322139
11117
11118 2005-11-22  Michael Smith <msmith@fluendo.com>
11119
11120         * gst/gstutils.c: (gst_util_clocktime_scale):
11121         * gst/gstutils.h:
11122         * docs/gst/gstreamer-sections.txt:
11123           Add util method for scaling a clocktime by a fraction. Useful 
11124           implementation is left as an exercise for the reader.
11125
11126 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11127
11128         * gst/gstvalue.c: (gst_value_collect_fraction_range):
11129         If needed, allocate storage in the destination value during
11130         collection.
11131
11132 2005-11-22  Edward Hervey  <edward@fluendo.com>
11133
11134         * docs/gst/gstreamer-sections.txt:
11135         * gst/Makefile.am:
11136         * gst/gst.h:
11137         * gst/gsturitype.c:
11138         * gst/gsturitype.h:
11139         * gst/gstutils.c: (gst_util_set_object_arg):
11140         * tools/gst-compprep.c: (main):
11141         * tools/gst-inspect.c: (print_element_properties_info):
11142         Removed GstURI, closes bug #321061
11143
11144 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11145
11146         * check/gst/gststructure.c: (GST_START_TEST):
11147         * gst/gststructure.c: (gst_structure_parse_value):
11148           Oops, broke automatic string type parsing.
11149           Add a test to catch it in future.
11150
11151 2005-11-22  Andy Wingo  <wingo@pobox.com>
11152
11153         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
11154         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
11155         Actually rename the function implementations. Grr.
11156
11157 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11158
11159         * check/gst/capslist.h:
11160           Comment test cases
11161         * check/gst/gststructure.c: (GST_START_TEST),
11162         (gst_structure_suite):
11163           Test automatic value type detection in gst_structure_from_string.
11164         * gst/gststructure.c: (gst_structure_parse_value):
11165           Add fraction as a type we try and guess automatically in
11166           caps/structure strings.
11167
11168 2005-11-22  Andy Wingo  <wingo@pobox.com>
11169
11170         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
11171
11172         * gst/gsttagsetter.h:
11173         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
11174         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
11175         (gst_tag_setter_add_tag_valist)
11176         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
11177         _add_values, _add_valist, and _add_valist_values. Since this is an
11178         interface the function suffixes should be more explicit so
11179         language binding don't end up with element.add_valist ->
11180         gst_tag_setter_add_valist, for example. Fixes #322069.
11181
11182 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11183
11184         * check/gst/gstcaps.c: (GST_START_TEST):
11185           Extend caps string tests to check that a caps to string
11186           conversion is reversible and produces the same caps.
11187
11188         * gst/gststructure.c: (gst_structure_value_get_generic_type):
11189           Output "fraction" as the generic type fraction range, so caps
11190           serialisation and deserialisation works.
11191         * check/gst/capslist.h:
11192         * gst/gstvalue.c: (gst_value_deserialize_fraction):
11193           Support 'MIN' and 'MAX' for deserialising fractions.
11194
11195 2005-11-22  Andy Wingo  <wingo@pobox.com>
11196
11197         * gst/gstevent.h (gst_event_new_new_segment)
11198         (gst_event_parse_new_segment, gst_event_new_buffer_size)
11199         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
11200         Renamed from *_newsegment, *_buffersize, *_notarget.
11201
11202         * scripts/update-funcnames: New script, performs the changes
11203         listed above.
11204
11205 2005-11-22  Wim Taymans  <wim@fluendo.com>
11206
11207         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11208         Make sure the GstFlowReturn is returned.
11209
11210         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
11211         (gst_bus_add_signal_watch):
11212         * gst/gstbus.h:
11213         add gst_bus_add_signal_watch_full.
11214
11215         * gst/gstplugin.c: (gst_plugin_load_file):
11216         Small style cleanup.
11217
11218 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11219
11220         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
11221           Block the fakesrc srcpad when we send an event, to avoid
11222           contention on the stream_lock causing random test failures.
11223
11224 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11225
11226         * check/gst/gstvalue.c: (GST_START_TEST):
11227         * gst/gstvalue.c: (gst_value_fraction_subtract):
11228           Fix subtraction.
11229
11230 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
11231
11232         * gst/gst.h:
11233           include "gstchildproxy.h"
11234         * gst/gstchildproxy.h:
11235         * libs/gst/controller/gstcontroller.h:
11236           use G_GNUC_NULL_TERMINATED
11237
11238 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11239
11240         * check/gst/capslist.h:
11241         * check/gst/gstcaps.c: (GST_START_TEST):
11242         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11243         * gst/gststructure.c: (gst_structure_parse_range),
11244         (gst_structure_fixate_field_nearest_fraction):
11245         * gst/gststructure.h:
11246         * gst/gstvalue.c: (gst_value_init_fraction_range),
11247         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11248         (gst_value_collect_fraction_range),
11249         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
11250         (gst_value_set_fraction_range_full),
11251         (gst_value_get_fraction_range_min),
11252         (gst_value_get_fraction_range_max),
11253         (gst_value_serialize_fraction_range),
11254         (gst_value_transform_fraction_range_string),
11255         (gst_value_compare_fraction_range),
11256         (gst_value_deserialize_fraction_range),
11257         (gst_value_intersect_fraction_fraction_range),
11258         (gst_value_intersect_fraction_range_fraction_range),
11259         (gst_value_subtract_fraction_fraction_range),
11260         (gst_value_subtract_fraction_range_fraction),
11261         (gst_value_subtract_fraction_range_fraction_range),
11262         (gst_value_collect_fraction), (gst_value_fraction_multiply),
11263         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
11264         (gst_value_transform_string_fraction), (_gst_value_initialize):
11265         * gst/gstvalue.h:
11266           Implement fraction ranges and extend GstFraction to support
11267           arithmetic subtraction, as well as deserialization from integer
11268           strings such as "100"
11269           Add a testsuite as for int and double range set operations
11270
11271 2005-11-21  Andy Wingo  <wingo@pobox.com>
11272
11273         * gst/gsttaglist.h: 
11274         * gst/gstcaps.h: 
11275         * gst/gststructure.h: Add glib-compat.h.
11276
11277 2005-11-21  Wim Taymans  <wim@fluendo.com>
11278
11279         * gst/gstbin.c: (gst_bin_change_state_func):
11280         Fix for #321595
11281
11282 2005-11-21  Wim Taymans  <wim@fluendo.com>
11283
11284         * gst/gstsegment.h:
11285         And add a nice define too.
11286
11287 2005-11-21  Wim Taymans  <wim@fluendo.com>
11288
11289         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
11290         (gst_segment_new), (gst_segment_free), (gst_segment_init),
11291         (gst_segment_set_duration), (gst_segment_set_last_stop),
11292         (gst_segment_set_seek), (gst_segment_set_newsegment),
11293         (gst_segment_to_stream_time), (gst_segment_to_running_time),
11294         (gst_segment_clip):
11295         * gst/gstsegment.h:
11296         Make binding friendly.
11297
11298 2005-11-21  Andy Wingo  <wingo@pobox.com>
11299
11300         * gst/gsttagsetter.h: 
11301         * gst/gsttaglist.h: 
11302         * gst/gststructure.h: 
11303         * gst/gstcaps.h: 
11304         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
11305         #319940.
11306
11307         * gst/gsterror.c (_gst_core_errors_init):
11308         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
11309         category.
11310
11311         * gst/Makefile.am (gst_headers): Add glib-compat.h.
11312         (noinst_HEADERS): noinst the -private.
11313
11314 2005-11-21  Michael Smith <msmith@fluendo.com>
11315
11316         * gst/gstplugin.h:
11317         * gst/gstregistry.h:
11318           Remove unimplemented declarations for which we can see no sensible
11319           use.
11320
11321 2005-11-21  Andy Wingo  <wingo@pobox.com>
11322
11323         * gst/gst.h: Include glib-compat.h.
11324
11325         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
11326
11327         * gst/glib-compat.c: Include the public and the private header.
11328
11329         * gst/glib-compat-private.h: Copied here from glib-compat.h.
11330
11331         * gst/gstvalue.c: 
11332         * gst/gstpad.c: 
11333         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
11334
11335         * check/gst/gstevent.c (create_custom_events): Check that
11336         FLUSH_STOP is serialized.
11337
11338         * check/elements/identity.c (event_func): 
11339         * check/elements/fakesrc.c (event_func): No stream lock, the core
11340         takes it.
11341
11342         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
11343         stream lock taking, yay.
11344
11345         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
11346         ensure that core takes the stream lock.
11347
11348         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
11349         lock name change.
11350
11351         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
11352         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
11353         it already. For the flush start we do take it though so we get the
11354         right preroll state change messages.
11355
11356         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
11357         the stream lock here, the core does it for us.
11358
11359         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
11360         GST_STREAM_GET_LOCK.
11361         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
11362         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
11363         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
11364         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
11365         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
11366         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
11367
11368         * gst/gstpad.c: Update for stream lock name change.
11369
11370         * gst/base/gstbasesink.c: Update for preroll lock name change.
11371
11372 2005-11-21  Wim Taymans  <wim@fluendo.com>
11373
11374         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
11375         (gst_clock_get_master):
11376         * gst/gstclock.h:
11377         * gst/gstsystemclock.c: (gst_system_clock_init):
11378         Convert Clock flags to object flags.
11379         Added methods to manage master/slave clocks.
11380
11381 2005-11-21  Wim Taymans  <wim@fluendo.com>
11382
11383         * check/gst/gstsegment.c: (GST_START_TEST):
11384         * docs/design/part-TODO.txt:
11385         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11386         (gst_base_sink_event), (gst_base_sink_do_sync),
11387         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11388         (gst_base_sink_query), (gst_base_sink_change_state):
11389         * gst/base/gstbasesink.h:
11390         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
11391         (gst_base_src_default_newsegment),
11392         (gst_base_src_configure_segment), (gst_base_src_do_seek),
11393         (gst_base_src_get_range), (gst_base_src_loop),
11394         (gst_base_src_change_state):
11395         * gst/base/gstbasesrc.h:
11396         * gst/base/gstbasetransform.c:
11397         (gst_base_transform_prepare_output_buf),
11398         (gst_base_transform_event), (gst_base_transform_change_state):
11399         * gst/base/gstbasetransform.h:
11400         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11401         (gst_collect_pads_event):
11402         * gst/base/gstcollectpads.h:
11403         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
11404         (gst_fake_src_create):
11405         * gst/elements/gstfakesrc.h:
11406         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11407         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11408         (gst_segment_set_last_stop), (gst_segment_set_seek),
11409         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11410         (gst_segment_to_running_time), (gst_segment_clip):
11411         * gst/gstsegment.h:
11412         More segment updates, replace code in plugins with segment
11413         helper functions.
11414
11415 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11416
11417         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
11418         Don't ignore sscanf results
11419
11420 2005-11-21  Andy Wingo  <wingo@pobox.com>
11421
11422         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
11423
11424         * *.h:
11425         * *.c: Ran scripts/update-macros. Oh yes.
11426
11427         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
11428         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
11429         GST_GET_LOCK, etc.
11430
11431         * scripts/update-macros: New script. Run it on your files to
11432         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
11433         well.
11434
11435 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
11436
11437         * docs/gst/Makefile.am:
11438         * docs/gst/gstreamer-docs.sgml:
11439         * docs/gst/gstreamer-sections.txt:
11440         * docs/gst/gstreamer.types:
11441         * gst/gstinfo.h:
11442           more docs fixes, add new api to the docs
11443
11444 2005-11-21  Andy Wingo  <wingo@pobox.com>
11445
11446         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
11447         state_broadcast call.
11448
11449         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
11450
11451 2005-11-21  Julien MOUTTE  <julien@moutte.net>
11452
11453         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
11454         function calls for arrays.
11455
11456 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
11457
11458         * docs/random/ensonic/media-device-daemon.txt:
11459           wild idea, can this be done?
11460         * docs/gst/gstreamer-sections.txt:
11461         * gst/gsterror.h:
11462         * gst/gstfilter.c:
11463         * gst/gstfilter.h:
11464         * gst/gstplugin.h:
11465         * gst/gstpluginfeature.c:
11466         * gst/gsttrace.c:
11467         * gst/gstvalue.c:
11468         * gst/gstvalue.h:
11469           doc fixes and additions
11470
11471 2005-11-21  Andy Wingo  <wingo@pobox.com>
11472
11473         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
11474         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
11475         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
11476         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
11477         private to the basesrc implementation.
11478
11479         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
11480         behalf of event function if necessary. It should no longer be
11481         necessary to take the stream lock in pad's event functions. Fixes
11482         #320299.
11483
11484 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11485         * docs/gst/gstreamer-sections.txt:
11486         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
11487         (gst_structure_fixate_field_nearest_double),
11488         (gst_structure_fixate_field_boolean):
11489         * gst/gststructure.h:
11490         * win32/common/libgstreamer.def:
11491         * win32/gstreamer.def:
11492
11493         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
11494         (#322027)
11495
11496 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11497
11498         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
11499         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
11500         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
11501         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
11502         (gst_fdsrc_uri_handler_init):
11503         * gst/elements/gstfdsrc.h:
11504           Port fd:// URI handler from 0.8 to fdsrc
11505
11506 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11507
11508         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
11509         (gst_value_serialize_fourcc):
11510         * gst/gstvalue.h:
11511           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
11512           consistent with our other format defines (#320324).
11513
11514 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11515
11516         * gst/gstvalue.c: (gst_value_is_fixed):
11517           Revert previous commit. Value lists are by definition
11518           not fixed, as they are a list of possible values.
11519
11520 2005-11-21  Andy Wingo  <wingo@pobox.com>
11521
11522         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
11523         during the stable series if we need it. Fixes #319178.
11524
11525         * gst/gstevent.c (gst_event_new_filler): Removed.
11526
11527         * check/gst/gstevent.c: Update comment about filler events.
11528
11529 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11530
11531         * gst/gstvalue.c: (gst_value_is_fixed):
11532           Should handle both value arrays and value lists.
11533
11534 2005-11-21  Andy Wingo  <wingo@pobox.com>
11535
11536         patch by: Alessandro Dessina <alessandro nnva org>
11537
11538         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
11539         functions to access arrays. Fixes #321962.
11540
11541 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11542
11543         * docs/gst/gstreamer.types:
11544           gst_collectpads_get_type => gst_collect_pads_get_type.
11545           
11546         * gst/base/gstbasetransform.c:
11547           Remove unused SIGNAL_HANDOFF enum.
11548
11549 2005-11-21  Andy Wingo  <wingo@pobox.com>
11550
11551         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
11552         the event type (upstream, downstream, serialized). Renamed
11553         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
11554         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
11555         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
11556
11557         * gst/gstevent.c: Update for new CUSTOM event names.
11558
11559         * check/gst/gstevent.c: Update check for new CUSTOM event names.
11560
11561         * gst/gstevent.h:
11562         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
11563         bug #319392.
11564
11565 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11566
11567         * docs/gst/gstreamer-sections.txt:
11568         * win32/common/libgstbase.def:
11569         * win32/libgstbase.def:
11570         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11571         (gst_collect_pads_class_init), (gst_collect_pads_init),
11572         (gst_collect_pads_finalize), (gst_collect_pads_new),
11573         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
11574         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
11575         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
11576         (gst_collect_pads_start), (gst_collect_pads_stop),
11577         (gst_collect_pads_peek), (gst_collect_pads_pop),
11578         (gst_collect_pads_available), (gst_collect_pads_read),
11579         (gst_collect_pads_flush), (gst_collect_pads_event),
11580         (gst_collect_pads_chain):
11581         * gst/base/gstcollectpads.h:
11582           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
11583           unimplemented functions as unimplemented. Add padding to
11584           GstCollectData. (#320766, #320423)
11585
11586 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11587
11588         * gst/gstmessage.c:
11589           Improve docs for DURATION message (usage of duration parameter)
11590           (#320113)
11591
11592 2005-11-20  Wim Taymans  <wim@fluendo.com>
11593
11594         * check/Makefile.am:
11595         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
11596         (main):
11597         * gst/Makefile.am:
11598         * gst/gst.h:
11599         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11600         (gst_segment_set_seek), (gst_segment_set_newsegment),
11601         (gst_segment_to_stream_time), (gst_segment_to_running_time),
11602         (gst_segment_clip):
11603         * gst/gstsegment.h:
11604         Added segment helper structure and methods. Not fully implemented
11605         yet.
11606         Added segment check.
11607
11608 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
11609
11610         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11611           Add a deserialisation test for fractions
11612         * examples/metadata/read-metadata.c: (message_loop),
11613         (make_pipeline), (main):
11614           Fix up metadata reading sample.
11615         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11616           Debug format fix
11617         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
11618           Don't try and fixate empty caps
11619         * gst/gst_private.h:
11620           Wrap in G_BEGIN_DECLS/G_END_DECLS
11621         * gst/gstvalue.c: (gst_value_collect_fraction),
11622         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
11623         (gst_value_transform_string_fraction),
11624         (gst_value_compare_fraction):
11625           Add some extra guards to ensure that we don't end up 
11626           with an invalid denominator of 0 in a gstfraction and
11627           that fractions always get reduced.
11628
11629 2005-11-20  Wim Taymans  <wim@fluendo.com>
11630
11631         * docs/gst/gstreamer-sections.txt:
11632         * gst/gstbuffer.h:
11633         * gst/gstelement.c:
11634         * gst/gstformat.c:
11635         * gst/gstformat.h:
11636         * gst/gstindex.h:
11637         * gst/gstquery.c:
11638         * gst/gstquery.h:
11639         * gst/gstvalue.c:
11640         Doc fixes.
11641
11642 2005-11-20  Wim Taymans  <wim@fluendo.com>
11643
11644         * docs/design/part-TODO.txt:
11645         * gst/gstcaps.h:
11646         Make a proper enum of the flag.
11647
11648 2005-11-19  Wim Taymans  <wim@fluendo.com>
11649
11650         * docs/design/part-TODO.txt:
11651         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
11652         (gst_format_to_quark), (gst_format_register):
11653         * gst/gstformat.h:
11654         * gst/gstquery.c: (_gst_query_initialize),
11655         (gst_query_type_get_name), (gst_query_type_to_quark),
11656         (gst_query_type_register):
11657         * gst/gstquery.h:
11658         Add type to quark and type to string conversions.
11659
11660 2005-11-19  Andy Wingo  <wingo@pobox.com>
11661
11662         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
11663         #320097.
11664
11665 2005-11-19  Wim Taymans  <wim@fluendo.com>
11666
11667         * docs/design/part-TODO.txt:
11668         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11669         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
11670         (gst_bin_handle_message_func):
11671         * gst/gstbin.h:
11672         Make message handling overridable.
11673
11674 2005-11-19  Andy Wingo  <wingo@pobox.com>
11675
11676         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
11677
11678         * gst/gstclock.h:
11679         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
11680         be a GstClockTime.
11681         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
11682         is a GstClockTime. Fixes #321710.
11683
11684         * gst/gstclock.h (GstClock): Remove offset property. Add
11685         internal_calibration and external_calibration. Fix padding. Pad
11686         also by GstClockTime so we don't run into problems.
11687
11688         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
11689         (gst_clock_get_rate_offset): Remove.
11690         (gst_clock_set_time_adjust): Remove. Fixes #321712.
11691
11692         * gst/gstutils.h:
11693         * gst/gstutils.c (g_static_rec_cond_wait)
11694         (g_static_rec_cond_timed_wait): Removed, no longer needed.
11695
11696         * gst/gstbin.c: Remove terrible continue_state prototype.
11697
11698         * gst/gstelement.h (gst_element_continue_state): Make public.
11699
11700         * gst/gstelement.h:
11701         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
11702         by continue_state. Fixes #319389.
11703
11704         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
11705         Really fixes #168438. However I don't see anywhere where the
11706         filter function is called... stupid GStreamer...
11707         
11708         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
11709         don't have a dispose function, so it won't get called when the
11710         object is unreffed, but oh well!
11711
11712         * gst/gstindex.c (gst_index_set_filter_full): New API function,
11713         allows a destroy function to be set so user_data can be freed.
11714         Fixes #168438.
11715         (gst_index_set_filter): Call gst_index_set_filter_full.
11716
11717         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
11718
11719         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
11720         string should produce an error, given the lack of a way to
11721         represent NULL strings. Fixes #165650.
11722         
11723         * gst/gstvalue.h: 
11724         * gst/gstvalue.c (gst_value_array_append_value) 
11725         (gst_value_array_prepend_value, gst_value_array_get_size) 
11726         (gst_value_array_get_value): New API, copied from
11727         gst_value_list_*, only operates on arrays.
11728         (gst_value_list_append_value, gst_value_list_prepend_value) 
11729         (gst_value_list_concat, gst_value_list_get_size) 
11730         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
11731
11732         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
11733         init_list, because it works on both.
11734         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
11735         (gst_value_copy_list_or_array): Renamed from copy_list.
11736         (gst_value_free_list_or_array): Renamed from free_list.
11737         (gst_value_collect_list_or_array): Renamed from collect_list.
11738         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
11739         (gst_value_list_or_array_peek_pointer): Renamed from
11740         list_peek_pointer.
11741         (_gst_value_array_value_table, _gst_value_list_value_table):
11742         Update value table functions.
11743         (gst_value_compare_list_or_array): Renamed from compare_list.
11744
11745         * gsttaglist.h: Whoops, foreach function returns void. Also fix
11746         some constness.
11747
11748         * gst/gsttaglist.c:
11749         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
11750         GstTagList*. Fixes #143472.
11751
11752         * gst/gststructure.h: Clarify what the foreach/map functions can
11753         or can't do to their arguments.
11754
11755 2005-11-18  Wim Taymans  <wim@fluendo.com>
11756
11757         * gst/gstclock.c: (gst_clock_set_calibration),
11758         (gst_clock_get_calibration):
11759         Doc and API fixes.
11760         Calibration can be set with internal time equal to current
11761         internal time too.
11762
11763 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
11764
11765         * gst/gsterror.c:
11766         * gst/gsterror.h:
11767           document
11768
11769 2005-11-18  Andy Wingo  <wingo@pobox.com>
11770
11771         * configure.ac: 
11772         * pkgconfig/gstreamer-net.pc.in:
11773         * pkgconfig/gstreamer-net-uninstalled.pc.in:
11774         * pkgconfig/Makefile.am: Add net pkgconfig files.
11775
11776 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
11777
11778         * gst/gstcaps.c:
11779         * gst/gstghostpad.c:
11780         * gst/gsttrace.c:
11781         * gst/gstvalue.c:
11782         * gst/gstvalue.h:
11783           docs fixes
11784
11785 2005-11-18  Andy Wingo  <wingo@pobox.com>
11786
11787         * gst/net/gstnetclientclock.c: Turn off debugging.
11788
11789         * check/net/gstnetclientclock.c (test_functioning): Assert that the
11790         times connverge somewhat. Can't make a real test.
11791
11792         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
11793         integer arithmetic. Return the minimum of the domain, which can be
11794         set as "internal" for gst_clock_set_calibration.
11795         (gst_net_client_clock_observe_times): Call _set_calibration.
11796         (gst_net_client_clock_new): Call _set_calibration instead of
11797         rate_offset.
11798
11799         * check/net/gstnetclientclock.c (test_functioning): Use the right
11800         adjustment api.
11801
11802         * gst/gstclock.h:
11803         * gst/gstclock.c (gst_clock_get_calibration) 
11804         (gst_clock_set_calibration): New functions, obsolete the ones I
11805         added yesterday. Doh. Precision issues mean we have to extrapolate
11806         from a point in the more recent past than 1970.
11807         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
11808         obsolete.
11809         (gst_clock_adjust_unlocked): Use the right calibration data.
11810
11811 2005-11-18  Edward Hervey  <edward@fluendo.com>
11812
11813         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
11814         Also reset the ->current_* values in READY->PAUSED
11815
11816 2005-11-18  Andy Wingo  <wingo@pobox.com>
11817
11818         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
11819         Whoops, check the right fd. Also add some debugging.
11820         (gst_net_client_clock_observe_times): Adjust for int64 offset.
11821         (do_linear_regression): Add a crapload of debugging. Subtract off
11822         the minimum values from the input series to discard unneeded bits.
11823         Use only int arithmetic. There is still double arithmetic when
11824         calculating the intercept that needs fixing. Return boolean to
11825         indicate success; FALSE would mean the domain or range is too
11826         great. Still needs fixes.
11827
11828 2005-11-18  Wim Taymans  <wim@fluendo.com>
11829
11830         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
11831         For the current position in stream time, we need to subtract
11832         accumulated time.
11833         
11834         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11835         Release lock before calling the callback function of async
11836         entries.
11837
11838 2005-11-18  Andy Wingo  <wingo@pobox.com>
11839
11840         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
11841         Port goes all the way to MAXUINT16.
11842
11843         * gst/net/gstnettimeprovider.c: Make the port range the same as
11844         for the kernel: 0 assigns, otherwise ports are less than
11845         MAXUINT16.
11846
11847         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
11848         port change.
11849
11850         * check/net/gstnetclientclock.c (test_functioning): Add the start
11851         of another test. 
11852
11853 2005-11-18  Wim Taymans  <wim@fluendo.com>
11854
11855         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11856         (gst_bin_remove_func), (bin_bus_handler):
11857         * gst/gstbin.h:
11858         Removing a clock provider from a bin, triggers a clock lost message
11859         so that a new clock will be selected.
11860         Adding a clock to a bin triggers a clock provider message.
11861         Make sure we reselect a clock when we received a clock lost message.
11862         Keep a reference to the element that provided the clock.
11863
11864 2005-11-18  Andy Wingo  <wingo@pobox.com>
11865
11866         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
11867         the clock initially so it produces values around the base time.
11868         (gst_net_client_clock_class_init): Typo fix.
11869         (gst_net_client_clock_thread): Add note on when the socket gets
11870         closed.
11871
11872 2005-11-17  Wim Taymans  <wim@fluendo.com>
11873
11874         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
11875         Free remote and local time arrays.
11876
11877 2005-11-17  Wim Taymans  <wim@fluendo.com>
11878
11879         * gst/net/gstnetclientclock.c: (do_linear_regression),
11880         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
11881         Fix compilation, uninitialized vars and a forgotten continue.
11882
11883 2005-11-17  Andy Wingo  <wingo@pobox.com>
11884
11885         * check/Makefile.am (check_PROGRAMS): 
11886         * check/net/gstnetclientclock.c: Add a most minimal test for the
11887         net client clock. More to come later.
11888
11889         * gst/net/gstnet.h: 
11890         * gst/net/Makefile.am: Add netclientclock.
11891
11892         * gst/net/gstnetclientclock.h:
11893         * gst/net/gstnetclientclock.c: New files, implement an untested
11894         GstClock that takes its time from a network time provider.
11895         Implements the algorithm in network-clock.scm.
11896
11897         * tests/network-clock.scm (*window-size*): Rename from
11898         *queue-length*.
11899         * tests/network-clock.scm (network-time): 
11900         * tests/network-clock-utils.scm (q-push): Update callers.
11901
11902 2005-11-17  Wim Taymans  <wim@fluendo.com>
11903
11904         * gst/gstbin.c: (gst_bin_provide_clock_func),
11905         (gst_bin_sort_iterator_new):
11906         And unref the child too..
11907
11908 2005-11-17  Wim Taymans  <wim@fluendo.com>
11909
11910         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11911         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
11912         Refactor the sort iterator so it can be used while holding the
11913         LOCK too.
11914         Make clock selection select a clock closest to the source.
11915
11916 2005-11-17  Michael Smith <msmith@fluendo.com>
11917
11918         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
11919         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
11920         * gst/gstclock.h:
11921           Anonymous structs are a gcc (and some other compilers) extension, so
11922           don't use them. Since this is only for ABI-compatibility, and our
11923           API/ABI freeze is over in a few days, this whole thing will only
11924           last a few days, so don't bother trying to think up a meaningful
11925           name for the struct.
11926
11927 2005-11-17  Andy Wingo  <wingo@pobox.com>
11928
11929         * gst/gstclock.h (GstClock): Add rate and offset properties,
11930         preserving ABI stability. Add rate/offset accessors. Will file bug
11931         for the freeze break.
11932
11933         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
11934         and offset, trying to keep precision and avoiding
11935         underflow/overflow.
11936         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
11937         functions. Make gst_clock_set_time_adjust obsolete.
11938         (gst_clock_set_time_adjust): Note that this function is obsolete.
11939         Will file bug soon.
11940
11941         * gst/base/gstbasetransform.h: Make the ABI-stability hack
11942         greppable by using GST_PADDING-1+1.
11943
11944 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
11945
11946         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11947
11948         * gst/gstmessage.c: (gst_message_parse_clock_lost):
11949           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
11950
11951         * gst/gstpadtemplate.h:
11952         * gst/gstpluginfeature.h:
11953           Don't use c++ style comments in headers (#321638).
11954
11955 2005-11-16  Andy Wingo  <wingo@pobox.com>
11956
11957         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
11958         buffer.
11959
11960         * check/net/gstnettimeprovider.c: Check to see that the time
11961         provider actually provides times. Works, yo!
11962
11963 2005-11-16  Wim Taymans  <wim@fluendo.com>
11964
11965         * check/Makefile.am:
11966         Enable more tests.
11967
11968         * check/elements/fakesrc.c: (GST_START_TEST):
11969         Set element to NULL before disposing it.
11970
11971 2005-11-16  Andy Wingo  <wingo@pobox.com>
11972
11973         * gst/net/Makefile.am:
11974         * gst/net/gstnet.h:
11975         * gst/net/gstnettimeprovider.c: 
11976         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
11977         provider, include it from gstnet.h, and add it to the build.
11978
11979         * gst/net/gstnettimepacket.h: 
11980         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
11981         sending and receiving.
11982
11983 2005-11-16  Wim Taymans  <wim@fluendo.com>
11984
11985         * check/Makefile.am:
11986         Enable valgrind check.
11987
11988         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
11989         (gst_fake_src_alloc_buffer):
11990         Fix memleak.
11991
11992 2005-11-16  Wim Taymans  <wim@fluendo.com>
11993
11994         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
11995         Call parent finalize too.
11996
11997 2005-11-16  Wim Taymans  <wim@fluendo.com>
11998
11999         * check/Makefile.am:
12000         Enable valgrind check that should work fine now.
12001
12002         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12003         * gst/gstqueue.c: (gst_queue_init):
12004         Fix memleaks in pad allocation.
12005
12006 2005-11-16  Andy Wingo  <wingo@pobox.com>
12007
12008         * gst/net/Makefile.am:
12009         * gst/net/gstnet.h: New part of core to hold network elements and
12010         objects. Put in core because it exposes API that applications want
12011         to use. The library is named libgstnet-tempname right now because
12012         of the existing libgstnet in gst-plugins-base. Solution is
12013         probably to rename the one in plugins-base; will file a bug for
12014         the freeze break.
12015
12016         * gst/net/gstnettimeprovider.c: 
12017         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
12018         get_time call over the network.
12019
12020         * configure.ac: 
12021         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
12022
12023         * check/Makefile.am:
12024         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
12025         get additions shortly.
12026
12027 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12028
12029         * gst/gstpad.c: (gst_pad_new_from_static_template):
12030         * gst/gstpad.h:
12031           add gst_pad_new_from_static_template functions
12032         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
12033         (gst_check_setup_sink_pad):
12034         * gst/elements/gsttee.c: (gst_tee_init):
12035           and use them
12036
12037 2005-11-16  Wim Taymans  <wim@fluendo.com>
12038
12039         * gst/gstpad.c: (gst_pad_pause_task):
12040         Removed warning, it's not really an error either.
12041
12042 2005-11-16  Wim Taymans  <wim@fluendo.com>
12043
12044         * gst/base/gstbasetransform.c:
12045         (gst_base_transform_prepare_output_buf),
12046         (gst_base_transform_event):
12047         Check if the caps are NULL, this can happen if the element
12048         is shutting down and the pad caps are set to NULL.
12049
12050 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12051
12052         * gst/elements/gsttee.c: (gst_tee_init):
12053           fix pad template leak in tee
12054
12055 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12056
12057         * gst/glib-compat.c: (g_value_dup_gst_object):
12058         * gst/glib-compat.h:
12059         * gst/gstpad.c: (gst_pad_set_property):
12060           use gst_object_ref when setting the pad template; this will
12061           trigger the pad template leaks on GLib 2.6 and the slaves
12062
12063 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12064
12065         * gst/glib-compat.c: (gst_flags_get_first_value):
12066         * gst/glib-compat.h:
12067         * gst/gstregistryxml.c:
12068           remove functions copied from GLib 2.6
12069
12070 2005-11-16  Michael Smith <msmith@fluendo.com>
12071
12072         * gst/Makefile.am:
12073           Don't link against VALGRIND_LIBS. That was always the wrong thing to
12074           do, but only breaks with newer valgrind versions. We're not a
12075           valgrind tool, we have no link-time dependencies on libcoregrind.
12076
12077 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12078
12079         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12080           some debug changes
12081         * gst/gstmessage.h:
12082           typo fixes
12083
12084 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12085
12086         * gst/base/gstbasesrc.c: (gst_base_src_init):
12087         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12088         * gst/gstqueue.c: (gst_queue_init):
12089         * gst/gstregistryxml.c: (load_feature):
12090           Revert all these unrefs, they don't even pass make check !
12091
12092 2005-11-15  Johan Dahlin  <johan@gnome.org>
12093
12094         * gst/base/gstbasesrc.c: (gst_base_src_init):
12095         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12096         * gst/gstqueue.c: (gst_queue_init): 
12097         Free pad templates, fixes a couple of leaks.
12098
12099 2005-11-15  Daniel Fischer  <dan at f3c dot com>
12100
12101         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12102
12103         * gst/gstpad.c: (gst_pad_get_property):
12104           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
12105           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
12106           (#321452)
12107
12108 2005-11-15  Wim Taymans  <wim@fluendo.com>
12109
12110         * gst/gstevent.c:
12111         Small doc update.
12112
12113 2005-11-15  Andy Wingo  <wingo@pobox.com>
12114
12115         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
12116
12117         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
12118         using GST_CLOCK_TIME_NONE to disable base time management.
12119         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
12120         time if it was NONE before.
12121         (gst_pipeline_change_state): Only munge the base time if
12122         stream_time != GST_CLOCK_TIME_NONE.
12123
12124         * check/gst/gstpipeline.c (test_base_time): Punt around the
12125         problem of the probe not being called, because that's not the
12126         issue I'm looking at. Add a check that setting stream_time to NONE
12127         disables base time management.
12128         
12129 2005-11-15  Wim Taymans  <wim@fluendo.com>
12130
12131         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12132         segment_stop == -1 at startup.
12133
12134         * gst/base/gstbasetransform.c: (gst_base_transform_event),
12135         (gst_base_transform_change_state):
12136         Init segment values at start.
12137
12138 2005-11-15  Wim Taymans  <wim@fluendo.com>
12139
12140         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12141         0 segment values are 0 in any format.
12142
12143         * gst/base/gstbasetransform.c: (gst_base_transform_event):
12144         * gst/base/gstbasetransform.h:
12145         Parse newsegment correctly in basetransform
12146
12147         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12148         Sync to clock using updated segment values.
12149
12150 2005-11-15  Andy Wingo  <wingo@pobox.com>
12151
12152         * check/gst/gstpipeline.c (test_base_time): Add check that the
12153         base time and stream time are reset correctly.
12154
12155 2005-11-15  Wim Taymans  <wim@fluendo.com>
12156
12157         * docs/design/part-TODO.txt:
12158         Some more TODO items.
12159
12160 2005-11-15  Andy Wingo  <wingo@pobox.com>
12161
12162         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
12163         error if the user selected "no clock" as the clocking method.
12164
12165         * check/gst/gstpipeline.c (test_base_time): New test for buffer
12166         timestamps with live capture.
12167
12168         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
12169         is 0 but we are a live source, timestamp the buffers using the
12170         element's clock.
12171
12172 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
12173
12174         * docs/gst/gstreamer-sections.txt:
12175         * gst/gsterror.c:
12176         * gst/gstghostpad.c:
12177         * gst/gstobject.h:
12178         * gst/gstxml.c:
12179           more section docs
12180
12181 2005-11-14  Wim Taymans  <wim@fluendo.com>
12182
12183         * common/gst.supp:
12184           add suppressions from Wim's Debian machine
12185
12186 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12187
12188         * common/gst.supp:
12189           add suppressions from Andy's AMD64 Ubuntu machine
12190
12191 2005-11-14  Andy Wingo  <wingo@pobox.com>
12192
12193         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
12194         STATE_LOCK not necessary. Fixes #311489.
12195
12196         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
12197         #305291.
12198
12199         * gst/gstindex.c (gst_index_add_object): Note in the docs that
12200         this function is not implemented.
12201
12202 2005-11-14  Julien MOUTTE  <julien@moutte.net>
12203
12204         * gst/base/gstbasetransform.c:
12205         (gst_base_transform_prepare_output_buf):
12206         Ref the source pad caps while we need them.
12207         Fixes (#321386)
12208
12209 2005-11-11  Wim Taymans  <wim@fluendo.com>
12210
12211         * docs/gst/gstreamer-sections.txt:
12212         Added some docs for GstCollectData.
12213
12214         * gst/base/gstadapter.c:
12215         Some small code example fix.
12216
12217         * gst/base/gstcollectpads.c:
12218         * gst/base/gstcollectpads.h:
12219         Document some more.
12220
12221 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12222
12223         * configure.ac: back to HEAD
12224
12225 === release 0.9.5 ===
12226
12227 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
12228
12229         * configure.ac:
12230           releasing 0.9.5, "Bike Lunch Day"
12231
12232 2005-11-11  Wim Taymans  <wim@fluendo.com>
12233
12234         * gst/gstbuffer.c: (_gst_buffer_copy):
12235         Copy more flags.
12236
12237         * gst/gstcaps.c: (gst_caps_is_equal):
12238         Fix some docs.
12239         Make _is_equal fast in the trivial cases.
12240
12241         * gst/gstminiobject.c:
12242         * gst/gstminiobject.h:
12243         More docs. Spifify .h file.
12244
12245         * gst/gstutils.c:
12246         Small doc update.
12247
12248 2005-11-11  Wim Taymans  <wim@fluendo.com>
12249
12250         * gst/base/gstbasetransform.c:
12251         (gst_base_transform_prepare_output_buf),
12252         (gst_base_transform_handle_buffer):
12253         Small cleanups.
12254         If we're processing a buffer and need to allocate an output
12255         buffer, we cannot accept a format change. If we did get a 
12256         format change, we have to alloc a buffer ourselves of the 
12257         right size.
12258
12259 2005-11-11  Wim Taymans  <wim@fluendo.com>
12260
12261         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
12262         While checking the flag for reentrancy in the gstcaps function
12263         is nice to detect recursive invocations, it also makes it 
12264         impossible to call getcaps from multiple threads, which must be
12265         possible. So, checking for recursive calls has to go.
12266
12267 2005-11-11  Michael Smith <msmith@fluendo.com>
12268
12269         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12270           Don't sync on buffers that fall partially outside our current
12271           segment. Prevents an assertion failure/abort playing some files.
12272
12273 2005-11-10  Andy Wingo  <wingo@pobox.com>
12274
12275         * check/gst/gstbin.c (test_message_state_changed_children): Style
12276         fix..
12277
12278         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
12279         gst_bus_poll with the signal watch. Ensures that poll and a signal
12280         watch see the same messages.
12281
12282         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
12283         a poll and a watch at the same time get the same messages.
12284
12285 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12286
12287         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
12288         * gst/gstcaps.c: (gst_caps_intersect):
12289           Don't call gst_caps_do_simplify - it doesn't respect order of caps
12290           and it's not needed.
12291
12292 2005-11-10  Wim Taymans  <wim@fluendo.com>
12293
12294         * docs/design/part-TODO.txt:
12295         Updated todo.
12296
12297 2005-11-10  Wim Taymans  <wim@fluendo.com>
12298
12299         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12300         * gst/base/gstbasesrc.c: (gst_base_src_wait),
12301         (gst_base_src_do_sync), (gst_base_src_get_range):
12302         Implement clock sync in base class.
12303
12304 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12305
12306         patch by: Tim-Philipp Müller <tim at centricular dot net>
12307
12308         * gst/gststructure.c: (gst_structure_parse_field),
12309         (gst_structure_from_string):
12310           Forward-port a 0.8 patch to handle escaped spaces in structure string,
12311           so that gst_parse_launch() can deal with spaces in filtered link
12312           caps (fixes #164479)
12313         * check/gst/capslist.h:
12314         * check/gst/gststructure.c: (GST_START_TEST):
12315           add unit tests for this change
12316
12317 2005-11-10  Wim Taymans  <wim@fluendo.com>
12318
12319         * docs/gst/gstreamer-sections.txt:
12320         * gst/gstelement.c:
12321         * gst/gstelement.h:
12322         Fix docs, move some STATE macros to private.
12323
12324 2005-11-10  Wim Taymans  <wim@fluendo.com>
12325
12326         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12327         Added check for bug #317341
12328
12329         * gst/gstbuffer.c:
12330         * gst/gstbuffer.h:
12331         Some more spiffifying.
12332
12333         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
12334         Call peer linkfunction if we are a source pad. Totally fixes
12335         #317341
12336
12337         * gst/gstpad.c:
12338         Update docs, source pads should call the peer linkfunction
12339         so they can atomically perform the pad link.
12340
12341 2005-11-09  Wim Taymans  <wim@fluendo.com>
12342
12343         * gst/gstbuffer.c:
12344         * gst/gstbuffer.h:
12345         Uber-spiffy-spiffify some more.
12346
12347 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
12348
12349         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
12350         * gst/elements/gstfilesink.c: (gst_file_sink_init):
12351         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12352         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
12353         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
12354         * gst/gstpad.c: (gst_pad_init):
12355           Use GST_DEBUG_FUNCPTR() more extensively.
12356
12357 2005-11-09  Wim Taymans  <wim@fluendo.com>
12358
12359         * gst/gstobject.c: (gst_object_class_init):
12360         * gst/gstobject.h:
12361         Documentation fixes.
12362
12363 2005-11-09  Edward Hervey  <edward@fluendo.com>
12364
12365         * gst/gsttypefindfactory.c:
12366         Fix docs.
12367         
12368 2005-11-09  Edward Hervey  <edward@fluendo.com>
12369
12370         * gst/base/gsttypefindhelper.c:
12371         * gst/gsttypefind.c:
12372         * gst/gsttypefind.h:
12373         Fix docs.
12374
12375 2005-11-09  Wim Taymans  <wim@fluendo.com>
12376
12377         * gst/gstiterator.c:
12378         Fix revision data.
12379
12380         * gst/gsttask.c:
12381         * gst/gsttask.h:
12382         Fix docs.
12383
12384 2005-11-09  Wim Taymans  <wim@fluendo.com>
12385
12386         * gst/gstevent.h:
12387         * gst/gsturi.h:
12388         Fix docs.
12389
12390 2005-11-09  Wim Taymans  <wim@fluendo.com>
12391
12392         * docs/gst/gstreamer-sections.txt:
12393         Moved the message async delivery private lock and cond
12394         to the private section.
12395
12396         * gst/gstmessage.c:
12397         * gst/gstmessage.h:
12398         Fixed docs.
12399
12400 2005-11-09  Edward Hervey  <edward@fluendo.com>
12401
12402         * docs/gst/gstreamer-sections.txt:
12403         * gst/gsturi.c:
12404         * gst/gsturi.h:
12405         Document GstURIHandler
12406
12407 2005-11-09  Wim Taymans  <wim@fluendo.com>
12408
12409         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
12410         (gst_iterator_find_custom):
12411         * gst/gstiterator.h:
12412         Fix iterator docs.
12413
12414 2005-11-09  Wim Taymans  <wim@fluendo.com>
12415
12416         * gst/gstbin.h:
12417         Document another field.
12418
12419         * gst/gststructure.c:
12420         * gst/gststructure.h:
12421         Document.
12422
12423 2005-11-09  Wim Taymans  <wim@fluendo.com>
12424
12425         * gst/gstbin.h:
12426         Documented structs.
12427
12428 2005-11-09  Wim Taymans  <wim@fluendo.com>
12429
12430         * docs/gst/gstreamer-sections.txt:
12431         Added some new macros.
12432
12433         * gst/gstclock.c:
12434         * gst/gstclock.h:
12435         * gst/gstobject.h:
12436         Docs updates.
12437
12438 2005-11-09  Wim Taymans  <wim@fluendo.com>
12439
12440         * docs/design/part-TODO.txt:
12441         Some more items for the TODO
12442
12443         * gst/gstcaps.c:
12444         * gst/gstcaps.h:
12445         Document GstCaps.
12446
12447 2005-11-09  Andy Wingo  <wingo@pobox.com>
12448
12449         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
12450         to work on something else now tho...
12451
12452         * gst/base/gstadapter.c: More adapter docs.
12453
12454         * gst/elements/gstfilesink.c (gst_file_sink_start) 
12455         (gst_file_sink_stop): New functions, replace the state change
12456         handler.
12457         (gst_file_sink_class_init): Hook up the start and stop functions.
12458         (gst_file_sink_base_init): Don't set the state change handler any
12459         more. It was a bit ugly too, being set from here...
12460         (gst_file_sink_get_property, gst_file_sink_set_property):
12461         Cleanups...
12462         (gst_file_sink_set_location): More robust check that doesn't call
12463         GST_STATE. Ugggggg.
12464
12465 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
12466
12467         * gst/base/gstbasetransform.c: (gst_base_transform_event):
12468           Hold STREAM_LOCK while pushing newsegment or tag events as well.
12469
12470 2005-11-08  Wim Taymans  <wim@fluendo.com>
12471
12472         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
12473         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12474         (gst_base_sink_chain), (gst_base_sink_change_state):
12475         * gst/base/gstbasesink.h:
12476         * gst/base/gstbasesrc.h:
12477         * gst/gstelement.h:
12478         * gst/gstevent.h:
12479         Avoid excessive typechecking in macros.
12480
12481         * gst/gstminiobject.c: (gst_mini_object_get_type),
12482         (gst_mini_object_init), (gst_mini_object_new),
12483         (gst_mini_object_free):
12484         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12485         (gst_object_finalize):
12486         Remove cruft code, optimize alloc_trace.
12487
12488 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12489
12490         * docs/faq/gst-uninstalled:
12491           fix up PS1 for systems that try to reset it
12492
12493 2005-11-07  Wim Taymans  <wim@fluendo.com>
12494
12495         * gst/base/gstbasesrc.c: (gst_base_src_init),
12496         (gst_base_src_get_range):
12497         Set the segment_end to -1 initially. Fixed typefind.
12498
12499 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
12500
12501         * gst/base/gstadapter.c:
12502           Debug category should be 'adapter', not 'GstAdapter'.
12503           
12504         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
12505         (gst_collectpads_class_init), (gst_collectpads_init),
12506         (gst_collectpads_peek), (gst_collectpads_pop),
12507         (gst_collectpads_event), (gst_collectpads_chain):
12508           Add debug category and some debugging output. Use boilerplate
12509           macros. Remove some extraneous words from docs.
12510
12511 2005-11-05  Andy Wingo  <wingo@pobox.com>
12512
12513         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
12514         macro.
12515
12516 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
12517
12518         * docs/gst/gstreamer-sections.txt:
12519         * gst/gstcaps.h:
12520         * gst/gstinfo.c:
12521         * gst/gstminiobject.h:
12522         * gst/gstobject.h:
12523         * gst/gstutils.h:
12524           more docs added
12525
12526 2005-11-04  Wim Taymans  <wim@fluendo.com>
12527
12528         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12529         Small update to stop at the configured segment_end
12530         position.
12531
12532 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
12533
12534         * gst/gstregistry.c:
12535         * gst/gstregistry.h:
12536           added missing docs
12537
12538 2005-11-04  Edward Hervey  <edward@fluendo.com>
12539
12540         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12541         Check if we are doing a segment seek and have arrived at the
12542         end of that segment.
12543
12544 2005-11-04  Wim Taymans  <wim@fluendo.com>
12545
12546         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
12547         Don't leak a mutex unlock in case of an error.
12548
12549         * gst/gstbus.h:
12550         Doc fixes.
12551
12552 2005-11-04  Wim Taymans  <wim@fluendo.com>
12553
12554         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
12555         (gst_bus_post):
12556         Get the context to wake up only once.
12557
12558 2005-11-03  Wim Taymans  <wim@fluendo.com>
12559
12560         * check/states/sinks.c: (GST_START_TEST):
12561         Uncomment fixed check.
12562
12563         * docs/design/part-TODO.txt:
12564         Updated TODO.
12565
12566         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12567         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12568         (gst_base_sink_get_position):
12569         If we are going to PLAYING, post the right pending state
12570         when we post the intermediate paused message.
12571
12572         * gst/gstelement.c: (gst_element_continue_state),
12573         (gst_element_set_state_func), (gst_element_change_state):
12574         Don't post state changes that were between the same state
12575         and were not ASYNC.
12576
12577 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
12578
12579         * docs/gst/gstreamer-sections.txt:
12580         * gst/gstcaps.h:
12581         * gst/gstinfo.c:
12582         * gst/gstminiobject.h:
12583         * gst/gstobject.h:
12584         * gst/gstutils.h:
12585           more docs and doc style fixes
12586
12587 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
12588
12589         * docs/gst/gstreamer-sections.txt:
12590         * gst/gstelement.c:
12591         * gst/gstminiobject.c:
12592         doc fixes
12593
12594 2005-11-03  Andy Wingo  <wingo@pobox.com>
12595
12596         * check/states/sinks.c (test_livesrc_sink): Add checks that the
12597         state-changed messages actually have the right order and the right
12598         values.
12599
12600 2005-11-03  Wim Taymans  <wim@fluendo.com>
12601
12602         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
12603         Added some more checks. Specifically the case where NO_PREROLL
12604         elements are in the pipeline.
12605
12606         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12607         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12608         (gst_base_sink_get_position):
12609         Post READY->PAUSED state change messages too.
12610         Fix bug where VOID was posted as pending state...
12611
12612         * gst/gstbin.c: (gst_bin_recalc_state):
12613         use _element_continue_state() to continue the state change.
12614
12615         * gst/gstelement.c: (gst_element_continue_state),
12616         (gst_element_commit_state), (gst_element_set_state_func),
12617         (gst_element_change_state), (gst_element_change_state_func):
12618         Lots of state change cleanups, assign the STATE_RETURN in
12619         a new continue_state() function that also propagates the
12620         last return value from a state change to the app.
12621         Update some debug statements with proper category.
12622
12623 2005-11-03  Wim Taymans  <wim@fluendo.com>
12624
12625         * docs/design/part-events.txt:
12626         * docs/design/part-gstpipeline.txt:
12627         * docs/design/part-messages.txt:
12628         * docs/design/part-overview.txt:
12629         * docs/design/part-seeking.txt:
12630         * docs/design/part-states.txt:
12631         * docs/design/part-trickmodes.txt:
12632         * docs/manual/advanced-position.xml:
12633         Small docs updates.
12634
12635         * gst/gstobject.h:
12636         People think !! is ugly, this looks better.
12637
12638         * gst/gstpad.c: (gst_pad_set_blocked_async):
12639         Remove !! since it's fixed elsewhere now.
12640
12641 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12642
12643         * gst/gstminiobject.h:
12644         * gst/gstobject.h:
12645           Add !! to _FLAG_IS_SET macros to make the result boolean.
12646
12647 2005-11-03  Edward Hervey  <edward@fluendo.com>
12648
12649         * gst/gstpad.c: (gst_pad_set_blocked_async):
12650         comparing a flag and a gboolean rarely returns coherent results...
12651         Added two characters (!!) to make that work correctly.
12652         
12653 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12654
12655         * gst/gstbus.c: (gst_bus_class_init):
12656           Fix some typos.
12657           
12658         * gst/gstqueue.c: (gst_queue_loop):
12659           Don't assume a miniobject that isn't a buffer is an
12660           event (it could be that there is a refcounting
12661           problem somewhere and the pointer is stale and
12662           refers to an already destroyed miniobject).
12663
12664 2005-11-03  Julien MOUTTE  <julien@moutte.net>
12665
12666         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
12667
12668 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12669
12670         * docs/manual/advanced-position.xml:
12671           Update seek example and explanations to current 0.9 API.
12672
12673         * gst/elements/gsttypefindelement.c:
12674         (gst_type_find_element_activate):
12675           Remove FIXME comment now that the found caps
12676           are unreffed.
12677
12678 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12679
12680         * gst/gstregistryxml.c: (load_feature):
12681           Add another GST_STR_NULL instance
12682
12683 2005-11-02  Edward Hervey  <edward@fluendo.com>
12684
12685         * gst/gstpad.c: (handle_pad_block):
12686         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
12687         
12688 2005-11-02  Wim Taymans  <wim@fluendo.com>
12689
12690         * gst/gstbin.c:
12691         Fix typo in docs.
12692
12693         * gst/gstelement.c: (gst_element_commit_state):
12694         Remove unused value.
12695
12696         * gst/gstiterator.c:
12697         Mention that the returned element is reffed in the docs.
12698
12699 2005-11-02  Wim Taymans  <wim@fluendo.com>
12700
12701         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
12702         (gst_pad_push), (gst_pad_push_event):
12703         Unlock blocked pads when they are flushed.
12704
12705 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12706
12707         * docs/README:
12708         * docs/gst/gstreamer-sections.txt:
12709         * gst/gstbin.c:
12710           doc updates
12711         * gst/gstregistry.c: (gst_registry_scan_path_level):
12712           fix for a nasty little missed situation where an installed plug-in
12713           which was in the cache did not get overridden by an uninstalled one
12714           which was earlier in the plugin path because the newly created plugin
12715           for the uninstalled one (not in the registry) didn't get its
12716           ->registered set to TRUE
12717
12718 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
12719
12720         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
12721         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
12722         (gst_collectpads_is_active), (gst_collectpads_collect),
12723         (gst_collectpads_collect_range), (gst_collectpads_start),
12724         (gst_collectpads_stop), (gst_collectpads_peek),
12725         (gst_collectpads_pop), (gst_collectpads_available),
12726         (gst_collectpads_read), (gst_collectpads_flush):
12727           Guard public API with assertions.
12728         
12729         * gst/gstpad.c:
12730           Fix docs for gst_pad_set_link_function().
12731
12732 2005-11-02  Johan Dahlin  <johan@gnome.org>
12733
12734         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
12735         Unref found_caps after we used it.
12736
12737 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
12738
12739         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
12740           Don't try to ref NULL.
12741
12742 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12743
12744         * win32/common/config.h.in:
12745           provide a GST_FUNCTION that just gives a string for now
12746
12747 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12748
12749         * win32/common/gstenumtypes.c: (register_gst_object_flags),
12750         (gst_object_flags_get_type), (register_gst_bin_flags),
12751         (gst_bin_flags_get_type), (register_gst_buffer_flag),
12752         (gst_buffer_flag_get_type), (register_gst_bus_flags),
12753         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12754         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
12755         (gst_clock_return_get_type), (register_gst_clock_entry_type),
12756         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12757         (gst_clock_flags_get_type), (register_gst_state),
12758         (gst_state_get_type), (register_gst_state_change_return),
12759         (gst_state_change_return_get_type), (register_gst_state_change),
12760         (gst_state_change_get_type), (register_gst_element_flags),
12761         (gst_element_flags_get_type), (register_gst_core_error),
12762         (gst_core_error_get_type), (register_gst_library_error),
12763         (gst_library_error_get_type), (register_gst_resource_error),
12764         (gst_resource_error_get_type), (register_gst_stream_error),
12765         (gst_stream_error_get_type), (register_gst_event_type),
12766         (gst_event_type_get_type), (register_gst_seek_type),
12767         (gst_seek_type_get_type), (register_gst_seek_flags),
12768         (gst_seek_flags_get_type), (register_gst_format),
12769         (gst_format_get_type), (register_gst_index_certainty),
12770         (gst_index_certainty_get_type), (register_gst_index_entry_type),
12771         (gst_index_entry_type_get_type),
12772         (register_gst_index_lookup_method),
12773         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12774         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12775         (gst_index_resolver_method_get_type), (register_gst_index_flags),
12776         (gst_index_flags_get_type), (register_gst_debug_level),
12777         (gst_debug_level_get_type), (register_gst_debug_color_flags),
12778         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12779         (gst_iterator_result_get_type), (register_gst_iterator_item),
12780         (gst_iterator_item_get_type), (register_gst_message_type),
12781         (gst_message_type_get_type), (register_gst_mini_object_flags),
12782         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12783         (gst_pad_link_return_get_type), (register_gst_flow_return),
12784         (gst_flow_return_get_type), (register_gst_activate_mode),
12785         (gst_activate_mode_get_type), (register_gst_pad_direction),
12786         (gst_pad_direction_get_type), (register_gst_pad_flags),
12787         (gst_pad_flags_get_type), (register_gst_pad_presence),
12788         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12789         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12790         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12791         (gst_plugin_error_get_type), (register_gst_plugin_flags),
12792         (gst_plugin_flags_get_type), (register_gst_rank),
12793         (gst_rank_get_type), (register_gst_query_type),
12794         (gst_query_type_get_type), (register_gst_tag_merge_mode),
12795         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12796         (gst_tag_flag_get_type), (register_gst_task_state),
12797         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12798         (gst_alloc_trace_flags_get_type),
12799         (register_gst_type_find_probability),
12800         (gst_type_find_probability_get_type), (register_gst_uri_type),
12801         (gst_uri_type_get_type), (register_gst_parse_error),
12802         (gst_parse_error_get_type):
12803         * win32/common/gstversion.h:
12804           update win32 copies
12805
12806 2005-11-01  Luca Ognibene  <luogni@tin.it>
12807
12808         * gst/gst.c:
12809           fix docs. popt is dead, long live GOption.
12810
12811 2005-10-31  Wim Taymans  <wim@fluendo.com>
12812
12813         * gst/gstbuffer.h:
12814         Small doc fix.
12815
12816 2005-10-31  Andy Wingo  <wingo@pobox.com>
12817
12818         * Boo!
12819
12820         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
12821
12822         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
12823         need to serialize property notifications on GLib 2.8. GLib 2.6 has
12824         the possibility of deadlocks here if code calling notify() or
12825         set() has a lock that can be taken in another notify handler (ABBA
12826         with class lock and e.g. python GIL state lock).
12827
12828 2005-10-28  Julien MOUTTE  <julien@moutte.net>
12829
12830         * gst/gstbus.c: Doc updates.
12831
12832 2005-10-28  Wim Taymans  <wim@fluendo.com>
12833
12834         * docs/design/part-TODO.txt:
12835         * gst/gstiterator.c:
12836         * gst/gstsystemclock.c:
12837         * gst/gstsystemclock.h:
12838         Doc updates.
12839
12840 2005-10-28  Edward Hervey  <edward@fluendo.com>
12841
12842         * docs/gst/gstreamer-docs.sgml:
12843         * docs/gst/gstreamer-sections.txt:
12844         the GstURIType documentation page is private, it only defines GstURIType
12845         which should be defined in the GstURIHandler page
12846         
12847 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12848
12849         * gst/gstbin.c: (gst_bin_class_init):
12850         * gst/gstbin.h:
12851         * gst/gstutils.c:
12852         Documentation updates.
12853
12854 2005-10-28  Wim Taymans  <wim@fluendo.com>
12855
12856         * docs/gst/gstreamer-sections.txt:
12857         * gst/gstclock.c:
12858         * gst/gstclock.h:
12859         Documented the clocks.
12860
12861 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
12862
12863         * docs/gst/gstreamer-sections.txt:
12864           move some macros to private sections
12865         * gst/gstminiobject.c:
12866         * gst/gstminiobject.h:
12867           add descriptions provided by ds and some more
12868         * gst/gstpad.h:
12869           mark macro as to be removed
12870
12871 2005-10-28  Wim Taymans  <wim@fluendo.com>
12872
12873         * docs/design/part-TODO.txt:
12874         Add an item to TODO.
12875
12876         * gst/gstiterator.c: (gst_iterator_fold),
12877         (gst_iterator_find_custom):
12878         * gst/gstiterator.h:
12879         Add iterator docs.
12880
12881 2005-10-28  Wim Taymans  <wim@fluendo.com>
12882
12883         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12884         (gst_base_transform_init):
12885         Don't leak class.
12886
12887         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
12888         An EOS event marks the queue as completely filled.
12889
12890 2005-10-27  Wim Taymans  <wim@fluendo.com>
12891
12892         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12893         (gst_base_sink_do_sync), (gst_base_sink_get_position):
12894         Some more debugging.
12895
12896         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
12897         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
12898         (gst_base_transform_event), (gst_base_transform_getrange),
12899         (gst_base_transform_chain):
12900         * gst/base/gstbasetransform.h:
12901         Fix debugging,
12902         Protect transform and concurrent buffer alloc with a new lock.
12903         Try not to break ABI/API.
12904
12905 2005-10-27  Wim Taymans  <wim@fluendo.com>
12906
12907         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12908         (gst_base_src_init), (gst_base_src_query),
12909         (gst_base_src_default_newsegment),
12910         (gst_base_src_configure_segment), (gst_base_src_do_seek),
12911         (gst_base_src_send_event), (gst_base_src_event_handler),
12912         (gst_base_src_pad_get_range), (gst_base_src_loop),
12913         (gst_base_src_unlock), (gst_base_src_default_negotiate),
12914         (gst_base_src_start), (gst_base_src_deactivate),
12915         (gst_base_src_activate_push), (gst_base_src_change_state):
12916         Move some stuff around and cleanup things.
12917
12918 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
12919
12920         * gst/base/gstbasesrc.c: (gst_base_src_query):
12921           Add missing break statements.
12922
12923 2005-10-27  Wim Taymans  <wim@fluendo.com>
12924
12925         * check/gst/gstbin.c: (GST_START_TEST):
12926         An extra refcount is taken in basesrc.
12927
12928         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
12929         (gst_base_src_get_range), (gst_base_src_pad_get_range),
12930         (gst_base_src_loop):
12931         Small cleanups, check for flushing after being unlocked from the 
12932         LIVE_LOCK. take refcounts correctly (not yet everywhere).
12933         Don't send out EOS when going to READY.
12934
12935 2005-10-27  Wim Taymans  <wim@fluendo.com>
12936
12937         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12938         (gst_base_sink_get_position):
12939         Some more debug.
12940
12941         * gst/gstbin.c: (message_check), (bin_replace_message),
12942         (bin_remove_messages), (is_eos), (gst_bin_add_func),
12943         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12944         (bin_query_duration_init), (bin_query_duration_fold),
12945         (bin_query_duration_done), (bin_query_generic_fold),
12946         (gst_bin_query):
12947         * tools/gst-launch.c: (main):
12948         Remove old option.
12949
12950 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
12951
12952         * examples/controller/audio-example.c: (main):
12953         * examples/queue/queue.c: (event_loop):
12954         * gst/base/gstbasetransform.h:
12955         * gst/gstelement.c: (gst_element_send_event):
12956         * gst/gstevent.h:
12957         * gst/gstpad.c: (gst_pad_send_event):
12958           fixing examples
12959           fixing docs typos
12960           changing log priority in error situations
12961
12962 2005-10-25  Wim Taymans  <wim@fluendo.com>
12963
12964         * gst/gstbin.c: (message_check), (bin_replace_message),
12965         (bin_remove_messages), (is_eos), (gst_bin_add_func),
12966         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12967         (bin_query_duration_init), (bin_query_duration_fold),
12968         (bin_query_duration_done), (bin_query_generic_fold),
12969         (gst_bin_query):
12970         Some doc and debug updates.
12971         Cache previously requested query DURATION for speed. invalidate
12972         cached duration if element posts a DURATION message.
12973
12974 2005-10-25  Wim Taymans  <wim@fluendo.com>
12975
12976         * docs/design/part-TODO.txt:
12977         Update TODO.
12978
12979         * gst/gstbin.c: (message_check), (bin_replace_message),
12980         (bin_remove_messages), (is_eos), (gst_bin_add_func),
12981         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12982         (bin_query_duration_init), (bin_query_duration_fold),
12983         (bin_query_duration_done), (bin_query_generic_fold),
12984         (gst_bin_query):
12985         Handle SEGMENT_START/DONE messages correctly.
12986         More evolved query algorithm that handles duration queries
12987         correctly.
12988
12989         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
12990         (gst_element_get_state_func), (gst_element_abort_state),
12991         (gst_element_commit_state), (gst_element_lost_state):
12992         Some more debugging.
12993
12994         * gst/gstmessage.h:
12995         Added doc.
12996
12997 2005-10-25  Wim Taymans  <wim@fluendo.com>
12998
12999         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13000         Don't use invalid stream_time.
13001
13002         * gst/gstevent.c: (gst_event_new_newsegment):
13003         stream_time in newsegment cannot be undefined.
13004
13005 2005-10-24  Wim Taymans  <wim@fluendo.com>
13006
13007         * gst/gstbus.c:
13008         Doc fix.
13009
13010         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13011         (gst_queue_loop):
13012         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
13013
13014 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
13015
13016         * docs/libs/tmpl/gstdparam.sgml:
13017         * docs/libs/tmpl/gstdplinint.sgml:
13018         * docs/libs/tmpl/gstdpman.sgml:
13019         * docs/libs/tmpl/gstdpsmooth.sgml:
13020         * docs/libs/tmpl/gstunitconvert.sgml:
13021           these are obsolete
13022
13023 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13024
13025         * configure.ac:
13026           back to HEAD
13027
13028 === release 0.9.4 ===
13029
13030 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13031
13032         * configure.ac:
13033           releasing 0.9.4, "Tyrannosaurus Rex"
13034
13035 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
13036
13037         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13038         (gst_file_sink_get_current_offset):
13039           Use fseeko() and ftello() if available. When falling back on
13040           lseek() to get the current offset, fflush() first to make sure
13041           everything is up-to-date and we get the right offset.
13042
13043 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13044
13045         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13046         * gst/base/gstbasesrc.c: (gst_base_src_loop):
13047         * gst/gsterror.c: (_gst_stream_errors_init):
13048         * gst/gsterror.h:
13049         * gst/gstqueue.c: (gst_queue_loop):
13050         * po/POTFILES.in:
13051           remove prematurely added error category and clean up the instances
13052
13053 2005-10-21  Wim Taymans  <wim@fluendo.com>
13054
13055         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13056         (gst_base_sink_get_position), (gst_base_sink_query),
13057         (gst_base_sink_change_state):
13058         Simply set the right flag when going to playing, that's all
13059         we need to do instead of calling a function inside the object
13060         lock (that could take the lock as well and deadlock)
13061
13062 2005-10-21  Wim Taymans  <wim@fluendo.com>
13063
13064         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
13065         (gst_base_src_loop):
13066         Don't warn, the peer element knows what to do best when
13067         the seek failed, it might try something else.
13068
13069 2005-10-21  Wim Taymans  <wim@fluendo.com>
13070
13071         * gst/base/gstbasesrc.c: (gst_base_src_init),
13072         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13073         Fix seeking.
13074
13075 2005-10-21  Wim Taymans  <wim@fluendo.com>
13076
13077         * docs/design/part-segments.txt:
13078         More docs.
13079
13080         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13081         Correctly set caps, even on the subbufer.
13082
13083 2005-10-21  Wim Taymans  <wim@fluendo.com>
13084
13085         * docs/gst/gstreamer-docs.sgml:
13086         * docs/gst/gstreamer-sections.txt:
13087         * gst/gstelement.h:
13088         * gst/gstevent.c:
13089         * gst/gstevent.h:
13090         * gst/gstmessage.h:
13091         * gst/gstpad.h:
13092         * gst/gstparse.h:
13093         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
13094         * gst/gsttask.h:
13095         * gst/gstutils.c:
13096         * gst/gstutils.h:
13097         And 2% more doc coverage.
13098
13099 2005-10-21  Andy Wingo  <wingo@pobox.com>
13100
13101         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
13102         position reporting.
13103
13104 2005-10-20  Wim Taymans  <wim@fluendo.com>
13105
13106         * gst/gsterror.c: (gst_error_get_message):
13107         * gst/gstparse.h:
13108         * gst/gstquery.h:
13109         * gst/gststructure.c:
13110         * gst/gsttrace.c:
13111         * gst/gstutils.c:
13112         More docs.
13113
13114 2005-10-20  Wim Taymans  <wim@fluendo.com>
13115
13116         * gst/gstbuffer.h:
13117         * gst/gstpad.c:
13118         * gst/gstparse.c:
13119         Another 1% more coverage.
13120
13121 2005-10-20  Wim Taymans  <wim@fluendo.com>
13122
13123         * docs/gst/gstreamer-sections.txt:
13124         * gst/gstelement.c: (gst_element_get_state_func),
13125         (gst_element_abort_state), (gst_element_commit_state),
13126         (gst_element_lost_state):
13127         * gst/gstevent.h:
13128         * gst/gstquery.c: (gst_query_set_position),
13129         (gst_query_parse_position), (gst_query_set_duration),
13130         (gst_query_parse_duration), (gst_query_new_convert):
13131         * gst/gstutils.c:
13132         Yay! 1% more docs coverage.
13133
13134 2005-10-20  Wim Taymans  <wim@fluendo.com>
13135
13136         * gst/gstpad.h:
13137         * gst/gstquery.c: (gst_query_set_position),
13138         (gst_query_parse_position), (gst_query_set_duration),
13139         (gst_query_parse_duration), (gst_query_new_convert):
13140         * gst/gstquery.h:
13141         * gst/gstutils.c: (gst_element_query_convert):
13142         * gst/gstutils.h:
13143         Docs and consistency fixes.
13144
13145 2005-10-20  Wim Taymans  <wim@fluendo.com>
13146
13147         * gst/gsttask.c:
13148         * gst/gsttask.h:
13149         More docs.
13150
13151 2005-10-20  Wim Taymans  <wim@fluendo.com>
13152
13153         * gst/gstbin.c: (message_check), (bin_replace_message),
13154         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13155         (update_degree), (gst_bin_sort_iterator_next),
13156         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
13157         Reworked the message handling a bit, cache the messages instead of
13158         only the senders. alows us to do more in the future.
13159
13160 2005-10-20  Wim Taymans  <wim@fluendo.com>
13161
13162         * docs/design/part-TODO.txt:
13163         Update TODO
13164
13165         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13166         (gst_base_sink_query):
13167         Don't use clock time to report position when in EOS.
13168
13169 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
13170
13171         * tools/gst-inspect.c: (print_interfaces),
13172         (print_element_properties_info), (print_element_info):
13173           Fix interface output with gst-inspect -a; don't print
13174           newlines after double/float properties.
13175
13176 2005-10-20  Wim Taymans  <wim@fluendo.com>
13177
13178         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13179         (gst_base_sink_query):
13180         Speed up current position calculation.
13181
13182         * gst/base/gstbasesrc.c: (gst_base_src_query),
13183         (gst_base_src_default_newsegment):
13184         Correctly set stream position in newsegment.
13185
13186         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
13187         (update_degree), (gst_bin_sort_iterator_next),
13188         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
13189         * gst/gstmessage.c: (gst_message_new_custom):
13190         Clean up debugging info
13191
13192         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13193         (gst_queue_loop), (gst_queue_handle_src_query):
13194         Pause task faster.
13195
13196 2005-10-19  Wim Taymans  <wim@fluendo.com>
13197
13198         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13199         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13200         Fix query handling again.
13201
13202 2005-10-19  Wim Taymans  <wim@fluendo.com>
13203
13204         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13205         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13206         * gst/base/gstbasesrc.c: (gst_base_src_query):
13207         * gst/elements/gstfilesink.c: (gst_file_sink_query):
13208         * gst/elements/gsttypefindelement.c:
13209         (gst_type_find_handle_src_query), (find_element_get_length),
13210         (gst_type_find_element_activate):
13211         API change fix.
13212
13213         * gst/gstquery.c: (gst_query_new_position),
13214         (gst_query_set_position), (gst_query_parse_position),
13215         (gst_query_new_duration), (gst_query_set_duration),
13216         (gst_query_parse_duration), (gst_query_set_segment),
13217         (gst_query_parse_segment):
13218         * gst/gstquery.h:
13219         Bundling query position/duration is not a good idea since duration
13220         does not change much and we don't want to recalculate it for every
13221         position query, so they are separated again..
13222         Base value in segment query is not needed.
13223
13224         * gst/gstqueue.c: (gst_queue_handle_src_query):
13225         * gst/gstutils.c: (gst_element_query_position),
13226         (gst_element_query_duration), (gst_pad_query_position),
13227         (gst_pad_query_duration):
13228         * gst/gstutils.h:
13229         Updates for query API change.
13230         Added some docs here and there.
13231
13232 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13233
13234         * check/gst/gstbin.c: (GST_START_TEST):
13235         * check/gst/gstghostpad.c: (GST_START_TEST):
13236         * check/pipelines/cleanup.c: (GST_START_TEST):
13237           wait on thread to die so we can check refcount correctly
13238
13239 2005-10-18  Wim Taymans  <wim@fluendo.com>
13240
13241         * check/pipelines/stress.c: (GST_START_TEST):
13242         Make check a little more time consuming.
13243
13244 2005-10-18  Wim Taymans  <wim@fluendo.com>
13245
13246         * check/Makefile.am:
13247         * check/pipelines/stress.c: (GST_START_TEST),
13248         (simple_launch_lines_suite), (main):
13249         Small state change torture test.
13250
13251         * docs/design/part-states.txt:
13252         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13253         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
13254         (gst_base_sink_change_state):
13255         Never take state lock from streaming thread, clean up ugly
13256         hacks. Unfortunatly core does not yet support nice ways to
13257         async commit state.
13258         
13259         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
13260         (bin_bus_handler):
13261         Start state recalc if a STATE_DIRTY message is posted, but only
13262         on the toplevel bin.
13263
13264         * gst/gstelement.c: (gst_element_sync_state_with_parent),
13265         (gst_element_get_state_func), (gst_element_abort_state),
13266         (gst_element_commit_state), (gst_element_lost_state),
13267         (gst_element_set_state_func), (gst_element_change_state):
13268         * gst/gstelement.h:
13269         State variables are now protected with the LOCK, the state
13270         lock is only used to serialize _set_state().
13271
13272 2005-10-18  Wim Taymans  <wim@fluendo.com>
13273
13274         * check/gst/gstbin.c: (GST_START_TEST):
13275         * check/gst/gstmessage.c: (GST_START_TEST):
13276         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13277         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
13278         (bin_bus_handler):
13279         * gst/gstelement.c: (gst_element_abort_state),
13280         (gst_element_commit_state), (gst_element_lost_state):
13281         * gst/gstmessage.c: (gst_message_new_state_changed),
13282         (gst_message_new_state_dirty), (gst_message_new_segment_start),
13283         (gst_message_new_segment_done), (gst_message_new_duration),
13284         (gst_message_parse_state_changed),
13285         (gst_message_parse_segment_start),
13286         (gst_message_parse_segment_done), (gst_message_parse_duration):
13287         * gst/gstmessage.h:
13288         * tools/gst-launch.c: (event_loop):
13289         Seriously, this is better than a previous commit as we only need
13290         to notify the fact that an element changed state in a streaming
13291         thread, marking the state of the parents dirty, hence the 
13292         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
13293         message.
13294
13295 2005-10-18  Wim Taymans  <wim@fluendo.com>
13296
13297         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
13298         (gst_bin_recalc_func):
13299         * gst/gstelement.c: (gst_element_set_clock),
13300         (gst_element_abort_state), (gst_element_lost_state):
13301         Cleanups, prepare for state change fixes.
13302
13303 2005-10-18  Wim Taymans  <wim@fluendo.com>
13304
13305         * gst/gstbin.h:
13306         * gst/gstelement.c: (gst_element_class_init),
13307         (gst_element_set_state), (gst_element_set_state_func):
13308         * gst/gstelement.h:
13309         Pending ABI changes.
13310         GThreadPool in GstBinClass to monitor async state changes.
13311         state_cookie in GstElement to detect concurrent gst/set state.
13312         set_state is now virtual too in case a very complicated element
13313         has to be constructed.
13314
13315 2005-10-18  Wim Taymans  <wim@fluendo.com>
13316
13317         * check/gst/gstbin.c: (GST_START_TEST):
13318         * check/gst/gstmessage.c: (GST_START_TEST):
13319         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13320         * gst/gstbin.c: (bin_bus_handler):
13321         * gst/gstelement.c: (gst_element_commit_state),
13322         (gst_element_lost_state):
13323         * gst/gstmessage.c: (gst_message_new_state_changed),
13324         (gst_message_new_segment_start), (gst_message_new_segment_done),
13325         (gst_message_new_duration), (gst_message_parse_state_changed),
13326         (gst_message_parse_segment_start),
13327         (gst_message_parse_segment_done), (gst_message_parse_duration):
13328         * gst/gstmessage.h:
13329         * tools/gst-launch.c: (event_loop):
13330         Make messages future proof.
13331         state-change gets a flag if it was a message comming from the
13332         streaming thread.
13333         segment-start/stop can also be specified in other formats.
13334         A message to notify an app that a pipeline changed playback 
13335         duration.
13336         Also fix a GstMessage leak in -launch
13337
13338 2005-10-18  Andy Wingo  <wingo@pobox.com>
13339
13340         * gst/gstelement.c (gst_element_dispose): More helpful message.
13341
13342 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13343
13344         reviewed by: <delete if not using a buddy>
13345
13346         * common/gtk-doc.mak:
13347
13348 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13349
13350         * gst/gstregistry.c: (gst_registry_scan_path_level):
13351           unref a plug-in we get that was already initialized
13352
13353 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
13354
13355         * docs/gst/gstreamer-sections.txt:
13356         * docs/libs/gstreamer-libs-sections.txt:
13357         * gst/gstelement.h:
13358           add new api entries
13359           hide internal macro
13360
13361 2005-10-17  Andy Wingo  <wingo@pobox.com>
13362
13363         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
13364         cleanup.
13365
13366         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
13367
13368         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
13369
13370         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
13371         (gst_element_get_state_func): Better debug message.
13372         (gst_element_commit_state): s/INFO/DEBUG/.
13373         (gst_element_lost_state, gst_element_change_state): 
13374
13375         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
13376         (gst_message_new_custom): s/INFO/LOG/.
13377
13378 2005-10-17  Michael Smith <msmith@fluendo.com>
13379
13380         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13381           Check if end time is valid using end time, not start time.
13382
13383 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
13384
13385         * check/gst-libs/controller.c: (GST_START_TEST),
13386         (gst_controller_suite):
13387         * libs/gst/controller/gstcontroller.c:
13388         (gst_controlled_property_set_interpolation_mode):
13389         * libs/gst/controller/gstcontroller.h:
13390         * libs/gst/controller/gstinterpolation.c:
13391         * testsuite/controller/.cvsignore:
13392         * testsuite/controller/Makefile.am:
13393         * testsuite/controller/interpolator.c:
13394           merge controller testsuites
13395           fix broken tests
13396           remove mem-chunk from docs
13397
13398 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
13399
13400         * gst/gstmemchunk.c:
13401         * gst/gstmemchunk.h:
13402         * gst/gsttrashstack.c:
13403         * gst/gsttrashstack.h:
13404           out.  get out.  you're fired.  to the Attic !
13405
13406 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
13407
13408         * gst/gstcaps.c: (gst_caps_intersect):
13409           fix signedness issues in a (hopefully) correct way
13410         * gst/gstelement.c: (gst_element_pads_activate):
13411           some debugging
13412         * gst/gstobject.c: (gst_object_set_parent):
13413           some debugging
13414
13415 2005-10-17  Julien MOUTTE  <julien@moutte.net>
13416
13417         * gst/gstvalue.h: Fix prototypes.
13418
13419 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13420
13421         * docs/gst/gstreamer-sections.txt:
13422         * gst/gst.c: (gst_version_string):
13423         * gst/gst.h:
13424         * gst/gstversion.h.in:
13425         * win32/common/libgstreamer.def:
13426           add gst_version_string ()
13427
13428 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13429
13430         * configure.ac:
13431           clean up further
13432         * gst/gst.c: (init_post):
13433         * win32/common/config.h.in:
13434           it's PLUGINDIR now
13435         * gst/gstcaps.c: (gst_caps_intersect):
13436           use gint64, the range could be bigger than a guint
13437
13438 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13439
13440         * gst/gstclock.h:
13441           document potential problem in 2038
13442
13443 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13444
13445         * gst/gstcaps.c: (gst_caps_intersect):
13446           Fix guint j diving under 0
13447
13448 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13449
13450         * configure.ac:
13451         * win32/common/config.h:
13452         * win32/common/config.h.in:
13453           check for process.h, declares getpid() on Windows
13454         * gst/gstinfo.c:
13455           include process.h if we have it
13456         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
13457         * gst/gstmemchunk.h:
13458           fix signedness issues
13459         * win32/common/libgstreamer.def:
13460           fix get_type's
13461
13462 2005-10-16  Julien MOUTTE  <julien@moutte.net>
13463
13464         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
13465         fix. Because of unsigned ints, caps intersection was going nuts and
13466         trying to access structures with G_MAXUINT index. That fixes
13467         videotestsrc ! ffmpegcolorspace ! fakesink
13468         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
13469         consistency.
13470
13471 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13472
13473         * configure.ac:
13474           use the gettext macro
13475         * gst/elements/gstelements.c:
13476         * gst/gst.c:
13477         * gst/indexers/gstindexers.c:
13478           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
13479         * win32/common/config.h:
13480           updated config.h
13481         * win32/common/config.h.in:
13482           add the template to generate config.h
13483         * win32/common/gstenumtypes.c:
13484         * win32/common/gstversion.h:
13485           updated copies
13486
13487 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13488
13489         * gst/gst.c: (gst_version):
13490         * gst/gstversion.h.in:
13491           add the nano
13492
13493 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
13494
13495         * gst/gstevent.h:
13496           Oops, add missing closing bracket.
13497
13498 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13499
13500         * configure.ac:
13501           use common m4's for argument checking
13502
13503 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
13504
13505         * docs/gst/gstreamer-sections.txt:
13506         * gst/gstevent.h:
13507           Add GST_EVENT_TYPE_NAME() macro.
13508
13509 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13510
13511         * gst/gstinfo.c:
13512         * gst/gstpluginfeature.c:
13513         * gst/gsttask.c:
13514           privatize more symbols
13515
13516 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13517
13518         * configure.ac:
13519           add srcdir, builddir includes to GST_ALL_CFLAGS, since
13520           everything that uses GStreamer API should have the includes
13521
13522 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13523
13524         * docs/gst/gstreamer-sections.txt:
13525         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13526         * gst/gstvalue.h:
13527           give each value a _get_type, removes the DATA exports
13528
13529 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13530
13531         * gst/gst.c:
13532         * gst/gst.h:
13533           remove _gst_registry_auto_load, not used anymore
13534         * gst/gstbin.c: (gst_bin_get_type):
13535         * gst/gstbin.h:
13536         * gst/gstelement.c: (gst_element_get_type):
13537         * gst/gstelement.h:
13538         * gst/gstobject.c: (gst_object_get_type):
13539         * gst/gstobject.h:
13540         * gst/gstpad.c: (gst_pad_get_type):
13541         * gst/gstpad.h:
13542           make _get_type functions similar, fixes data export from library
13543
13544 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13545
13546         * configure.ac:
13547           correctly make conditionals
13548         * gst/elements/Makefile.am:
13549         * gst/elements/gstelements.c:
13550           fix typo causing fdsrc not to build
13551
13552 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13553
13554         * testsuite/Makefile.am:
13555         * testsuite/bytestream/.cvsignore:
13556         * testsuite/bytestream/Makefile.am:
13557         * testsuite/bytestream/filepadsink.c:
13558         * testsuite/bytestream/gstbstest.c:
13559         * testsuite/bytestream/test1.c:
13560         * testsuite/bytestream/testfile1:
13561         * testsuite/caps/normalisation.c:
13562         * testsuite/caps/random.c: (main):
13563         * testsuite/cleanup/.cvsignore:
13564         * testsuite/cleanup/Makefile.am:
13565         * testsuite/cleanup/cleanup1.c:
13566         * testsuite/cleanup/cleanup2.c:
13567         * testsuite/cleanup/cleanup3.c:
13568         * testsuite/cleanup/cleanup4.c:
13569         * testsuite/cleanup/cleanup5.c:
13570         * testsuite/controller/interpolator.c:
13571         * testsuite/debug/printf_extension.c: (main):
13572         * testsuite/elements/tee.c:
13573         * testsuite/negotiation/.cvsignore:
13574         * testsuite/negotiation/Makefile.am:
13575         * testsuite/negotiation/pad_link.c:
13576         * testsuite/pad/Makefile.am:
13577         * testsuite/pad/chainnopull.c:
13578         * testsuite/pad/getnopush.c:
13579         * testsuite/pad/link.c:
13580         * testsuite/refcounting/sched.c: (create_pipeline):
13581         * testsuite/registry/Makefile.am:
13582         * testsuite/registry/gst-print-formats.c:
13583         * testsuite/schedulers/.cvsignore:
13584         * testsuite/schedulers/142183-2.c:
13585         * testsuite/schedulers/142183.c:
13586         * testsuite/schedulers/143777-2.c:
13587         * testsuite/schedulers/143777.c:
13588         * testsuite/schedulers/147713.c:
13589         * testsuite/schedulers/147819.c:
13590         * testsuite/schedulers/147894-2.c:
13591         * testsuite/schedulers/147894.c:
13592         * testsuite/schedulers/Makefile.am:
13593         * testsuite/schedulers/group_link.c:
13594         * testsuite/schedulers/queue_link.c:
13595         * testsuite/schedulers/relink.c:
13596         * testsuite/schedulers/unlink.c:
13597         * testsuite/schedulers/unref.c:
13598         * testsuite/schedulers/useless_iteration.c:
13599         * testsuite/states/bin.c:
13600           clean out/remove some stuff from the testsuite directories
13601
13602 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13603
13604         * configure.ac:
13605           check for some headers
13606         * gst/elements/Makefile.am:
13607         * gst/elements/gstelements.c:
13608           don't compile fdsrc without sys/socket.h
13609         * gst/indexers/Makefile.am:
13610         * gst/indexers/gstindexers.c: (plugin_init):
13611           don't compile fileindex without mmap
13612
13613 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13614
13615         * configure.ac:
13616           reorganize
13617           clean up
13618           document more
13619           remove cruft
13620         * check/Makefile.am:
13621         * docs/gst/Makefile.am:
13622         * examples/helloworld/Makefile.am:
13623         * gst/Makefile.am:
13624         * gst/base/Makefile.am:
13625         * gst/check/Makefile.am:
13626         * gst/elements/Makefile.am:
13627         * gst/indexers/Makefile.am:
13628         * gst/parse/Makefile.am:
13629         * libs/gst/controller/Makefile.am:
13630         * libs/gst/dataprotocol/Makefile.am:
13631         * examples/helloworld/helloworld.c: (event_loop):
13632           compile fixes, though it's not being compiled currently
13633
13634 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13635
13636         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
13637           Add some simple tests for the new taglist date API.
13638
13639 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13640
13641         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
13642         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
13643           Beautify 'last-message' output: print 'none' for buffer timestamps
13644           and durations if none is set; improve alignment with next messages.
13645
13646 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13647
13648         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
13649         * gst/gstpluginfeature.h:
13650         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
13651         * gst/gstregistry.h:
13652         * docs/gst/gstreamer-sections.txt:
13653           Add new API to check plugin feature version requirements.
13654
13655         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
13656           Some basic tests for the above.         
13657
13658 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13659
13660         * gst/gststructure.c: (gst_structure_to_string):
13661           guard against NULL printf - happens when for example
13662           a message structure with GstClock gets serialized
13663
13664 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
13665
13666         * gst/base/gstcollectpads.c: (gst_collectpads_event):
13667           Fix presumable copy'n'pasto.
13668
13669 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13670
13671         * gst/elements/gstfakesrc.h:
13672         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
13673         * gst/elements/gsttypefindelement.c:
13674           fix some signedness
13675         * gst/elements/gstfilesink.c: (gst_file_sink_render):
13676           I wonder if this could actually write +2GB files before
13677
13678 2005-10-13  Andy Wingo  <wingo@pobox.com>
13679
13680         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
13681         Fix Timmeke Waymans bug.
13682         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
13683         string of the proper length to gst_caps_from_string. There's a
13684         potential for, before this fix, that this could cause someone
13685         connecting over the network to cause a segfault if the payload is
13686         not NUL-terminated.
13687
13688 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
13689
13690         * docs/design/draft-push-pull.txt:
13691         * docs/design/part-overview.txt:
13692         * docs/random/TODO-pre-0.9:
13693         * docs/random/old/ChangeLog.gstreamer:
13694         * gst/base/gstpushsrc.c:
13695         * gst/gstclock.c:
13696           fixed typos
13697
13698 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13699
13700         * gst/glib-compat.c: (gst_flags_get_first_value):
13701         * gst/glib-compat.h:
13702         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
13703         (gst_value_compare_double), (gst_value_serialize_flags):
13704           GLib 2.6 g_flags_get_first_value has a bug that triggers an
13705           infinite loop
13706
13707 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13708
13709         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13710         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13711           fix up debugging
13712         * tools/gst-launch.c: (event_loop):
13713           print out clock nicely
13714
13715 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
13716
13717         * docs/gst/gstreamer-sections.txt:
13718         * gst/gsttaglist.h:
13719         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
13720         (gst_tag_list_get_date_index):
13721           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
13722           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
13723
13724 2005-10-13  Julien MOUTTE  <julien@moutte.net>
13725
13726         * gst/base/gstcollectpads.c: (gst_collectpads_event),
13727         (gst_collectpads_chain):
13728         * gst/base/gstcollectpads.h: Handle newsegment and store informations
13729         in CollectData.
13730
13731 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
13732
13733         * docs/gst/gstreamer-sections.txt:
13734         * gst/gst.c:
13735         * gst/gsterror.h:
13736         * tools/gst-inspect.c: (main):
13737         * tools/gst-launch.c: (main):
13738         * tools/gst-run.c: (main):
13739         * tools/gst-xmlinspect.c: (main):
13740           fix GOption context leaks
13741           doc fixes
13742
13743 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13744
13745         * gst/gstbus.c:
13746           use HAVE_UNISTD_H
13747         * win32/common/config.h:
13748           update config
13749         * win32/vs6/grammar.dsp:
13750         * win32/vs6/libgstelements.dsp:
13751         * win32/vs6/libgstreamer.dsp:
13752           update vs6 files
13753
13754 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13755
13756         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13757         * gst/base/gstbasesrc.c: (gst_base_src_query):
13758           fix more guint64<->gdouble conversions
13759
13760 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13761
13762         * Makefile.am:
13763           add win32-update target
13764         * win32/common/gstconfig.h:
13765         * win32/common/gstenumtypes.c:
13766         * win32/common/gstenumtypes.h:
13767         * win32/common/gstversion.h:
13768           add files that visual studio can't generate
13769
13770 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13771
13772         * Makefile.am:
13773           add a win32-update target
13774         * configure.ac:
13775
13776 2005-10-12  Wim Taymans  <wim@fluendo.com>
13777
13778         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13779         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
13780         * gst/gstelement.c: (gst_element_commit_state),
13781         (gst_element_set_state):
13782         Protect flags with proper lock.
13783         unref provided cached clock in dispose.
13784
13785 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
13786
13787         * gst/gst.c:
13788         * gst/gstminiobject.h:
13789         * gst/gstpad.h:
13790         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
13791           removed unused flags from miniobject
13792           doc fixes
13793
13794 2005-10-12  Wim Taymans  <wim@fluendo.com>
13795
13796         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13797         (gst_file_sink_event), (gst_file_sink_render):
13798         Flush before seeking.
13799
13800 2005-10-12  Andy Wingo  <wingo@pobox.com>
13801
13802         * gst/gst.c (gst_init_check): Ignore unknown options, as has
13803         always been the case.
13804
13805 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
13806
13807         * check/gst/gstbin.c: (GST_START_TEST):
13808         * docs/gst/gstreamer-sections.txt:
13809         * gst/base/gstbasesink.c: (gst_base_sink_init):
13810         * gst/base/gstbasesrc.c: (gst_base_src_init),
13811         (gst_base_src_get_range), (gst_base_src_check_get_range),
13812         (gst_base_src_start), (gst_base_src_stop):
13813         * gst/base/gstbasesrc.h:
13814         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
13815         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13816         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
13817         (bin_bus_handler):
13818         * gst/gstbin.h:
13819         * gst/gstbuffer.h:
13820         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
13821         * gst/gstbus.h:
13822         * gst/gstelement.c: (gst_element_is_locked_state),
13823         (gst_element_set_locked_state), (gst_element_commit_state),
13824         (gst_element_set_state):
13825         * gst/gstelement.h:
13826         * gst/gstindex.c: (gst_index_init):
13827         * gst/gstindex.h:
13828         * gst/gstminiobject.h:
13829         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
13830         (gst_object_set_parent):
13831         * gst/gstobject.h:
13832         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
13833         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
13834         * gst/gstpad.h:
13835         * gst/gstpadtemplate.h:
13836         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
13837         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
13838         * gst/gstpipeline.h:
13839         * gst/indexers/gstfileindex.c: (gst_file_index_load),
13840         (gst_file_index_commit):
13841         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
13842         * testsuite/pad/link.c: (gst_test_src_init),
13843         (gst_test_filter_init), (gst_test_sink_init):
13844         * testsuite/states/locked.c: (main):
13845           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
13846           moved bitshift from macro to enum definition
13847
13848 2005-10-12  Wim Taymans  <wim@fluendo.com>
13849
13850         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
13851         * gst/elements/gstfilesink.c: (gst_file_sink_event),
13852         (gst_file_sink_render):
13853         Some more debugging info.
13854
13855 2005-10-12  Wim Taymans  <wim@fluendo.com>
13856
13857         * docs/design/part-states.txt:
13858         * tools/gst-launch.c: (main):
13859         Some doc updates.
13860         Revert non-intentional change.
13861
13862 2005-10-12  Wim Taymans  <wim@fluendo.com>
13863
13864         * check/gst/gstbin.c: (GST_START_TEST):
13865         * check/gst/gstelement.c: (GST_START_TEST):
13866         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
13867         * check/gst/gstghostpad.c: (GST_START_TEST):
13868         * check/gst/gstpipeline.c: (GST_START_TEST):
13869         * check/pipelines/simple_launch_lines.c: (run_pipeline):
13870         * check/states/sinks.c: (GST_START_TEST):
13871         * gst/elements/gsttypefindelement.c: (stop_typefinding):
13872         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13873         (gst_bin_remove_func), (gst_bin_get_state_func),
13874         (gst_bin_recalc_state), (gst_bin_change_state_func),
13875         (bin_bus_handler):
13876         * gst/gstelement.c: (gst_element_get_state_func),
13877         (gst_element_get_state), (gst_element_abort_state),
13878         (gst_element_commit_state), (gst_element_set_state),
13879         (gst_element_change_state), (gst_element_change_state_func):
13880         * gst/gstelement.h:
13881         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
13882         (gst_pipeline_provide_clock_func):
13883         * gst/gstutils.c: (gst_element_link_pads_filtered):
13884         * tools/gst-launch.c: (main):
13885         * tools/gst-typefind.c: (main):
13886         Use GstClockTime in _get_state() instead of GTimeVal.
13887         Remove old code in gstutils.c
13888
13889 2005-10-12  Andy Wingo  <wingo@pobox.com>
13890
13891         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
13892         removed.
13893
13894         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
13895         there is no task. Shouldn't affect any code, as nothing in our
13896         plugins checks this return value.
13897         (gst_pad_stop_task): Also take the stream lock if the pad has no
13898         task. Docs updated.
13899
13900 2005-10-12  Wim Taymans  <wim@fluendo.com>
13901
13902         * gst/gstpad.c: (pre_activate), (post_activate),
13903         (gst_pad_activate_pull), (gst_pad_activate_push):
13904         Cleanup activation code. Reset old state if
13905         activation failed.
13906
13907 2005-10-12  Wim Taymans  <wim@fluendo.com>
13908
13909         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13910         (gst_base_sink_change_state):
13911         No need to prerol after receiving EOS.
13912
13913         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13914         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
13915         * gst/elements/gstidentity.c: (gst_identity_event):
13916         Print events more verbosely.
13917
13918 2005-10-12  Wim Taymans  <wim@fluendo.com>
13919
13920         * check/Makefile.am:
13921         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
13922         * check/states/sinks2.c:
13923         Moved sinks2 testcode in sinks check.
13924
13925         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13926         (gst_bin_remove_func), (gst_bin_recalc_state),
13927         (gst_bin_change_state_func), (bin_bus_handler):
13928         Fix potential race condition when _get_state() iterated over an
13929         ASYNC element right before it posted a state completion.
13930
13931         * gst/gstclock.h:
13932         Do proper cast here.
13933
13934         * gst/gstevent.c: (gst_event_new_newsegment),
13935         (gst_event_parse_newsegment):
13936         A playback rate of 0.0 is not allowed.
13937
13938 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13939
13940         * win32/common/config.h:
13941         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
13942         (_trewinddir), (_ttelldir), (_tseekdir):
13943         * win32/common/dirent.h:
13944         * win32/common/gtchar.h:
13945         * win32/common/libgstbase.def:
13946         * win32/common/libgstreamer.def:
13947         * win32/vs6/grammar.dsp:
13948         * win32/vs6/gst_inspect.dsp:
13949         * win32/vs6/gst_launch.dsp:
13950         * win32/vs6/gstreamer.dsw:
13951         * win32/vs6/libgstbase.dsp:
13952         * win32/vs6/libgstelements.dsp:
13953         * win32/vs6/libgstreamer.dsp:
13954           Visual Studio 6 project files, and a new common directory.
13955           Phear.
13956
13957 2005-10-11  Wim Taymans  <wim@fluendo.com>
13958
13959         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13960         (gst_base_sink_do_sync), (gst_base_sink_query),
13961         (gst_base_sink_change_state):
13962         * gst/base/gstbasesink.h:
13963         Correctly parse newsegment info.
13964
13965 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13966
13967         * gst/gst.c: (init_post):
13968           split plugin paths correctly
13969
13970 2005-10-11  Wim Taymans  <wim@fluendo.com>
13971
13972         * check/gst/gstevent.c: (GST_START_TEST):
13973         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13974         (gst_base_sink_change_state):
13975         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
13976         * gst/base/gstbasetransform.c: (gst_base_transform_event):
13977         * gst/elements/gstfilesink.c: (gst_file_sink_event):
13978         * gst/gstevent.c: (gst_event_new_newsegment),
13979         (gst_event_parse_newsegment):
13980         * gst/gstevent.h:
13981         Added extra flag to newsegment for future API freeze.
13982         Updated check and base elements.
13983
13984 2005-10-11  Julien MOUTTE  <julien@moutte.net>
13985
13986         * gst/base/gstcollectpads.c: (gst_collectpads_init),
13987         (gst_collectpads_add_pad), (gst_collectpads_pop),
13988         (gst_collectpads_event), (gst_collectpads_chain):
13989         * gst/base/gstcollectpads.h: Handle EOS correctly.
13990
13991 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13992
13993         * tools/gst-launch.c: (main):
13994           more null protecting
13995
13996 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13997
13998         * gst/gst-i18n-lib.h:
13999           check for ENABLE_NLS, not GETTEXT_PACKAGE
14000         * gst/gstregistry.c: (gst_registry_add_plugin),
14001         (gst_registry_scan_path_level),
14002         (_gst_registry_remove_cache_plugins):
14003           protect possibly NULL strings
14004         * gst/parse/types.h:
14005           config.h already included before
14006         * tools/gst-inspect.c: (main):
14007           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
14008           check for ENABLE_NLS, not GETTEXT_PACKAGE
14009         * tools/gst-launch.c: (main):
14010           check for ENABLE_NLS, not GETTEXT_PACKAGE
14011
14012 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14013
14014         * configure.ac:
14015           if we don't have glib, fail before testing 2.8
14016         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
14017           fix a leak, should fix plugins-base testsuite
14018
14019 2005-10-11  Andy Wingo  <wingo@pobox.com>
14020
14021         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
14022         take the mode we're going to as an arg. Go head and set the mode
14023         and flushing flags now, so that if the activate function starts a
14024         thread all the flags will be in the right state.
14025         (post_activate): Renamed also. Just handle making sure streaming
14026         finishes for the deactivation case, and setting the deactivated
14027         mode.
14028         (gst_pad_set_active): Complain loudly if deactivation fails.
14029         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
14030         (gst_pad_activate_push): Adapt to pre/post_activate changes,
14031         remove the terrible hack.
14032
14033 2005-10-11  Wim Taymans  <wim@fluendo.com>
14034
14035         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14036         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
14037         (gst_bin_recalc_state), (gst_bin_change_state_func),
14038         (gst_bin_dispose), (bin_bus_handler):
14039         * gst/gstbin.h:
14040         Prepare to make current EOS message queue more generic.
14041         Fix some typos.
14042
14043         * gst/gstevent.c: (gst_event_new_newsegment),
14044         (gst_event_parse_newsegment):
14045         * gst/gstevent.h:
14046         Rename base to stream_time.
14047
14048         * gst/gstmessage.h:
14049         Fix typo in docs.
14050
14051 2005-10-11  Wim Taymans  <wim@fluendo.com>
14052
14053         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14054         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
14055         (gst_bin_change_state_func), (bin_bus_handler):
14056         * gst/gstbin.h:
14057         Work on proper clock selection.
14058
14059 2005-10-11  Edward Hervey  <edward@fluendo.com>
14060
14061         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
14062         * libs/gst/controller/gstcontroller.h:
14063         Added GList* version of _remove_properties() in order to be able to wrap
14064         it in bindings.
14065
14066 2005-10-11  Wim Taymans  <wim@fluendo.com>
14067
14068         * docs/design/part-states.txt:
14069         Some more docs.
14070
14071         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
14072         (gst_bin_change_state_func), (bin_bus_handler):
14073         Doc updates. Don't distribute the same clock over and over again.
14074
14075         * gst/gstclock.c:
14076         * gst/gstclock.h:
14077         Doc updates.
14078
14079         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
14080         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
14081         (gst_pad_send_event):
14082         * gst/gstpad.h:
14083         Make probe emission threadsafe again.
14084         Register quarks and move _get_name() from utils.
14085         Doc updates.
14086
14087         * gst/gstpipeline.c: (gst_pipeline_class_init),
14088         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14089         Only redistribute the clock of it changed.
14090
14091         * gst/gstsystemclock.h:
14092         Doc updates. 
14093
14094         * gst/gstutils.c:
14095         * gst/gstutils.h:
14096         Moved the _flow_get_name() to GstPad.
14097
14098 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14099
14100         * check/gst-libs/gdp.c: (GST_START_TEST):
14101         * check/gst/gstcaps.c: (GST_START_TEST):
14102         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
14103         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
14104         (gst_dp_packet_from_caps):
14105           fix more valgrind warnings before turning up the heat
14106
14107 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14108
14109         * gst/parse/grammar.y:
14110           some cleanup before the hacking
14111
14112 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14113
14114         * gst/base/gstbasesrc.c: (gst_base_src_query):
14115           use conversions
14116         * gst/gstutils.c: (gst_guint64_to_gdouble),
14117         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
14118         * gst/gstutils.h:
14119           externalize, basesrc uses it
14120           obviously the implementation needs testing
14121
14122 2005-10-10  Wim Taymans  <wim@fluendo.com>
14123
14124         * tests/sched/Makefile.am:
14125         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
14126         (make_pipeline3), (make_pipeline4), (print_elem), (main):
14127
14128 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14129
14130         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
14131           apparently converting from guint64 to double is not implemented
14132           on MSVC
14133
14134 2005-10-10  Wim Taymans  <wim@fluendo.com>
14135
14136         * check/Makefile.am:
14137         * check/generic/states.c: (GST_START_TEST):
14138         * check/gst/gstbin.c: (GST_START_TEST):
14139         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14140         * check/states/sinks.c: (GST_START_TEST):
14141         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
14142         (main):
14143         Check fixes, use API as stated in design docs, remove hacks.
14144
14145         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14146         (gst_base_sink_change_state):
14147         Catch stopping our task while we're shutting down.
14148
14149         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
14150         (gst_bin_remove_func), (gst_bin_get_state_func),
14151         (gst_bin_recalc_state), (gst_bin_change_state_func),
14152         (bin_bus_handler):
14153         * gst/gstbin.h:
14154         * gst/gstelement.c: (gst_element_init),
14155         (gst_element_get_state_func), (gst_element_abort_state),
14156         (gst_element_commit_state), (gst_element_lost_state),
14157         (gst_element_set_state), (gst_element_change_state),
14158         (gst_element_change_state_func):
14159         * gst/gstelement.h:
14160         New state change algorithm (see #318116)
14161
14162         * gst/gstpipeline.c: (gst_pipeline_class_init),
14163         (gst_pipeline_init), (gst_pipeline_set_property),
14164         (gst_pipeline_get_property), (do_pipeline_seek),
14165         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14166         * gst/gstpipeline.h:
14167         Remove crude state change hacks.
14168
14169         * gst/gstutils.h:
14170         Remove crude hacks.
14171
14172         * tools/gst-launch.c: (main):
14173         Fixes for state change. Needs some more work to fully use the
14174         new stuff.
14175
14176 2005-10-10  Andy Wingo  <wingo@pobox.com>
14177
14178         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
14179
14180         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
14181         this flag, but it's not even in GLib 2.6. Odd. Hack around the
14182         issue.
14183
14184 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14185
14186         * gst/gstiterator.c: (gst_iterator_new):
14187           Fix my previous commit: GTypes passed to gst_iterator_new()
14188           can be fundamental types.
14189
14190 2005-10-10  Wim Taymans  <wim@fluendo.com>
14191
14192         * gst/gstelement.c: (gst_element_iterate_pad_list),
14193         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
14194         (gst_element_iterate_sink_pads):
14195         Use src/sink pads lists for the respective iterators instead
14196         of filtering.
14197
14198 2005-10-10  Andy Wingo  <wingo@pobox.com>
14199
14200         Merged in popt removal + GOption addition patch from Ronald, bug
14201         #169772.
14202
14203         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
14204         GstElement macros around, remove popt-related symbols, add goption
14205         stuff.
14206
14207         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
14208         
14209         * docs/gst/Makefile.am:
14210         * docs/libs/Makefile.am: No POPT_CFLAGS.
14211         
14212         * examples/manual/Makefile.am:
14213         * docs/manual/basics-init.xml: Doc updates with an example.
14214         
14215         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
14216         (gst_init), (parse_one_option), (parse_goption_arg):
14217         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
14218         bit of hand merging and debugging to get the GOption stuff working
14219         tho.
14220         
14221         * tests/Makefile.am:
14222         * tools/Makefile.am:
14223         * tools/gst-inspect.c: (main):
14224         * tools/gst-launch.c: (main):
14225         * tools/gst-run.c: (main):
14226         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
14227
14228 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14229
14230         * gst/gstiterator.c: (gst_iterator_new):
14231           Add assertions to make sure passed GType is likely to really
14232           be a GType (as the compiler won't catch it if the size and
14233           GType arguments get mixed up, see #318447).
14234
14235 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
14236
14237         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14238
14239         * gst/gstbin.c: (gst_bin_iterate_sorted):
14240           Pass GType and size arguments to gst_iterator_new() in the right
14241           order (maybe we should make _new() take the GType as first argument
14242           just like _new_list()?) (#318447).
14243           
14244
14245 2005-10-10  Wim Taymans  <wim@fluendo.com>
14246
14247         * gst/gstelement.c: (gst_element_finalize):
14248         And free the GStaticRecMutex too
14249
14250 2005-10-10  Andy Wingo  <wingo@pobox.com>
14251
14252         * gst/gstelement.c (gst_element_init, gst_element_finalize):
14253         Allocate and free the mutex properly.
14254
14255         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
14256         New macros.
14257         (GstElement): The state_lock is now recursive. Rebuild your
14258         plugins, suckers. Old macros adapted.
14259
14260         * docs/gst/gstreamer-sections.txt: Doc updates.
14261
14262         * gst/gstutils.h:
14263         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
14264         (g_static_rec_cond_wait): Ported from state changes patch, while
14265         we wait on bug #317802 to be solved in a well-distributed GLib.
14266
14267         * gst/gstelement.c (gst_element_change_state_func): Renamed from
14268         gst_element_change_state, variable name changes.
14269         (gst_element_change_state): Split out of gst_element_set_state in
14270         preparation for the state change merge. Doesn't pay attention to
14271         the 'transition' argument.
14272         (gst_element_set_state): Updates, hopefully purely cosmetic.
14273         (gst_element_sync_state_with_parent): MT-safety. Ported from the
14274         state change patch.
14275         (gst_element_get_state_func): Renamed from get_state, cosmetic
14276         changes.
14277
14278 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14279
14280         * gst/elements/gstelements.c:
14281         * win32/GStreamer.vcproj:
14282         * win32/config.h:
14283         * win32/dirent.c: (_tseekdir):
14284         * win32/gst-inspect.vcproj:
14285         * win32/gst-launch.vcproj:
14286         * win32/gstconfig.h:
14287         * win32/gstelements.vcproj:
14288         * win32/gstenumtypes.c: (gst_object_flags_get_type):
14289         * win32/gstreamer.def:
14290         * win32/msvc71.sln:
14291           updates for the win32 build (patch from Sebastien Moutte)
14292
14293 2005-10-10  Andy Wingo  <wingo@pobox.com>
14294
14295         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
14296         gst_bin_get_state, cleaned up (but no logic changes).
14297         (bin_element_is_sink): Comment updates.
14298         (sink_iterator_filter): Remove needless cast.
14299         (gst_bin_iterate_sinks): Doc update.
14300         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
14301         cleaned up (but no logic changes).
14302
14303         * check/states/sinks.c (test_src_sink): Cleanups from the state
14304         change patch.
14305         (test_livesrc_sink): Sync on the state.
14306
14307         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
14308         the state change patch.
14309
14310         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
14311         change patch.
14312
14313         * check/gst/gstbin.c: Merge in some style fixes and additional
14314         checks from Wim's state change patch.
14315
14316 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14317
14318         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14319         (gst_type_find_helper):
14320           Check whether we have the requested data already in our list of
14321           cached buffers before pulling a new buffer; also make the buffer
14322           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
14323
14324 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14325
14326         * gst/gstcaps.c:
14327         * gst/gstevent.c:
14328           doc updates
14329         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14330           don't use long long, it's not portable.  Replacing with
14331           gint64 seems to work; let's hope no skeletons fall out of the closet.
14332
14333 2005-10-10  Andy Wingo  <wingo@pobox.com>
14334
14335         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
14336
14337 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
14338
14339         * docs/gst/gstreamer-sections.txt:
14340         * gst/gstevent.c:
14341         * gst/gstevent.h:
14342         * gst/gstinfo.c:
14343         * gst/gstinfo.h:
14344         * gst/gstmessage.c: (gst_message_parse_state_changed):
14345         * gst/gstpad.c:
14346         * gst/gstpad.h:
14347           more docs, fix compilation
14348
14349 2005-10-09  Philippe Khalaf <burger@speedy.org>
14350         * gst/gstmessage.c:
14351           Fixed a few forgotten variables on previous commit
14352
14353 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
14354
14355         * gst/base/gsttypefindhelper.c: (helper_find_peek):
14356           Fix evil typefind crasher: getrange() might return a short
14357           buffer at the end of a file, but gst_type_find_peek() must
14358           either return the full data as requested or NULL, but
14359           never a short buffer.
14360
14361 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14362
14363         * gst/gstmessage.c: (gst_message_new_state_changed),
14364         (gst_message_parse_state_changed):
14365         * gst/gstmessage.h:
14366           don't use "new", it's a C++ keyword
14367
14368 2005-10-08  Wim Taymans  <wim@fluendo.com>
14369
14370         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
14371         * gst/gstelement.c: (gst_element_post_message):
14372         * gst/gstpipeline.c: (gst_pipeline_change_state):
14373         Small docs and debug updates.
14374
14375 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
14376
14377         * docs/gst/gstreamer-sections.txt:
14378         * gst/gstelementfactory.c:
14379         * gst/gstevent.c:
14380         * gst/gsttaglist.c:
14381           more docs
14382
14383 2005-10-08  Wim Taymans  <wim@fluendo.com>
14384
14385         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
14386         (gst_bin_dispose), (bin_bus_handler):
14387         Fix typos, add comments.
14388         Clear EOS list when going to PAUSED from any direction and do it
14389         in a threadsafe way.
14390         Get base time in a threadsafe way too.
14391         Fix confusing debug in the change_state function.
14392         Various other small cleanups.
14393         
14394         * gst/gstelement.c: (gst_element_post_message):
14395         Fix very verbose bus posting code.
14396
14397         * gst/gstpipeline.c: (gst_pipeline_class_init),
14398         (gst_pipeline_set_property), (gst_pipeline_get_property),
14399         (gst_pipeline_change_state):
14400         Small ARG_ -> PROP_ cleanup
14401
14402 2005-10-08  Wim Taymans  <wim@fluendo.com>
14403
14404         * gst/gstbin.c: (is_eos), (bin_bus_handler):
14405         Do a less CPU demanding EOS check because we can.
14406
14407 2005-10-08  Wim Taymans  <wim@fluendo.com>
14408
14409         * libs/gst/dataprotocol/dataprotocol.c:
14410         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14411         (gst_dp_packet_from_event):
14412         * libs/gst/dataprotocol/dataprotocol.h:
14413         * libs/gst/dataprotocol/dp-private.h:
14414         It's about time we bump the version number.
14415         Since event types don't fit in the guint8 anymore describing
14416         the payload type, make payload type 16 bits wide.
14417
14418 2005-10-08  Wim Taymans  <wim@fluendo.com>
14419
14420         * docs/design/part-TODO.txt:
14421         * docs/design/part-clocks.txt:
14422         * docs/design/part-events.txt:
14423         * docs/design/part-gstbin.txt:
14424         * docs/design/part-gstelement.txt:
14425         * docs/design/part-gstpipeline.txt:
14426         * docs/design/part-live-source.txt:
14427         * docs/design/part-messages.txt:
14428         * docs/design/part-overview.txt:
14429         * docs/design/part-states.txt:
14430         Many doc updates.
14431
14432 2005-10-08  Wim Taymans  <wim@fluendo.com>
14433
14434         * gst/gstevent.c:
14435         * gst/gstevent.h:
14436         Fix event quark registration.
14437         Add some space between events so we can insert them in the
14438         right groups.
14439
14440 2005-10-08  Wim Taymans  <wim@fluendo.com>
14441
14442         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14443         (gst_base_sink_handle_buffer):
14444         Better log message.
14445
14446         * gst/gstbus.h:
14447         * gst/gstelement.h:
14448         More docs.
14449
14450         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
14451         (gst_queue_set_property), (gst_queue_get_property):
14452         * gst/gstqueue.h:
14453         Remove old unused properties.
14454
14455 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
14456         * docs/gst/gstreamer-sections.txt:
14457         * gst/gstmessage.c:
14458         * gst/gstmessage.h:
14459         * gst/gstminiobject.c:
14460         * gst/gstminiobject.h:
14461         * gst/gstobject.h:
14462         * gst/gstpad.h:
14463         * gst/gstutils.h:
14464           lots of new docs and doc fixes
14465
14466 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14467
14468         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
14469         * gst/gstplugin.h:
14470         * gst/gstregistry.c: (gst_registry_lookup_locked),
14471         (gst_registry_scan_path_level):
14472         * gst/gstregistryxml.c: (load_plugin):
14473           Only ever load one plugin for a given plugin basename.
14474           This ensures correct overriding of GST_PLUGIN_PATH over
14475           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
14476           system installed plugins.
14477
14478 2005-10-08  Wim Taymans  <wim@fluendo.com>
14479
14480         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14481         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
14482         Prepare for doing QOS.
14483
14484 2005-10-08  Wim Taymans  <wim@fluendo.com>
14485
14486         * check/gst/gstbin.c: (GST_START_TEST):
14487         * check/pipelines/cleanup.c: (GST_START_TEST):
14488         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14489         Allow new clock message too.
14490
14491 2005-10-08  Wim Taymans  <wim@fluendo.com>
14492
14493         * gst/gstmessage.c: (gst_message_new_error),
14494         (gst_message_new_warning), (gst_message_new_tag),
14495         (gst_message_new_state_changed), (gst_message_new_clock_provide),
14496         (gst_message_new_clock_lost), (gst_message_new_new_clock),
14497         (gst_message_new_segment_start), (gst_message_new_segment_done),
14498         (gst_message_parse_state_changed),
14499         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
14500         (gst_message_parse_new_clock):
14501         * gst/gstmessage.h:
14502         Also carry the clock in question.
14503
14504 2005-10-08  Wim Taymans  <wim@fluendo.com>
14505
14506         * gst/gstmessage.c: (gst_message_new_custom),
14507         (gst_message_new_eos), (gst_message_new_error),
14508         (gst_message_new_warning), (gst_message_new_tag),
14509         (gst_message_new_state_changed), (gst_message_new_clock_provide),
14510         (gst_message_new_new_clock), (gst_message_new_segment_start),
14511         (gst_message_new_segment_done), (gst_message_parse_state_changed),
14512         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
14513         * gst/gstmessage.h:
14514         Clean up.
14515         Added clock related messages.
14516
14517         * gst/gstpipeline.c: (gst_pipeline_change_state):
14518         Post message when the clock changed.
14519
14520         * tools/gst-launch.c: (event_loop):
14521         Print new clock.
14522
14523 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
14524
14525         * tools/gst-inspect.c: (print_element_properties_info):
14526           Can't pass NULL strings to g_print() on windows.
14527
14528 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14529
14530         * docs/Makefile.am:
14531         * docs/gst/Makefile.am:
14532         * docs/gst/gstreamer-docs.sgml:
14533         * docs/gst/running.xml:
14534         * docs/version.entities.in:
14535           add a chapter on running GStreamer.
14536           document GST_DEBUG and GST_PLUGIN* env vars
14537
14538 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14539
14540         * Makefile.am:
14541           remove include dir
14542         * configure.ac:
14543           remove PLUGINS_BUILDDIR stuff
14544         * gst/gst.c: (init_post):
14545           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
14546         * idiottest.mak:
14547           remove, it was condescending and not needed
14548
14549 2005-10-08  Wim Taymans  <wim@fluendo.com>
14550
14551         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
14552         (gst_base_sink_handle_object), (gst_base_sink_event),
14553         (gst_base_sink_wait), (gst_base_sink_handle_event),
14554         (gst_base_sink_change_state):
14555         * gst/base/gstbasesink.h:
14556         Repost EOS message while going to PLAYING if still EOS.
14557         Make sure that when receiving a FLUSH_START we don't attempt
14558         to sync on the clock anymore.
14559
14560 2005-10-08  Wim Taymans  <wim@fluendo.com>
14561
14562         * tools/gst-launch.c: (event_loop):
14563         Better message printout.
14564
14565 2005-10-08  Wim Taymans  <wim@fluendo.com>
14566
14567         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
14568         (gst_bin_child_proxy_get_children_count):
14569         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14570         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
14571         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
14572         (gst_child_proxy_set_valist):
14573         * gst/parse/grammar.y:
14574         Make ChildProxy threadsafe and fix mem leaks.
14575
14576 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14577
14578         * gst/gst.c: (init_post):
14579           debug the GST_PLUGIN_ env vars
14580
14581 2005-10-08  Wim Taymans  <wim@fluendo.com>
14582
14583         * check/gst/gstbin.c: (GST_START_TEST):
14584         * check/gst/gstmessage.c: (GST_START_TEST):
14585         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14586         * gst/gstelement.c: (gst_element_commit_state),
14587         (gst_element_lost_state):
14588         * gst/gstmessage.c: (gst_message_new_state_changed),
14589         (gst_message_parse_state_changed):
14590         * gst/gstmessage.h:
14591         * tools/gst-launch.c: (event_loop):
14592         Added extra field to STATE_CHANGE message with the pending
14593         state, which will be different from the new state soon.
14594
14595 2005-10-08  Wim Taymans  <wim@fluendo.com>
14596
14597         * gst/gstbus.c: (gst_bus_pop):
14598         * gst/gstclock.c:
14599         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14600         Small cleanups and doc updates.
14601
14602 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14603
14604         * gst/gst.c: (init_pre):
14605         * gst/gstbin.c: (gst_bin_add_func):
14606           log distributing clocks and base time
14607         * gst/gstregistry.c: (gst_registry_add_plugin),
14608         (gst_registry_scan_path_level), (gst_registry_scan_path):
14609           clean up the debugging output a little
14610         * gst/gstutils.c: (gst_element_state_get_name):
14611           warn about a memleak (I've actually seen this be used, though
14612           it was probably a bug)
14613
14614 2005-10-07  Wim Taymans  <wim@fluendo.com>
14615
14616         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14617         (gst_base_src_init), (gst_base_src_default_newsegment),
14618         (gst_base_src_newsegment), (gst_base_src_do_seek),
14619         (gst_base_src_loop), (gst_base_src_start):
14620         * gst/base/gstbasesrc.h:
14621         Make the newsegment event customizable by subclasses.
14622
14623 2005-10-07  Wim Taymans  <wim@fluendo.com>
14624
14625         * gst/gstevent.c: (gst_event_new_buffersize),
14626         (gst_event_parse_buffersize):
14627         * gst/gstevent.h:
14628         New event for future idea.
14629
14630 2005-10-07  Andy Wingo  <wingo@pobox.com>
14631
14632         * gst/gstelement.c (gst_element_post_message): Doc update.
14633
14634         * docs/gst/gstreamer-sections.txt: Update.
14635
14636         * gst/gstmessage.c (gst_message_new_application): Made into a
14637         function like honest API calls.
14638         (gst_message_new_element): New message type.
14639
14640         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
14641
14642         * check/elements/fakesrc.c (test_no_preroll): New check, checks
14643         that setting a live fakesrc to PAUSED returns NO_PREROLL both
14644         times.
14645
14646         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
14647         NO_PREROLL from gst_element_change_state to fall through.
14648
14649 2005-10-07  Wim Taymans  <wim@fluendo.com>
14650
14651         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
14652         (gst_ghost_pad_do_activate_push):
14653         Activating a ghostpad with no internal pad in push mode
14654         is ok.
14655
14656 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14657
14658         * gst/gstobject.h:
14659           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
14660           Fixes compilation on Windows.
14661
14662 2005-10-07  Michael Smith <msmith@fluendo.com>
14663
14664         * tools/gst-inspect.c:
14665           Print out feature and plugin count at the end when printing out
14666           all features.
14667
14668 2005-10-04  Michael Smith <msmith@fluendo.com>
14669
14670         * gst/gsterror.c: (_gst_stream_errors_init):
14671           Add another error string used in a few existing plugins.
14672
14673         * gst/gstplugin.c:
14674         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14675         * tools/gst-inspect.c: (print_element_info):
14676           When a feature disappears from a plugin (and the feature exists in
14677           the cached registry file), things went horribly wrong. This isn't a
14678           complete fix, we should actually be removing the 'missing' features
14679           from the features list when we load the actual plugin. That's not
14680           yet implemented. 
14681
14682 2005-10-04  Johan Dahlin  <johan@gnome.org>
14683
14684         * check/gst/gstiterator.c: (GST_START_TEST):
14685         * gst/gstbin.c: (gst_bin_iterate_elements),
14686         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
14687         * gst/gstelement.c: (gst_element_iterate_pads):
14688         * gst/gstformat.c: (gst_format_iterate_definitions):
14689         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
14690         (gst_iterator_new_list), (gst_iterator_filter):
14691         * gst/gstiterator.h:
14692         * gst/gstquery.c: (gst_query_type_iterate_definitions):
14693         Add a GType to GstIterator, update callsites and tests.
14694
14695 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14696
14697         * gst/gstpad.c: (gst_pad_event_default_dispatch):
14698           give events a chance to be handled by event probes when the pad
14699           is not linked
14700
14701 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14702
14703         * gst/gstevent.c: (gst_event_type_get_name),
14704         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
14705         * gst/gstevent.h:
14706           add string representations for event types
14707
14708 2005-10-06  Wim Taymans  <wim@fluendo.com>
14709
14710         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
14711         Don't use NULL pointers.
14712
14713 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14714
14715         * gst/gst_private.h:
14716         * gst/gstbus.c:
14717         * gst/gstelement.c:
14718         * gst/gstinfo.c:
14719         * gst/gstpluginfeature.c:
14720           widen the debug category in output to fit the biggest one we have
14721           add a bus category and use it
14722           play with the colors
14723           fix up some categories
14724
14725 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14726
14727         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
14728           add push activation of sink ghost pads.
14729           Andye, please verify
14730
14731 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14732
14733         * gst/gstutils.c: (gst_element_link_pads):
14734           fix a bug in the case where neither element has a pad
14735         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14736           add a test for that case
14737
14738 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14739
14740         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
14741           emit have-data before checking for peers.  This allows
14742           for probe handlers to connect elements.  This helps autopluggers.
14743         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
14744         (gst_pad_suite):
14745           add six checks, linked/unlinked with no/true/false probe
14746
14747 2005-10-04  Wim Taymans  <wim@fluendo.com>
14748
14749         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
14750         (gst_fake_sink_event), (gst_fake_sink_preroll),
14751         (gst_fake_sink_render), (gst_fake_sink_change_state):
14752         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
14753         (gst_fake_src_get_property), (gst_fake_src_create),
14754         (gst_fake_src_stop):
14755         * gst/elements/gstidentity.c: (gst_identity_stop):
14756         Protect last_message with lock.
14757
14758 2005-10-04  Edward Hervey  <edward@fluendo.com>
14759
14760         * gst/gstformat.h: 
14761         Added precision in the comments for GST_FORMAT_DEFAULT
14762
14763 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
14764
14765         * tools/gst-launch.c: (main):
14766           Don't try to run erroneous pipelines.
14767
14768 2005-10-04  Julien MOUTTE  <julien@moutte.net>
14769
14770         * gst/gstbus.c: We don't need this header.
14771
14772 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14773
14774         * configure.ac:
14775           back to development
14776
14777 === release 0.9.3 ===
14778
14779 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14780
14781         * README:
14782         * configure.ac:
14783           Releasing 0.9.3, "Unregistered"
14784
14785 2005-10-03  Andy Wingo  <wingo@pobox.com>
14786
14787         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
14788         whereby calling a pad's activatepush() function can start a thread
14789         that starts to push or pull before the pad gets the FLUSHING flag
14790         unset. Hack around it by holding the stream lock until the flag is
14791         set. Need to replace this with a proper solution. Together with
14792         the ghost pad fixes, this fixes mp3 playing/tagreading.
14793
14794         * docs/design/part-gstghostpad.txt: Add a note about activation of
14795         proxy pads outside of ghost pads.
14796
14797         * gst/gstghostpad.c: Implement the ghost pad activation design.
14798
14799 2005-10-02  Andy Wingo  <wingo@pobox.com>
14800
14801         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
14802         It is volatile, after all.
14803
14804         * docs/design/part-gstghostpad.txt: Flesh out activation with
14805         ghost pads.
14806
14807         * gst/base/gstbasesrc.c (gst_base_src_init): Use
14808         GST_DEBUG_FUNCPTR.
14809
14810 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
14811
14812         * configure.ac:
14813           Fix (unused) AM_CONDITIONAL tests.
14814
14815 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
14816
14817         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14818
14819         * gst/gstutils.c: (gst_pad_query_convert):
14820           Add assertion that makes sure src_val is >=0, just like
14821           gst_query_new_convert() has. (#315895)
14822
14823 2005-09-30  Edward Hervey  <edward@fluendo.com>
14824
14825         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
14826         Let's not iterate pads we're not interested in, it avoids getting 
14827         sky-high refcounts on sinkpad.
14828
14829 2005-09-30  Wim Taymans  <wim@fluendo.com>
14830
14831         * gst/gstelement.c: (gst_element_set_state),
14832         (gst_element_change_state):
14833         Small tweak, element in ASYNC remains ASYNC.
14834
14835 2005-09-30  Wim Taymans  <wim@fluendo.com>
14836
14837         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14838         Only error is an error.
14839
14840         * gst/gstbin.c: (gst_bin_change_state):
14841         Better debugging.
14842
14843         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
14844         Also call pad_block in pad alloc.
14845
14846         * gst/gstutils.c: (gst_flow_get_name):
14847         Better debugging.
14848
14849 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
14850
14851         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14852         (gst_base_src_get_range):
14853           Fix documentation typos. Add some more debug info.
14854
14855 2005-09-29  David Schleef  <ds@schleef.org>
14856
14857         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
14858           more end-user friendly.
14859         * tools/gst-inspect.c: (main): Check if command-line argument is
14860           a file and attempt to load that file as a plugin.
14861
14862 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14863
14864         * check/gst/gstbin.c:
14865         * check/states/sinks.c:
14866           fix tests for the new warning
14867         * check/gst/gstpipeline.c:
14868           add a test for pipeline and bus interaction
14869         * gst/gstelement.c:
14870           elements should be NULL if they get disposed; add a warning if not
14871
14872 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14873
14874         * gst/gstobject.c:
14875           for 2.6 refcounting, make debug log more correct by printing
14876           the actual refcounts at the time of swap (Wim)
14877
14878 2005-09-29  Andy Wingo  <wingo@pobox.com>
14879
14880         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
14881         removes signal watches previously added via
14882         gst_bus_add_signal_watch.
14883         (gst_bus_add_signal_watch): Don't return the source id, just store
14884         it on the bus if there wasn't an id already.
14885
14886         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
14887         add_signal_watch and remove_signal_watch.
14888
14889 2005-09-29  Edward Hervey  <edward@fluendo.com>
14890
14891         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
14892         Better if we actually iterate the list :)
14893
14894 2005-09-29  Wim Taymans  <wim@fluendo.com>
14895
14896         * check/gst/gstbin.c: (GST_START_TEST):
14897         Change for new bus API.
14898
14899         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
14900         (send_messages), (GST_START_TEST), (gstbus_suite):
14901         Change for new bus signal API.
14902
14903         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
14904         (gst_bus_source_prepare), (gst_bus_source_check),
14905         (gst_bus_create_watch), (gst_bus_add_watch_full),
14906         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
14907         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
14908         * gst/gstbus.h:
14909         Remove support for multiple GSources operating on different
14910         message types as it is too complex and unneeded when using
14911         signals.
14912         Added support for receiving signals from the bus.
14913
14914 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14915
14916         * docs/libs/tmpl/gstdataprotocol.sgml:
14917         * docs/manual/advanced-dataaccess.xml:
14918         * gst/elements/gstcapsfilter.c:
14919         * gst/gstutils.c:
14920           rename filter-caps to caps property
14921
14922 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
14923
14924         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14925           More robust fraction string parsing.
14926
14927         * docs/pwg/appendix-porting.xml:
14928           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
14929
14930 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
14931
14932         * gst/gstcaps.c: (gst_caps_do_simplify):
14933           Thou shalt not free a structure and then continue using it
14934           in the next loop iteration.
14935
14936         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
14937         (gst_caps_suite):
14938           Add test case for caps simplification.
14939
14940 2005-09-29  Wim Taymans  <wim@fluendo.com>
14941
14942         * check/gst/gstbin.c: (GST_START_TEST):
14943         Oops.
14944
14945 2005-09-29  Wim Taymans  <wim@fluendo.com>
14946
14947         * check/gst/gstbin.c: (GST_START_TEST):
14948         Add bus to bin.
14949
14950         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
14951         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
14952         (find_element), (gst_bin_sort_iterator_next),
14953         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
14954         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
14955         (gst_bin_change_state), (gst_bin_dispose):
14956         A bin does not have a bus, it gets the bus from the parent.
14957
14958         * gst/gstelement.c: (gst_element_requires_clock),
14959         (gst_element_provides_clock), (gst_element_is_indexable),
14960         (gst_element_is_locked_state), (gst_element_change_state),
14961         (gst_element_set_bus_func):
14962         Small cleanups.
14963
14964         * gst/gstpipeline.c: (gst_pipeline_class_init),
14965         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
14966         The pipeline provides a bus.
14967
14968 2005-09-28  Johan Dahlin  <johan@gnome.org>
14969
14970         * gst/gstmessage.c (gst_message_parse_state_changed): Use
14971         gst_structure_get_enum instead of gst_structure_get_int
14972
14973         * gst/gststructure.c (gst_structure_get_enum): Impl.
14974
14975         * gst/gststructure.h (gst_structure_get_enum): Add
14976
14977         * docs/gst/gstreamer-sections.txt: Ditto
14978
14979         * gst/gstmessage.c (gst_message_new_state_changed): Use
14980         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
14981         which does introspection.
14982         Reviewed by Christian Schaller
14983
14984 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
14985
14986         * gst/gstinfo.c: (gst_debug_log_default):
14987           don't do dummy g_strdup()s
14988         * libs/gst/controller/gstcontroller.c:
14989         (on_object_controlled_property_changed),
14990         (gst_controlled_property_new), (gst_controller_new_valist),
14991         (gst_controller_new_list),
14992         (gst_controller_remove_properties_valist), (gst_controller_set),
14993         (gst_controller_get), (gst_controller_sync_values),
14994         (gst_controller_get_value_array), (_gst_controller_class_init),
14995         (gst_controller_get_type):
14996         * libs/gst/controller/gstcontroller.h:
14997         * libs/gst/controller/gstinterpolation.c:
14998         (gst_controlled_property_find_timed_value_node):
14999           convert // to /**/ comments
15000
15001 2005-09-28  Wim Taymans  <wim@fluendo.com>
15002
15003         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
15004         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
15005         (gst_bus_sync_signal_handler):
15006         * gst/gstbus.h:
15007         Added async-message and sync-message signals to the bus.
15008         Added helper BusFunc to emit signals for all posted messages.
15009
15010         * gst/gstmessage.c: (gst_message_type_get_name),
15011         (gst_message_type_to_quark), (gst_message_get_type):
15012         * gst/gstmessage.h:
15013         Register quarks for message names.
15014
15015 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
15016
15017         * docs/libs/gstreamer-libs-sections.txt:
15018         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
15019         (gst_controller_new_list):
15020         * libs/gst/controller/gstcontroller.h:
15021           added another constructor for language bindings
15022
15023 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15024
15025         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15026           add another check
15027         * gst/gstbus.c:
15028           add some doc
15029         * gst/gstinfo.c: (_gst_debug_init):
15030           slightly more readable color for refcount debugging
15031
15032 2005-09-28  Wim Taymans  <wim@fluendo.com>
15033
15034         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15035         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15036         (find_element), (gst_bin_sort_iterator_next),
15037         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15038         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15039         (gst_bin_change_state), (gst_bin_dispose):
15040         Small doc fixes. get_clock -> provide_clock.
15041
15042         * gst/gstelement.c: (gst_element_class_init),
15043         (gst_element_provides_clock), (gst_element_provide_clock),
15044         (gst_element_get_clock), (gst_element_commit_state),
15045         (gst_element_lost_state):
15046         * gst/gstelement.h:
15047         Make get/set_clock() symetric. Add provide_clock vmethod since
15048         that is actually what this function does.
15049
15050         * gst/gstpipeline.c: (gst_pipeline_class_init),
15051         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
15052         (gst_pipeline_get_clock):
15053         get_clock -> provide_clock.
15054
15055 2005-09-28  Andy Wingo  <wingo@pobox.com>
15056
15057         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
15058         lieu of real docs...
15059
15060         * gst/elements/gstfdsrc.c: Cleaned up a bit.
15061
15062 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
15063
15064         * gst/elements/gstcapsfilter.c:
15065         * gst/elements/gstfakesink.c:
15066         * gst/elements/gstfakesrc.c:
15067         * gst/elements/gstfdsink.c:
15068         * gst/elements/gstfdsrc.c:
15069         * gst/elements/gstfilesink.c:
15070         * gst/elements/gstfilesrc.c:
15071         * gst/elements/gstidentity.c:
15072         * gst/elements/gsttee.c:
15073         * gst/elements/gsttypefindelement.c:
15074           Make element details static.
15075
15076 2005-09-28  Wim Taymans  <wim@fluendo.com>
15077
15078         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15079         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15080         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15081         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15082         (gst_bin_change_state), (gst_bin_dispose):
15083         Some documentation updates.
15084         Clean up dispose handlers.
15085
15086         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
15087         * gst/gstpad.c: (gst_pad_dispose):
15088         Clean up dispose handler.
15089
15090         * gst/gstpipeline.c: (gst_pipeline_change_state):
15091         Removed spurious UNLOCK.
15092
15093 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
15094
15095         * docs/gst/gstreamer-sections.txt:
15096         * gst/base/gstbasesrc.h:
15097         * gst/gstelement.h:
15098         * gst/gstevent.h:
15099         * gst/gstobject.h:
15100         * gst/gstpad.h:
15101         * gst/gstpipeline.c:
15102         * gst/gstpipeline.h:
15103         * gst/gstutils.h:
15104         * gst/gstxml.h:
15105           added two new functions to the docs
15106                 documents all undocumented GstXXXFlags
15107                 completed some incomplete docs 
15108
15109 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15110
15111         * gst/gstbin.c: (gst_bin_dispose):
15112         * gst/gstelement.c: (gst_element_dispose):
15113           remove now useless and leaky resurrection code in dispose
15114         * gst/base/gstbasesrc.c: (gst_base_src_init):
15115         * gst/gstelementfactory.c: (gst_element_factory_create):
15116         * gst/gstobject.c: (gst_object_set_parent):
15117           add some debugging
15118
15119 2005-09-27  Wim Taymans  <wim@fluendo.com>
15120
15121         * docs/design/part-TODO.txt:
15122         Update TODO.
15123
15124         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15125         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15126         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15127         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15128         (gst_bin_change_state):
15129         * gst/gstelement.h:
15130         Remove element variable, we keep element info in the iterator now.
15131
15132 2005-09-27  Andy Wingo  <wingo@pobox.com>
15133
15134         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
15135         values.
15136
15137 2005-09-27  Wim Taymans  <wim@fluendo.com>
15138
15139         * check/gst/gstbin.c: (GST_START_TEST):
15140         Enable check that works now.
15141
15142         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15143         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15144         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15145         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15146         (gst_bin_change_state):
15147         * gst/gstbin.h:
15148         Redid the state change algorithm using a topological sort algo.
15149         Handles all cases correctly.
15150         Exposed iterator for state change order.
15151
15152         * gst/gstelement.h:
15153         Temp storage for state changes. Need to get rid of this soon.
15154
15155 2005-09-27  Wim Taymans  <wim@fluendo.com>
15156
15157         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
15158         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
15159         (link_fold_func), (gst_pad_proxy_setcaps):
15160         Leak fixes, the fold functions need to unref the passed object and
15161         _get_parent_*() returns ref to parent.
15162
15163 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15164
15165         * check/gst/gstbuffer.c: (test_make_writable):
15166           Plug leak in test case and fix 'make check-valgrind'
15167
15168 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15169
15170         * gst/gstbuffer.c: (gst_subbuffer_init):
15171           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
15172           works correctly in all circumstances (we could have just copied
15173           the parent buffer's readonly flag, but conceptually it seems
15174           cleaner to mark all subbuffers as read-only). (based on patch
15175           by Alessandro Decina, #314710).
15176         
15177         * check/gst/gstbuffer.c: (create_read_only_buffer),
15178         (test_make_writable), (test_subbuffer_make_writable),
15179         (gst_test_suite):
15180           Add some tests for gst_buffer_make_writable().
15181
15182 2005-09-27  Wim Taymans  <wim@fluendo.com>
15183
15184         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
15185         use gst_object_has_ancestor().
15186
15187         * gst/gstobject.c: (gst_object_has_ancestor):
15188         * gst/gstobject.h:
15189         gst_object_has_ancestor() copied from gstbin.c as it is a
15190         useful function.
15191
15192         * tests/instantiate/create.c: (create_all_elements):
15193         * tests/lat.c: (handoff_src), (handoff_sink):
15194         * tests/sched/runxml.c: (main):
15195         * tests/seeking/seeking1.c: (main):
15196         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15197         (main):
15198         Fix compilation of some tests.
15199
15200 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15201
15202         * gst/gsterror.h:
15203           Remove comment. GST_TYPE_G_ERROR is here to stay,
15204           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
15205           (#316961, #300610).
15206
15207 2005-09-26  Wim Taymans  <wim@fluendo.com>
15208
15209         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15210         Added check that shows error in state change order.
15211
15212 2005-09-26  Wim Taymans  <wim@fluendo.com>
15213
15214         * gst/gstbin.c: (gst_bin_change_state):
15215         Make state change function use 3 queues again, we were
15216         adding elements in the wrong order.
15217
15218         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
15219         Some debug info,
15220
15221         * gst/gstpad.c: (gst_pad_dispose):
15222         Added some debug info first.
15223
15224 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
15225
15226         * docs/design/draft-push-pull.txt:
15227         * docs/design/part-events.txt:
15228         * docs/design/part-overview.txt:
15229         * docs/design/part-scheduling.txt:
15230           Replace all _pull_region() with _pull_range()
15231           
15232 2005-09-26  Andy Wingo  <wingo@pobox.com>
15233
15234         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
15235
15236         * check/gst-libs/controller.c: Update for controller api change.
15237
15238         * configure.ac: 
15239         * tests/Makefile.am:
15240         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
15241         over by GLib bug 118439.
15242         
15243         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
15244         routines to a function.
15245
15246         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
15247
15248         * libs/gst/controller/gsthelper.c:
15249         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
15250         (gst_object_sync_values): Renamed from sink_values. Ugh.
15251
15252         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
15253
15254         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
15255         Renamed from controller_key, as it is exported.
15256
15257         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
15258
15259 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
15260
15261         * gst/Makefile.am:
15262         * gst/gst.h:
15263         * gst/gstpad.h:
15264         * gst/gstpadtemplate.h:
15265         * gst/gstquery.c:
15266         * gst/gstquery.h:
15267         * gst/gstqueryutils.c:
15268         * gst/gstqueryutils.h:
15269           remove queryutils headers after moving the two used functions
15270           to gstquery.  also fixes build problem for gstsiddec
15271
15272 2005-09-26  Michael Smith <msmith@fluendo.com>
15273
15274         * tools/gst-launch.1.in:
15275         Correct documentation in manpage of debug syntax
15276
15277 2005-09-26  Wim Taymans  <wim@fluendo.com>
15278
15279         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15280         (gst_base_src_is_seekable), (gst_base_src_change_state):
15281         Some more debugging info.
15282
15283 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15284
15285         * docs/gst/gstreamer-sections.txt:
15286         * gst/base/gstbasetransform.h:
15287         * gst/gstindex.h:
15288           added more docs
15289
15290 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15291
15292         * docs/gst/.cvsignore:
15293         * docs/gst/tmpl/.cvsignore:
15294         * docs/gst/tmpl/gstpipeline.sgml:
15295         * docs/gst/tmpl/gstplugin.sgml:
15296         * gst/gstpipeline.c:
15297         * gst/gstplugin.c:
15298         * gst/gstplugin.h:
15299           inlined the last two docs files
15300           removed the tmpl directory from cvs (no more conflicts here!)
15301
15302 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15303
15304         * docs/gst/gstreamer-sections.txt:
15305         * docs/gst/tmpl/.cvsignore:
15306         * docs/gst/tmpl/gstpad.sgml:
15307         * docs/gst/tmpl/gstpadtemplate.sgml:
15308         * gst/Makefile.am:
15309         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
15310         (gst_pad_finalize), (gst_pad_set_pad_template):
15311         * gst/gstpad.h:
15312         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
15313         (gst_pad_template_class_init), (gst_pad_template_init),
15314         (gst_pad_template_dispose), (name_is_valid),
15315         (gst_static_pad_template_get), (gst_pad_template_new),
15316         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
15317         (gst_pad_template_pad_created):
15318         * gst/gstpadtemplate.h:
15319           inlined two more docs
15320           factored gstpadtemplate out of gstpad
15321
15322 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
15323
15324         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15325         (test_children_state_change_order_semi_sink):
15326           Fix test case: we can't rely on a fixed state change order when
15327           going from READY => PAUSED because the sink might commit its 
15328           new state first when the first buffer created by the source 
15329           reaches the sink before the source has finished its change state.
15330           (Test case still fails at times, see #316856, comment 5 onwards)
15331
15332 2005-09-24  Wim Taymans  <wim@fluendo.com>
15333
15334         * docs/design/part-events.txt:
15335         * docs/design/part-gstbus.txt:
15336         * docs/design/part-gstpipeline.txt:
15337         * docs/design/part-messages.txt:
15338         * docs/design/part-overview.txt:
15339         * docs/design/part-segments.txt:
15340         * gst/gstbin.c:
15341         * gst/gstbuffer.c:
15342         * gst/gstclock.c:
15343         * gst/gstelement.c:
15344         * gst/gstevent.c:
15345         * gst/gstfilter.c:
15346         * gst/gstiterator.c:
15347         Various documentation updates.
15348
15349 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15350
15351         * gst/gstclock.h:
15352           Well, that's embarassing.  Luckily we weren't using
15353           GST_CLOCK_DIFF anywhere.
15354
15355 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15356
15357         * common/gtk-doc.mak:
15358           don't fail on building XML, FC4 slave shows a bunch of doc
15359           missing bits that I don't get
15360         * gst/gstpad.c:
15361         * gst/gstpipeline.c:
15362         * gst/gststructure.c:
15363           some doc updates
15364
15365 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
15366
15367         * docs/design/part-gstbin.txt:
15368         * docs/design/part-gstbus.txt:
15369         * gst/gstbus.c:
15370           Add blurb about how the bus goes into flushing mode and
15371           drops all messages when its bin goes from READY into NULL 
15372           state.
15373
15374 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15375
15376         * docs/gst/gstreamer-sections.txt:
15377         * gst/gststructure.c: (gst_structure_get_clock_time):
15378         * gst/gststructure.h:
15379           add a method to get a GstClockTime out of a structure
15380
15381 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
15382
15383         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15384         (test_children_state_change_order_semi_sink), (gst_bin_suite):
15385           Added test to check state change order in bins (can still be made
15386           to fail here under heavy disk load; bails out with 'Push on pad
15387           fakesink:sink0, but it was not activated in push mode').
15388
15389         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
15390           Fix state change order when there is only a semi sink (#316856)
15391
15392         * gst/gstbus.c: (gst_bus_class_init):
15393           Use _class_peek_parent(), not _class_ref(); fix docs to say
15394           'default main context' instead of 'mainloop' where that is
15395           what's meant.
15396
15397         * gst/gstelement.c: (gst_element_commit_state),
15398         (gst_element_set_state):
15399           Fix typos in debug messages
15400
15401 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15402
15403         * docs/README:
15404         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
15405         * gst/gstpluginfeature.c:
15406         * gst/gstutils.c:
15407           various doc updates
15408         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15409           change an assert into an error until it gets fixed properly
15410
15411 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
15412
15413         * docs/gst/gstreamer-sections.txt:
15414         * docs/gst/tmpl/.cvsignore:
15415         * docs/gst/tmpl/gstelement.sgml:
15416         * docs/gst/tmpl/gstinfo.sgml:
15417         * docs/gst/tmpl/gstobject.sgml:
15418         * gst/gstelement.c:
15419         * gst/gstelement.h:
15420         * gst/gstinfo.c:
15421         * gst/gstinfo.h:
15422         * gst/gstobject.c: (gst_object_class_init):
15423         * gst/gstobject.h:
15424           inlined 3 more biiiig doc files and added some missing docs on the fly
15425
15426 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15427
15428         * check/gst/.cvsignore:
15429         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
15430         * gst/gstregistryxml.c: (load_plugin),
15431         (gst_registry_xml_save_plugin):
15432           put back source in registry.  add checks for find_plugin.
15433         * testsuite/states/bin.c: (assert_state), (empty_bin),
15434         (test_adding_one_element), (main):
15435         * testsuite/states/locked.c: (main):
15436           some compile/run fixes
15437
15438 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15439
15440         * check/gst/gstvalue.c: (GST_START_TEST):
15441           fix leaks in the test itself
15442
15443 2005-09-22  Wim Taymans  <wim@fluendo.com>
15444
15445         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15446         (gst_base_sink_send_event), (gst_base_sink_peer_query),
15447         (gst_base_sink_query):
15448         Prepare for more accurate position reporting and query
15449         handling.
15450
15451         * gst/gstelement.c: (gst_element_send_event),
15452         (gst_element_set_state):
15453         Add some comment.
15454
15455 2005-09-22  Wim Taymans  <wim@fluendo.com>
15456
15457         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
15458         (gst_query_parse_segment):
15459         * gst/gstquery.h:
15460         More documentation.
15461         Add segment query for future use.
15462
15463 2005-09-22  Wim Taymans  <wim@fluendo.com>
15464
15465         * gst/gstbin.c: (gst_bin_add_func):
15466         Some more debug info.
15467
15468         * gst/gstelement.c: (gst_element_send_event):
15469         Simplify send_event
15470
15471         * gst/gstelement.h:
15472         Don't know how flags got broken.
15473
15474         * gst/gstquery.h:
15475         Added new query.
15476
15477 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
15478
15479         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
15480           Add simplistic test suite for GST_TYPE_DATE serialisation and
15481           deserialisation.
15482
15483 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
15484
15485         * docs/gst/gstreamer-sections.txt:
15486         * gst/gststructure.c: (gst_structure_set_valist),
15487         (gst_structure_get_date):
15488         * gst/gststructure.h:
15489         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
15490         (gst_date_copy), (gst_value_compare_date),
15491         (gst_value_serialize_date), (gst_value_deserialize_date),
15492         (gst_value_transform_date_string),
15493         (gst_value_transform_string_date), (_gst_value_initialize):
15494         * gst/gstvalue.h:
15495           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
15496           bunch of utility functions along with a hack that checks that
15497           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
15498           is required. Part of the grand scheme in #170777.
15499
15500 2005-09-22  Andy Wingo  <wingo@pobox.com>
15501
15502         * gst/gstconfig.h.in: Psych out gtk-doc.
15503
15504         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
15505
15506         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
15507
15508         * tools/gst-inspect.c (print_element_list): Plug some
15509         inconsequential leaks.
15510
15511         * gst/gstregistry.c (gst_registry_get_default): Doc.
15512
15513         * check/gst/gstplugin.c: 
15514         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
15515         * gst/gstelementfactory.c (gst_element_factory_create): 
15516         * gst/gstindexfactory.c (gst_index_factory_create): Update for
15517         refcount changes.
15518
15519         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
15520         (gst_plugin_feature_load): Doc, don't eat refs.
15521
15522         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
15523         (gst_plugin_list_free): Doc.
15524         (gst_plugin_load_file): Doc updates.
15525
15526         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
15527         accessors returning refcounted objects, return a ref.
15528
15529         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
15530         accessor for caps. IDEMPOTENCE. Oh yes.
15531
15532 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
15533
15534         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15535
15536         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15537         (_gst_debug_register_funcptr):
15538           Add mutex to serialise access to the hash table with
15539           the function pointer => function name string mapping;
15540           make that hash table static scope (#316809).
15541
15542         * gst/registries/.cvsignore:
15543           Remove left-over file.
15544
15545 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
15546
15547         * docs/pwg/appendix-porting.xml:
15548           And something about newsegment events and caps-on-buffers to
15549           the porting guide (feel free to improve).
15550
15551 2005-09-21  Andy Wingo  <wingo@pobox.com>
15552
15553         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
15554         data and event probes on the same pad.
15555         (test_buffer_probe_once): Test that removing probes from within
15556         the probe functions works.
15557
15558 2005-09-21  Andy Wingo  <wingo@pobox.com>
15559
15560         * check/gst/gstutils.c: New file.
15561         (test_buffer_probe_n_times): A simple buffer probe test. More to
15562         come, foolios.
15563
15564         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
15565         have-data::buffer, not have-data.
15566         (gst_pad_add_event_probe): Likewise for have-data::event.
15567         (gst_pad_add_data_probe): More docs. The part about 'resolving the
15568         peer' isn't quite right yet though.
15569         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
15570         (gst_pad_remove_data_probe): Change to take the guint handler_id
15571         as their arg, not the function+data, which is more glib-like.
15572
15573         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
15574         the signal emission to indicate if the data is a buffer or an
15575         event.
15576         (gst_pad_get_type): Initialize buffer and event quarks.
15577         (gst_pad_class_init): have-data is now a detailed signal, yes it
15578         is.
15579
15580 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
15581
15582         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
15583         * gst/gstutils.c: (gst_util_set_value_from_string),
15584         (gst_util_set_object_arg):
15585           Don't put functional code in g_return_if_fail() or
15586           g_return_val_if_fail() statements, otherwise things will 
15587           break when G_DISABLE_CHECKS is defined during compilation.
15588
15589 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15590
15591         * docs/gst/tmpl/.cvsignore:
15592         * docs/gst/tmpl/gstvalue.sgml:
15593         * gst/gstvalue.c:
15594         * gst/gstvalue.h:
15595           inlied another one and added  some obvious docs
15596
15597 2005-09-21  Wim Taymans  <wim@fluendo.com>
15598
15599         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15600         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
15601         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
15602         (gst_fdsrc_get_property), (gst_fdsrc_create):
15603         * gst/elements/gstfdsrc.h:
15604         Properly implement fdsrc. Removed signal and timeout,
15605         better implemented somewhere else.
15606
15607 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15608
15609         * docs/gst/tmpl/.cvsignore:
15610         * docs/gst/tmpl/gstimplementsinterface.sgml:
15611         * gst/gstinterface.c:
15612           inlined more docs
15613
15614 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15615
15616         * docs/gst/gstreamer-sections.txt:
15617         * docs/gst/tmpl/.cvsignore:
15618         * docs/gst/tmpl/gstenumtypes.sgml:
15619           remove obsolete doc file
15620
15621 2005-09-21  David Schleef  <ds@schleef.org>
15622
15623         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
15624         little beer, fix a little leak.
15625
15626 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15627
15628         * docs/gst/gstreamer-docs.sgml:
15629         * docs/gst/gstreamer-sections.txt:
15630         * docs/gst/tmpl/.cvsignore:
15631         * gst/Makefile.am:
15632         * gst/gst.h:
15633         * gst/gstbin.c:
15634         * gst/gstelement.h:
15635         * gst/gstindex.c: (gst_index_class_init):
15636         * gst/gstindex.h:
15637         * gst/gstindexfactory.c: (gst_index_factory_get_type),
15638         (gst_index_factory_class_init), (gst_index_factory_init),
15639         (gst_index_factory_finalize), (gst_index_factory_new),
15640         (gst_index_factory_destroy), (gst_index_factory_find),
15641         (gst_index_factory_create), (gst_index_factory_make):
15642         * gst/gstindexfactory.h:
15643         * gst/gstpluginfeature.c:
15644         * gst/gstpluginfeature.h:
15645         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15646           more docs inlined, splitted gstindex.{c,h}
15647
15648 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15649
15650         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15651           fix a leak
15652
15653 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
15654
15655         * gst/elements/gstfilesink.c: (gst_file_sink_init):
15656           Set sync to FALSE by default.
15657
15658 2005-09-20  Wim Taymans  <wim@fluendo.com>
15659
15660         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15661         (gst_base_sink_init):
15662         Make sync property settable from subclass.
15663
15664         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
15665         (gst_fake_sink_change_state):
15666         Set sync to FALSE by default.
15667
15668 2005-09-20  Wim Taymans  <wim@fluendo.com>
15669
15670         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
15671         * tools/gst-launch.c: (main):
15672         The timeout handler should have lower priority than the source
15673         so we don't timeout before popping a message with 0 timeout.
15674         Dump error messages after failed state change.
15675
15676 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
15677
15678         * tools/gst-inspect.c: (print_element_properties_info):
15679           Fix two typos.
15680
15681 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15682
15683         * check/gst/gstevent.c:
15684         * gst/elements/gstfakesink.c:
15685         * gst/elements/gstfakesink.h:
15686           remove the sync property from fakesink.
15687           has the side effect of setting sync TRUE
15688           for fakesink, which is a change.  Anyone who knows how
15689           to fix this nicely in a GObject-y way, feel free.
15690
15691 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15692
15693         * docs/gst/gstreamer-docs.sgml:
15694           remove probe refsection
15695
15696 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15697
15698         * check/Makefile.am:
15699           disable valgrinding the controller test again
15700         * docs/gst/gstreamer-sections.txt:
15701           update for api-changes
15702
15703 2005-09-20  Wim Taymans  <wim@fluendo.com>
15704
15705         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15706         (gst_base_sink_set_property), (gst_base_sink_get_property),
15707         (gst_base_sink_do_sync):
15708         * gst/base/gstbasesink.h:
15709         Added sync property to basesink to disable clock sync.
15710
15711 2005-09-20  Andy Wingo  <wingo@pobox.com>
15712
15713         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
15714         eating the caller's refcount.
15715
15716         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
15717         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
15718         refcount.
15719
15720         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
15721         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
15722         of GLib 2.8 public, so we can know which refcount to check in
15723         tests.
15724
15725         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
15726         (gst_object_init): Only set the gst refcount if we're going ahead
15727         with the refcount hack.
15728
15729 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15730
15731         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15732         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15733           more leaks plumbed, added more debug-logging
15734         * gst/gstmacros.h:
15735           whitespace fix
15736
15737 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15738
15739         * gst/gstmessage.c:
15740           remove include of gstmemchunk.h
15741
15742 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15743
15744         * gst/gstclock.c: (_gst_clock_id_free):
15745           Commit from the Political Party For More Atomic CVS Commits,
15746           so that people don't waste too much of their day fishing
15747           out obvious leaks out of massive commits.
15748           Oh, and fix a pretty damn obvious leak in the memchunk
15749           removal code.
15750
15751 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15752
15753         * check/Makefile.am:
15754         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15755           plug mem-leak, re-add to valgrindable tests
15756
15757 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15758
15759         * gst/gstplugin.h:
15760           unbreak the build for those who have chronic arthritis
15761           and typing "make check" is just too taxing on the hands
15762
15763 2005-09-20  Andy Wingo  <wingo@pobox.com>
15764
15765         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
15766         really want it out, you should fix plugins at the same time.
15767
15768 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
15769
15770         * configure.ac:
15771         * docs/gst/gstreamer-sections.txt:
15772         * gst/gstobject.c:
15773           added missing symbols to api docs
15774           disable ref-count hack if we have glib >= 2.8
15775
15776 2005-09-19  David Schleef  <ds@schleef.org>
15777
15778         * docs/gst/Makefile.am: Ignore a few more internal headers
15779         * docs/gst/gstreamer-docs.sgml: Remove old sections
15780         * docs/gst/gstreamer-sections.txt: Remove old sections
15781         * docs/gst/tmpl/gstobject.sgml: update
15782         * docs/gst/tmpl/gstplugin.sgml: update
15783         * docs/gst/tmpl/gstpluginfeature.sgml: update
15784         * docs/random/ds/0.9-suggested-changes: update.
15785         * gst/Makefile.am: remove memchunk and trashstack, since they're
15786           not used.
15787         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
15788         * gst/gst.h: don't include some headers
15789         * gst/gstchildproxy.c: add gstmarshal.h
15790         * gst/gstclock.c: Don't use memchunks
15791         * gst/gstminiobject.c: Add some docs
15792         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
15793         * gst/gstobject.h: same
15794         * gst/gstplugin.c: include gstmacros.h
15795         * gst/gstplugin.h: don't include gstmacros.h, since it's private
15796         * gst/gstquery.c: don't use memchunks
15797         * gst/gstregistry.c: rename gst_registry_deinit()
15798         * gst/gstregistry.h: same
15799
15800 2005-09-19  David Schleef  <ds@schleef.org>
15801
15802         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
15803         * docs/libs/gstreamer-libs-sections.txt:
15804         * docs/libs/tmpl/gstgetbits.sgml:
15805         * docs/libs/tmpl/gstputbits.sgml:
15806
15807 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
15808
15809         * win32/gstenumtypes.c:
15810         * win32/gstenumtypes.h:
15811           Update.
15812
15813 2005-09-19  Wim Taymans  <wim@fluendo.com>
15814
15815         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
15816         Automatically PAUSE and RESUME a pipeline when a flushing seek
15817         is performed.
15818
15819 2005-09-19  Andy Wingo  <wingo@pobox.com>
15820
15821         * gst/gstregistry.h: Spacing fixen.
15822
15823 2005-09-19  Wim Taymans  <wim@fluendo.com>
15824
15825         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
15826         Handle state change failure more correctly.
15827
15828 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15829
15830         * check/Makefile.am:
15831         * check/pipelines/cleanup.c: (run_pipeline):
15832         * check/pipelines/simple_launch_lines.c: (run_pipeline),
15833         (GST_START_TEST):
15834           enable cleanup again after fixing the leak
15835         * docs/README:
15836           some more info on docs
15837
15838 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15839
15840         * check/Makefile.am:
15841           re-enable tests now that leaks are plugged
15842         * check/gst/gst.c:
15843         * check/gst/gstbin.c:
15844         * check/gst/gstpipeline.c:
15845           add some more tests while fixing leaks
15846         * common/check.mak:
15847           make sure binaries are uptodate when valgrinding/gdbing
15848         * gst/gst.c:
15849         * gst/gstelementfactory.c:
15850           remove a ref too many, and add a FIXME for when we get
15851           round to disposing of classes
15852         * gst/gstplugin.c:
15853           fix the refcounting when loading a plugin from a file and
15854           the code pretends that the pointer is the same even though
15855           of course it can change
15856         * gst/gstpluginfeature.c:
15857           unref plugins marked cached (a bit confusing as a name)
15858           as the docs state should be done
15859           various doc additions to explain refcounting
15860         * gst/gstregistry.c:
15861         * gst/gstregistryxml.c:
15862           debugging
15863
15864 2005-09-19  Wim Taymans  <wim@fluendo.com>
15865
15866         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
15867         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15868         (send_messages), (GST_START_TEST), (gstbus_suite):
15869         * check/gst/gstpipeline.c: (GST_START_TEST):
15870         * check/pipelines/cleanup.c: (run_pipeline):
15871         * check/pipelines/simple_launch_lines.c: (run_pipeline),
15872         (GST_START_TEST):
15873         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
15874         (gst_bus_source_check), (gst_bus_source_dispatch),
15875         (gst_bus_create_watch), (gst_bus_add_watch_full),
15876         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
15877         * gst/gstbus.h:
15878         * tools/gst-launch.c: (event_loop):
15879         * tools/gst-md5sum.c: (event_loop):
15880         GstBusHandler -> GstBusFunc, return value has the same meaning as
15881         any other GSource (FALSE == remove source).
15882         _add_watch() and _add_watch_full() now take a MessageType mask to
15883         only handle specific types of messages.
15884         _poll() returns the GstMessage instead of the message type to avoid
15885         race conditions.
15886         _have_pending() takes a MessageType mask now too.
15887         Added testsuite for multiple bus watches.
15888         Fix testsuites and applications for new bus API.
15889
15890 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15891
15892         * check/Makefile.am:
15893           mark a bunch of the tests as to fix until we fix them
15894
15895 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15896
15897         * common/check.mak:
15898           use GST_PLUGIN settings for valgrind tests as well, so we're
15899           valgrinding the correct thing
15900         * gst/gst.c: (init_post):
15901           plug another leak
15902
15903 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15904
15905         * gst/gst.c: (init_post), (gst_deinit):
15906         * gst/gstelementfactory.c: (gst_element_factory_class_init),
15907         (gst_element_factory_finalize), (gst_element_factory_cleanup):
15908         * gst/gstindex.c: (gst_index_factory_class_init),
15909         (gst_index_factory_finalize):
15910         * gst/gstobject.c: (gst_object_dispose):
15911         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15912         (gst_plugin_load_file), (gst_plugin_desc_free):
15913         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
15914         (gst_plugin_feature_finalize):
15915         * gst/gstregistry.c: (gst_registry_class_init),
15916         (gst_registry_init), (gst_registry_finalize),
15917         (gst_registry_get_default), (gst_registry_deinit):
15918         * gst/gstregistry.h:
15919         * gst/gstregistryxml.c: (load_feature), (load_plugin):
15920           various cleanups and memleak plugging.  make valgrind is happy now.
15921
15922 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15923
15924         * common/check.mak:
15925           add a check-valgrind target
15926
15927 2005-09-18  David Schleef  <ds@schleef.org>
15928
15929         * tools/gst-inspect.c: Revert the GOption code.
15930
15931 2005-09-17  David Schleef  <ds@schleef.org>
15932
15933         * check/Makefile.am: Fix environment variables.
15934         * check/gst/gstplugin.c: Fix for API changes.
15935         * tools/gst-inspect.c: Fix for API changes.
15936         * tools/gst-xmlinspect.c: Fix for API changes.
15937         * gst/gstelementfactory.c:
15938         * gst/gstplugin.c:
15939         * gst/gstplugin.h:
15940         * gst/gstpluginfeature.c:
15941         * gst/gstpluginfeature.h:
15942         * gst/gstregistry.c:
15943         * gst/gstregistry.h:
15944         * gst/gstregistryxml.c:
15945         * gst/gsttypefind.c:
15946         * gst/gsttypefindfactory.c:
15947         * gst/indexers/gstfileindex.c:
15948         * gst/indexers/gstmemindex.c:
15949         * gst/schedulers/Makefile.am:
15950           Change registry to keep track of both plugins and features,
15951           removing the feature tracking from plugins themselves.
15952
15953 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15954
15955         * check/Makefile.am:
15956         * tools/gst-register.1.in:
15957           remove gst-register
15958
15959 2005-09-15  David Schleef  <ds@schleef.org>
15960
15961         * check/gst/gstplugin.c:
15962         * gst/gstelementfactory.c:
15963         * gst/gstplugin.c:
15964         * gst/gstpluginfeature.c:
15965         * gst/gstregistry.c:
15966           Getting tired of debugging.  Disabled all the unreffing of
15967           plugins and features, which fixes the segfaults, but of
15968           course leaks like crazy.  At least playbin works.
15969
15970 2005-09-15  David Schleef  <ds@schleef.org>
15971
15972         * check/gst/gstplugin.c: (register_check_elements),
15973         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
15974         More testing
15975         * gst/elements/gsttypefindelement.c: Fix refcounting.
15976         * gst/gsttypefind.c:
15977         * gst/gsttypefindfactory.c:
15978         * gst/gsttypefindfactory.h:
15979
15980 2005-09-15  David Schleef  <ds@schleef.org>
15981
15982         * gst/gstindex.c: get refcounting correct.
15983         * gst/gstregistry.c: Handle the case where a feature/plugin is
15984           not found.
15985
15986 2005-09-15  David Schleef  <ds@schleef.org>
15987
15988         * check/Makefile.am:
15989         * check/gst/gstplugin.c: Add test
15990         * gst/gstplugin.c: Fix problems noticed by testsuite
15991         * gst/gstplugin.h:
15992         * gst/gstregistry.c: 
15993         * gst/gstregistry.h:
15994
15995 2005-09-15  David Schleef  <ds@schleef.org>
15996
15997         * gst/gstplugin.c: Implement semi-decent recounting and locking
15998           in plugins and plugin features.
15999         * gst/gstplugin.h:
16000         * gst/gstpluginfeature.c:
16001         * gst/gstpluginfeature.h:
16002         * gst/gstregistry.c:
16003
16004 2005-09-15  Michael Smith <msmith@fluendo.com>
16005
16006         * gst/gstregistry.c: (gst_registry_get_feature_list):
16007           Implement this. Makes oggdemux work; decodebin still broken.
16008
16009 2005-09-14  David Schleef  <ds@schleef.org>
16010
16011         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
16012           #316076)
16013         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
16014         * gst/check/Makefile.am:
16015         * libs/gst/controller/Makefile.am:
16016         * libs/gst/dataprotocol/Makefile.am:
16017
16018 2005-09-14  David Schleef  <ds@schleef.org>
16019
16020         * configure.ac: Remove getbits library.  Nothing uses it, and
16021           it should be in something like liboil if someone did want
16022           to use it.
16023         * libs/gst/Makefile.am:
16024         * libs/gst/getbits/Makefile.am:
16025         * libs/gst/getbits/gbtest.c:
16026         * libs/gst/getbits/getbits.c:
16027         * libs/gst/getbits/getbits.h:
16028         * libs/gst/getbits/gstgetbits_generic.c:
16029         * libs/gst/getbits/gstgetbits_i386.s:
16030         * libs/gst/getbits/gstgetbits_inl.h:
16031
16032 2005-09-14  David Schleef  <ds@schleef.org>
16033
16034         * gst/Makefile.am: Dist glib-compat.h
16035
16036 2005-09-14  David Schleef  <ds@schleef.org>
16037
16038         * configure.ac: Remove gst/registries, since it's no longer used.
16039         * gst/registries/Makefile.am:
16040         * gst/registries/gstlibxmlregistry.c:
16041         * gst/registries/gstlibxmlregistry.h:
16042         * gst/registries/gstxmlregistry.c:
16043         * gst/registries/gstxmlregistry.h:
16044         * gst/registries/registrytest.c:
16045
16046 2005-09-14  David Schleef  <ds@schleef.org>
16047
16048         * gst/glib-compat.h:
16049         * gst/gstregistryxml.c:
16050           Convergence is near.  Seriously.
16051
16052 2005-09-14  David Schleef  <ds@schleef.org>
16053
16054         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16055         * gst/glib-compat.h:
16056           Attempt #4 to appease the buildbots.
16057
16058 2005-09-14  David Schleef  <ds@schleef.org>
16059
16060         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16061           Attempt #3.
16062
16063 2005-09-14  David Schleef  <ds@schleef.org>
16064
16065         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16066         Attempt #2.
16067
16068 2005-09-14  David Schleef  <ds@schleef.org>
16069
16070         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
16071           the new functions.
16072
16073 2005-09-14  David Schleef  <ds@schleef.org>
16074
16075         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16076         * gst/glib-compat.h: Add some functions that are in newer versions
16077           of glib than we care to require.
16078         * gst/gstregistryxml.c: Use them.
16079
16080 2005-09-14  David Schleef  <ds@schleef.org>
16081
16082         * po/POTFILES.in: remove gst-register.c
16083
16084 2005-09-14  David Schleef  <ds@schleef.org>
16085
16086         * docs/gst/gstreamer-docs.sgml:
16087         * docs/gst/gstreamer-sections.txt:
16088         * docs/gst/gstreamer.types:
16089         * docs/gst/tmpl/gstelement.sgml:
16090         * docs/gst/tmpl/gstplugin.sgml:
16091         * docs/gst/tmpl/gstpluginfeature.sgml:
16092           Documentation updates for registry changes.
16093
16094 2005-09-14  David Schleef  <ds@schleef.org>
16095
16096         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
16097           because we don't require glib-2.8.
16098
16099 2005-09-14  David Schleef  <ds@schleef.org>
16100
16101         * gst/gstregistryxml.c: Added.  Essentially moved out of the
16102           registries directory.
16103
16104 2005-09-14  David Schleef  <ds@schleef.org>
16105
16106         * check/Makefile.am:
16107         * check/generic/states.c:
16108         * gst/Makefile.am:
16109         * gst/gst.c:
16110         * gst/gst.h:
16111         * gst/gst_private.h:
16112         * gst/gstelementfactory.c:
16113         * gst/gstindex.c:
16114         * gst/gstinfo.c:
16115         * gst/gstplugin.c:
16116         * gst/gstplugin.h:
16117         * gst/gstpluginfeature.c:
16118         * gst/gstpluginfeature.h:
16119         * gst/gstregistry.c:
16120         * gst/gstregistry.h:
16121         * gst/gstregistrypool.c: remove
16122         * gst/gstregistrypool.h: remove
16123         * gst/gsttypefind.c:
16124         * gst/gsttypefindfactory.c:
16125         * gst/gsturi.c:
16126         * tools/Makefile.am:
16127         * tools/gst-compprep.c:
16128         * tools/gst-inspect.c:
16129         * tools/gst-register.c: remove
16130         * tools/gst-xmlinspect.c:
16131           Registry rewrite.  Changes registry from being a file created
16132           by a tool into a simple cache file created automatically by 
16133           libgstreamer.  Removed gst-register (because it's no longer
16134           needed).  Remove registry pools, because we only have one
16135           registry implementation (XML).  Fix up other subsystems as
16136           necessary.
16137
16138 2005-09-13  Michael Smith <msmith@fluendo.com>
16139
16140         * gst/gstconfig.h.in:
16141           Don't Use windows linking attributes for MinGW. Fixes #316157
16142
16143 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16144
16145         * gst/gstutils.c: (set_state_async_thread_func),
16146         (gst_element_set_state_async):
16147           Apparently people think it's better if this function doesn't
16148           try to set the state to whatever state was asked for on the first
16149           call to this function for any object.  Seriously.
16150
16151 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16152
16153         * check/gst/gstpipeline.c: (GST_START_TEST):
16154         * docs/gst/gstreamer-sections.txt:
16155         * gst/gstutils.c: (set_state_async_thread_func),
16156         (gst_element_set_state_async):
16157         * gst/gstutils.h:
16158           add a "gst_element_set_state_async" method that
16159           sets the state and starts a thread to make sure the state
16160           change completes as best as it can
16161
16162 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16163
16164         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16165           codify design+behaviour in testsuite after discussion
16166
16167 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16168
16169         * docs/gst/tmpl/gstelement.sgml:
16170         * docs/manual/appendix-quotes.xml:
16171           add a quote
16172         * gst/gstelement.c: (gst_element_set_state):
16173           add some debug
16174
16175 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
16176
16177         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16178         (gst_base_transform_prepare_output_buf),
16179         (gst_base_transform_handle_buffer):
16180         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
16181         (gst_capsfilter_prepare_buf):
16182           Remove the requirement for sub-classes to call the parent
16183           implementation of prepare_output_buffer with a wrapper function.
16184           
16185         * gst/gsttaglist.h:
16186         * gst/gsttagsetter.h:
16187           Fix #define wrapper
16188
16189 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
16190
16191         * docs/gst/gstreamer-sections.txt:
16192           more doc cleanups
16193
16194 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16195
16196         * docs/gst/gstreamer-sections.txt:
16197         * docs/gst/tmpl/gstelement.sgml:
16198         * docs/gst/tmpl/gstplugin.sgml:
16199         * gst/gstminiobject.c:
16200         * gst/gstvalue.h:
16201           docs now stop throwing warnings
16202
16203 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16204
16205         * docs/gst/gstreamer-sections.txt:
16206         * docs/gst/gstreamer.types:
16207         * docs/gst/tmpl/gstpad.sgml:
16208         * docs/gst/tmpl/gsttypes.sgml:
16209         * gst/base/gstadapter.h:
16210         * gst/base/gstbasesink.h:
16211         * gst/base/gstbasesrc.h:
16212         * gst/gstbin.h:
16213         * gst/gstbuffer.h:
16214         * gst/gstbus.h:
16215         * gst/gstcaps.h:
16216         * gst/gstclock.h:
16217         * gst/gstelement.h:
16218         * gst/gstevent.h:
16219         * gst/gstmessage.h:
16220         * gst/gstpad.h:
16221         * gst/gststructure.c:
16222         * gst/registries/gstlibxmlregistry.h:
16223           various documentation fixes
16224
16225 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16226
16227         * docs/gst/gstreamer-sections.txt:
16228         * docs/gst/tmpl/gstvalue.sgml:
16229           rearrange gstvalue section
16230         * gst/gstutils.c: (gst_element_state_get_name):
16231           NONE -> VOID
16232         * gst/gstvalue.c: (_gst_value_initialize):
16233         * gst/gstvalue.h:
16234           doc updates
16235
16236 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
16237
16238         * check/gst-libs/controller.c:
16239           Header include fix.
16240         * gst/base/gstbasetransform.c:
16241         (gst_base_transform_default_prepare_buf),
16242         (gst_base_transform_handle_buffer):
16243         * gst/base/gstbasetransform.h:
16244           Some more basetransform changes and fixes to enable sub-classes
16245           that modify buffer metadata only.
16246         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16247         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
16248         (gst_capsfilter_prepare_buf):
16249           If the output pad has fixed allowed caps and input buffers 
16250           don't have any, set the fixed caps on outgoing buffers.
16251
16252 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
16253         * check/elements/identity.c: (GST_START_TEST):
16254           Make the error a little clearer when the test fails because
16255           identity made a copy of the buffer.
16256         * docs/gst/gstreamer-sections.txt:
16257           New symbols in gstbasetransform.h
16258         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16259         (gst_base_transform_init), (gst_base_transform_transform_size),
16260         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16261         (gst_base_transform_default_prepare_buf),
16262         (gst_base_transform_get_unit_size),
16263         (gst_base_transform_buffer_alloc),
16264         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16265         (gst_base_transform_change_state),
16266         (gst_base_transform_set_passthrough),
16267         (gst_base_transform_set_in_place),
16268         (gst_base_transform_is_in_place):
16269         * gst/base/gstbasetransform.h:
16270           Change BaseTransform to separate in_place operate from same_caps
16271           output. in_place implies that the element can perform the transform
16272           on incoming buffers in-place, even if the caps on the output are
16273           different.
16274           Sub-class elements can now implement special buffer allocation
16275           methods for outgoing buffers if they wish to.
16276           Big documentation addition.
16277         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
16278         * gst/elements/gstelements.c:
16279           Changes for basetransform modifications.
16280         * gst/elements/Makefile.am:
16281         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
16282           Compile fix. Extra debug output.
16283
16284 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16285
16286         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
16287         (gst_pad_suite):
16288           add tests for valid pad naming
16289         * gst/check/gstcheck.c: (gst_check_log_message_func),
16290         (gst_check_log_critical_func):
16291           add ASSERT_WARNING
16292           remove printing of code, it is fragile when the code contains
16293           % and the line number is enough info
16294         * gst/check/gstcheck.h:
16295         * gst/gstpad.c: (gst_pad_template_new):
16296           fix memleaks
16297
16298 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16299
16300         * configure.ac:
16301           say what CHECK flags we use
16302         * docs/libs/gstreamer-libs.types:
16303         * libs/gst/controller/Makefile.am:
16304         * libs/gst/controller/gst-controller.c:
16305         * libs/gst/controller/gst-controller.h:
16306         * libs/gst/controller/gst-helper.c:
16307         * libs/gst/controller/gst-interpolation.c:
16308         * libs/gst/controller/gstcontroller.c:
16309         * libs/gst/controller/gsthelper.c:
16310         * libs/gst/controller/gstinterpolation.c:
16311         * tools/gst-inspect.c: (print_plugin_info):
16312           we don't use dashes in header names
16313
16314 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16315
16316         * check/Makefile.am:
16317         * check/gst/.cvsignore:
16318         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
16319         (gst_pipeline_suite), (main):
16320           adding a test for pipelines and state changes
16321         * gst/gstutils.c: (get_state_func):
16322           add some debugging
16323         * gstreamer.spec.in:
16324           fix up spec file
16325
16326 2005-09-08  Michael Smith <msmith@fluendo.com>
16327
16328         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
16329         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
16330         (gst_file_src_is_seekable), (gst_file_src_get_size),
16331         (gst_file_src_start):
16332         * gst/elements/gstfilesrc.h:
16333           Various fixes for unseekable, unmmapable, and non-normal files, so
16334           that fallback to read() rather than mmap() works.
16335         * gst/gstevent.c: (gst_event_new_newsegment):
16336           Allow newsegment events with segment_start == segment_end, as will
16337           correctly happen if you use filesrc on a zero-size file, for
16338           example.
16339
16340 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
16341
16342         * gst/gstplugin.c: (gst_plugin_load_file):
16343           Call g_module_close when we don't load the module
16344
16345         * gst/registries/gstlibxmlregistry.c:
16346         (gst_xml_registry_get_property):
16347           Port leak fix from 0.8
16348
16349 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16350
16351         * docs/gst/gstreamer-docs.sgml:
16352         * docs/gst/tmpl/.cvsignore:
16353         * docs/gst/tmpl/gsttrace.sgml:
16354         * docs/gst/tmpl/gsttrashstack.sgml:
16355         * gst/Makefile.am:
16356         * gst/gst.h:
16357         * gst/gstelement.h:
16358         * gst/gstevent.h:
16359         * gst/gstmessage.c:
16360         * gst/gstmessage.h:
16361         * gst/gsttag.c:
16362         * gst/gsttag.h:
16363         * gst/gsttaginterface.c:
16364         * gst/gsttaginterface.h:
16365         * gst/gsttaglist.c:
16366         * gst/gsttaglist.h:
16367         * gst/gsttagsetter.c:
16368         * gst/gsttagsetter.h:
16369         * gst/gsttrace.c:
16370         * gst/gsttrace.h:
16371         * gst/gsttrashstack.c:
16372           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
16373           inlined docs for gsttrace, gsttrashstack
16374
16375 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16376
16377         * gst/Makefile.am:
16378         * gst/elements/gstbufferstore.h:
16379         * gst/elements/gsttypefindelement.c:
16380         * gst/elements/gsttypefindelement.h:
16381         * gst/gst.h:
16382         * gst/gsttypefind.c:
16383         * gst/gsttypefind.h:
16384         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
16385         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
16386         (gst_type_find_factory_dispose),
16387         (gst_type_find_factory_unload_thyself),
16388         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
16389         (gst_type_find_factory_get_caps),
16390         (gst_type_find_factory_get_extensions),
16391         (gst_type_find_factory_call_function):
16392         * gst/gsttypefindfactory.h:
16393         * gst/registries/gstlibxmlregistry.c:
16394         * gst/registries/gstxmlregistry.c:
16395           splitted gsttypefind into gsttypefind, gsttypefindfactory
16396
16397 2005-09-07  Andy Wingo  <wingo@pobox.com>
16398
16399         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
16400         condition whereby the pad's task function is entered before the
16401         pad_mode variable was set.
16402
16403 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
16404
16405         * gst/gstpad.c: (gst_pad_alloc_buffer):
16406           Catch misbehaving pad_alloc functions that don't
16407           set up caps and do it for them.
16408
16409 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16410
16411         * check/pipelines/simple_launch_lines.c: (run_pipeline):
16412           test for pipe!=NULL
16413         * docs/gst/tmpl/.cvsignore:
16414         * docs/gst/tmpl/gstmemchunk.sgml:
16415         * docs/gst/tmpl/gstparse.sgml:
16416         * docs/gst/tmpl/gsttaglist.sgml:
16417         * docs/gst/tmpl/gsttagsetter.sgml:
16418         * docs/gst/tmpl/gsttypefind.sgml:
16419         * docs/gst/tmpl/gsttypefindfactory.sgml:
16420         * gst/gstmemchunk.c:
16421         * gst/gstparse.c:
16422         * gst/gsttag.c:
16423         * gst/gsttaginterface.c:
16424         * gst/gsttypefind.c:
16425         * gst/gsttypefind.h:
16426           inlined more docs
16427
16428 === release 0.9.2 ===
16429
16430 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16431
16432         * NEWS:
16433         * RELEASE:
16434         * configure.ac:
16435           releasing 0.9.2, "South"
16436
16437 2005-09-05  Andy Wingo  <wingo@pobox.com>
16438
16439         * gst/registries/gstxmlregistry.h:
16440         * gst/registries/gstxmlregistry.c: Um... resurrect...
16441         
16442         * gst/registries/gstxmlregistry.h:
16443         * gst/registries/gstxmlregistry.c: and update to newer API.
16444         Incidentally they should be a bit faster now that they don't have
16445         to parse the caps.
16446         
16447 2005-09-05  Andy Wingo  <wingo@pobox.com>
16448
16449         * gst/registries/gstxmlregistry.h:
16450         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
16451         replaced by the libxml registry a while back
16452
16453 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16454
16455         * docs/gst/tmpl/gstplugin.sgml:
16456         * gst/elements/gstelements.c:
16457         * gst/gst.c:
16458         * gst/gstplugin.c: (gst_plugin_register_func),
16459         (gst_plugin_desc_copy), (gst_plugin_desc_free),
16460         (gst_plugin_get_source):
16461         * gst/gstplugin.h:
16462         * gst/registries/gstlibxmlregistry.c: (load_plugin),
16463         (gst_xml_registry_save_plugin):
16464         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
16465         (gst_xml_registry_save_plugin):
16466         * tools/gst-inspect.c: (print_plugin_info):
16467           add a "source" plugin description field, to represent the source
16468           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
16469           will set it to PACKAGE, which is automake's idea of the name of
16470           the source project.
16471
16472 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16473
16474         * Makefile.am:
16475         * autogen.sh:
16476         * configure.ac:
16477         * docs/Makefile.am:
16478         * docs/faq/Makefile.am:
16479         * docs/gst/tmpl/gstelement.sgml:
16480         * docs/gst/tmpl/gsttypes.sgml:
16481         * docs/htmlinstall.mak:
16482         * docs/manual/Makefile.am:
16483         * docs/pwg/Makefile.am:
16484           reorganize doc build a little
16485           split out docbook and gtk-doc stuff
16486           have two separate --enable's and enable them through autogen
16487           but disable by default in configure (to be similar to other
16488           projects)
16489         * gstreamer.spec.in:
16490           clean up docs install
16491         * po/af.po:
16492         * po/az.po:
16493         * po/ca.po:
16494         * po/cs.po:
16495         * po/de.po:
16496         * po/en_GB.po:
16497         * po/fr.po:
16498         * po/it.po:
16499         * po/nb.po:
16500         * po/nl.po:
16501         * po/ru.po:
16502         * po/sq.po:
16503         * po/sr.po:
16504         * po/sv.po:
16505         * po/tr.po:
16506         * po/uk.po:
16507         * po/vi.po:
16508           translation updates
16509
16510 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
16511
16512         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
16513           Add comment.
16514           
16515         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16516         (gst_fake_sink_change_state):
16517           Make state change function thread-safe.
16518           
16519         * gst/gstpad.c: (gst_pad_alloc_buffer):
16520           Set offset on generic buffer allocated by fallback.
16521
16522 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
16523
16524         * docs/gst/gstreamer-sections.txt:
16525         * docs/gst/tmpl/gstelement.sgml:
16526         * gst/gstpad.c:
16527         * libs/gst/controller/gst-controller.c:
16528         (gst_controlled_property_set_interpolation_mode),
16529         (gst_controlled_property_new),
16530         (gst_controller_find_controlled_property):
16531          run the wingo-magic script against the docs
16532
16533 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
16534
16535         * docs/gst/gstreamer-docs.sgml:
16536         * docs/gst/gstreamer-sections.txt:
16537         * docs/gst/tmpl/.cvsignore:
16538         * docs/gst/tmpl/gstelementdetails.sgml:
16539         * docs/gst/tmpl/gstelementfactory.sgml:
16540         * gst/gst.c:
16541         * gst/gstbus.c:
16542         * gst/gstelementfactory.c:
16543         * gst/gstelementfactory.h:
16544           merged elementdetails docs into elementfactory docs
16545           inlined both
16546
16547 2005-09-02  Andy Wingo  <wingo@pobox.com>
16548
16549         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
16550         consider this enum an enum and not a flags.
16551
16552 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
16553
16554         * docs/gst/gstreamer-docs.sgml:
16555         * docs/gst/tmpl/.cvsignore:
16556         * docs/gst/tmpl/gstghostpad.sgml:
16557         * docs/gst/tmpl/gstiterator.sgml:
16558         * docs/gst/tmpl/gstmacros.sgml:
16559         * docs/gst/tmpl/gstrealpad.sgml:
16560         * docs/gst/tmpl/gstregistry.sgml:
16561         * docs/gst/tmpl/gstregistrypool.sgml:
16562         * docs/gst/tmpl/gststructure.sgml:
16563         * docs/gst/tmpl/gstsystemclock.sgml:
16564         * docs/gst/tmpl/gsttrace.sgml:
16565         * gst/gstghostpad.c:
16566         * gst/gstmacros.h:
16567         * gst/gstmemchunk.c:
16568         * gst/gstmemchunk.h:
16569         * gst/gstqueue.c:
16570         * gst/gstregistry.c:
16571         * gst/gstregistrypool.c:
16572         * gst/gststructure.c:
16573         * gst/gstsystemclock.c:
16574           more docs inlined
16575
16576 2005-09-02  Andy Wingo  <wingo@pobox.com>
16577
16578         * gst/gstelement.h (GstState): Renamed from GstElementState,
16579         changed to be a normal enum instead of flags.
16580         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
16581         munged to be GST_STATE_CHANGE_*.
16582         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
16583         work with the new state representation.
16584         (GstStateChange): New enumeration of possible state transitions.
16585         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
16586         (GstElementClass::change_state): Pass the GstStateChange along as
16587         an argument. Helps language bindings, so they don't have to use
16588         tricky lock-needing macros like GST_STATE_CHANGE ().
16589
16590         * scripts/update-states (file): New script. Run it on a file to
16591         update it for state naming and API changes. Updates files in
16592         place.
16593
16594         * All files updated for the new API.
16595
16596 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16597
16598         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
16599         * gst/gstutils.c: (gst_util_set_value_from_string),
16600         (gst_util_set_object_arg):
16601           fix a bunch of unchecked return values
16602         * tools/gst-complete.c: (main):
16603         * gstreamer.spec.in:
16604           clean up a little
16605
16606 2005-09-01  Wim Taymans  <wim@fluendo.com>
16607
16608         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16609         (gst_base_sink_event), (gst_base_sink_do_sync),
16610         (gst_base_sink_handle_event):
16611         * gst/base/gstbasesink.h:
16612         Handle newsegments more correctly.
16613
16614         * gst/gstbus.c:
16615         Fix docs.
16616
16617         * gst/gstevent.c: (gst_event_new_newsegment):
16618         A newsegment cannot have a start_time of -1
16619
16620 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
16621
16622         * win32/gstenumtypes.c:
16623         * win32/gstenumtypes.h:
16624           Update
16625
16626 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
16627
16628         * libs/gst/controller/gst-controller.c:
16629         (gst_controlled_property_set_interpolation_mode),
16630         (gst_controlled_property_new):
16631          fixed boolean again
16632
16633 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
16634
16635         * docs/faq/gst-uninstalled:
16636           add -good
16637         * gst/gstevent.c:
16638         * gst/gstevent.h:
16639           remove wrong docs
16640         * gst/gstutils.c: (gst_element_link_filtered):
16641         * gst/gstutils.h:
16642           add gst_element_link_filtered
16643
16644 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
16645
16646         * docs/gst/gstreamer-docs.sgml:
16647         * docs/gst/gstreamer-sections.txt:
16648         * docs/gst/tmpl/.cvsignore:
16649         * docs/gst/tmpl/gsterror.sgml:
16650         * docs/gst/tmpl/gstfilter.sgml:
16651         * docs/gst/tmpl/gsturihandler.sgml:
16652         * docs/gst/tmpl/gsturitype.sgml:
16653         * docs/gst/tmpl/gstutils.sgml:
16654         * docs/gst/tmpl/gstxml.sgml:
16655         * gst/gsterror.c:
16656         * gst/gsterror.h:
16657         * gst/gstfilter.c:
16658         * gst/gsturi.c:
16659         * gst/gsturitype.c:
16660         * gst/gstutils.c:
16661         * gst/gstxml.c:
16662           inlined more docs, fixed double id-ref
16663
16664 2005-08-31  Wim Taymans  <wim@fluendo.com>
16665
16666         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16667         (gst_base_transform_handle_buffer):
16668         Passthrough elements don't need the caps as they don't care.
16669
16670 2005-08-31  Wim Taymans  <wim@fluendo.com>
16671
16672         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16673         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
16674         Don't leak refcounts on buffers.
16675
16676 2005-08-31  Wim Taymans  <wim@fluendo.com>
16677
16678         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
16679         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16680         (gst_base_transform_chain), (gst_base_transform_change_state):
16681         * gst/base/gstbasetransform.h:
16682         Handle the case where we are not negotiated more gracefully.
16683
16684 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
16685
16686         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
16687         (gst_file_src_map_region):
16688           Set READONLY flag on mmap'ed buffers, otherwise
16689           gst_buffer_make_writable() won't work properly (#314708).
16690
16691 2005-08-31  Wim Taymans  <wim@fluendo.com>
16692
16693         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
16694         passthrough elements can even do inplace on non writable
16695         buffers (as they don't touch them).
16696
16697 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
16698
16699         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
16700         (gst_test_mono_source_set_property),
16701         (gst_test_mono_source_class_init), (GST_START_TEST),
16702         (gst_controller_suite):
16703           more tests (hehe I have the most)
16704         * gst/gstbus.c:
16705           describe popping messages whenusing mulltiple sources
16706         * libs/gst/controller/gst-controller.c:
16707         (gst_controlled_property_set_interpolation_mode),
16708         (gst_controlled_property_new):
16709         * libs/gst/controller/gst-controller.h:
16710         * libs/gst/controller/gst-interpolation.c:
16711           implement boolean properties
16712
16713 2005-08-31  Wim Taymans  <wim@fluendo.com>
16714
16715         * gst/gstminiobject.c: (gst_mini_object_ref):
16716         Cannot assert that the refcount has to be positive
16717         since a disposed object can be resurrected.
16718
16719 2005-08-31  Wim Taymans  <wim@fluendo.com>
16720
16721         * gst/gstpad.c: (gst_pad_init):
16722         Revert change, need to first fix badly behaving 
16723         apps.
16724
16725 2005-08-30  Wim Taymans  <wim@fluendo.com>
16726
16727         * check/elements/fakesrc.c: (setup_fakesrc):
16728         * check/elements/identity.c: (setup_identity):
16729         Activate pads before using them.
16730
16731 2005-08-30  Wim Taymans  <wim@fluendo.com>
16732
16733         * gst/base/gstadapter.c: (gst_adapter_flush):
16734         Flushing out 0 bytes is ok for this function.
16735
16736         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16737         no newsegment gives a warning and sets the start/stop to 
16738         invalid.
16739
16740         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
16741         (gst_base_transform_set_passthrough):
16742         Some debug info.
16743
16744         * gst/gstminiobject.c: (gst_mini_object_ref):
16745         Check refcount here too.
16746
16747         * gst/gstpad.c: (gst_pad_init):
16748         Pads are initially flushing and refusing data.
16749
16750         * gst/gstutils.c: (gst_element_link_pads_filtered):
16751         When adding a capsfilter element make sure it has the
16752         same state as the parent bin.
16753
16754 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16755
16756         * docs/gst/tmpl/.cvsignore:
16757         * docs/gst/tmpl/gstformat.sgml:
16758         * docs/gst/tmpl/gstversion.sgml:
16759         * gst/gstbus.h:
16760         * gst/gstformat.c:
16761         * gst/gstformat.h:
16762         * gst/gstversion.h.in:
16763           more docs and two more inlined
16764
16765 2005-08-30  Wim Taymans  <wim@fluendo.com>
16766
16767         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
16768         Don't sync to clock.
16769
16770 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16771
16772         * docs/gst/gstreamer-sections.txt:
16773           ultral33t func10ns deserve to appear in the docs actually
16774         * docs/gst/tmpl/.cvsignore:
16775         * docs/gst/tmpl/gstcompat.sgml:
16776         * docs/gst/tmpl/gstconfig.sgml:
16777         * gst/check/gstcheck.c:
16778         * gst/gstcompat.h:
16779         * gst/gstconfig.h.in:
16780           inlined more docs
16781
16782 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16783
16784         * docs/gst/tmpl/.cvsignore:
16785         * docs/gst/tmpl/gstquery.sgml:
16786         * docs/gst/tmpl/gstutils.sgml:
16787         * gst/gstquery.c:
16788         * gst/gstquery.h:
16789           inlined and extended docs
16790
16791 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16792
16793         * check/gst-libs/controller.c: (GST_START_TEST),
16794         (gst_controller_suite):
16795           more tests
16796         * docs/gst/tmpl/gstutils.sgml:
16797         * docs/libs/gstreamer-libs-sections.txt:
16798         * docs/libs/tmpl/gstdataprotocol.sgml:
16799           include path fixes
16800         * examples/controller/audio-example.c: (main):
16801           controller example works now
16802         * gst/gstclock.h:
16803           doc fixes
16804         * tools/gst-inspect.c: (print_element_properties_info):
16805           show param spec flags
16806
16807 2005-08-29  Andy Wingo  <wingo@pobox.com>
16808
16809         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
16810
16811 2005-08-28  Andy Wingo  <wingo@pobox.com>
16812
16813         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
16814         as having two arguments instead of just one. Allows superclasses
16815         to access information on subclasses -- see the terrible for() loop
16816         in gtype.c:g_type_create_instance for the reason why. All callers
16817         changed.
16818
16819 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
16820
16821         * docs/design/part-messages.txt:
16822           update info
16823         * docs/gst/tmpl/.cvsignore:
16824         * docs/gst/tmpl/gstcaps.sgml:
16825         * docs/gst/tmpl/gstclock.sgml:
16826         * gst/gstbus.c:
16827         * gst/gstcaps.c:
16828         * gst/gstcaps.h:
16829         * gst/gstclock.c:
16830         * gst/gstclock.h:
16831         * gst/gstmessage.c:
16832           added descriptions for bus and message
16833           inline caps and clock docs
16834
16835 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
16836
16837         * gst/gstmessage.c:
16838         * gst/gstmessage.h:
16839           doc fixes
16840
16841 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
16842
16843         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
16844           fix div-by-zero
16845
16846 2005-08-26  Andy Wingo  <wingo@pobox.com>
16847
16848         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
16849         element_set_state's return val.
16850         (test_2_elements): Add test that's been disabled for months.
16851
16852         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
16853         can-activate-pull properties.
16854
16855         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
16856         can-activate-pull properties. Implement is_seekable so fakesrc can
16857         operate in pull mode.
16858
16859         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
16860         properties.
16861         (gst_base_sink_activate, gst_base_sink_activate_pull)
16862         (gst_base_sink_activate_push): Make activation mode choosing work.
16863         Cleanups.
16864         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
16865         is right. Make pull mode work. Post an eos before pausing in pull
16866         mode.
16867         (gst_base_sink_change_state): Pay attention to the core's
16868         change_state() return val.
16869         
16870         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
16871         has-getrange properties. Cleanups.
16872         
16873         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
16874         has_getrange and replace with can_activate_pull and
16875         can_activate_push.
16876
16877         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
16878         locking comments. Remove has_loop, has_chain and replace with
16879         can_activate_pull and can_activate_push.
16880
16881 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
16882
16883         * configure.ac:
16884         * examples/Makefile.am:
16885         * examples/metadata/Makefile.am:
16886         * examples/metadata/read-metadata.c: (message_loop),
16887         (have_pad_handler), (make_pipeline), (print_tag), (main):
16888           Add metadata reading example that loops over a list of filenames,
16889           dumping any tags found.
16890
16891         * gst/gstbus.c: (gst_bus_dispose):
16892         * gst/gstelement.c: (gst_element_dispose):
16893           Release a few potentially-held references in dispose.
16894
16895 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
16896
16897         * docs/gst/tmpl/gstminiobject.sgml:
16898           do *not* add tmpl/*.sgml files to CVS!
16899
16900 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
16901
16902         * libs/gst/bytestream/.cvsignore:
16903         * libs/gst/bytestream/Makefile.am:
16904         * libs/gst/bytestream/adapter.c:
16905         * libs/gst/bytestream/adapter.h:
16906         * libs/gst/bytestream/bytestream.c:
16907         * libs/gst/bytestream/bytestream.h:
16908         * libs/gst/bytestream/filepad.c:
16909         * libs/gst/bytestream/filepad.h:
16910           removing obsolete files
16911
16912 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
16913
16914         * docs/gst/gstreamer-docs.sgml:
16915         * docs/libs/gstreamer-libs-docs.sgml:
16916           disabed additional index entries again, as this makes docs-gen just
16917           slow and they aren't useful yet
16918         * docs/libs/gstreamer-libs-sections.txt:
16919           little -section.txt cleanup for libs
16920
16921 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
16922
16923         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16924         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
16925           fix up some debugging
16926         (gst_base_transform_get_unit_size),
16927         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
16928         (gst_base_transform_handle_buffer):
16929         * gst/base/gstbasetransform.h:
16930           handle and store timed NEWSEGMENT events so that subclasses that
16931           calculate time by counting samples have a segment_start time they
16932           need to add to their timestamps - see audioresample
16933
16934 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
16935
16936         * gst/gstbin.h:
16937           removed ';' from the end of macro defs
16938         * docs/gst/gstreamer-docs.sgml:
16939         * docs/gst/gstreamer-sections.txt:
16940         * docs/gst/tmpl/.cvsignore:
16941         * gst/gstbus.h:
16942         * gst/gstelement.c: (gst_element_class_init),
16943         (gst_element_set_state), (activate_pads),
16944         (gst_element_save_thyself):
16945         * gst/gstevent.c: (gst_event_new_newsegment):
16946         * gst/gstevent.h:
16947         * gst/gstiterator.c:
16948         * gst/gstiterator.h:
16949         * gst/gstpad.c:
16950         * gst/gstprobe.h:
16951         * gst/gstutils.c: (gst_pad_query_convert):
16952         * gst/gstutils.h:
16953           fixed parameter name mismatches between source, header and docs
16954           added some more docs, resolved the last batch of unused elements in
16955           docs (now someone needs to doc them)
16956
16957 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
16958
16959         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
16960         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
16961           don't walk through the plugins backwards.  Where is all this
16962           reversed logic coming from ?
16963
16964 2005-08-25  Wim Taymans  <wim@fluendo.com>
16965
16966         * gst/base/gstbasetransform.c: (gst_base_transform_init),
16967         (gst_base_transform_transform_size),
16968         (gst_base_transform_configure_caps),
16969         (gst_base_transform_get_unit_size),
16970         (gst_base_transform_buffer_alloc),
16971         (gst_base_transform_change_state):
16972         * gst/base/gstbasetransform.h:
16973         Cache caps unit_size.
16974         Make sure we cannot negotiate up and downstream at the
16975         same time.
16976
16977 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
16978
16979         * gst/gst.c: (init_pre), (init_post):
16980           register the installed plugin path after the env var
16981         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
16982         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
16983           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
16984           directories, so the tests can prefer uninstalled over installed
16985
16986 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
16987
16988         * gst/base/gstbasetransform.h:
16989           comment
16990         * gst/gstpad.c:
16991           add to docs
16992
16993 2005-08-25  Wim Taymans  <wim@fluendo.com>
16994
16995         * gst/gstbin.c: (bin_bus_handler):
16996         Be a bit more conservative about the posted message.
16997         
16998         * gst/gstbus.c: (gst_bus_post):
16999         Some cleanups, warn wrong return values.
17000
17001 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
17002
17003         * check/gst/gstbin.c: (GST_START_TEST):
17004         * gst/gstbin.c: (bin_bus_handler):
17005         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17006         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17007         (gst_message_new_warning), (gst_message_new_tag),
17008         (gst_message_new_state_changed), (gst_message_new_segment_start),
17009         (gst_message_new_segment_done), (gst_message_new_custom):
17010         * gst/gstmessage.h:
17011         * tools/gst-launch.c: (event_loop):
17012         * tools/gst-md5sum.c: (event_loop):
17013           Revert unpopular change for GST_MESSAGE_SRC to GObject.
17014
17015 2005-08-25  Wim Taymans  <wim@fluendo.com>
17016
17017         * check/generic/states.c: (GST_START_TEST):
17018         Cleanup can be done at the end.
17019
17020         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
17021         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17022         (gst_task_get_state), (gst_task_start), (gst_task_pause):
17023         Oh boy.. Thanks for finding this, Thomas. 
17024
17025 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
17026
17027         * docs/gst/gstreamer.types:
17028           added missing types
17029
17030 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
17031
17032         * docs/gst/gstreamer-docs.sgml:
17033         * docs/gst/gstreamer-sections.txt:
17034         * docs/gst/tmpl/.cvsignore:
17035         * gst/gstbin.c:
17036         * gst/gstiterator.c:
17037         * gst/gstutils.c:
17038         * gst/registries/gstxmlregistry.h:
17039           added missing classes and symbols (123 more to go)
17040           removed removed symbols from section file
17041           fixed many doc-comments
17042
17043 2005-08-24  Wim Taymans  <wim@fluendo.com>
17044
17045         * check/generic/states.c: (GST_START_TEST):
17046         Make sure all tasks are stopped.
17047
17048         * check/gst/gstbin.c: (GST_START_TEST):
17049         Unref after usage for proper valgrinding.
17050
17051         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
17052         Really wait for the task to stop before destroying the
17053         mutex.
17054
17055         * gst/gstqueue.c: (gst_queue_sink_activate_push),
17056         (gst_queue_src_activate_push):
17057         Small cleanups. Don't stop the task when we did not start
17058         it.
17059
17060         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
17061         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17062         (gst_task_get_state), (gst_task_start), (gst_task_pause),
17063         (gst_task_join):
17064         * gst/gsttask.h:
17065         Protect the stream lock with the object lock.
17066         Disallow setting the stream lock when running.
17067         Add cleanup_all to wait for the threadpool to finish.
17068         Remove code to autoallocate a mutex if none was provided.
17069         Add _join() to wait for a task to stop.
17070         Protect the thread pool with a global lock.
17071
17072 2005-08-24  Wim Taymans  <wim@fluendo.com>
17073
17074         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17075         (gst_base_sink_get_times), (gst_base_sink_do_sync),
17076         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
17077         * gst/base/gstbasesink.h:
17078         Handle newsegment events correctly.
17079         Drop buffers out of the segment range.
17080
17081 2005-08-22  Andy Wingo  <wingo@pobox.com>
17082
17083         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
17084         macro, implements an interface and gstimplementsinterface for a
17085         new type.
17086
17087 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17088
17089         * check/Makefile.am:
17090         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
17091           add a test that does a bunch of state changes on elements
17092           needs some fixing for valgrind
17093         * check/states/sinks.c: (gst_object_suite):
17094           whitespace
17095         * gst/gstcaps.h:
17096           add prototype for gst_caps_is_equal_fixed
17097         * gst/gstplugin.c:
17098         * gst/gstregistrypool.c:
17099           doc fixes
17100
17101 2005-08-24  Andy Wingo  <wingo@pobox.com>
17102
17103         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
17104         convert a negative value. Doesn't make much sense. Mostly this is
17105         here to force callers to ensure -1 maps to -1.
17106
17107 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
17108
17109         * docs/pwg/advanced-types.xml:
17110           Well done to Michael for catching my deliberate introduction
17111           of this spelling mistake. 
17112         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
17113         * gst/gstelement.h:
17114           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
17115           unlink pads before removing the element from the bin.
17116
17117 2005-08-24  Andy Wingo  <wingo@pobox.com>
17118
17119         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
17120         the same thing as GST_DEBUG=*:4.
17121         (parse_debug_level, parse_debug_category): New helper parsers.
17122
17123 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17124
17125         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17126         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
17127         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
17128         (gst_base_transform_buffer_alloc),
17129         (gst_base_transform_handle_buffer):
17130           use gboolean return values and pointers to size so we can use the
17131           full GST_BUFFER_SIZE range (guint) for buffer sizes
17132           use GstPadDirection for transform_caps
17133         * gst/base/gstbasetransform.h:
17134           rename get_size to get_unit_size since that's what it is
17135         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
17136           use GstPadDirection for transform_caps
17137         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17138         * gst/gstutils.h:
17139           cleanup and debugging
17140
17141 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
17142
17143         * gst/gstelement.c: (gst_element_class_init),
17144         (gst_element_set_state), (activate_pads),
17145         (gst_element_save_thyself):
17146         * tools/gst-compprep.c: (main):
17147         * tools/gst-inspect.c: (print_element_properties_info):
17148         * tools/gst-xmlinspect.c: (print_element_properties):
17149           Fixed long standing mem-leak
17150
17151 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
17152
17153         * check/gst/gstbin.c: (GST_START_TEST):
17154         * gst/gstbin.c: (bin_bus_handler):
17155         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17156         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17157         (gst_message_new_warning), (gst_message_new_tag),
17158         (gst_message_new_state_changed), (gst_message_new_segment_start),
17159         (gst_message_new_segment_done), (gst_message_new_custom):
17160         * gst/gstmessage.h:
17161         * tools/gst-launch.c: (event_loop):
17162         * tools/gst-md5sum.c: (event_loop):
17163           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
17164           that applications can sensibly post custom messages with references
17165           to their own objects.
17166
17167 2005-08-24  Andy Wingo  <wingo@pobox.com>
17168
17169         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
17170         already.
17171
17172 2005-08-24  Wim Taymans  <wim@fluendo.com>
17173
17174         * gst/base/gstbasetransform.c: (gst_base_transform_init),
17175         (gst_base_transform_transform_caps),
17176         (gst_base_transform_transform_size),
17177         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17178         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17179         (gst_base_transform_handle_buffer):
17180         * gst/base/gstbasetransform.h:
17181         Many fixes and new features added by Thomas. Can now also do
17182         transforms with variable sizes and a custom fixate_caps function.
17183
17184 2005-08-24  Wim Taymans  <wim@fluendo.com>
17185
17186         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17187         Some debugging.
17188
17189         * gst/gstclock.h:
17190         Cast to ClockTime before formatting to time.
17191
17192         * gst/gstutils.h:
17193         Cleanups.
17194
17195 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
17196
17197         * check/gst-libs/controller.c: (GST_START_TEST),
17198         (gst_controller_suite):
17199         * docs/gst/tmpl/gstcaps.sgml:
17200         * docs/gst/tmpl/gstghostpad.sgml:
17201         * docs/gst/tmpl/gstquery.sgml:
17202         * docs/gst/tmpl/gstutils.sgml:
17203         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
17204         (gst_object_sink_values), (gst_object_get_value_arrays),
17205         (gst_object_get_value_array):
17206           gracefully handle helper method calls to objects that are not beeing
17207           controlled, added test case for that          
17208
17209 2005-08-23  Wim Taymans  <wim@fluendo.com>
17210
17211         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
17212         (gst_event_new_newsegment), (gst_event_parse_newsegment),
17213         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
17214         (gst_event_parse_qos), (gst_event_new_seek),
17215         (gst_event_parse_seek):
17216         * gst/gstevent.h:
17217         Some more debugging output and doc cleanups.
17218
17219         * gst/gstqueue.c: (gst_queue_handle_sink_event):
17220         Fix possible deadlock.
17221
17222 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17223
17224         * docs/gst/gstreamer-docs.sgml:
17225         * docs/gst/gstreamer-sections.txt:
17226         * docs/gst/gstreamer.types:
17227         * docs/gst/tmpl/.cvsignore:
17228         * gst/gstbin.h:
17229         * gst/gstbus.c:
17230         * gst/gstelement.c:
17231         * gst/gstevent.h:
17232           added 100 symbols from gstreamer-unused.txt to the right sections
17233           fixed more broken comments
17234           added GstBus to docs
17235
17236 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17237
17238         * docs/gst/gstreamer-sections.txt:
17239         * docs/gst/tmpl/.cvsignore:
17240         * docs/gst/tmpl/gstbin.sgml:
17241         * docs/gst/tmpl/gstbuffer.sgml:
17242         * gst/base/gstbasesrc.c:
17243         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
17244         * gst/gstbuffer.c:
17245         * gst/gstbuffer.h:
17246         * tools/gst-launch.1.in:
17247           inlined more doc comments, added missing comments and fixed comments
17248           fixed typos
17249
17250 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17251
17252         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17253           some debugging
17254         * gst/gstcaps.h:
17255           whitespace fixes
17256         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
17257           more debugging
17258         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
17259         * gst/gststructure.h:
17260           add a fixate function for booleans; add a FIXME that these func
17261           names should probably be gst_structure_fixate_*
17262
17263 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17264
17265         * docs/gst/gstreamer-docs.sgml:
17266         * docs/gst/gstreamer-sections.txt:
17267         * gst/Makefile.am:
17268         * gst/gstbin.c: (gst_bin_get_type),
17269         (gst_bin_child_proxy_get_child_by_index),
17270         (gst_bin_child_proxy_get_children_count),
17271         (gst_bin_child_proxy_init):
17272         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17273         (gst_child_proxy_get_child_by_index),
17274         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
17275         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
17276         (gst_child_proxy_get), (gst_child_proxy_set_property),
17277         (gst_child_proxy_set_valist), (gst_child_proxy_set),
17278         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
17279         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
17280         * gst/gstchildproxy.h:
17281         * gst/parse/grammar.y:
17282         * tools/gst-inspect.c: (print_interfaces),
17283         (print_element_properties_info), (print_element_info):
17284           ported gstchildproxy over from 0.8
17285           ported gst-inspect fixes and enhancements over from 0.8
17286
17287 2005-08-22  Wim Taymans  <wim@fluendo.com>
17288
17289         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17290         (gst_base_transform_handle_buffer):
17291         Also call the transform function if we have ANY caps.
17292
17293         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
17294         Fix debug info.
17295
17296 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
17297
17298         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
17299           Don't pretend to handle seek events if the source is not seekable
17300
17301 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
17302
17303         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17304           Remove extra parameter to debug output
17305
17306         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17307         (gst_base_src_do_seek), (gst_base_src_activate_push):
17308           Fix seek event handling.
17309
17310         * gst/gstpipeline.c: (gst_pipeline_change_state):
17311         * gst/gstqueue.c: (gst_queue_handle_sink_event),
17312         (gst_queue_src_activate_push):
17313           Don't start the src pad task on FLUSH_STOP if the pad
17314           isn't linked.
17315           Debug changes.
17316
17317 2005-08-22  Wim Taymans  <wim@fluendo.com>
17318
17319         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
17320         Added check for gst_static_caps_get() refcounting.
17321
17322 2005-08-22  Wim Taymans  <wim@fluendo.com>
17323
17324         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
17325         Make _static_caps_get() refcounting sane.
17326         
17327         * gst/gstelement.c: (gst_element_set_state):
17328         Add g_return_val_if_fail() to protect against segfaults.
17329
17330 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
17331
17332         * docs/gst/tmpl/gstevent.sgml:
17333         * gst/gstevent.c:
17334         * gst/gstevent.h:
17335           inlined remaining docs, added missing doc comments
17336
17337 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17338
17339         * check/gst/gstbin.c: (GST_START_TEST):
17340           since we don't know when preroll is done, use refcount range
17341           check for the sink
17342         * gst/check/gstcheck.h:
17343           add macro for checking refcount range
17344
17345 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17346
17347         * check/Makefile.am:
17348           clean up environment for when registry gets built versus
17349           when actual tests are run; valgrind seems to not report
17350           leaks if GST_PLUGIN_PATH is set to some specific values
17351         * check/gst/gstbin.c: (GST_START_TEST):
17352           add more refcounting checks; maybe this exposes a
17353           preroll lock bug ?
17354         * common/check.mak:
17355         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17356         * gst/check/gstcheck.h:
17357         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
17358         (gst_bin_change_state):
17359         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
17360           add/fix debugging/whitespace
17361
17362 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
17363
17364         * check/gst/gstevent.c: (event_probe), (test_event),
17365         (GST_START_TEST):
17366          Er, don't call gst_bin_watch_for_state_change you idiot.
17367
17368 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
17369
17370         * check/Makefile.am:
17371           Use CHECK_CFLAGS and CHECK_LIBS
17372         * check/gst/gstevent.c: (event_probe), (test_event),
17373         (GST_START_TEST):
17374           Don't leak events.
17375         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17376         (gst_base_src_start), (gst_base_src_stop),
17377         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17378         (gst_base_src_change_state):
17379           Sprinkle gst_base_src_stop liberally around error paths to fix
17380           problems reusing a source after failed state changes.
17381         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17382         (helper_find_suggest), (gst_type_find_helper):
17383           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
17384         * gst/gstevent.h:
17385         * docs/gst/tmpl/gstevent.sgml:
17386           Migrate part of the docs from the SGML file. Wait for ensonic to
17387           tell me how I did it wrong ;)
17388         * tools/gst-typefind.c: (main):
17389           Extra robustness to state changes between files.
17390
17391 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17392
17393         * check/Makefile.am:
17394           don't valgrind the controller test - it's leaking - Stefan, HELP
17395         * gst/check/gstcheck.c: (gst_check_message_error),
17396         (gst_check_chain_func), (gst_check_setup_element),
17397         (gst_check_teardown_element), (gst_check_setup_src_pad),
17398         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
17399         (gst_check_teardown_sink_pad):
17400         * gst/check/gstcheck.h:
17401           add a bunch of methods to set up elements, and src and sink pads
17402         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
17403         * check/elements/identity.c: (setup_identity), (cleanup_identity),
17404         (GST_START_TEST):
17405           use them
17406         * gst/gstmessage.c:
17407         * gst/gsttag.h:
17408           whitespace/doc fixes
17409
17410 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17411
17412         * gst/gstelement.h:
17413           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
17414           be handled by the application and not always printed as well
17415
17416 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17417
17418         * check/Makefile.am:
17419           set GST_TOOLS_DIR
17420         * gst/check/gstcheck.c: (gst_check_message_error):
17421         * gst/check/gstcheck.h:
17422           add a fail_unless_equals_int
17423           add fail_unless for error messages
17424
17425 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17426
17427         * check/Makefile.am:
17428         * check/gst.supp:
17429         * common/Makefile.am:
17430         * common/check.mak:
17431         * common/gst.supp:
17432           factor out some of the common stuff so we can use it
17433
17434 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17435
17436         * check/Makefile.am:
17437         * check/gst/gstiterator.c: (GST_START_TEST):
17438         * check/gst/gstsystemclock.c: (GST_START_TEST),
17439         (gst_systemclock_suite):
17440         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
17441         * gst/gstclock.c:
17442           valgrind more tests
17443
17444 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17445
17446         * check/elements/.cvsignore:
17447         * check/elements/gstfakesrc.c:
17448           rename to name of element
17449         * check/elements/identity.c: (chain_func), (event_func),
17450         (setup_identity), (cleanup_identity), (GST_START_TEST),
17451         (identity_suite), (main):
17452           add a test for identity
17453         * check/Makefile.am:
17454         * pkgconfig/Makefile.am:
17455         * pkgconfig/gstreamer-check.pc.in:
17456         * pkgconfig/gstreamer-check-uninstalled.pc.in:
17457         * gst/check:
17458         * gst/Makefile.am:
17459         * configure.ac:
17460           move the check stuff to a library that gets installed
17461         * check/gst-libs/controller.c: (GST_START_TEST):
17462         * check/gst-libs/gdp.c:
17463         * check/gst/gst.c: (GST_START_TEST):
17464         * check/gst/gstbin.c:
17465         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17466         * check/gst/gstbus.c:
17467         * check/gst/gstcaps.c: (GST_START_TEST):
17468         * check/gst/gstelement.c:
17469         * check/gst/gstghostpad.c:
17470         * check/gst/gstiterator.c:
17471         * check/gst/gstmessage.c:
17472         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
17473         * check/gst/gstobject.c:
17474         * check/gst/gstpad.c: (GST_START_TEST):
17475         * check/gst/gststructure.c: (GST_START_TEST):
17476         * check/gst/gstsystemclock.c: (GST_START_TEST),
17477         (gst_systemclock_suite):
17478         * check/gst/gsttag.c: (gst_tag_suite):
17479         * check/gst/gstvalue.c:
17480         * check/pipelines/cleanup.c:
17481         * check/pipelines/simple_launch_lines.c:
17482         * check/states/sinks.c:
17483           change include statement
17484
17485         * docs/gst/gstreamer-sections.txt:
17486         * docs/gst/tmpl/gstpad.sgml:
17487           document more pad stuff
17488         * gst/gstminiobject.c: (gst_mini_object_ref),
17489         (gst_mini_object_unref):
17490           debug refcounting
17491
17492 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
17493
17494         * docs/gst/tmpl/gst.sgml:
17495         * gst/gst.c:
17496           eliminate another tmpl file, fix spelling in the long-description
17497
17498 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17499
17500         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17501         (test_event), (timediff), (gstevents_suite):
17502           Should fix build on 64-bit arch's
17503
17504 2005-08-18  Andy Wingo  <wingo@pobox.com>
17505
17506         Make sure that when a pipeline goes to PLAYING, that data has
17507         actually hit the sink.
17508
17509         * check/states/sinks.c (test_sink): A sink that doesn't get any
17510         data shouldn't return SUCCESS for going to either PLAYING or
17511         PAUSED. Test also the return values on the way back down.
17512
17513         * gst/gstelement.c (gst_element_set_state): When changing the
17514         state of an element currently changing state asynchronously, go to
17515         lost-state after commiting the pending state. Makes future calls
17516         to get_state continue to return ASYNC.
17517
17518         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
17519         ASYNC when going to PLAYING if we still don't have preroll, as can
17520         happen with live sources.
17521
17522 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17523
17524         * docs/pwg/advanced-types.xml:
17525           Hack long paragraph into 2 chunks as a workaround for buggy
17526           jadetex version in sid and breezy that loops infinitely and
17527           eats all RAM.
17528
17529 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17530
17531         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17532         (test_event), (timediff), (gstevents_suite):
17533           Provide more error margin in clock measurements to allow for 
17534           g_get_current_time inaccuracies.
17535
17536 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17537
17538         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17539         (test_event), (timediff), (gstevents_suite):
17540            Fix error message output so I might be able to tell why the
17541            test works here but fails on the build farm.
17542
17543 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17544
17545         * check/Makefile.am:
17546         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17547         (test_event), (timediff), (gstevents_suite), (main):
17548           I wrote a test!
17549
17550         * docs/design/part-seeking.txt:
17551           Spelling correction
17552
17553         * docs/gst/tmpl/gstevent.sgml:
17554         * docs/gst/tmpl/gstfakesrc.sgml:
17555           Docs updates.
17556
17557         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17558           Treat a buffer-without-newsegment the same as a receiving 
17559           a newsegment not in time format, and disable syncing to the clock
17560           with a warning.
17561
17562         * gst/gstbus.c: (gst_bus_set_sync_handler):
17563           Assert if anyone tries to replace the existing sync_handler for bus, 
17564           as only the owner should be setting it.
17565
17566         * gst/gstevent.h:
17567           Have a fixed set of custom event enums with events identified by
17568           their structure name (as in 0.8), rather than a free-for-all
17569           allowing collisions between enum values from different plugins.
17570
17571         * gst/gstpad.c: (gst_pad_class_init):
17572           Docs change.
17573           
17574         * gst/gstqueue.c: (gst_queue_handle_sink_event):
17575           Handle out-of-band downstream events from the sending thread.
17576
17577 2005-08-17  Andy Wingo  <wingo@pobox.com>
17578
17579         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
17580         play-timeout==0 to mean no timeout at all. In that case, don't
17581         bother with a get_state or a warning, just return directly, even
17582         if it's ASYNC.
17583
17584         * gst/base/gstbasetransform.c: Debug changes.
17585
17586         * gst/gstutils.h:
17587         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
17588         ensure bins post state change messages. A bit of a hack but I can't
17589         think of a way to avoid it.
17590
17591         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
17592
17593 2005-08-16  Andy Wingo  <wingo@pobox.com>
17594
17595         * gst/base/gstadapter.h:
17596         * gst/base/gstadapter.c (gst_adapter_take): New function, like
17597         peek() but you own the data. Not terribly efficient atm.
17598
17599 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17600
17601         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
17602         (gst_element_found_tags):
17603         * gst/gstutils.h:
17604           Add two utility functions for tag handling.
17605
17606 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17607
17608         * docs/manual/advanced-dataaccess.xml:
17609         * docs/manual/basics-helloworld.xml:
17610           Fix docs to use _bin_add() before _link(), which fixes the examples
17611           with recent core versions (reported by Madhan Raj M
17612           <raj_madan@rediffmail.com>, #313199).
17613
17614 2005-08-16  Wim Taymans  <wim@fluendo.com>
17615
17616         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17617         Added subtract checks.
17618
17619         * docs/design/part-events.txt:
17620         Some more docs about newsegment
17621
17622         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
17623         Fix FIXME
17624
17625         * gst/gstcaps.c: (gst_caps_to_string):
17626         Add comments, cleanups.
17627         
17628         * gst/gstelement.c: (gst_element_save_thyself):
17629         cleanups
17630         
17631         * gst/gstvalue.c: (gst_value_collect_int_range),
17632         (gst_string_unwrap), (gst_value_union_int_int_range),
17633         (gst_value_union_int_range_int_range),
17634         (gst_value_intersect_int_int_range),
17635         (gst_value_intersect_int_range_int_range),
17636         (gst_value_intersect_double_double_range),
17637         (gst_value_intersect_double_range_double_range),
17638         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
17639         (gst_value_subtract_int_range_int),
17640         (gst_value_subtract_double_range_double),
17641         (gst_value_subtract_double_range_double_range),
17642         (gst_value_subtract_from_list), (gst_value_subtract_list),
17643         (gst_value_can_compare), (gst_value_compare_fraction):
17644         Cleanups, add comments, remove unneeded asserts.
17645
17646 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17647
17648         * tools/gst-launch.c: (event_loop):
17649           don't convert NULL structures to strings
17650
17651 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
17652
17653         * docs/gst/gstreamer-sections.txt:
17654           made some defines private
17655         * docs/gst/tmpl/gstconfig.sgml:
17656         * docs/gst/tmpl/gstqueue.sgml:
17657         * docs/gst/tmpl/gsttaglist.sgml:
17658         * docs/gst/tmpl/gsttypes.sgml:
17659         * docs/gst/tmpl/gstutils.sgml:
17660         * docs/pwg/appendix-porting.xml:
17661         * gst/base/gstbasesink.h:
17662         * gst/base/gstbasesrc.c:
17663         * gst/base/gstbasesrc.h:
17664         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
17665         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
17666         * gst/gstelement.c: (gst_element_class_init):
17667         * gst/gstpad.c: (gst_pad_class_init):
17668         * gst/gstqueue.c: (gst_queue_class_init):
17669         * gst/gstxml.c: (gst_xml_class_init):
17670           documented all undocumented signal inline
17671         * libs/gst/controller/gst-controller.h:
17672           added padding
17673
17674 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17675
17676         * docs/pwg/appendix-porting.xml:
17677           Document _set_link_function -> _set_setcaps_function.
17678
17679 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17680
17681         * check/Makefile.am:
17682           add a .check target for running the check
17683         * check/gst-libs/controller.c: (GST_START_TEST):
17684           cosmetic fixups
17685         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17686           complete checks for gstbuffer; would be nice if I could get the
17687           gcov stuff to work so I can see if I actually completed gstbuffer.c
17688         * check/gstcheck.h:
17689           add ASSERT_BUFFER_REFCOUNT
17690
17691 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
17692
17693         * docs/gst/gstreamer-sections.txt:
17694         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
17695         * gst/gsttag.h:
17696           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
17697           spew out a warning if a tag that is already registered
17698           is re-registered, unless it is re-registered with a 
17699           different type (#308438).
17700
17701 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
17702
17703         * docs/pwg/appendix-porting.xml:
17704         * docs/pwg/building-state.xml:
17705           Add some paragraphs about state changes in 0.9 to the PWG
17706           and the porting guide, in particular about the new meaning
17707           of GST_STATE_PAUSED and how to write state change functions
17708           with concurrent access by multiple threads in mind.
17709
17710 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
17711
17712         * docs/gst/gstreamer-docs.sgml:
17713         * docs/libs/gstreamer-libs-docs.sgml:
17714           added deprecation and since indexes
17715         * libs/gst/controller/gst-controller.c:
17716         * libs/gst/controller/gst-helper.c:
17717           added since tags
17718
17719
17720 2005-08-11  Wim Taymans  <wim@fluendo.com>
17721
17722         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
17723         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
17724         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
17725         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
17726         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
17727         (gst_ghost_pad_set_target):
17728         Actually implement (re)setting the target on a ghostpad
17729         as described in the docs.
17730
17731 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
17732
17733         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
17734           Check whether GST_DEBUG_NO_COLOR environment variable is
17735           set and disable coloured debug output if that is the case.
17736
17737 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
17738
17739         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17740         (gst_type_find_helper):
17741           The memory returned by gst_type_find_peek() needs to
17742           stay valid until the end of a typefind function, and
17743           typefind functions may keep results from different 
17744           offsets around, so we can't just unref the buffer from
17745           the previous _peek(), but have to save all buffers 
17746           returned by _peek() until typefinding is done and only
17747           free them then.
17748
17749 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
17750
17751         * docs/gst/gstreamer-sections.txt:
17752         * gst/gstutils.h:
17753           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
17754
17755 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17756
17757         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17758           Fix a pretty good memleak.
17759
17760 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
17761
17762         * gst/gstiterator.h:
17763           Fix wrong include and 'make distcheck'.
17764
17765 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17766
17767         * gst/gstbin.c: (bin_bus_handler):
17768           Use gst_element_post_message() instead.
17769
17770 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
17771
17772         * gst/base/gstadapter.h:
17773         * gst/base/gstbasesink.h:
17774         * gst/base/gstbasesrc.h:
17775         * gst/base/gstbasetransform.h:
17776         * gst/base/gstcollectpads.h:
17777         * gst/base/gstpushsrc.h:
17778         * gst/gstiterator.h:
17779           Add padding to our base elements' class and instance structs and
17780           to GstIterator (you will need to rebuild all plugins and apps!)
17781
17782 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17783
17784         * gst/gstbin.c: (bin_bus_handler):
17785           Make default message forwarding from child->bus to bin->bus
17786           threadsafe and make it not emit warnings if the parent has no bus.
17787
17788 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17789
17790         * gst/gstelement.c: (activate_pads):
17791           On paused->ready, set pad->caps to NULL, as is the documented
17792           behaviour in this state change. Fixes playback of series of
17793           media files when visualization is enabled in Totem.
17794
17795 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17796
17797         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17798           Allow NULL as filter-caps (which means "any").
17799
17800 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
17801
17802         * docs/libs/gstreamer-libs-sections.txt:
17803         * libs/gst/controller/gst-controller.c:
17804         * libs/gst/controller/gst-controller.h:
17805         * libs/gst/controller/gst-helper.c:
17806           adding more entries to the docs and fix small doc-bugs
17807
17808 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
17809
17810         * docs/gst/gstreamer-docs.sgml:
17811         * docs/gst/gstreamer-sections.txt:
17812         * docs/gst/gstreamer.types:
17813         * docs/gst/tmpl/gstbasesink.sgml:
17814         * docs/gst/tmpl/gstbasesrc.sgml:
17815         * docs/gst/tmpl/gstbasetransform.sgml:
17816         * docs/gst/tmpl/gstfakesrc.sgml:
17817         * gst/base/gstcollectpads.c:
17818         * gst/base/gstcollectpads.h:
17819         * libs/gst/controller/gst-controller.c:
17820         * libs/gst/controller/gst-controller.h:
17821         * libs/gst/controller/gst-helper.c:
17822         * libs/gst/controller/gst-interpolation.c:
17823         * libs/gst/controller/lib.c:
17824           added long/short desc for controller docs
17825           added collectpads base class docs
17826           added correct includes to base-class docs
17827
17828 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
17829
17830         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
17831         (gst_test_mono_source_set_property),
17832         (gst_test_mono_source_class_init), (GST_START_TEST),
17833         (gst_controller_suite):
17834         * docs/gst/gstreamer-docs.sgml:
17835         * docs/gst/gstreamer-sections.txt:
17836         * docs/gst/gstreamer.types:
17837         * docs/libs/gstreamer-libs-docs.sgml:
17838         * docs/libs/gstreamer-libs-sections.txt:
17839         * gst/base/gstadapter.c:
17840         * libs/gst/controller/gst-controller.c:
17841         (gst_controlled_property_new), (gst_controlled_property_free),
17842         (gst_controller_new_valist),
17843         (gst_controller_remove_properties_valist),
17844         (gst_controller_sink_values), (_gst_controller_finalize):
17845         * libs/gst/controller/gst-controller.h:
17846         * libs/gst/controller/gst-helper.c:
17847         (gst_object_control_properties), (gst_object_uncontrol_properties),
17848         (gst_object_get_controller), (gst_object_set_controller),
17849         (gst_object_sink_values), (gst_object_get_value_arrays),
17850         (gst_object_get_value_array):
17851           more tests (and fixes) for the controller
17852           more docs for the controller
17853           integrated companies docs for the adapter 
17854
17855 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17856
17857         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
17858         (GST_START_TEST), (fakesrc_suite):
17859           add tests for sizetype
17860
17861 2005-08-04  Andy Wingo  <wingo@pobox.com>
17862
17863         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
17864         fixes buffer_alloc proxying among other things.
17865
17866         * gst/base/gstbasetransform.c:
17867         * gst/base/gstbasetransform.h:
17868         Revert patch to gstbasetransform from 7-28 removing
17869         delay_configure.
17870
17871         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
17872         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
17873         Semantics changed, should return not the size of the output buffer
17874         but the byte size of a buffer with a given caps.
17875
17876         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
17877         debug object.
17878         (gst_base_transform_configure_caps): Don't set out_size here: (in,
17879         out) are not the pad caps until setcaps finishes.
17880         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
17881         not-in-place case as well. Deal with changing from in-place to
17882         not-in-place within calling pad_alloc_buffer. Still a bit
17883         concerned about the overhead here...
17884
17885 2005-08-03  Andy Wingo  <wingo@pobox.com>
17886
17887         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
17888         fixating is an error.
17889
17890 2005-08-04  Edward Hervey  <edward@fluendo.com>
17891
17892         * gst/base/gstadapter.h: 
17893         Added gst_adapter_get_type() to the header
17894
17895 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
17896
17897         * check/Makefile.am:
17898         * check/gst-libs/controller.c:
17899         * libs/gst/controller/gst-controller.c:
17900         (gst_controller_new_valist):
17901           added check test suite for the controller
17902         * gst/base/gstpushsrc.c:
17903           fixed a doc typo
17904
17905 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
17906
17907         * docs/gst/Makefile.am:
17908         * docs/gst/gstreamer-docs.sgml:
17909         * docs/gst/gstreamer-sections.txt:
17910         * docs/gst/gstreamer.types:
17911         * docs/gst/tmpl/gstfakesrc.sgml:
17912         * gst/base/README:
17913         * gst/base/gstbasesink.c:
17914         * gst/base/gstbasesink.h:
17915         * gst/base/gstbasesrc.c:
17916         * gst/base/gstbasesrc.h:
17917         * gst/base/gstbasetransform.c:
17918         * gst/base/gstpushsrc.c:
17919         * gst/base/gstpushsrc.h:
17920           add short/long description docs to base classes
17921           add pushsrc to the docs
17922           remove consolidated doc fragments
17923
17924 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
17925
17926         * configure.ac:
17927         * docs/libs/Makefile.am:
17928         * docs/libs/gstreamer-libs-docs.sgml:
17929         * docs/libs/gstreamer-libs-sections.txt:
17930         * docs/libs/gstreamer-libs.types:
17931         * examples/Makefile.am:
17932         * examples/controller/.cvsignore:
17933         * examples/controller/Makefile.am:
17934         * examples/controller/audio-example.c: (main):
17935         * libs/gst/Makefile.am:
17936         * libs/gst/controller/.cvsignore:
17937         * libs/gst/controller/Makefile.am:
17938         * libs/gst/controller/gst-controller.c:
17939         (on_object_controlled_property_changed), (gst_timed_value_compare),
17940         (gst_timed_value_find),
17941         (gst_controlled_property_set_interpolation_mode),
17942         (gst_controlled_property_new), (gst_controlled_property_free),
17943         (gst_controller_find_controlled_property),
17944         (gst_controller_new_valist), (gst_controller_new),
17945         (gst_controller_remove_properties_valist),
17946         (gst_controller_remove_properties), (gst_controller_set),
17947         (gst_controller_set_from_list), (gst_controller_unset),
17948         (gst_controller_get), (gst_controller_get_all),
17949         (gst_controller_sink_values), (gst_controller_get_value_arrays),
17950         (gst_controller_get_value_array),
17951         (gst_controller_set_interpolation_mode),
17952         (_gst_controller_finalize), (_gst_controller_init),
17953         (_gst_controller_class_init), (gst_controller_get_type):
17954         * libs/gst/controller/gst-controller.h:
17955         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
17956         (g_object_uncontrol_properties), (g_object_get_controller),
17957         (g_object_set_controller), (g_object_sink_values),
17958         (g_object_get_value_arrays), (g_object_get_value_array):
17959         * libs/gst/controller/gst-interpolation.c:
17960         (gst_controlled_property_find_timed_value_node),
17961         (interpolate_none_get), (interpolate_trigger_get),
17962         (interpolate_trigger_get_value_array):
17963         * libs/gst/controller/lib.c: (gst_controller_init):
17964         * pkgconfig/Makefile.am:
17965         * pkgconfig/gstreamer-control-uninstalled.pc.in:
17966         * pkgconfig/gstreamer-control.pc.in:
17967         * testsuite/Makefile.am:
17968         * testsuite/controller/.cvsignore:
17969         * testsuite/controller/Makefile.am:
17970         * testsuite/controller/interpolator.c: (main):
17971           added controller code
17972           removed dparam pc files
17973
17974 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
17975         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
17976         (gst_collectpads_stop):
17977           Broadcast the condition when shutting down, to make sure we wake all
17978           threads up. Shut down pads on finalize, for safety.
17979
17980 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
17981         * gst/base/gstbasetransform.c: (gst_base_transform_init),
17982         (gst_base_transform_handle_buffer),
17983         (gst_base_transform_change_state):
17984           Handle PAUSED->READY->PAUSED transition after negotiation
17985           occurred already.
17986         * gst/gstmessage.c: (gst_message_init):
17987           Extra piece of debug for new messages.
17988
17989 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
17990
17991         * configure.ac:
17992         * docs/gst/tmpl/gstbasesrc.sgml:
17993         * docs/gst/tmpl/gstelement.sgml:
17994         * docs/gst/tmpl/gstevent.sgml:
17995         * docs/gst/tmpl/gstfakesrc.sgml:
17996         * docs/gst/tmpl/gstformat.sgml:
17997         * docs/gst/tmpl/gstghostpad.sgml:
17998         * docs/gst/tmpl/gstpad.sgml:
17999         * docs/gst/tmpl/gstquery.sgml:
18000         * docs/gst/tmpl/gststructure.sgml:
18001         * docs/gst/tmpl/gsttaglist.sgml:
18002         * docs/gst/tmpl/gstvalue.sgml:
18003         * docs/libs/gstreamer-libs-docs.sgml:
18004         * docs/libs/gstreamer-libs-sections.txt:
18005         * docs/libs/gstreamer-libs.types:
18006         * libs/gst/Makefile.am:
18007         * libs/gst/control/.cvsignore:
18008         * libs/gst/control/Makefile.am:
18009         * libs/gst/control/control.c:
18010         * libs/gst/control/control.h:
18011         * libs/gst/control/dparam.c:
18012         * libs/gst/control/dparam.h:
18013         * libs/gst/control/dparam_smooth.c:
18014         * libs/gst/control/dparam_smooth.h:
18015         * libs/gst/control/dparamcommon.h:
18016         * libs/gst/control/dparammanager.c:
18017         * libs/gst/control/dparammanager.h:
18018         * libs/gst/control/dplinearinterp.c:
18019         * libs/gst/control/dplinearinterp.h:
18020         * libs/gst/control/unitconvert.c:
18021         * libs/gst/control/unitconvert.h:
18022         * testsuite/Makefile.am:
18023         * testsuite/dynparams/.cvsignore:
18024         * testsuite/dynparams/Makefile.am:
18025         * testsuite/dynparams/dparamstest.c:
18026         * tools/Makefile.am:
18027         * tools/gst-inspect.c: (print_element_info), (main):
18028         * tools/gst-xmlinspect.c: (print_element_info), (main):
18029           deactivate and remove dparams (libgstcontrol)
18030
18031 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18032
18033         * gst/elements/gsttypefindelement.c:
18034         (gst_type_find_element_have_type), (gst_type_find_element_init),
18035         (stop_typefinding), (gst_type_find_element_handle_event),
18036         (gst_type_find_element_chain), (gst_type_find_element_getrange):
18037         * gst/elements/gsttypefindelement.h:
18038           Set caps on all outgoing buffers, not just the first one.
18039
18040 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18041
18042         * gst/elements/gsttypefindelement.c:
18043         (gst_type_find_element_have_type),
18044         (gst_type_find_element_check_set_buffer_caps),
18045         (gst_type_find_element_init), (stop_typefinding),
18046         (gst_type_find_element_handle_event),
18047         (gst_type_find_element_chain), (gst_type_find_element_getrange):
18048         * gst/elements/gsttypefindelement.h:
18049           Set caps on first outgoing buffer when we've found the type.
18050
18051 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18052
18053         * docs/gst/gstreamer-docs.sgml:
18054         * docs/gst/gstreamer-sections.txt:
18055         * docs/gst/tmpl/gstscheduler.sgml:
18056         * docs/gst/tmpl/gstschedulerfactory.sgml:
18057           Remove some old cruft from docs.
18058
18059 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
18060
18061         * gst/gstpad.h:
18062           Fix inline docs for GstPadLinkReturn.
18063           
18064         * gst/gststructure.c: (gst_structure_has_name):
18065         * gst/gststructure.h:
18066         * docs/gst/gstreamer-sections.txt:
18067           New API: gst_structure_has_name().
18068
18069 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
18070
18071         * configure.ac:
18072           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
18073           and _LARGEFILE_SOURCE in config.h as required. Do not 
18074           export those flags in our .pc files any longer (#142209).
18075
18076           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
18077
18078         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
18079         (gst_file_sink_do_seek), (gst_file_sink_event),
18080         (gst_file_sink_get_current_offset), (gst_file_sink_render):
18081           Redo seek/tell calls with large file support in mind; add some
18082           debugging messages; add log message that tells us when large
18083           file support is unavailable or not enabled for some reason.
18084
18085         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
18086           Add log message that tells us when large file support 
18087           is unavailable or not enabled for some reason.
18088
18089 2005-07-29  Wim Taymans  <wim@fluendo.com>
18090
18091         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18092         Added test for removing an element with ghostpad from a bin.
18093         Fixed test as current implementation does the right thing.
18094
18095         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
18096         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
18097         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
18098         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
18099         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
18100         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
18101         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
18102         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
18103         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
18104         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
18105         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
18106         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
18107         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
18108         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
18109         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
18110         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
18111         * gst/gstghostpad.h:
18112         Clean up ghostpads, remove properties for internal stuff.
18113         Make threadsafe.
18114         Fix refcounting.
18115         Prepare for switching targets, not all use cases work yet.
18116
18117 2005-07-29  Wim Taymans  <wim@fluendo.com>
18118
18119         * docs/design/part-gstghostpad.txt:
18120         Small update.
18121
18122         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18123         (gst_bin_remove_func):
18124         Unlinking pads while holding the bin LOCK is not a good
18125         idea.
18126
18127         * gst/gstpad.c: (gst_pad_class_init),
18128         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
18129         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
18130         No prob setting template after creating the pad.
18131
18132 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
18133
18134         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
18135         (gst_bus_peek), (gst_bus_source_dispatch),
18136         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
18137         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
18138           gst_bus_poll may be called from other threads. Handle
18139           this nicely by not making poll_data disappear off the
18140           stack once gst_bus_poll returns.
18141           gst_bus_peek now increments the refcount on the returned
18142           message.
18143
18144 2005-07-29  Wim Taymans  <wim@fluendo.com>
18145
18146         * docs/design/part-gstghostpad.txt:
18147         Overview of current GhostPad datastructures and use
18148         cases for changing the target.
18149
18150 2005-07-28  Wim Taymans  <wim@fluendo.com>
18151
18152         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18153         Added checks for hierarchy consistency whan adding linked
18154         elements to bins.
18155
18156         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18157         Added check to test element scheduling without bin/pipeline.
18158
18159         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18160         First add elements to bin, then link.
18161         
18162         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18163         (gst_bin_remove_func):
18164         Unlink pads from elements added/removed from bin to maintain
18165         hierarchy consistency.
18166
18167 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18168
18169         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18170         (gst_base_transform_handle_buffer):
18171         * gst/base/gstbasetransform.h:
18172           Remove broken delay_configure (fixes renegotiation of software
18173           scaling pipelines); remove some leftover printf()s.
18174
18175 2005-07-28  Wim Taymans  <wim@fluendo.com>
18176
18177         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18178         Added some more tests for wrong hierarchy
18179
18180         * docs/design/part-overview.txt:
18181         Some updates.
18182
18183         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
18184         Cleanups.
18185
18186         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
18187         (gst_element_dispose):
18188         Some more cleanups.
18189
18190         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18191         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
18192         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18193         (gst_pad_set_caps), (gst_pad_send_event):
18194         Check for correct hierarchy when linking pads. Moving to
18195         strict requirement for ghostpads when linking elements in
18196         different bins.
18197
18198         * gst/gstpad.h:
18199         Clean ups. Added WRONG_HIERARCHY return value.
18200
18201 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18202
18203         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18204           Better debug if no transform is possible.
18205
18206 2005-07-27  Wim Taymans  <wim@fluendo.com>
18207
18208         * docs/random/wtay/network-transp:
18209         Some old doc I had.
18210
18211 2005-07-27  Wim Taymans  <wim@fluendo.com>
18212
18213         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18214         (gst_dp_event_from_packet):
18215         Fix serialization of seek events.
18216
18217 2005-07-27  Wim Taymans  <wim@fluendo.com>
18218
18219         * check/gst-libs/gdp.c: (GST_START_TEST):
18220         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18221         Fix compilation and fix event serialization.
18222
18223 2005-07-27  Wim Taymans  <wim@fluendo.com>
18224
18225         * CHANGES-0.9:
18226         * docs/design/part-TODO.txt:
18227         * docs/design/part-events.txt:
18228         Some docs updates
18229
18230         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18231         (gst_base_sink_event), (gst_base_sink_do_sync),
18232         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18233         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18234         (gst_base_src_do_seek), (gst_base_src_event_handler),
18235         (gst_base_src_loop):
18236         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18237         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18238         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18239         (gst_base_transform_event), (gst_base_transform_handle_buffer),
18240         (gst_base_transform_set_passthrough),
18241         (gst_base_transform_is_passthrough):
18242         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18243         * gst/elements/gstfilesink.c: (gst_file_sink_event):
18244         Event updates.
18245
18246         * gst/gstbuffer.h:
18247         Use faster casts.
18248
18249         * gst/gstelement.c: (gst_element_seek):
18250         * gst/gstelement.h:
18251         Update gst_element_seek.
18252
18253         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
18254         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
18255         (gst_event_new_flush_start), (gst_event_new_flush_stop),
18256         (gst_event_new_eos), (gst_event_new_newsegment),
18257         (gst_event_parse_newsegment), (gst_event_new_tag),
18258         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
18259         (gst_event_parse_qos), (gst_event_new_seek),
18260         (gst_event_parse_seek), (gst_event_new_navigation):
18261         * gst/gstevent.h:
18262         Make GstEvent use GstStructure. Add parsing code, make sure the
18263         API is sufficiently generic.
18264         Mark possible directions of events and serialization.
18265
18266         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
18267         (_gst_message_copy), (gst_message_new_segment_start),
18268         (gst_message_new_segment_done), (gst_message_new_custom),
18269         (gst_message_parse_segment_start),
18270         (gst_message_parse_segment_done):
18271         Small cleanups.
18272
18273         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18274         (gst_pad_set_caps), (gst_pad_send_event):
18275         Update for new events. 
18276         Catch events sent in wrong directions.
18277
18278         * gst/gstqueue.c: (gst_queue_link_src),
18279         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18280         (gst_queue_handle_src_query):
18281         Event updates.
18282
18283         * gst/gsttag.c:
18284         * gst/gsttag.h:
18285         Remove event code from this file.
18286
18287         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18288         (gst_dp_event_from_packet):
18289         Event updates.
18290
18291 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18292
18293         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
18294         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18295         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
18296           Make debugging actually useful.
18297
18298 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18299
18300         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
18301         (gst_pad_fixate_caps):
18302           Implement default fixation once again, so that gst_pad_fixate()
18303           actually does anything at all. This probably needs to be some
18304           sort of a last resort, and use profile-based fixation first, but
18305           since that doesn't exist yet, this is the best we have. Fixes
18306           visualization in Totem.
18307
18308 2005-07-22  Wim Taymans  <wim@fluendo.com>
18309
18310         * docs/design/part-events.txt:
18311         Small update.
18312
18313         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18314         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
18315         (gst_base_sink_activate_pull):
18316         Some more comments.
18317
18318         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
18319         (gst_fake_src_create):
18320         Fix handoff marshall.
18321
18322         * gst/elements/gstidentity.c: (gst_identity_class_init),
18323         (gst_identity_transform_ip):
18324         We're a real inplace element.
18325
18326         * gst/gstbus.c: (gst_bus_post):
18327         Added some comments.
18328
18329         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
18330         * tests/muxing/case1.c: (main):
18331         * tests/sched/dynamic-pipeline.c: (main):
18332         * tests/sched/interrupt1.c: (main):
18333         * tests/sched/interrupt2.c: (main):
18334         * tests/sched/interrupt3.c: (main):
18335         * tests/sched/runxml.c: (main):
18336         * tests/sched/sched-stress.c: (main):
18337         * tests/seeking/seeking1.c: (event_received), (main):
18338         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18339         (main):
18340         * tests/threadstate/threadstate3.c: (main):
18341         * tests/threadstate/threadstate4.c: (main):
18342         * tests/threadstate/threadstate5.c: (main):
18343         Fix the tests.
18344
18345 2005-07-21  Wim Taymans  <wim@fluendo.com>
18346
18347         * docs/design/part-seeking.txt:
18348         Some small additions.
18349
18350         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18351         (gst_base_sink_get_times), (gst_base_sink_do_sync),
18352         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18353         * gst/base/gstbasesink.h:
18354         discont values are gint64, handle the math correctly.
18355
18356         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18357         Make the basesrc report error if the source pad is not linked.
18358
18359         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18360         (gst_queue_loop), (gst_queue_handle_src_query),
18361         (gst_queue_src_activate_push):
18362         Make queue collect data even if the srcpad is not linked.
18363         Start pushing out data as soon as it is linked.
18364
18365         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
18366         * gst/gstutils.h:
18367         Added gst_flow_get_name() to ease error reporting.
18368
18369 2005-07-20  Wim Taymans  <wim@fluendo.com>
18370
18371         * gst/gstmessage.c: (gst_message_new_segment_start),
18372         (gst_message_new_segment_done), (gst_message_parse_segment_start),
18373         (gst_message_parse_segment_done):
18374         * gst/gstmessage.h:
18375         Added a bunch of messages for advanced seeking.
18376
18377         * gst/parse/grammar.y:
18378         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
18379         (gst_dpman_state_changed):
18380         Fix some new-pad -> pad-added signals
18381
18382 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18383
18384         * docs/manual/appendix-porting.xml:
18385         * docs/pwg/appendix-porting.xml:
18386           Document new-pad/state-change signal renames and the FixedList
18387           type rename.
18388
18389 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18390
18391         * docs/manual/advanced-autoplugging.xml:
18392         * docs/manual/basics-helloworld.xml:
18393         * docs/manual/basics-pads.xml:
18394         * docs/random/ds/0.9-suggested-changes:
18395         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
18396         * gst/gstelement.h:
18397         * gst/gstevent.h:
18398         * gst/gstformat.h:
18399         * gst/gstquery.h:
18400         * gst/gststructure.c: (gst_structure_value_get_generic_type),
18401         (gst_structure_parse_array), (gst_structure_parse_value):
18402         * gst/gstvalue.c: (gst_type_is_fixed),
18403         (gst_value_list_prepend_value), (gst_value_list_append_value),
18404         (gst_value_list_get_size), (gst_value_list_get_value),
18405         (gst_value_transform_array_string), (gst_value_serialize_array),
18406         (gst_value_deserialize_array), (gst_value_intersect_array),
18407         (gst_value_is_fixed), (_gst_value_initialize):
18408         * gst/gstvalue.h:
18409           GstElement::new-pad -> pad-added, GstElement::state-change ->
18410           state-changed, GstValueFixedList -> GstValueArray, add format and
18411           flags as their own arguments in gst_element_seek() (should improve
18412           "bindeability"), remove function generators since they don't work
18413           under a whole bunch of compilers (they were deprecated already
18414           anyway).
18415
18416 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18417
18418         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18419         (_gst_debug_register_funcptr):
18420         * gst/gstinfo.h:
18421           Fix illegal cast on some platforms (#309253).
18422
18423 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18424
18425         * gst/gstmessage.c: (gst_message_new_custom):
18426         * gst/gstmessage.h:
18427           Add _new_custom, make _new_application a macro to _new_custom.
18428
18429 2005-07-20  Wim Taymans  <wim@fluendo.com>
18430
18431         * gst/base/gstbasesrc.c: (gst_base_src_init),
18432         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18433         * gst/base/gstbasesrc.h:
18434         Add a gboolean to decide when to push out a discont.
18435
18436         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18437         (gst_queue_loop), (gst_queue_handle_src_query),
18438         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
18439         (gst_queue_set_property), (gst_queue_get_property):
18440         Some cleanups.
18441
18442         * tests/threadstate/threadstate1.c: (main):
18443         Make a thread test compile and run... very silly..
18444
18445
18446 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18447
18448         * docs/manual/appendix-porting.xml:
18449           Mention removal of libgstgconf-0.9.la and existence of gconf
18450           elements.
18451
18452 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18453
18454         * docs/pwg/advanced-clock.xml:
18455         * docs/pwg/appendix-porting.xml:
18456         * docs/pwg/intro-preface.xml:
18457         * docs/pwg/other-base.xml:
18458         * docs/pwg/other-manager.xml:
18459         * docs/pwg/other-nton.xml:
18460         * docs/pwg/other-ntoone.xml:
18461         * docs/pwg/other-oneton.xml:
18462         * docs/pwg/pwg.xml:
18463           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
18464           demuxer), remove n-to-n (was never written), fix some code examples
18465           and links and update the porting section to include all this.
18466
18467 2005-07-19  Wim Taymans  <wim@fluendo.com>
18468
18469         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
18470         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
18471         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
18472         (gst_queue_src_activate_push), (gst_queue_change_state),
18473         (gst_queue_get_property):
18474         * gst/gstqueue.h:
18475         Propagate GstFlowReturn more intelligently upstream and output
18476         an ERROR/EOS when streaming stopped due to fatal error.
18477
18478 2005-07-19  Wim Taymans  <wim@fluendo.com>
18479
18480         * tools/gst-launch.c: (check_intr), (event_loop), (main):
18481         Don't block forever for the state change to complete, the
18482         pipeline already did with a sensible timeout.
18483
18484 2005-07-19  Wim Taymans  <wim@fluendo.com>
18485
18486         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18487         Make sure we never call the create function is we
18488         got deactivated.
18489
18490 2005-07-19  Andy Wingo  <wingo@pobox.com>
18491
18492         * gst/parse/parse.l: Attempt to solve bug #172815.
18493
18494 2005-07-19  Wim Taymans  <wim@fluendo.com>
18495
18496         * docs/design/part-clocks.txt:
18497         * docs/design/part-events.txt:
18498         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
18499         Small docs updates.
18500         Only update the seeking values when we are not
18501         busy streaming.
18502
18503 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
18504
18505         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18506           Oops, ignore the result of gst_pad_push_event here.
18507
18508 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
18509
18510         * gst/base/gstbasesrc.c: (gst_base_src_loop),
18511         (gst_base_src_activate_push):
18512           Send discont event from the loop function, as pads
18513           aren't activated yet in the activate_push handler.
18514
18515         * gst/gstbin.c: (bin_bus_handler):
18516           Don't leak element name.
18517
18518 2005-07-18  Andy Wingo  <wingo@pobox.com>
18519
18520         * configure.ac: Use AS_LIBTOOL_TAGS.
18521
18522 2005-07-18  Wim Taymans  <wim@fluendo.com>
18523
18524         * docs/gst/gstreamer.types:
18525         Remove deleted types.
18526
18527 2005-07-18  Wim Taymans  <wim@fluendo.com>
18528
18529         * check/elements/gstfakesrc.c: (GST_START_TEST):
18530         * configure.ac:
18531         * gst/Makefile.am:
18532         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
18533         (init_popt_callback):
18534         * gst/gst.h:
18535         * gst/gst_private.h:
18536         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
18537         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
18538         * gst/gstbin.h:
18539         * gst/gstbus.h:
18540         * gst/gstconfig.h.in:
18541         * gst/gstelement.c: (gst_element_class_init),
18542         (gst_element_set_base_time), (gst_element_get_base_time),
18543         (iterator_fold_with_resync), (gst_element_change_state),
18544         (gst_element_dispose), (gst_element_get_bus):
18545         * gst/gstelement.h:
18546         * gst/gstelementfactory.h:
18547         * gst/gsterror.c: (_gst_core_errors_init):
18548         * gst/gsterror.h:
18549         * gst/gstevent.h:
18550         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18551         * gst/gstindex.c:
18552         * gst/gstinfo.c: (_gst_debug_init):
18553         * gst/gstmessage.c: (_gst_message_copy):
18554         * gst/gstmessage.h:
18555         * gst/gstminiobject.h:
18556         * gst/gstobject.c:
18557         * gst/gstobject.h:
18558         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18559         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
18560         * gst/gstpad.h:
18561         * gst/gstparse.h:
18562         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
18563         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18564         (gst_pipeline_get_last_stream_time):
18565         * gst/gstpipeline.h:
18566         * gst/gstpluginfeature.h:
18567         * gst/gstquery.h:
18568         * gst/gstscheduler.c:
18569         * gst/gstscheduler.h:
18570         * gst/gststructure.h:
18571         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
18572         (gst_task_finalize), (gst_task_func), (gst_task_create),
18573         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
18574         (gst_task_stop), (gst_task_pause):
18575         * gst/gsttask.h:
18576         * gst/gsttypefind.h:
18577         * gst/gsttypes.h:
18578         * gst/registries/gstlibxmlregistry.c: (load_feature),
18579         (gst_xml_registry_load), (gst_xml_registry_save_feature):
18580         * gst/registries/gstxmlregistry.c:
18581         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
18582         * gst/schedulers/threadscheduler.c:
18583         * libs/gst/control/dparammanager.h:
18584         * tools/gst-inspect.c: (print_element_list),
18585         (print_plugin_features), (print_element_features):
18586         * tools/gst-xmlinspect.c: (print_element_list),
18587         (print_plugin_info), (main):
18588         Removed plugable schedulers.
18589         Removed Scheduler/Manager from elements.
18590         Removed gsttypes.h, rearranged includes.
18591         Removed dependency pad<->element, element<>pipeline, and
18592         various others,  fix includes.
18593         implement gst_pad_get_parent() with gst_object_get_parent()
18594         Make GstTask sefcontained.
18595         Fix _get_state() on GstBin, it did not return ASYNC with a 0
18596         timeout.
18597         Fix endless loop in iterator_fold_with_resync.
18598
18599
18600 2005-07-18  Wim Taymans  <wim@fluendo.com>
18601
18602         * gst/Makefile.am:
18603         * gst/gstarch.h:
18604         Remove old file.
18605
18606 2005-07-18  Wim Taymans  <wim@fluendo.com>
18607
18608         * gst/Makefile.am:
18609         No more cothreads.h
18610
18611 2005-07-18  Wim Taymans  <wim@fluendo.com>
18612
18613         * gst/cothreads.c:
18614         * gst/cothreads.h:
18615         Let's remove these.
18616
18617 2005-07-18  Wim Taymans  <wim@fluendo.com>
18618
18619         * docs/design/part-dynamic.txt:
18620         * docs/design/part-events.txt:
18621         * docs/design/part-seeking.txt:
18622         Some more docs in the works.
18623
18624         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18625         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
18626         (gst_base_transform_setcaps), (gst_base_transform_get_size),
18627         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18628         (gst_base_transform_handle_buffer),
18629         (gst_base_transform_sink_activate_push),
18630         (gst_base_transform_src_activate_pull),
18631         (gst_base_transform_set_passthrough),
18632         (gst_base_transform_is_passthrough):
18633         Refcounting fixes.
18634
18635         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
18636         Cleanups.
18637
18638         * gst/gstevent.c: (gst_event_finalize):
18639         Set SRC to NULL.
18640
18641         * gst/gstutils.c: (gst_element_unlink),
18642         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
18643         (gst_pad_proxy_setcaps):
18644         * gst/gstutils.h:
18645         Add _get_parent_element() to get a pads parent as an element.
18646
18647 2005-07-18  Wim Taymans  <wim@fluendo.com>
18648
18649         * check/gst/gstbin.c: (GST_START_TEST):
18650         Remove bogus test.
18651
18652 2005-07-18  Wim Taymans  <wim@fluendo.com>
18653
18654         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
18655         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
18656         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
18657         (gst_base_sink_event), (gst_base_sink_do_sync),
18658         (gst_base_sink_chain), (gst_base_sink_loop),
18659         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
18660         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18661         Refcounting fixes.
18662         Fix logic for returning ASYNC when not prerolled.
18663
18664 2005-07-18  Wim Taymans  <wim@fluendo.com>
18665
18666         * gst/gstqueue.c: (gst_queue_handle_sink_event):
18667         Fix nasty refcount bug.
18668
18669 2005-07-16 Philippe Khalaf <burger@speedy.org>
18670
18671         * gst/elements/gstfdsrc.c:
18672         * gst/elements/gstfdsrc.h:
18673         * gst/elements/gstelements.c:
18674         * gst/elements/Makefile.am:
18675         Ported fdsrc to 0.9.
18676
18677 2005-07-16  Wim Taymans  <wim@fluendo.com>
18678
18679         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18680         (gst_base_sink_do_sync):
18681         Fix compile error.
18682
18683 2005-07-16  Wim Taymans  <wim@fluendo.com>
18684
18685         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18686         (gst_base_sink_event), (gst_base_sink_get_times),
18687         (gst_base_sink_do_sync), (gst_base_sink_change_state):
18688         * gst/base/gstbasesink.h:
18689         Store and use discont values when syncing buffers as described
18690         in design docs.
18691         
18692         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18693         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
18694         (gst_base_src_activate_push):
18695         Push discont event when starting.
18696
18697         * gst/elements/gstidentity.c: (gst_identity_transform):
18698         Small cleanups.
18699
18700         * gst/gstbin.c: (gst_bin_change_state):
18701         Small cleanups in base_time  distribution.
18702
18703         * gst/gstelement.c: (gst_element_set_base_time),
18704         (gst_element_get_base_time), (gst_element_change_state):
18705         * gst/gstelement.h:
18706         Added methods for the base_time of the element.
18707         Some MT fixes.
18708
18709         * gst/gstpipeline.c: (gst_pipeline_send_event),
18710         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18711         (gst_pipeline_get_last_stream_time):
18712         * gst/gstpipeline.h:
18713         MT fixes.
18714         Handle seeking as described in design doc, remove stream_time
18715         hack.
18716         Cleanups clock and stream_time selection code. Added accessors
18717         for the stream_time.
18718         
18719
18720 2005-07-16  Andy Wingo  <wingo@pobox.com>
18721
18722         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
18723         (#305291).
18724
18725 2005-07-16  Wim Taymans  <wim@fluendo.com>
18726
18727         * check/gst/gstbin.c: (GST_START_TEST):
18728         Make elements silent as the deep_notify refs the
18729         parent, which might make the test fail.
18730
18731         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18732         Don't hold the lock for too long.
18733
18734 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
18735
18736         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18737           Don't unref the caps we passed to gst_caps_make_writable() after
18738           passing them. gst_caps_make_writable() will do that for us.
18739
18740 2005-07-15  Andy Wingo  <wingo@pobox.com>
18741
18742         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
18743         (#157311).
18744
18745         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
18746         own marshalling function for the handoff signal. Properly type the
18747         buffer as a buffer. Fixes some warnings. Should do a more general
18748         solution.
18749         (gst_identity_class_init): Plug into the right marshaller.
18750
18751 2005-07-15  Wim Taymans  <wim@fluendo.com>
18752
18753         * docs/design/part-TODO.txt:
18754         * docs/design/part-clocks.txt:
18755         * docs/design/part-element-sink.txt:
18756         * docs/design/part-events.txt:
18757         * docs/design/part-gstpipeline.txt:
18758         Updated docs, mostly DISCONT related.
18759
18760 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
18761
18762         * docs/pwg/building-pads.xml:
18763           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
18764
18765 2005-07-15  Andy Wingo  <wingo@pobox.com>
18766
18767         * tools/gst-typefind.c: Update, add copyright block.
18768
18769         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
18770         Normalize and truncate caps before fixation.
18771
18772         * gst/gstcaps.h:
18773         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
18774         discards all but the first structure from its argument.
18775
18776 2005-07-15  Wim Taymans  <wim@fluendo.com>
18777
18778         * gst/base/gstbasetransform.c: (gst_base_transform_init),
18779         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
18780         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18781         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18782         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
18783         (gst_base_transform_chain), (gst_base_transform_change_state),
18784         (gst_base_transform_set_passthrough),
18785         (gst_base_transform_is_passthrough):
18786         * gst/base/gstbasetransform.h:
18787         Make passthrough work using the bufferpools.
18788         Changed API a bit, subclasses have to write into a buffer
18789         provided by the base class.
18790         More debug info in nego functions.
18791         
18792         * gst/elements/gstidentity.c: (gst_identity_init),
18793         (gst_identity_transform):
18794         Port to new base class.
18795
18796 2005-07-15  Wim Taymans  <wim@fluendo.com>
18797
18798         * gst/gstmessage.c: (gst_message_new_state_changed):
18799         * tools/gst-launch.c: (event_loop), (main):
18800         Totally dump messages in -launch with the -m option.
18801         Fix message name for State messages,
18802
18803 2005-07-14  Wim Taymans  <wim@fluendo.com>
18804
18805         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18806         Post error messages on errors.
18807
18808 2005-07-14  Wim Taymans  <wim@fluendo.com>
18809
18810         * gst/gstcaps.c: (gst_caps_do_simplify):
18811         Remove debug info.
18812
18813         * gst/gsterror.h:
18814         Define error for stream stopped.
18815
18816         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
18817         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
18818         Do proper return values.
18819
18820         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18821         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
18822         (gst_pad_get_range):
18823         Better return values.
18824
18825         * gst/gstpad.h:
18826         Reorganise return values, add macro to check for fatal errors.
18827
18828         * gst/gstqueue.c: (gst_queue_chain):
18829         Return proper GstFlowReturn values,
18830
18831 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18832
18833         * docs/gst/gstreamer-sections.txt:
18834         * docs/gst/gstreamer.types:
18835         * docs/gst/tmpl/gst.sgml:
18836         * docs/gst/tmpl/gstbasesink.sgml:
18837         * docs/gst/tmpl/gstbasesrc.sgml:
18838         * docs/gst/tmpl/gstbasetransform.sgml:
18839         * docs/gst/tmpl/gstbin.sgml:
18840         * docs/gst/tmpl/gstbuffer.sgml:
18841         * docs/gst/tmpl/gstcaps.sgml:
18842         * docs/gst/tmpl/gstclock.sgml:
18843         * docs/gst/tmpl/gstcompat.sgml:
18844         * docs/gst/tmpl/gstconfig.sgml:
18845         * docs/gst/tmpl/gstelement.sgml:
18846         * docs/gst/tmpl/gstelementdetails.sgml:
18847         * docs/gst/tmpl/gstelementfactory.sgml:
18848         * docs/gst/tmpl/gstenumtypes.sgml:
18849         * docs/gst/tmpl/gsterror.sgml:
18850         * docs/gst/tmpl/gstevent.sgml:
18851         * docs/gst/tmpl/gstfakesink.sgml:
18852         * docs/gst/tmpl/gstfakesrc.sgml:
18853         * docs/gst/tmpl/gstfilesink.sgml:
18854         * docs/gst/tmpl/gstfilesrc.sgml:
18855         * docs/gst/tmpl/gstfilter.sgml:
18856         * docs/gst/tmpl/gstformat.sgml:
18857         * docs/gst/tmpl/gstghostpad.sgml:
18858         * docs/gst/tmpl/gstimplementsinterface.sgml:
18859         * docs/gst/tmpl/gstindex.sgml:
18860         * docs/gst/tmpl/gstindexfactory.sgml:
18861         * docs/gst/tmpl/gstinfo.sgml:
18862         * docs/gst/tmpl/gstiterator.sgml:
18863         * docs/gst/tmpl/gstmacros.sgml:
18864         * docs/gst/tmpl/gstmemchunk.sgml:
18865         * docs/gst/tmpl/gstminiobject.sgml:
18866         * docs/gst/tmpl/gstobject.sgml:
18867         * docs/gst/tmpl/gstpad.sgml:
18868         * docs/gst/tmpl/gstpadtemplate.sgml:
18869         * docs/gst/tmpl/gstparse.sgml:
18870         * docs/gst/tmpl/gstpipeline.sgml:
18871         * docs/gst/tmpl/gstplugin.sgml:
18872         * docs/gst/tmpl/gstpluginfeature.sgml:
18873         * docs/gst/tmpl/gstquery.sgml:
18874         * docs/gst/tmpl/gstqueue.sgml:
18875         * docs/gst/tmpl/gstregistry.sgml:
18876         * docs/gst/tmpl/gstregistrypool.sgml:
18877         * docs/gst/tmpl/gstscheduler.sgml:
18878         * docs/gst/tmpl/gstschedulerfactory.sgml:
18879         * docs/gst/tmpl/gststructure.sgml:
18880         * docs/gst/tmpl/gstsystemclock.sgml:
18881         * docs/gst/tmpl/gsttaglist.sgml:
18882         * docs/gst/tmpl/gsttagsetter.sgml:
18883         * docs/gst/tmpl/gsttrace.sgml:
18884         * docs/gst/tmpl/gsttrashstack.sgml:
18885         * docs/gst/tmpl/gsttypefind.sgml:
18886         * docs/gst/tmpl/gsttypefindfactory.sgml:
18887         * docs/gst/tmpl/gsttypes.sgml:
18888         * docs/gst/tmpl/gsturihandler.sgml:
18889         * docs/gst/tmpl/gsturitype.sgml:
18890         * docs/gst/tmpl/gstutils.sgml:
18891         * docs/gst/tmpl/gstvalue.sgml:
18892         * docs/gst/tmpl/gstversion.sgml:
18893         * docs/gst/tmpl/gstxml.sgml:
18894         * docs/libs/tmpl/gstcontrol.sgml:
18895         * docs/libs/tmpl/gstdataprotocol.sgml:
18896         * docs/libs/tmpl/gstdparam.sgml:
18897         * docs/libs/tmpl/gstdplinint.sgml:
18898         * docs/libs/tmpl/gstdpman.sgml:
18899         * docs/libs/tmpl/gstdpsmooth.sgml:
18900         * docs/libs/tmpl/gstgetbits.sgml:
18901         * docs/libs/tmpl/gstunitconvert.sgml:
18902         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
18903         (gst_push_src_base_init), (gst_push_src_class_init),
18904         (gst_push_src_init), (gst_push_src_create):
18905         * gst/base/gstpushsrc.h:
18906         * gst/elements/gstelements.c:
18907         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
18908         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
18909         (gst_fake_sink_init), (gst_fake_sink_set_property),
18910         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
18911         (gst_fake_sink_event), (gst_fake_sink_preroll),
18912         (gst_fake_sink_render), (gst_fake_sink_change_state):
18913         * gst/elements/gstfakesink.h:
18914         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18915         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18916         (gst_fake_src_base_init), (gst_fake_src_class_init),
18917         (gst_fake_src_init), (gst_fake_src_event_handler),
18918         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
18919         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
18920         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
18921         (gst_fake_src_create_buffer), (gst_fake_src_create),
18922         (gst_fake_src_start), (gst_fake_src_stop):
18923         * gst/elements/gstfakesrc.h:
18924         * gst/elements/gstfilesink.c: (_do_init),
18925         (gst_file_sink_base_init), (gst_file_sink_class_init),
18926         (gst_file_sink_init), (gst_file_sink_dispose),
18927         (gst_file_sink_set_location), (gst_file_sink_set_property),
18928         (gst_file_sink_get_property), (gst_file_sink_open_file),
18929         (gst_file_sink_close_file), (gst_file_sink_query),
18930         (gst_file_sink_event), (gst_file_sink_render),
18931         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
18932         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
18933         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
18934         * gst/elements/gstfilesink.h:
18935         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
18936         (gst_file_src_class_init), (gst_file_src_init),
18937         (gst_file_src_finalize), (gst_file_src_set_location),
18938         (gst_file_src_set_property), (gst_file_src_get_property),
18939         (gst_file_src_map_region), (gst_file_src_map_small_region),
18940         (gst_file_src_create_mmap), (gst_file_src_create_read),
18941         (gst_file_src_create), (gst_file_src_is_seekable),
18942         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
18943         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
18944         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
18945         (gst_file_src_uri_handler_init):
18946         * gst/elements/gstfilesrc.h:
18947           more autistic cleanliness in functions/names/defines
18948
18949 2005-07-13  Andy Wingo  <wingo@pobox.com>
18950
18951         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
18952         source couldn't negotiate.
18953
18954         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
18955         connections again.
18956
18957         * gst/gstutils.h:
18958         * gst/gstutils.c (gst_element_link_pads_filtered): New old
18959         function. I am channeling Hades. Put your boots on suckers!!!
18960
18961 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18962
18963         * testsuite/caps/Makefile.am:
18964         * testsuite/caps/value_compare.c:
18965         * testsuite/caps/value_intersect.c:
18966         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18967           move two testsuite apps over to the check dir
18968
18969 2005-07-12  Wim Taymans  <wim@fluendo.com>
18970
18971         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18972         Added more debug info in the negotiate process.
18973
18974         * gst/gstmessage.h:
18975         Prepare for segment playback.
18976
18977         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
18978         Better debugging.
18979
18980         * gst/gstutils.c:
18981         Some more docs.
18982
18983         * tools/gst-launch.c: (main):
18984         NULL pipeline on errors.
18985
18986 2005-07-12  Andy Wingo  <wingo@pobox.com>
18987
18988         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
18989         not it comes from a malloc region. Make sure our copy gets freed.
18990
18991 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18992
18993         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18994         * check/gst/gstmessage.c: (GST_START_TEST):
18995         * check/gst/gststructure.c: (GST_START_TEST),
18996         (gst_structure_suite), (main):
18997           more testing
18998         * gst/gstelement.c: (gst_element_message_full):
18999           clean up GError and debug string now that they get copied
19000         * gst/gstmessage.c: (gst_message_new_error),
19001         (gst_message_new_warning), (gst_message_parse_error),
19002         (gst_message_parse_warning):
19003           use GST_TYPE_G_ERROR for structure_new, and take copies of
19004           arguments, so that we don't mess up refcounting
19005
19006 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19007
19008         * check/Makefile.am:
19009           add per-test valgrind targets
19010         * check/gst-libs/gdp.c: (GST_START_TEST),
19011         (gst_data_protocol_suite), (main):
19012           clean up
19013
19014 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19015
19016         * check/Makefile.am:
19017           instate more valgrindable tests
19018         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19019         (GST_START_TEST), (fakesrc_suite):
19020         * check/gst/gstpad.c: (GST_START_TEST):
19021         * check/gst/gststructure.c: (GST_START_TEST):
19022           fix test leaks
19023         * docs/gst/tmpl/gstminiobject.sgml:
19024         * gst/gstpad.c: (gst_pad_finalize):
19025           fix the static mutex leak
19026
19027 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19028
19029         * check/Makefile.am:
19030           add two more tests for valgrinding
19031         * check/gst/gstvalue.c: (GST_START_TEST):
19032           test refcount of deserialized buffer, found a leak
19033         * docs/gst/gstreamer-docs.sgml:
19034         * docs/gst/gstreamer-sections.txt:
19035         * docs/gst/gstreamer.types:
19036         * docs/gst/tmpl/gstminiobject.sgml:
19037           add miniobject to docs
19038         * gst/gstminiobject.c:
19039           add some docs
19040         * gst/gstvalue.c: (gst_value_deserialize_buffer),
19041         (gst_string_unwrap):
19042           fix a hard-to-find invalid write for one of the tests
19043           fix a leak for deserialized buffers
19044
19045 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19046
19047         * docs/pwg/advanced-events.xml:
19048         * docs/pwg/advanced-request.xml:
19049         * docs/pwg/advanced-scheduling.xml:
19050         * docs/pwg/appendix-porting.xml:
19051         * docs/pwg/building-boiler.xml:
19052         * docs/pwg/intro-preface.xml:
19053         * docs/pwg/other-ntoone.xml:
19054           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
19055           of example code and explanation for pad activation, loop() and
19056           getrange() functions and a bit more. Remove old comments pointing
19057           to loop-functions.
19058         * examples/pwg/Makefile.am:
19059           Add loop/getrange examples.
19060
19061 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19062
19063         * configure.ac:
19064           check for valgrind binary + some fixes
19065         * check/gst.supp:
19066           valgrind suppressions for the tests
19067         * check/Makefile.am:
19068           add a valgrind: target that valgrinds the unit tests
19069         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
19070         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19071         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19072         * check/gst/gstghostpad.c:
19073           added some cleanup
19074         * check/gst/gstdata.c:
19075           removed
19076         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
19077         (thread_unref), (gst_mini_object_suite), (main):
19078           added
19079         * gst/gst.c: (gst_deinit):
19080         * gst/gst.h:
19081           add a method to clean up.
19082         * gst/gstsystemclock.c: (gst_system_clock_dispose),
19083         (gst_system_clock_obtain):
19084           allow for disposing the system clock.
19085         * tools/gst-launch.c: (main):
19086           deinit
19087
19088 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19089
19090         * docs/gst/tmpl/gstbasesrc.sgml:
19091         * docs/gst/tmpl/gstfakesrc.sgml:
19092         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19093         (gst_base_src_init), (gst_base_src_set_property),
19094         (gst_base_src_get_property), (gst_base_src_get_range),
19095         (gst_base_src_start):
19096         * gst/base/gstbasesrc.h:
19097           add num-buffers property
19098         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19099         (gst_fakesrc_init), (gst_fakesrc_set_property),
19100         (gst_fakesrc_get_property), (gst_fakesrc_create),
19101         (gst_fakesrc_start):
19102           remove num-buffers property
19103
19104 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19105
19106         * docs/gst/gstreamer-sections.txt:
19107         * docs/gst/tmpl/gstbasesink.sgml:
19108         * docs/gst/tmpl/gstbasesrc.sgml:
19109         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19110         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19111         (gst_base_sink_finalize), (gst_base_sink_set_clock),
19112         (gst_base_sink_set_property), (gst_base_sink_get_property),
19113         (gst_base_sink_handle_object), (gst_base_sink_event),
19114         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19115         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
19116         (gst_base_sink_loop), (gst_base_sink_deactivate),
19117         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
19118         (gst_base_sink_change_state):
19119         * gst/base/gstbasesink.h:
19120         * gst/base/gstbasesrc.h:
19121         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
19122         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19123         (gst_filesink_init):
19124           more macro splitting
19125
19126 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19127
19128         * gst/gstelement.c: (gst_element_get_bus):
19129           add debug
19130         * tools/gst-launch.c: (check_intr), (event_loop):
19131           fix bus leaks
19132
19133 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19134
19135         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
19136           fix a caps leak
19137
19138 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19139
19140         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19141         (gst_base_src_finalize):
19142           add finalize method and clean up properly
19143         * gst/gstpipeline.c: (gst_pipeline_dispose):
19144           add debug
19145
19146 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19147
19148         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
19149         (gst_bin_suite):
19150           add more things to check
19151         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19152         * gst/gstelement.c:
19153           more debug
19154
19155 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19156
19157         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19158         (GST_START_TEST), (fakesrc_suite):
19159         * check/gst-libs/gdp.c: (GST_START_TEST):
19160         * check/gst/gst.c: (GST_START_TEST):
19161         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19162         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19163         * check/gst/gstbus.c: (GST_START_TEST):
19164         * check/gst/gstcaps.c: (GST_START_TEST):
19165         * check/gst/gstdata.c: (GST_START_TEST):
19166         * check/gst/gstelement.c: (GST_START_TEST):
19167         * check/gst/gstghostpad.c: (GST_START_TEST):
19168         * check/gst/gstiterator.c: (GST_START_TEST):
19169         * check/gst/gstmessage.c: (GST_START_TEST):
19170         * check/gst/gstobject.c: (GST_START_TEST):
19171         * check/gst/gstpad.c: (GST_START_TEST):
19172         * check/gst/gststructure.c: (GST_START_TEST):
19173         * check/gst/gstsystemclock.c: (GST_START_TEST),
19174         (gst_systemclock_suite):
19175         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19176         * check/gst/gstvalue.c: (GST_START_TEST):
19177         * check/pipelines/cleanup.c: (GST_START_TEST):
19178         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19179         * check/states/sinks.c: (GST_START_TEST):
19180         * check/gstcheck.c: (gst_check_init):
19181         * check/gstcheck.h:
19182           add debugging category
19183           use GST_START_TEST now, so we add a debug line
19184
19185 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19186
19187         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
19188           add test for state change message on a bin
19189         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
19190           add another test
19191         * gst/gstbin.c: (gst_bin_init):
19192         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
19193         * gst/gstelement.c: (gst_element_post_message),
19194         (gst_element_set_state):
19195         * gst/gstelementfactory.c: (gst_element_factory_create):
19196         * gst/gstmessage.c: (gst_message_new):
19197         * gst/gstscheduler.c:
19198           various debugging additions and cleanups
19199
19200 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19201
19202         * check/Makefile.am:
19203         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
19204         (main):
19205           adding tests for elements
19206         * gst/gstelement.c: (gst_element_dispose):
19207
19208 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19209
19210         * gst/registries/gstlibxmlregistry.c: (load_feature):
19211           plug more leaks.  A simple gst_init() now is leakfree, yay.
19212
19213 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19214
19215         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
19216         (gst_xml_registry_load):
19217           plug another memleak
19218
19219 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19220
19221         * configure.ac:
19222           use GST_SET_ERROR_CFLAGS
19223         * docs/faq/cvs.xml:
19224           change to ERROR_CFLAGS
19225
19226 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19227
19228         * configure.ac:
19229           make GST_ERROR_CFLAGS overridable and re-enable Werror
19230         * docs/faq/cvs.xml:
19231           add a note about error CFLAGS
19232         * docs/gst/tmpl/gstfakesrc.sgml:
19233         * gst/elements/gstfakesrc.c:
19234           comment out some unused code
19235         * gst/gst.c: (split_and_iterate):
19236         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
19237         (load_feature):
19238           plug some memleaks
19239
19240 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19241
19242         * common/Makefile.am:
19243         * common/gtk-doc.mak:
19244         * docs/gst/Makefile.am:
19245           factor out gtk-doc.mak
19246
19247 2005-07-07  Wim Taymans  <wim@fluendo.com>
19248
19249         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
19250         (gst_thread_scheduler_dispose):
19251         Unlock the STREAM_LOCK completely.
19252
19253 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19254
19255         * check/Makefile.am:
19256         * check/elements/.cvsignore:
19257         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19258         (START_TEST), (fakesrc_suite), (main):
19259         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19260         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19261         (gst_fakesrc_create), (gst_fakesrc_start):
19262         * gst/elements/gstfakesrc.h:
19263           adding a first element test
19264
19265 2005-07-07  Andy Wingo  <wingo@pobox.com>
19266
19267         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
19268         debug message.
19269
19270 2005-07-07  Wim Taymans  <wim@fluendo.com>
19271
19272         * gst/gstquery.c:
19273         * gst/gstquery.h:
19274         Remove old types
19275
19276 2005-07-07  Wim Taymans  <wim@fluendo.com>
19277
19278         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19279         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
19280         Allow subclasses to implement their own negotiation.
19281
19282 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19283
19284         * docs/design/part-gstbin.txt:
19285         * docs/design/part-gstpipeline.txt:
19286           Update design notes to reflect the movement of
19287           responsibility for bus handling from GstPipeline to
19288           GstBin
19289
19290 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19291
19292         * configure.ac:
19293           Remove unnecessary queue2/3/4 examples.
19294
19295 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19296
19297         * examples/Makefile.am:
19298         * examples/helloworld/helloworld.c: (event_loop), (main):
19299         * examples/queue/queue.c: (event_loop), (main):
19300         * examples/queue2/queue2.c: (main):
19301           Update a couple of the examples to work again.
19302
19303         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19304         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
19305          Spelling corrections and extra debug.
19306         
19307         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
19308         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
19309         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
19310         * gst/gstbin.h:
19311         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19312         (gst_pipeline_change_state):
19313         * gst/gstpipeline.h:
19314           Move the bus handler for children to the GstBin, and create a
19315           separate bus for receiving messages from children to the one the
19316           bus sends 'upwards' on.
19317
19318 2005-07-06  Wim Taymans  <wim@fluendo.com>
19319
19320         * gst/base/README:
19321         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19322         (gst_base_sink_handle_object), (gst_base_sink_loop),
19323         (gst_base_sink_change_state):
19324         * gst/base/gstbasesink.h:
19325         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19326         (gst_base_src_init), (gst_base_src_setcaps),
19327         (gst_base_src_getcaps), (gst_base_src_loop),
19328         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
19329         (gst_base_src_start), (gst_base_src_change_state):
19330         * gst/base/gstbasesrc.h:
19331         Make basesrc negotiate.
19332         Handle the case where preroll fails in basesink.
19333         Update README.
19334
19335 2005-07-06  Wim Taymans  <wim@fluendo.com>
19336
19337         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
19338         Implement the fixate function.
19339         Clean up acceptcaps.
19340
19341 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19342
19343         * docs/pwg/building-filterfactory.xml:
19344         * docs/pwg/pwg.xml:
19345           Remove never-written filter-factory chapter; I'll add the various
19346           base classes to part 4 ("other element types") later on.
19347
19348 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19349
19350         * docs/pwg/advanced-negotiation.xml:
19351         * docs/pwg/building-boiler.xml:
19352         * docs/pwg/building-pads.xml:
19353         * docs/pwg/pwg.xml:
19354         * examples/pwg/Makefile.am:
19355           Add a chapter on caps negotiation, simplify the original code
19356           samples a bit w.r.t. caps negotiation, add link to the advanced
19357           section. Add a bunch of examples showing different use cases of
19358           different types of caps negotiation. Upstream renegotiation isn't
19359           fully documented yet since nobody knows how that works.
19360
19361 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19362
19363         * check/gst/gstpad.c:
19364         * check/gstcheck.c:
19365         * gst/gstpad.c: (gst_pad_get_internal_links_default):
19366           if pad has no parent, return NULL as list of internal links
19367
19368 2005-07-05  Andy Wingo  <wingo@pobox.com>
19369
19370         * gst/elements/gstfilesrc.c:
19371         * gst/elements/gstfakesrc.c: 
19372         * gst/base/gstpushsrc.c:
19373         * gst/base/gstbasesrc.h: 
19374         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
19375         
19376 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
19377
19378         * Makefile.am:
19379           better report generation target (lcov needs a patch)
19380
19381 2005-07-05  Andy Wingo  <wingo@pobox.com>
19382
19383         * gst/elements, testsuite: Null if we got it...
19384
19385 2005-07-05  Wim Taymans  <wim@fluendo.com>
19386
19387         * configure.ac:
19388         * libs/gst/dataprotocol/Makefile.am:
19389         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
19390         * libs/gst/dataprotocol/dataprotocol.h:
19391         * pkgconfig/Makefile.am:
19392         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
19393         * pkgconfig/gstreamer-dataprotocol.pc.in:
19394         Ported dataprotol to 0.9. 
19395         Added pkgconfig files.
19396
19397 2005-07-05  Andy Wingo  <wingo@pobox.com>
19398
19399         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
19400         Default to returning TRUE for the case when tranform_caps returns
19401         a fixed caps, like for identity or volume.
19402
19403         * check/gst/gstbus.c (pound_bus_with_messages): 
19404         * check/gst/gstmessage.c (START_TEST): 
19405         * check/pipelines/simple_launch_lines.c (got_handoff): Application
19406         message API change.
19407
19408         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
19409         logic weaks here: always run transform_caps, trying passthrough
19410         operation only if the original caps intersects with the transform.
19411
19412         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
19413         source and sink caps.
19414
19415         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
19416         Intersect the peer caps with the pad template before going into
19417         transform_caps.
19418         (gst_base_transform_transform_caps): More debugging.
19419
19420         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
19421         src argument.
19422
19423 2005-07-04  Edward Hervey  <edward@fluendo.com>
19424
19425         * gst/gstutils.c:
19426         * gst/gstutils.h:
19427         (gst_pad_add_*_probe): now returns the signal id for better wrapping
19428         in bindings.
19429
19430 2005-07-04  Andy Wingo  <wingo@pobox.com>
19431
19432         * check/gst/gstpad.c: Only set explicit caps on pads.
19433
19434 2005-07-01  Andy Wingo  <wingo@pobox.com>
19435
19436         * tests/network-clock.scm: Commentary update.
19437
19438         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
19439         Didn't really make sense, not implementable with basetransform,
19440         etc.
19441         (gst_identity_transform): Unref inbuf via make_writable. Feeble
19442         attempt at implementing the sync property, needs an unlock method.
19443
19444         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
19445         New func, by default returns the same caps (the identity
19446         transformation).
19447         (gst_base_transform_getcaps): Uses transform_caps to return
19448         something sensible.
19449         (gst_base_transform_setcaps): Complicated logic to get caps on
19450         both pads, even if they are different, and to call set_caps once
19451         for every time both pads get their caps set.
19452         (gst_base_transform_handle_buffer): Give the ref to the transform
19453         function. Allows in-place modification of the buffer.
19454
19455         * gst/base/gstbasetransform.h (transform_caps): New class method.
19456         Given caps on one side, what can I do on the other.
19457         (set_caps): Take two caps, one for each side of the element.
19458
19459         * gst/gstpad.h:
19460         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
19461         caps in place. This is safe because we can check the mutability of
19462         the caps, and a good idea because fixate functions are just called
19463         as a matter of last resort. (Not actually implemented.)
19464         (gst_pad_set_caps): If the caps we're setting is actually the same
19465         as the existing pad caps, just update the pointer without calling
19466         setcaps. Assert that caps is either NULL or fixed, as per the
19467         docs.
19468
19469         * gst/gstghostpad.c: Update for fixate changes.
19470
19471 2005-07-02  Andy Wingo  <wingo@pobox.com>
19472
19473         * gst/gstcaps.c:
19474         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
19475         two refcounts makes it immutable, which is enough. Doc more.
19476
19477 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
19478
19479         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
19480           Put the mini_object into GValue as a mini_object,
19481           not a gpointer, since that's how we declared
19482           the signal.
19483
19484 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19485
19486         * examples/pwg/Makefile.am:
19487           Fix buildbot again.
19488
19489 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19490
19491         * docs/pwg/building-testapp.xml:
19492           Add extra check.
19493         * examples/pwg/Makefile.am:
19494           Fix buildbot.
19495
19496 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19497
19498         * configure.ac:
19499         * examples/Makefile.am:
19500         * examples/pwg/Makefile.am:
19501         * examples/pwg/extract.pl:
19502           Enable building the PWG examples.
19503         * docs/pwg/advanced-interfaces.xml:
19504           Add URI interface stub.
19505         * docs/pwg/advanced-types.xml:
19506         * docs/pwg/other-autoplugger.xml:
19507         * docs/pwg/appendix-porting.xml:
19508         * docs/pwg/pwg.xml:
19509           Add porting guide (mostly stubs), remove autoplugging (see ADM).
19510         * docs/pwg/building-boiler.xml:
19511         * docs/pwg/building-chainfn.xml:
19512         * docs/pwg/building-pads.xml:
19513         * docs/pwg/building-props.xml:
19514         * docs/pwg/building-state.xml:
19515         * docs/pwg/building-testapp.xml:
19516           Update the building-*.xml parts for 0.9 changes. All examples
19517           code blocks compile in examples/pwg/*.
19518
19519 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19520
19521         * docs/manual/advanced-autoplugging.xml:
19522         * docs/manual/appendix-checklist.xml:
19523         * docs/manual/appendix-integration.xml:
19524         * docs/manual/highlevel-components.xml:
19525           Fix playbin/decodebin examples, update docs a bit, mention bus
19526           instead of signals in various places, mention kmplayer and
19527           kaffeine since they have a working GStreamer backend in the KDE
19528           section.
19529
19530 2005-06-30  Wim Taymans  <wim@fluendo.com>
19531
19532         * CHANGES-0.9:
19533         * docs/design/draft-ghostpads.txt:
19534         * docs/design/draft-push-pull.txt:
19535         * docs/design/draft-query.txt:
19536         * docs/design/part-TODO.txt:
19537         * docs/design/part-query.txt:
19538         Added CHANGES-0.9 doc, updated status of other docs.
19539         
19540         * gst/gstquery.h:
19541         Remove "hmm" macro
19542
19543 2005-06-30  Wim Taymans  <wim@fluendo.com>
19544
19545         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19546         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19547         (gst_base_sink_change_state):
19548         * gst/base/gstbasesink.h:
19549         Some tweaks, only EOS and a buffer complete a preroll.
19550
19551 2005-06-30  Andy Wingo  <wingo@pobox.com>
19552
19553         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
19554         activate_push down to the internal pad as well.
19555
19556 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
19557
19558         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19559
19560         * gst/gsttaginterface.c:
19561           Some documentation fixes (#307394 and #307397).
19562
19563 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
19564
19565         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19566
19567         * gst/gstvalue.c: (gst_value_intersect_list):
19568           Fix memleak (#309125).
19569
19570 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19571
19572         * docs/manual/advanced-dataaccess.xml:
19573           Fix fakesrc example to compile; doesn't work, bug somewhere...?
19574         * docs/manual/basics-pads.xml:
19575           Add reference for filtered caps to above chapter.
19576
19577 2005-06-30  Wim Taymans  <wim@fluendo.com>
19578
19579         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
19580         (gst_bin_change_state):
19581         Probes are gone.
19582         Lame attempt at making the state change function a bit
19583         more readable.
19584
19585 2005-06-30  Wim Taymans  <wim@fluendo.com>
19586
19587         * docs/design/part-clocks.txt:
19588         * docs/design/part-element-sink.txt:
19589         * docs/design/part-events.txt:
19590         * docs/design/part-preroll.txt:
19591         * docs/design/part-states.txt:
19592         Some more tweeks and additions to the docs.
19593
19594 2005-06-30  Wim Taymans  <wim@fluendo.com>
19595
19596         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19597         (default_have_data), (gst_pad_class_init), (gst_pad_init),
19598         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19599         (gst_pad_check_pull_range), (gst_pad_get_range),
19600         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
19601         * gst/gstpad.h:
19602         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
19603         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19604         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19605         (gst_pad_remove_buffer_probe):
19606         Removed atomic operations, use existing LOCK.
19607         Move exception handling out of main code path.
19608
19609 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19610
19611         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19612         (silly_return_true_function), (gst_pad_class_init),
19613         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19614         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
19615         (gst_pad_send_event):
19616           Fix accumulator, add default value by using _emitv() instead
19617           of _emit() for signal emission.
19618
19619 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19620
19621         * docs/manual/advanced-dataaccess.xml:
19622         * examples/manual/Makefile.am:
19623           Add probe example.
19624         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
19625           Make work (??).
19626
19627 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
19628
19629         * gst/elements/gstfilesink.c: (gst_filesink_render):
19630           Simplify code so that we don't have to handle short
19631           writes and return GST_FLOW_ERROR if an error occured.
19632
19633 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19634
19635         * docs/gst/gstreamer-docs.sgml:
19636           Remove probes more.
19637
19638 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19639
19640         * docs/gst/gstreamer-sections.txt:
19641         * docs/gst/tmpl/gstpad.sgml:
19642         * docs/gst/tmpl/gstprobe.sgml:
19643         * gst/Makefile.am:
19644         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19645         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
19646         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
19647         (gst_pad_push_event), (gst_pad_send_event):
19648         * gst/gstpad.h:
19649         * gst/gstutils.c: (gst_pad_add_data_probe),
19650         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19651         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19652         (gst_pad_remove_buffer_probe):
19653         * gst/gstutils.h:
19654           Remove old probes, add new g-signal-based probes and some utility
19655           functions.
19656
19657 2005-06-29  Edward Hervey  <edward@fluendo.com>
19658
19659         * gst/gstelementfactory.c:
19660         * gst/gstutils.h:
19661         * gst/gstutils.c:
19662         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
19663         the definition to the header file.
19664
19665 2005-06-29  Andy Wingo  <wingo@pobox.com>
19666
19667         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
19668         plugins from the source directory.
19669
19670 2005-06-29  Wim Taymans  <wim@fluendo.com>
19671
19672         * docs/gst/tmpl/gstbuffer.sgml:
19673         * docs/gst/tmpl/gstclock.sgml:
19674         Some fixings for blantently wrong text.
19675
19676 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19677
19678         * check/Makefile.am:
19679         * gst/gst.c: (add_path_func), (init_pre):
19680         * gst/gstregistry.c: (gst_registry_add_path):
19681           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
19682           only scan the GST_PLUGIN_PATH locations, and not add
19683           system locations
19684
19685 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19686
19687         * docs/gst/gstreamer-sections.txt:
19688         * docs/gst/tmpl/gstbasesrc.sgml:
19689         * gst/gstelement.c:
19690         * gst/gstelement.h:
19691         * gst/gstevent.c:
19692         * gst/gstutils.c:
19693           doc fixes
19694
19695 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19696
19697         * docs/manual/advanced-autoplugging.xml:
19698           Fix autoplugging example.
19699
19700 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19701
19702         * docs/manual/advanced-autoplugging.xml:
19703         * docs/manual/mime-world.fig:
19704           Try to get autoplugging working, fix type detection. Fix text
19705           in hello-world image.
19706
19707 2005-06-29  Wim Taymans  <wim@fluendo.com>
19708
19709         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19710         (gst_base_sink_change_state):
19711         Small debug line.
19712
19713         * gst/gstclock.h:
19714         map SIGNAL and BROADCAST to the right function.
19715
19716         * gst/gstobject.h:
19717         Remove redundant braces.
19718
19719         * gst/gstpad.c: (gst_pad_set_caps):
19720         Don't call setcaps function when reseting caps to NULL.
19721
19722         * gst/gstsystemclock.c: (gst_system_clock_dispose),
19723         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
19724         (gst_system_clock_id_unschedule):
19725         Use BROADCAST as this is what we do.
19726
19727 2005-06-29  Wim Taymans  <wim@fluendo.com>
19728
19729         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19730         We are actually prerolling before commiting the state
19731         change. 
19732
19733 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19734
19735         * docs/manual/advanced-clocks.xml:
19736         * docs/manual/advanced-interfaces.xml:
19737         * docs/manual/advanced-metadata.xml:
19738         * docs/manual/advanced-position.xml:
19739         * docs/manual/advanced-schedulers.xml:
19740         * docs/manual/advanced-threads.xml:
19741         * docs/manual/appendix-porting.xml:
19742         * docs/manual/basics-bins.xml:
19743         * docs/manual/basics-bus.xml:
19744         * docs/manual/basics-elements.xml:
19745         * docs/manual/basics-helloworld.xml:
19746         * docs/manual/basics-pads.xml:
19747         * docs/manual/highlevel-components.xml:
19748         * docs/manual/manual.xml:
19749         * docs/manual/thread.fig:
19750           Update (until threads/scheduling) Application Development Manual;
19751           remove GstThread, add GstBus, add simple porting checklist, add
19752           documentation for tag writing, clocks, make all examples until this
19753           part compile and run.
19754         * examples/manual/Makefile.am:
19755           Update from changes to Application Development Manual; add bus
19756           example, remove thread example.
19757
19758 2005-06-28  Wim Taymans  <wim@fluendo.com>
19759
19760         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
19761         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
19762         (gst_bus_source_dispatch):
19763         Add debugging messages.
19764         Make internal methods static.
19765         Handle the case where the bus is flushed in the handler.
19766         
19767         * gst/gstelement.c: (gst_element_get_bus):
19768         Fix refcount in _get_bus();
19769
19770         * gst/gstpipeline.c: (gst_pipeline_change_state),
19771         (gst_pipeline_get_clock_func):
19772         Clock refcounting fixes.
19773         Handle the case where preroll timed out more gracefully.
19774         
19775         * gst/gstsystemclock.c: (gst_system_clock_dispose):
19776         Clean up the internal thread in dispose. This is needed
19777         for subclasses that actually get disposed.
19778         
19779         * gst/schedulers/threadscheduler.c:
19780         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19781         (gst_thread_scheduler_dispose):
19782         Free thread pool in dispose.
19783
19784 2005-06-28  Andy Wingo  <wingo@pobox.com>
19785
19786         * tests/network-clock-utils.scm (debug, print-event): New utils.
19787
19788         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
19789         (*packet-loss*): Unified loss probability.
19790         (network-time): Report out-of-band events.
19791
19792         * tests/plot-data: Add support for out-of-band events. Hack it
19793         into this script instead of passing it down the pipe; should fix
19794         this later.
19795
19796 2005-06-28  Wim Taymans  <wim@fluendo.com>
19797
19798         * docs/gst/gstreamer.types:
19799         * docs/gst/tmpl/gstbasesrc.sgml:
19800         * docs/gst/tmpl/gstpad.sgml:
19801         Docs fixes.
19802
19803 2005-06-28  Wim Taymans  <wim@fluendo.com>
19804
19805         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19806         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
19807         (gst_proxy_pad_do_fixatecaps):
19808         Correctly proxy the check_pull_range function.
19809
19810 2005-06-28  Andy Wingo  <wingo@pobox.com>
19811
19812         * tests/network-clock.scm: Removed need for slib.
19813         
19814 2005-06-28  Wim Taymans  <wim@fluendo.com>
19815
19816         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
19817         (gst_basesink_preroll_queue_flush):
19818         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
19819         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
19820         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19821         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
19822         (gst_proxy_pad_set_property):
19823         * gst/gstpad.c:
19824         * gst/gstpad.h:
19825         * gst/gstqueue.c: (gst_queue_init):
19826         The deprecated pad loop function is removed now.
19827
19828 2005-06-28  Andy Wingo  <wingo@pobox.com>
19829
19830         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
19831         New parameters, simulate network packet loss.
19832
19833         * tests/network-clock-utils.scm: Initialize the RNG.
19834
19835 2005-06-28  Wim Taymans  <wim@fluendo.com>
19836
19837         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
19838         (gst_basesink_event), (gst_basesink_deactivate):
19839         Flushing the preroll queue always needs to unlock the waiters.
19840
19841 2005-06-28  Edward Hervey  <edward@fluendo.com>
19842
19843         * gst/gstpipeline.c: (gst_pipeline_send_event): 
19844         Wheen a seek was successful on a pipeline, set the stream_time to the
19845         seek offset in order to have a synchronized stream_time.
19846
19847 2005-06-28  Wim Taymans  <wim@fluendo.com>
19848
19849         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19850         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
19851         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
19852         (gst_proxy_pad_do_fixatecaps):
19853         Call wrapper function instead of just calling the function
19854         pointers. This takes care of any locking and whatmore.
19855
19856 2005-06-28  Wim Taymans  <wim@fluendo.com>
19857
19858         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
19859         (gst_pad_pull_range):
19860         * gst/gstpad.h:
19861         CONNECTED -> LINKED.
19862
19863 2005-06-28  Andy Wingo  <wingo@pobox.com>
19864
19865         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
19866         source-munging commit!!!
19867
19868         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
19869         (gst_object_sink): Take gpointer arguments, not GstObject --
19870         avoids casts. Like GLib.
19871
19872         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
19873         activate.
19874
19875 2005-06-27  Andy Wingo  <wingo@pobox.com>
19876
19877         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
19878         remaining buffer.
19879
19880         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
19881         returns a sorted copy of the trace list.
19882         (gst_alloc_trace_print_live): New API, only prints traces with
19883         live objects. Sort the list.
19884         (gst_alloc_trace_print_all): Sort the list.
19885         (gst_alloc_trace_print): Align columns.
19886
19887         * gst/elements/gstttypefindelement.c:
19888         * gst/elements/gsttee.c:
19889         * gst/base/gstbasesrc.c:
19890         * gst/base/gstbasesink.c:
19891         * gst/base/gstbasetransform.c:
19892         * gst/gstqueue.c: Adapt for pad activation changes.
19893
19894         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
19895         sched.
19896         (gst_pipeline_dispose): Drop ref on sched.
19897
19898         * gst/gstpad.c (gst_pad_init): Set the default activate func.
19899         (gst_pad_activate_default): Push mode by default.
19900         (pre_activate_switch, post_activate_switch): New stubs, things to
19901         do before and after switching activation modes on pads.
19902         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
19903         the pad's activate function to choose which mode to activate.
19904         Shortcut on deactivation and call the right function directly.
19905         (gst_pad_activate_pull): New API, (de)activates a pad in pull
19906         mode.
19907         (gst_pad_activate_push): New API, same for push mode.
19908         (gst_pad_set_activate_function) 
19909         (gst_pad_set_activatepull_function) 
19910         (gst_pad_set_activatepush_function): Setters for new API.
19911
19912         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
19913         Trace all miniobjects.
19914         (gst_mini_object_make_writable): Unref the arg if we copy, like
19915         gst_caps_make_writable.
19916
19917         * gst/gstmessage.c (_gst_message_initialize): No trace init.
19918
19919         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
19920         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
19921         Adapt for new pad API.
19922
19923         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
19924
19925         * gst/gstelement.h:
19926         * gst/gstelement.c (gst_element_iterate_src_pads) 
19927         (gst_element_iterate_sink_pads): New API functions.
19928         
19929         * gst/gstelement.c (iterator_fold_with_resync): New utility,
19930         should fold into gstiterator.c in some form.
19931         (gst_element_pads_activate): Simplified via use of fold and
19932         delegation of decisions to gstpad->activate.
19933
19934         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
19935         help in debugging.
19936
19937         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
19938         class once in init, like gstmessage. Didn't run into this issue
19939         but it seems correct. Don't initialize a trace, gstminiobject does
19940         that.
19941
19942         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
19943         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
19944         to the bus.
19945         (assert_live_count): New util function, uses alloc traces to check
19946         cleanup.
19947
19948         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
19949         To be modified when unlink drops the internal pad.
19950
19951 2005-06-27  Wim Taymans  <wim@fluendo.com>
19952
19953         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
19954         (gst_bin_change_state):
19955         Cleanup the get_state() function a little, make sure it
19956         iterates the same set of elements.
19957         Added stub iterate_state_order().
19958
19959 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19960
19961         * docs/gst/gstreamer-docs.sgml:
19962         * docs/gst/gstreamer-sections.txt:
19963         * docs/gst/gstreamer.types:
19964         * docs/gst/tmpl/gstbasesink.sgml:
19965         * docs/gst/tmpl/gstbasesrc.sgml:
19966         * docs/gst/tmpl/gstbasetransform.sgml:
19967         * docs/gst/tmpl/gstelement.sgml:
19968         * docs/gst/tmpl/gstiterator.sgml:
19969         * gst/base/gstbasesrc.c:
19970         * gst/base/gstbasesrc.h:
19971         * gst/base/gstbasetransform.h:
19972         * gst/gstelement.c:
19973         * gst/gstiterator.h:
19974           adding basetransform and iterator docs
19975
19976 2005-06-27  Andy Wingo  <wingo@pobox.com>
19977
19978         * docs/design/part-activation.txt: Notes on how activation should
19979         work -- not quite implemented yet.
19980
19981 2005-06-25  Wim Taymans  <wim@fluendo.com>
19982
19983         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
19984         At least get the chain function correct, needs more
19985         fixing.
19986
19987 2005-06-25  Wim Taymans  <wim@fluendo.com>
19988
19989         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
19990         (gst_basesink_handle_object), (gst_basesink_event),
19991         (gst_basesink_do_sync), (gst_basesink_handle_event),
19992         (gst_basesink_change_state):
19993         * gst/gsttask.h:
19994         Right, two problems here: ghostpads don't take locks and
19995         glib _rec_mutex_lock_full() with depth==0 still locks.
19996         Catch illegal locking and g_warn them.
19997
19998 2005-06-25  Wim Taymans  <wim@fluendo.com>
19999
20000         * check/states/sinks.c: (START_TEST), (gst_object_suite):
20001         Have to check for completion now...
20002
20003 2005-06-25  Wim Taymans  <wim@fluendo.com>
20004
20005         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20006         (gst_basesink_handle_object), (gst_basesink_event),
20007         (gst_basesink_do_sync), (gst_basesink_handle_event),
20008         (gst_basesink_change_state):
20009         * gst/gstpad.h:
20010         Unlock STREAM_LOCK whatever the recursion was.
20011
20012 2005-06-25  Wim Taymans  <wim@fluendo.com>
20013
20014         * gst/base/gstbasesink.c: (gst_basesink_set_property),
20015         (gst_basesink_preroll_queue_empty),
20016         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
20017         (gst_basesink_event), (gst_basesink_do_sync),
20018         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
20019         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
20020         (gst_basesink_change_state):
20021         Reworked the base sink, handle event and buffer serialisation
20022         correctly and removed possible deadlock.
20023         Handle EOS correctly.
20024
20025 2005-06-25  Wim Taymans  <wim@fluendo.com>
20026
20027         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
20028         (gst_pipeline_change_state):
20029         * tools/gst-launch.c: (check_intr), (event_loop), (main):
20030         Allow elements to post EOS in the state change function.
20031         Fix up -launch, make it exit the poll loop when the
20032         pipeline actually changed state.
20033         Fix up warning parsing in -launch.
20034
20035 2005-06-25  Wim Taymans  <wim@fluendo.com>
20036
20037         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
20038         (gst_tee_sink_activate):
20039         Core takes STREAM_LOCK for us now.
20040
20041 2005-06-25  Wim Taymans  <wim@fluendo.com>
20042
20043         * gst/gstelement.c: (gst_element_get_state_func),
20044         (gst_element_set_state):
20045         * gst/gstelement.h:
20046         * gst/gstmessage.c: (gst_message_parse_error),
20047         (gst_message_parse_warning):
20048         Keep track of current target state while performing a state
20049         change so that subclasses can do something interesting.
20050         Fix parsing of warning/error messages when GError is NULL.
20051
20052 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20053
20054         * docs/gst/Makefile.am:
20055         * docs/gst/gstreamer-docs.sgml:
20056         * docs/gst/gstreamer-sections.txt:
20057         * docs/gst/gstreamer.types:
20058         * docs/gst/tmpl/gstbasesink.sgml:
20059         * docs/gst/tmpl/gstbasesrc.sgml:
20060         * docs/gst/tmpl/gstbin.sgml:
20061         * docs/gst/tmpl/gstcompat.sgml:
20062         * docs/gst/tmpl/gstfakesink.sgml:
20063         * docs/gst/tmpl/gstfakesrc.sgml:
20064         * docs/gst/tmpl/gstfilesink.sgml:
20065         * docs/gst/tmpl/gstfilesrc.sgml:
20066         * docs/gst/tmpl/gstindex.sgml:
20067         * docs/manual/appendix-quotes.xml:
20068         * gst/base/gstbasesrc.h:
20069         * gst/elements/gstfakesrc.h:
20070         * gst/gstmessage.h:
20071           start pulling in base classes and elements in our docs
20072
20073 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
20074
20075         * docs/gst/Makefile.am:
20076         * docs/libs/Makefile.am:
20077           fixed make distcheck with gtk-doc 1.3
20078
20079 2005-06-23  Wim Taymans  <wim@fluendo.com>
20080
20081         * gst/gstelement.c: (gst_element_get_state_func),
20082         (gst_element_set_state), (gst_element_change_state):
20083         When the state did not change, also report NO_PREROLL
20084         when it matters.
20085
20086 2005-06-23  Wim Taymans  <wim@fluendo.com>
20087
20088         * gst/gstpad.c: (gst_pad_event_default):
20089         * gst/gstqueue.c: (gst_queue_loop):
20090         No unsafe task pausing please.
20091
20092 2005-06-23  Wim Taymans  <wim@fluendo.com>
20093
20094         * gst/schedulers/threadscheduler.c:
20095         (gst_thread_scheduler_task_start),
20096         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
20097         Ref the task before pushing it on the threadpool. This
20098         makes sure that we have a ref when the threadfunction is
20099         actually called.
20100
20101 2005-06-23  Andy Wingo  <wingo@pobox.com>
20102
20103         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
20104         offset is greater than the file's size.
20105
20106         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
20107         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
20108         * gst/gstobject.c (gst_object_class_init): Make the class lock
20109         recursive. Wim won't let me drop deep_notify. Decodebin works
20110         again, whoopdy doo.
20111
20112         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
20113         internal pad, and hacks accordingly. Doesn't do it on the target
20114         pad because we change its caps. Probably catches all cases of
20115         interest tho.
20116         (gst_ghost_pad_set_property): Connect to notify::caps as
20117         appropritate.
20118
20119         * tests/network-clock.scm (plot-simulation): Pipe data to the
20120         elite python skript.
20121
20122         * tests/network-clock-utils.scm (define-parameter): New macro,
20123         defines a parameter that can be set via the command line.
20124         (set-parameter!, parse-parameter-arguments): Command line args
20125         parser.
20126
20127         * tests/plot-data: Simple matplotlib-based plotter, takes input on
20128         stdin.
20129
20130 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
20131
20132         * gst/elements/gsttypefindelement.c:
20133         (gst_type_find_element_handle_event):
20134           Don't restart typefinding on a discont.
20135         * gst/gstelement.c: (gst_element_set_state):
20136           Debug spelling fix.
20137         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
20138           Allow changing mode of an active pad.
20139           Debug output fixes.
20140         * gst/registries/gstlibxmlregistry.c: (load_feature):
20141           Don't cast a static pad template to a normal pad template.
20142
20143 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20144
20145         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20146         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20147           remove gst_strtoll completely, since it didn't actually do
20148           anything more than what g_ascii_strtoull already does.
20149           check for range errors when deserializing
20150           do a cast for the unsigned cases; but further fixing needs
20151           a decision on what the interpretation of "(int)" and
20152           deserialization should be for values that fall outside the
20153           type's boundaries (ie, refuse, or interpret as casting)
20154
20155 2005-06-23  Wim Taymans  <wim@fluendo.com>
20156
20157         * check/Makefile.am:
20158         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
20159         * docs/design/part-live-source.txt:
20160         * docs/design/part-states.txt:
20161         * gst/base/gstbasesrc.c: (gst_basesrc_init),
20162         (gst_basesrc_set_live), (gst_basesrc_is_live),
20163         (gst_basesrc_get_range), (gst_basesrc_activate),
20164         (gst_basesrc_change_state):
20165         * gst/base/gstbasesrc.h:
20166         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20167         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
20168         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
20169         * gst/gstelement.c: (gst_element_get_state_func),
20170         (gst_element_set_state):
20171         * gst/gstelement.h:
20172         * gst/gsttypes.h:
20173         * tools/gst-launch.c: (event_loop), (main):
20174         Added support for live sources and other elements that
20175         cannot do preroll.
20176         Updated design docs, added live-source design doc.
20177         Implemented live source functionality in basesrc
20178         Fix error condition in _bin_get_state()
20179         Implement live source handling in -launch.
20180         Added check for live sources.
20181         Fixed case in GstBin where elements were changed state
20182         multiple times.
20183
20184
20185 2005-06-23  Andy Wingo  <wingo@pobox.com>
20186
20187         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
20188         borken refcounting.
20189
20190         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
20191         gst_caps_replace takes care of this for us.
20192
20193         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
20194         gst_pad_set_caps on the target, not just its setcaps() function.
20195
20196         * tests/network-clock.scm: 
20197         * tests/network-clock-utils.scm: A network clock simulator.
20198         Something of an algorithmic testbed before doing something in C.
20199
20200 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20201
20202         * check/Makefile.am:
20203         * check/gst/capslist.h:
20204           copy over from 0.8, and add two with bitmasks specified with
20205           (int) 0xFF...
20206         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20207           add test to parse everything from capslist.h
20208         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
20209         (main):
20210           add test for structure deserialization
20211         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20212           add tests for deserialization of strings to int types
20213         * gst/gststructure.c: (gst_structure_nth_field_name):
20214         * gst/gststructure.h:
20215           add a way to get the name of a field referenced by index
20216         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20217           instead of checking if the resulting long long lies between
20218           min and max, we check if the long long would fit into
20219           a number of bytes for the final type.
20220           This fixes cases where a string represents 2^32 - 1, which
20221           when cast to int would be the (valid) -1, but is bigger than
20222           G_MAXINT
20223
20224 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20225
20226         * gst/parse/grammar.y:
20227           add a log line for type deserialization
20228
20229 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20230
20231         * check/gst/gstvalue.c: (START_TEST):
20232         * gst/gstvalue.c: (gst_value_deserialize):
20233           return long long, not int, so gint64 deserialization actually
20234           works.  Is there any flag that makes the compiler check this ?
20235           Fixes #308559
20236
20237 2005-06-22  Wim Taymans  <wim@fluendo.com>
20238
20239         * gst/gstbuffer.h:
20240         Added convenience macros for setting buffers in GValue.
20241
20242 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20243
20244         * check/gst/.cvsignore:
20245         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20246           add a test deserializing int64, and comment part out because
20247           it fails, yay !
20248
20249 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20250
20251         * check/Makefile.am:
20252         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
20253         * testsuite/Makefile.am:
20254         * testsuite/caps/Makefile.am:
20255         * testsuite/caps/value_serialize.c:
20256         * testsuite/test_gst_init.c:
20257           move a value_serialize test over
20258
20259 2005-06-20  Wim Taymans  <wim@fluendo.com>
20260
20261         * gst/gstpad.c:
20262         Small doc updates.
20263         
20264         * gst/gstvalue.c: (gst_value_compare_buffer),
20265         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
20266         (gst_value_compare_flags), (gst_value_serialize_flags),
20267         (gst_value_deserialize_flags), (_gst_value_initialize):
20268         Fix serialisation of buffers, they are not boxed types anymore
20269
20270 2005-06-20  Wim Taymans  <wim@fluendo.com>
20271
20272         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20273         Testcase to show error in buffer-on-caps serialisation.
20274
20275 2005-06-20  Andy Wingo  <wingo@pobox.com>
20276
20277         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
20278         will be adding to later.
20279
20280         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
20281         if its socks fill with rocks.
20282         (gst_system_clock_obtain): Set the name on object construction.
20283         Avoid double-checked locking.
20284
20285 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
20286
20287         * gst/gsturi.c: (gst_element_make_from_uri):
20288           Fix potential endless loop.
20289
20290 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20291
20292         * check/Makefile.am:
20293           add gsttag
20294         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
20295         (main):
20296           move over from testsuite dir and clean up
20297         * configure.ac:
20298         * gst/gsttag.c:
20299         * testsuite/Makefile.am:
20300         * testsuite/tags/.cvsignore:
20301         * testsuite/tags/Makefile.am:
20302         * testsuite/tags/merge.c:
20303           remove testsuite/tags
20304
20305 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20306
20307         * docs/gst/gstreamer-sections.txt:
20308         * docs/gst/tmpl/gstenumtypes.sgml:
20309         * win32/gstenumtypes.c:
20310           clean up documentation build a little
20311
20312 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20313
20314         * check/gstcheck.h:
20315           add macros for checking refcounts on objects and caps
20316         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
20317           add some more unit tests
20318         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20319         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
20320           fix leaked refcounts (I hope :)) so unittest works
20321         * gst/gstpad.h:
20322           whitespace removal
20323
20324 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20325
20326         * configure.ac: back to HEAD
20327
20328 === release 0.9.1 ===
20329
20330 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20331
20332         * NEWS:
20333         * RELEASE:
20334           updated
20335
20336 2005-06-17  Andy Wingo  <wingo@pobox.com>
20337
20338         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
20339         assert; it's always possible that the pad gets deactivated in
20340         between the checks in gstpad.c and the implementation. Rely on
20341         finish_preroll() to return a FLUSHING or similar instead of on the
20342         assert.
20343         
20344         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
20345         clock and post an EOS message if we come out of finish_preroll in
20346         the playing state.
20347
20348 2005-06-16  David Schleef  <ds@schleef.org>
20349
20350         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20351         (gst_capsfilter_set_property): Allow NULL as possible value
20352         for filter_caps property, indicating GST_CAPS_ANY.
20353
20354 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20355
20356         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
20357           fix debug output
20358         * gst/schedulers/Makefile.am:
20359           use libgst prefix
20360         * gstreamer.spec.in:
20361           fix spec for it
20362
20363 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20364
20365         * gstreamer.spec.in:
20366           clean up
20367
20368 2005-06-08  Andy Wingo  <wingo@pobox.com>
20369
20370         * gst/gstutils.c: RPAD fixes all around.
20371         (gst_element_link_pads): Refcounting fixes.
20372
20373         * tools/gst-inspect.c:
20374         * tools/gst-xmlinspect.c:
20375         * parse/grammar.y:
20376         * gst/base/gsttypefindhelper.c:
20377         * gst/base/gstbasesink.c:
20378         * gst/gstqueue.c: RPAD fixes.
20379
20380         * gst/gstghostpad.h:
20381         * gst/gstghostpad.c: New ghost pad implementation as full proxy
20382         pads. The tricky thing is they provide both source and sink
20383         interfaces, since they proxy the internal pad for the external
20384         pad, and vice versa. Implement with lower-level ProxyPad objects,
20385         with the interior proxy pad as a child of the exterior ghost pad.
20386         Should write a doc on this.
20387         
20388         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
20389         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
20390         gst_object API.
20391         
20392         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
20393         pads are real pads. No ghost pads in this file. Not documenting
20394         the myriad s/RPAD/PAD/ and REALIZE fixes.
20395         (gst_pad_class_init): Add properties for "direction" and
20396         "template". Both are construct-only, so they can't change during
20397         the life of the pad. Fixes properly deriving from GstPad.
20398         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
20399         derived objects, just set properties when creating the objects via
20400         g_object_new.
20401         (gst_pad_get_parent): Implement as a function, return NULL if the
20402         parent is not an element.
20403         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
20404         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
20405         
20406         * gst/gstobject.c (gst_object_class_init): Make name a construct
20407         property. Don't set it in the object init.
20408
20409         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
20410         with UNKNOWN direction.
20411         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
20412         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
20413         (gst_element_remove_pad): Remove ghost-pad special cases.
20414         (gst_element_pads_activate): Remove rpad cruft.
20415
20416         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
20417         catch the pad's-parent-not-an-element case.
20418
20419         * gst/gst.h: Include gstghostpad.h.
20420
20421         * gst/gst.c (init_post): No more real, ghost pads.
20422
20423         * gst/Makefile.am: Add gstghostpad.[ch].
20424
20425         * check/Makefile.am:
20426         * check/gst/gstbin.c:
20427         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
20428         into a bin creates ghost pads, and that the refcounts are right.
20429         Partly moved from gstbin.c.
20430
20431 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20432
20433         * check/gst-libs/.cvsignore:
20434         * check/gst/.cvsignore:
20435         * check/pipelines/.cvsignore:
20436           ignore more
20437         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
20438         (START_TEST), (cleanup_suite), (main):
20439           add some tests related to cleanup after running pipelines
20440
20441 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20442
20443         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
20444           add a testsuite for GstBuffer
20445
20446 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20447
20448         * gst/gstminiobject.h:
20449           add defines for accessing the refcount
20450
20451 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
20452
20453         * Makefile.am: added support for html unit test coverage reports
20454
20455 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
20456
20457         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20458           Free existing caps if the capsfilter changes. Add a FIXME about
20459           setting those caps on the pads.
20460
20461         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
20462           Before adding a ghost pad to a parent bin, check that there isn't
20463           already one for the element on the bin. Prevents infinite recursion
20464           when using decodebin in parse pipelines. Andy says he'll rewrite the
20465           way this works anyway, so ignore the hack.
20466
20467 2005-06-02  Andy Wingo  <wingo@pobox.com>
20468
20469         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
20470         file size, pass it on to the type find helper.
20471
20472         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
20473         segment_start and segment_end properly according to the seek
20474         method. Segment_end is still a bit flaky because offset can be
20475         negative for CUR and END cases, but it takes -1 as an "unset"
20476         value.
20477
20478 2005-06-02  Wim Taymans  <wim@fluendo.com>
20479
20480         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
20481         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
20482         (gst_basesink_activate):
20483         * gst/base/gstbasesink.h:
20484         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20485         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20486         (gst_pad_query), (gst_pad_start_task):
20487         * gst/gstpad.h:
20488         * gst/gstqueue.c: (gst_queue_bufferalloc),
20489         (gst_queue_handle_sink_event), (gst_queue_chain):
20490         Bufferalloc: return GstFlowReturn to more accuratly report
20491         why allocation failed.
20492
20493 2005-06-02  Wim Taymans  <wim@fluendo.com>
20494
20495         * gst/gstpipeline.c: (gst_pipeline_send_event):
20496         Take snapshot of state without blocking.
20497
20498 2005-06-02  Wim Taymans  <wim@fluendo.com>
20499
20500         * docs/design/part-TODO.txt:
20501         * docs/design/part-caps.txt:
20502         * docs/design/part-clocks.txt:
20503         * docs/design/part-negotiation.txt:
20504         * docs/design/part-preroll.txt:
20505         Small doc updates 
20506
20507 2005-05-30  Wim Taymans  <wim@fluendo.com>
20508
20509         * gst/elements/gstidentity.c: (gst_identity_event),
20510         (gst_identity_transform), (gst_identity_get_property):
20511         Protect last_message property as it is accessed from
20512         multiple threads.
20513
20514 2005-05-30  Wim Taymans  <wim@fluendo.com>
20515
20516         * gst/gstelement.c: (gst_element_init),
20517         (gst_element_pads_activate), (gst_element_change_state):
20518         Slicker pad activation code.
20519
20520 2005-05-30  Wim Taymans  <wim@fluendo.com>
20521
20522         * gst/Makefile.am:
20523         * gst/gstelement.h:
20524         * gst/gstelementfactory.h:
20525         * gst/gsttypes.h:
20526         Move elementfactory methods to separate .h file.
20527
20528 2005-05-30  Wim Taymans  <wim@fluendo.com>
20529
20530         * docs/design/part-overview.txt:
20531         * gst/gstsystemclock.h:
20532         Small typo fixes, doc updates.
20533
20534 2005-05-30  Wim Taymans  <wim@fluendo.com>
20535
20536         * gst/gst.c: (gst_init_get_popt_table), (init_post),
20537         (init_popt_callback):
20538         Remove cpu-opt flag.
20539
20540 2005-05-30  Wim Taymans  <wim@fluendo.com>
20541
20542         * gst/gstbuffer.c: (gst_subbuffer_finalize),
20543         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
20544         * gst/gstbuffer.h:
20545         Avoid typechecking in places where not needed.
20546         Added accessor for malloc_data.
20547
20548 2005-05-30  Wim Taymans  <wim@fluendo.com>
20549
20550         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
20551         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
20552         (gst_pad_configure_sink), (gst_pad_configure_src),
20553         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
20554         (gst_pad_start_task):
20555         Propagate errors from _set_caps() in configure_src/sink
20556         functions instead of returning TRUE.
20557         FLUSH events can travel up and downstream
20558
20559
20560 2005-05-30  Wim Taymans  <wim@fluendo.com>
20561
20562         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20563         (gst_basesink_activate):
20564         Handle EOS in preroll.
20565
20566 2005-05-30  Wim Taymans  <wim@fluendo.com>
20567
20568         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20569         (gst_queue_loop), (gst_queue_handle_src_event):
20570         Remove old pieces of code
20571         Flushing the queue in an upstream event is a very bad idea.
20572
20573 2005-05-26  Andy Wingo  <wingo@pobox.com>
20574
20575         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
20576         gst_value_set_mini_object so as to add a ref on the object (which
20577         will be removed when the value is unset).
20578
20579         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
20580         arg type in ::handoff.
20581
20582         * gst/gstelement.c (gst_element_change_state): Also deactivate
20583         pads in READY->NULL, just in case the element didn't make it to
20584         PAUSED. Wingo tested, Wim approved.
20585
20586 2005-05-26  Wim Taymans  <wim@fluendo.com>
20587
20588         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20589         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20590         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
20591         A flushing pad cannot be used to alloc_buffer from.
20592
20593 2005-05-26  Wim Taymans  <wim@fluendo.com>
20594
20595         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
20596         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
20597         (gst_bus_source_dispatch), (gst_bus_source_finalize),
20598         (gst_bus_create_watch), (gst_bus_add_watch_full):
20599         * gst/gstbus.h:
20600         Implement a real GSource and use g_main_context_wakeup() to
20601         signal new messages instead of the socketpair.
20602
20603 2005-05-25  Wim Taymans  <wim@fluendo.com>
20604
20605         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
20606         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
20607         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20608         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20609         (gst_pad_send_event), (gst_pad_start_task):
20610         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
20611         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20612         (gst_queue_sink_activate), (gst_queue_src_activate),
20613         (gst_queue_change_state):
20614         * gst/gstqueue.h:
20615         Fix state changes for non sinks. We now change sinks, then elements
20616         with unconnected srcpads, then the rest.
20617         More efficient queue unlocking in flush and state changes.
20618         Set the pad activate mode even if it does not have an activate
20619         function.
20620
20621 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20622
20623         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
20624           Don't go in pull mode for non-seekable sources.
20625         * gst/elements/gsttypefindelement.h:
20626         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
20627         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
20628         (free_entry), (stop_typefinding),
20629         (gst_type_find_element_handle_event), (find_peek),
20630         (gst_type_find_element_chain), (do_pull_typefind),
20631         (gst_type_find_element_change_state):
20632           Allow typefinding (w/o seeking) in push-mode, simplified version
20633           of what was in 0.8.
20634         * gst/gstutils.c: (gst_buffer_join):
20635         * gst/gstutils.h:
20636           gst_buffer_join() from 0.8.
20637
20638 2005-05-25  Wim Taymans  <wim@fluendo.com>
20639
20640         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20641         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20642         (gst_pad_send_event), (gst_pad_start_task):
20643         Disable attempt at mode switching until it is figured out.
20644
20645 2005-05-25  Wim Taymans  <wim@fluendo.com>
20646
20647         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
20648         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20649         (gst_basesink_finish_preroll), (gst_basesink_chain),
20650         (gst_basesink_loop), (gst_basesink_activate),
20651         (gst_basesink_change_state):
20652         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
20653         (gst_basesrc_get_range), (gst_basesrc_loop),
20654         (gst_basesrc_activate):
20655         * gst/elements/gsttee.c: (gst_tee_sink_activate):
20656         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20657         (gst_real_pad_init), (gst_real_pad_set_property),
20658         (gst_real_pad_get_property), (gst_pad_set_active),
20659         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
20660         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
20661         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
20662         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
20663         (gst_pad_event_default_dispatch), (gst_pad_event_default),
20664         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
20665         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
20666         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20667         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
20668         (gst_pad_stop_task):
20669         * gst/gstpad.h:
20670         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20671         (gst_queue_loop), (gst_queue_src_activate):
20672         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
20673         (gst_task_get_state):
20674         * gst/gsttask.h:
20675         * gst/schedulers/threadscheduler.c:
20676         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
20677         Implement gst_pad_pause/start/stop_task(), take STREAM lock
20678         in task function.
20679         Remove ACTIVE pad flag, use FLUSHING everywhere
20680         Added _pad_chain(), _pad_get_range() to call chain/getrange 
20681         functions.
20682         Add locks around IS_FLUSHING when reading.
20683         Take STREAM lock in chain(), get_range() functions so plugins
20684         don't need to take it anymore.
20685         
20686
20687
20688 2005-05-25  Wim Taymans  <wim@fluendo.com>
20689
20690         * tools/gst-launch.c: (event_loop):
20691         Unref message after using its contents instead of
20692         before.
20693
20694 2005-05-24  Wim Taymans  <wim@fluendo.com>
20695
20696         * docs/design/draft-ghostpads.txt:
20697         * docs/design/draft-push-pull.txt:
20698         * docs/design/draft-query.txt:
20699         * docs/design/part-overview.txt:
20700         Docs updates, added general overview doc.
20701
20702 2005-05-21  David Schleef  <ds@schleef.org>
20703
20704         * docs/gst/tmpl/old/GstBin.sgml:
20705         * docs/gst/tmpl/old/GstBuffer.sgml:
20706         * docs/gst/tmpl/old/GstCaps.sgml:
20707         * docs/gst/tmpl/old/GstClock.sgml:
20708         * docs/gst/tmpl/old/GstCompat.sgml:
20709         * docs/gst/tmpl/old/GstData.sgml:
20710         * docs/gst/tmpl/old/GstElement.sgml:
20711         * docs/gst/tmpl/old/GstEvent.sgml:
20712         * docs/gst/tmpl/old/GstIndex.sgml:
20713         * docs/gst/tmpl/old/GstStructure.sgml:
20714         * docs/gst/tmpl/old/GstTag.sgml:
20715         * docs/gst/tmpl/old/cothreads.sgml:
20716         * docs/gst/tmpl/old/cothreads_compat.sgml:
20717         * docs/gst/tmpl/old/gettext.sgml:
20718         * docs/gst/tmpl/old/gobject2gtk.sgml:
20719         * docs/gst/tmpl/old/grammar.tab.sgml:
20720         * docs/gst/tmpl/old/gst-i18n-app.sgml:
20721         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
20722         * docs/gst/tmpl/old/gst_private.sgml:
20723         * docs/gst/tmpl/old/gstaggregator.sgml:
20724         * docs/gst/tmpl/old/gstarch.sgml:
20725         * docs/gst/tmpl/old/gstatomic_impl.sgml:
20726         * docs/gst/tmpl/old/gstbufferstore.sgml:
20727         * docs/gst/tmpl/old/gstdata_private.sgml:
20728         * docs/gst/tmpl/old/gstdisksink.sgml:
20729         * docs/gst/tmpl/old/gstdisksrc.sgml:
20730         * docs/gst/tmpl/old/gstelementfactory.sgml:
20731         * docs/gst/tmpl/old/gstextratypes.sgml:
20732         * docs/gst/tmpl/old/gstfakesink.sgml:
20733         * docs/gst/tmpl/old/gstfakesrc.sgml:
20734         * docs/gst/tmpl/old/gstfdsink.sgml:
20735         * docs/gst/tmpl/old/gstfdsrc.sgml:
20736         * docs/gst/tmpl/old/gstfilesink.sgml:
20737         * docs/gst/tmpl/old/gstfilesrc.sgml:
20738         * docs/gst/tmpl/old/gsthttpsrc.sgml:
20739         * docs/gst/tmpl/old/gstidentity.sgml:
20740         * docs/gst/tmpl/old/gstindexfactory.sgml:
20741         * docs/gst/tmpl/old/gstmarshal.sgml:
20742         * docs/gst/tmpl/old/gstmd5sink.sgml:
20743         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
20744         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
20745         * docs/gst/tmpl/old/gstpadtemplate.sgml:
20746         * docs/gst/tmpl/old/gstpipefilter.sgml:
20747         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
20748         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
20749         * docs/gst/tmpl/old/gstshaper.sgml:
20750         * docs/gst/tmpl/old/gstspider.sgml:
20751         * docs/gst/tmpl/old/gstspideridentity.sgml:
20752         * docs/gst/tmpl/old/gststatistics.sgml:
20753         * docs/gst/tmpl/old/gsttee.sgml:
20754         * docs/gst/tmpl/old/gsttimecache.sgml:
20755         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
20756         * docs/gst/tmpl/old/gstxmlregistry.sgml:
20757         * docs/gst/tmpl/old/gthread-cothreads.sgml:
20758         * docs/gst/tmpl/old/types.sgml:
20759           I didn't intend to add these or check them in.
20760
20761 2005-05-19  David Schleef  <ds@schleef.org>
20762
20763         * configure.ac: Use -no-common everywhere.  In a sane world, it
20764           would be the default in libtool, because without it, you can't
20765           build DLLs on Windows.
20766         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
20767         * docs/gst/gstreamer-sections.txt:
20768         * docs/gst/tmpl/gstcpu.sgml:
20769         * docs/gst/tmpl/gstdata.sgml:
20770         * docs/gst/tmpl/gstthread.sgml:
20771
20772 2005-05-19  David Schleef  <ds@schleef.org>
20773
20774         * gst/gstminiobject.c: (gst_value_set_mini_object),
20775         (gst_value_take_mini_object), (gst_value_get_mini_object):
20776         * gst/gstminiobject.h: Add GValue set/get functions.
20777
20778 2005-05-19  Wim Taymans  <wim@fluendo.com>
20779
20780         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
20781         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
20782         (gst_subbuffer_init), (gst_buffer_is_span_fast):
20783         * gst/gstbuffer.h:
20784         * gst/gstbus.c: (gst_bus_post):
20785         * gst/gstelement.c: (gst_element_get_random_pad):
20786         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
20787         Make subbufer unref the parent in finalize.
20788         some more debugging info.
20789
20790
20791 2005-05-19  Wim Taymans  <wim@fluendo.com>
20792
20793         * gst/base/gstbasesink.c: (gst_basesink_class_init),
20794         (gst_basesink_init), (gst_basesink_finalize),
20795         (gst_basesink_activate), (gst_basesink_change_state):
20796         Don't free preroll queue too early.
20797
20798 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20799
20800         * gst/Makefile.am:
20801         * gst/ROADMAP:
20802           Hi, I'm outdated. Please shoot me.
20803
20804 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20805
20806         * gst/gstpipeline.c: (gst_pipeline_send_event):
20807           Do not access variables after they have been deleted.
20808
20809 2005-05-19  Wim Taymans  <wim@fluendo.com>
20810
20811         * tools/gst-inspect.c: (print_plugin_features):
20812         A plugin feature does unfortunatly not use the
20813         object name yet...
20814
20815 2005-05-18  Wim Taymans  <wim@fluendo.com>
20816
20817         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
20818         Port _span() functions to new subbuffers.
20819
20820 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20821
20822         * gst/gstbin.c: (gst_bin_add_func):
20823           Fix clock settery in bins when adding kids after the clock has
20824           been selected.
20825
20826 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20827
20828         * gst/elements/gstidentity.c: (gst_identity_class_init):
20829           Workaround until signals support GstMiniObject.
20830
20831 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
20832
20833         * gst/gstbuffer.c:
20834         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
20835
20836 2005-05-18  Wim Taymans  <wim@fluendo.com>
20837
20838         * gst/base/Makefile.am:
20839         * gst/base/gstadapter.c: (gst_adapter_base_init),
20840         (gst_adapter_class_init), (gst_adapter_init),
20841         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
20842         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
20843         (gst_adapter_flush), (gst_adapter_available),
20844         (gst_adapter_available_fast):
20845         * gst/base/gstadapter.h:
20846         Ported and added adapter to the base classes.
20847
20848 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
20849
20850         * gst/gst.c:
20851         * gst/gstmessage.c:
20852           Make sure the class is reffed/unreffed once before threads can be
20853           used.  Fixes #304551.
20854
20855 2005-05-17  Wim Taymans  <wim@fluendo.com>
20856
20857         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
20858         (gst_basesink_chain_unlocked), (gst_basesink_activate):
20859         * gst/gstminiobject.c: (gst_mini_object_get_type),
20860         (gst_mini_object_free):
20861         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
20862         (gst_pad_push), (gst_pad_push_event):
20863         * gst/gstqueue.c: (gst_queue_change_state):
20864         Don't queue buffers in basesink when we are flushing.
20865         Unref buffer when flushing in basesink.
20866         Flush queue when going to READY
20867         Unref buffer when _push() returns an error.
20868         Don't free MiniObject instance when refcount is incremented
20869         in _finalize() so that we can recover objects.
20870
20871 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20872
20873         * docs/manual/advanced-schedulers.xml:
20874         * docs/manual/appendix-checklist.xml:
20875         * docs/pwg/advanced-clock.xml:
20876         * docs/pwg/advanced-interfaces.xml:
20877         * docs/pwg/advanced-request.xml:
20878         * docs/pwg/advanced-types.xml:
20879         * docs/pwg/intro-preface.xml:
20880         * examples/plugins/example.c: (gst_example_get_type),
20881         (gst_example_class_init), (gst_example_chain),
20882         (gst_example_set_property), (gst_example_get_property),
20883         (gst_example_change_state), (plugin_init):
20884         * examples/plugins/example.h:
20885           small doc fixes
20886
20887 2005-05-17  Wim Taymans  <wim@fluendo.com>
20888
20889         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
20890         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
20891         * gst/gstqueue.c: (gst_queue_change_state):
20892         Clear queue when going to READY.
20893         Remove IN_SETCAPS flag too.
20894
20895 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
20896
20897         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
20898           Remove implicit cast from gboolean to GstElementStateReturn;
20899           make sure we still return failure in paused => ready case if
20900           the parent class fails to change state and our own stop 
20901           vfunc succeeds.
20902
20903 2005-05-17  Wim Taymans  <wim@fluendo.com>
20904
20905         * tools/gst-launch.c: (event_loop):
20906         Message was unreffed too soon.
20907
20908 2005-05-16  Andy Wingo  <wingo@pobox.com>
20909
20910         * gst/gstbin.c (sink_iterator_filter): Err... um...
20911
20912         * check/gst/gstbin.c (test_ghost_pads): New test for the
20913         ghosting-if-elements-not-in-same-bin behavior.
20914
20915 2005-05-16  David Schleef  <ds@schleef.org>
20916
20917         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
20918         accessing refcount directly.
20919
20920 2005-05-15  David Schleef  <ds@schleef.org>
20921
20922         * check/Makefile.am: remove GstData checks
20923         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
20924         * gst/Makefile.am: add miniobject, remove data
20925         * gst/gst.h: add miniobject, remove data
20926         * gst/gstdata.c: remove
20927         * gst/gstdata.h: remove
20928         * gst/gstdata_private.h: remove
20929         * gst/gsttypes.h: remove GstEvent and GstMessage
20930         * gst/gstelement.c: (gst_element_post_message): fix for API changes
20931         * gst/gstmarshal.list: change BOXED -> OBJECT
20932
20933         Implement GstMiniObject.
20934         * gst/gstminiobject.c:
20935         * gst/gstminiobject.h:
20936
20937         Modify to be subclasses of GstMiniObject.
20938         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
20939         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
20940         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
20941         (gst_subbuffer_get_type), (gst_subbuffer_init),
20942         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
20943         (gst_buffer_span):
20944         * gst/gstbuffer.h:
20945         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
20946         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
20947         (_gst_event_copy), (gst_event_new):
20948         * gst/gstevent.h:
20949         * gst/gstmessage.c: (_gst_message_initialize),
20950         (gst_message_get_type), (gst_message_class_init),
20951         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
20952         (gst_message_new), (gst_message_new_error),
20953         (gst_message_new_warning), (gst_message_new_tag),
20954         (gst_message_new_state_changed), (gst_message_new_application):
20955         * gst/gstmessage.h:
20956         * gst/gstprobe.c: (gst_probe_perform),
20957         (gst_probe_dispatcher_dispatch):
20958         * gst/gstprobe.h:
20959         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
20960         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
20961         (_gst_query_copy), (gst_query_new):
20962
20963         Update elements for GstData -> GstMiniObject changes
20964         * gst/gstquery.h:
20965         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
20966         (gst_queue_chain), (gst_queue_loop):
20967         * gst/elements/gstbufferstore.c:
20968         (gst_buffer_store_add_buffer_func),
20969         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
20970         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
20971         (gst_fakesink_render):
20972         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
20973         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
20974         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
20975         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
20976         (gst_filesrc_create_read):
20977         * gst/elements/gstidentity.c: (gst_identity_class_init):
20978         * gst/elements/gsttypefindelement.c:
20979         (gst_type_find_element_src_event), (free_entry_buffers),
20980         (gst_type_find_element_handle_event):
20981         * libs/gst/dataprotocol/dataprotocol.c:
20982         (gst_dp_header_from_buffer):
20983         * libs/gst/dataprotocol/dataprotocol.h:
20984         * libs/gst/dataprotocol/dp-private.h:
20985
20986 2005-05-15  David Schleef  <ds@schleef.org>
20987
20988         * gst/elements/gstelements.c: Don't include headers that were
20989         just removed.
20990
20991 2005-05-15  David Schleef  <ds@schleef.org>
20992
20993         * gst/elements/Makefile.am: Remove some elements that don't
20994         need to be in the core (or even exist at all).
20995         * gst/elements/gstaggregator.c:
20996         * gst/elements/gstaggregator.h:
20997         * gst/elements/gstmd5sink.c:
20998         * gst/elements/gstmd5sink.h:
20999         * gst/elements/gstmultifilesrc.c:
21000         * gst/elements/gstmultifilesrc.h:
21001         * gst/elements/gstpipefilter.c:
21002         * gst/elements/gstpipefilter.h:
21003         * gst/elements/gstshaper.c:
21004         * gst/elements/gstshaper.h:
21005         * gst/elements/gststatistics.c:
21006         * gst/elements/gststatistics.h:
21007         * po/POTFILES.in: Remove above files.
21008
21009 2005-05-14  Andy Wingo  <wingo@pobox.com>
21010
21011         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
21012         so as to get the refs right.
21013         (sink_iterator_filter): New function, wraps bin_element_is_sink,
21014         unreffing objects that don't pass the filter.
21015
21016         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
21017         gst_element_set_bus.
21018         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
21019         normal cases, this will destroy the bus.
21020
21021         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
21022         object.
21023
21024         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
21025         has no sinks.
21026
21027 2005-05-13  Andy Wingo  <wingo@pobox.com>
21028
21029         * gst/gstutils.c (gst_element_link_pads): Instead of calling
21030         gst_pad_link, call pad_link_maybe_ghosting,
21031         (pad_link_maybe_ghosting): Links pads, making sure that the
21032         elements being linked are in the same bin.
21033         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
21034         Helpers for pad_link_maybe_ghosting.
21035
21036 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
21037
21038         * configure.ac:
21039           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
21040
21041 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
21042
21043         * docs/design/part-element-source.txt:
21044           Mention GstPushSrc
21045
21046 2005-05-12  Wim Taymans  <wim@fluendo.com>
21047
21048         * gst/base/gstbasesink.c: (gst_basesink_init),
21049         (gst_basesink_activate):
21050         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
21051         (gst_basesrc_is_seekable):
21052         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21053         (bin_element_is_sink), (gst_bin_change_state):
21054         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21055         * gst/gstelement.h:
21056         Identify sinks by their flag to avoid overly complicated
21057         checks (fow now).
21058         Do state changes even for elements not reachable from the
21059         sinks.
21060         BaseSink is a sink now :)
21061         Some more debugging info in the basesrc.
21062
21063
21064 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21065
21066         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
21067           Implement _query on a bin, similar to _send_event.
21068
21069 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
21070
21071         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
21072           Discont event offset format should be GST_FORMAT_BYTES,
21073           not GST_FORMAT_TIME.
21074
21075 2005-05-12  Wim Taymans  <wim@fluendo.com>
21076
21077         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
21078         Same fix as Ronald's but without the signal. 
21079
21080 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21081
21082         * gst/gstutils.c: (gst_element_query_position):
21083           No, an element is not a pad.
21084
21085 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21086
21087         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
21088         (gst_bin_get_state):
21089           If a child is removed from a bin while we remove the child from
21090           the bin and while we're retrieving its state, signal this to the
21091           get_state function so we abort the wait (instead of waiting for
21092           a timeout) and can immediately re-iterate over all other elements.
21093
21094 2005-05-12  Wim Taymans  <wim@fluendo.com>
21095
21096         * gst/base/Makefile.am:
21097         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
21098         (gst_basesrc_start):
21099         * gst/base/gstbasesrc.h:
21100         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
21101         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
21102         (gst_pushsrc_init), (gst_pushsrc_create):
21103         * gst/base/gstpushsrc.h:
21104         Added is_seekable to BaseSrc
21105         Added simple PushSrc.
21106
21107 2005-05-11  Wim Taymans  <wim@fluendo.com>
21108
21109         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21110         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21111         (gst_element_link_pads), (gst_element_query_position),
21112         (gst_element_query_convert), (intersect_caps_func),
21113         (gst_pad_query_position), (gst_pad_query_convert):
21114         Fix refcounting in utils function.
21115         No point in trying to activate a pad when it's added, it could
21116         be added from the state change function and then we deadlock, the
21117         element has to decide what to do.
21118
21119 2005-05-10  Andy Wingo  <wingo@pobox.com>
21120
21121         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
21122         *all* the arguments.
21123
21124         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
21125         stream lock if it's a FLUSH_DONE; normal flushes don't get the
21126         lock (according to the docs -- if this is wrong change the docs).
21127
21128         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
21129         flush messages in the NULL state.
21130
21131         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
21132         message immediately and return.
21133         (gst_bus_set_flushing): New function. If a bus is flushing, it
21134         flushes out any queued messages and immediately unrefs new
21135         messages. This is so when an element goes to NULL, all of the
21136         unhandled messages coming from it can be freed, and their
21137         references to the element dropped. In other words: message source
21138         ref considered harmful :P
21139
21140         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
21141         we're finished with it.
21142
21143         * gst/gstmessage.c (gst_message_new_state_changed): 
21144
21145 2005-05-10  Wim Taymans  <wim@fluendo.com>
21146
21147         * gst/gstvalue.c: (gst_value_compare_flags),
21148         (gst_value_serialize_flags), (gst_value_deserialize_flags),
21149         (_gst_value_initialize):
21150         Added flags serialize/deserialize/compare code.
21151
21152 2005-05-09  Andy Wingo  <wingo@pobox.com>
21153
21154         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
21155         Intersect the peer's caps with our caps.
21156
21157 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21158
21159         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21160         * gst/elements/gsttypefindelement.c: (find_peek):
21161           Handle negative offsets better. Fixes decodebin.
21162
21163 2005-05-09  Wim Taymans  <wim@fluendo.com>
21164
21165         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
21166         (gst_base_transform_event):
21167         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
21168         Implement accept_caps.
21169         Fix silly lock/unlock mismatch in base class.
21170
21171 2005-05-09  Wim Taymans  <wim@fluendo.com>
21172
21173         * docs/design/draft-push-pull.txt:
21174         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
21175         * gst/elements/gstfilesink.c: (gst_filesink_init),
21176         (gst_filesink_query):
21177         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21178         (gst_type_find_handle_src_query), (find_element_get_length):
21179         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
21180         * gst/gstelement.h:
21181         * gst/gstmessage.c:
21182         * gst/gstmessage.h:
21183         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
21184         (gst_real_pad_get_caps_unlocked),
21185         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
21186         (gst_pad_event_default_dispatch), (gst_pad_event_default),
21187         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
21188         (gst_real_pad_dispose), (gst_real_pad_finalize),
21189         (gst_pad_load_and_link), (gst_pad_save_thyself),
21190         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
21191         (gst_pad_check_pull_range), (gst_pad_pull_range),
21192         (gst_pad_template_get_type), (gst_pad_template_class_init),
21193         (gst_pad_template_init), (gst_pad_template_dispose),
21194         (name_is_valid), (gst_static_pad_template_get),
21195         (gst_pad_template_new), (gst_static_pad_template_get_caps),
21196         (gst_pad_template_get_caps), (gst_pad_set_element_private),
21197         (gst_pad_get_element_private), (gst_pad_start_task),
21198         (gst_pad_pause_task), (gst_pad_stop_task),
21199         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
21200         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
21201         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
21202         (gst_ghost_pad_new):
21203         * gst/gstpad.h:
21204         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
21205         (gst_query_new_position), (gst_query_set_position),
21206         (gst_query_parse_position), (gst_query_new_convert),
21207         (gst_query_set_convert), (gst_query_parse_convert):
21208         * gst/gstquery.h:
21209         * gst/gstqueryutils.c:
21210         * gst/gstqueryutils.h:
21211         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21212         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21213         (gst_queue_handle_src_query):
21214         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21215         (gst_element_query_position), (gst_element_query_convert),
21216         (intersect_caps_func), (gst_pad_query_position),
21217         (gst_pad_query_convert):
21218         * gst/gstutils.h:
21219         * tools/gst-inspect.c: (print_pad_info):
21220         * tools/gst-xmlinspect.c: (print_element_info):
21221         Remove old query functions. Ported old code.
21222         Added position/convert helper functions to gstutils.
21223         Reordered gstpad.c code, grouping relevant things.
21224         Remove gst_message_new(), always need to speficy a specific
21225         message.
21226
21227
21228 2005-05-09  Andy Wingo  <wingo@pobox.com>
21229
21230         * gst/gstiterator.h: Add some includes.
21231
21232         * gst/gstqueryutils.h: Include more headers.
21233
21234         * gst/gstpad.h:
21235         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
21236         some uses of gst_pad_query.
21237
21238         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
21239         NULL out parameters.
21240         (gst_query_new_position): New proc, allocates a new position
21241         query.
21242
21243         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
21244         gstqueryutils.c to the build.
21245
21246         * gst/gststructure.c (gst_structure_set_valist): Implement with
21247         the generic G_VALUE_COLLECT.
21248         
21249 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
21250
21251         * gst/Makefile.am: (gst_headers):
21252         Added gstqueryutils.h to the list of headers to install, that was
21253         a 'nachty' move wingo :)
21254
21255 2005-05-06  Andy Wingo  <wingo@pobox.com>
21256
21257         * gst/gstquery.h
21258         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
21259         GstData, init a memchunk.
21260         (standard_definitions): Add a few query types, deprecate a few.
21261         (gst_query_get_type): New proc.
21262         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
21263         implementation.
21264         (gst_query_new_application, gst_query_get_structure): New public
21265         procs.
21266
21267         * docs/design/draft-query.txt: Removed LINKS from the query types,
21268         because all the rest can be dispatched to other pads -- seemed
21269         ugly to have a query that couldn't be dispatched. internal_links
21270         is fine as a pad method.
21271
21272         * gst/gstpad.h: Add query2 as a pad method, add the new functions
21273         in gstpad.c, but maintain binary compatibility for the moment.
21274         Will fix before 0.9 is out.
21275
21276         * gst/gstqueryutils.c: 
21277         * gst/gstqueryutils.h: New files, implement 3 methods for each
21278         query type: parse_query, parse_response, and set. Probably need an
21279         allocator as well.
21280
21281         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
21282
21283         * gst/elements/gstfilesink.c (gst_filesink_query2):
21284         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
21285         query_types, and formats methods.
21286
21287         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
21288         (gst_pad_set_query2_function): New functions.
21289         (gst_real_pad_init): Set query2_default as the default query2
21290         function. Basically just dispatches to internally linked pads.
21291
21292         Needs review!
21293         
21294         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
21295         without using the atomic operations. Only one thread can possibly
21296         be accessing the data at this point. Changed so as to avoid
21297         gst_atomic operations.
21298
21299 2005-05-06  Wim Taymans  <wim@fluendo.com>
21300
21301         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
21302         Also set caps if we use the fallback buffer alloc.
21303
21304 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
21305
21306         * docs/gst/Makefile.am:
21307         * docs/gst/gstreamer-docs.sgml:
21308         * docs/gst/gstreamer-sections.txt:
21309         * docs/gst/tmpl/gstatomic.sgml:
21310         * docs/gst/tmpl/gstmemchunk.sgml:
21311         * testsuite/elements/struct_i386.h:
21312         * win32/GStreamer.vcproj:
21313         * win32/Makefile:
21314           Purge GstAtomic stuff from docs and win32 makefiles as well
21315
21316 2005-05-06  Wim Taymans  <wim@fluendo.com>
21317
21318         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
21319         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
21320         * gst/gstpad.c: (gst_pad_peer_get_caps):
21321         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21322         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21323         (gst_queue_src_activate), (gst_queue_change_state):
21324         * gst/gstqueue.h:
21325         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21326         (intersect_caps_func):
21327         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
21328         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
21329         Some fixes for the peer_get_caps() change.
21330
21331 2005-05-06  Wim Taymans  <wim@fluendo.com>
21332
21333         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21334         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
21335         (gst_basesink_activate):
21336         Actually do something with error codes returned from the push
21337         functions.
21338
21339 2005-05-06  Wim Taymans  <wim@fluendo.com>
21340
21341         * docs/design/part-element-sink.txt:
21342         * docs/design/part-element-source.txt:
21343         * gst/base/gstbasesink.c: (gst_basesink_class_init),
21344         (gst_basesink_event), (gst_basesink_activate):
21345         * gst/base/gstbasesink.h:
21346         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
21347         (gst_basesrc_activate):
21348         * gst/base/gstbasesrc.h:
21349         * gst/gstelement.c: (gst_element_pads_activate):
21350         Some more documentation.
21351         Fixed scheduling decision in _pads_activate().
21352
21353 2005-05-05  Andy Wingo  <wingo@pobox.com>
21354
21355         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
21356         the test suite.
21357
21358 2005-05-05  Wim Taymans  <wim@fluendo.com>
21359
21360         * gst/base/Makefile.am:
21361         * gst/base/gstbasesink.h:
21362         * gst/base/gstbasesrc.c: (gst_basesrc_init),
21363         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
21364         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
21365         (gst_collectpads_class_init), (gst_collectpads_init),
21366         (gst_collectpads_finalize), (gst_collectpads_new),
21367         (gst_collectpads_set_function), (gst_collectpads_add_pad),
21368         (find_pad), (gst_collectpads_remove_pad),
21369         (gst_collectpads_is_active), (gst_collectpads_collect),
21370         (gst_collectpads_collect_range), (gst_collectpads_start),
21371         (gst_collectpads_stop), (gst_collectpads_peek),
21372         (gst_collectpads_pop), (gst_collectpads_available),
21373         (gst_collectpads_read), (gst_collectpads_flush),
21374         (gst_collectpads_chain):
21375         * gst/base/gstcollectpads.h:
21376         * gst/elements/Makefile.am:
21377         * gst/elements/gstelements.c:
21378         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21379         (gst_fakesink_get_times), (gst_fakesink_event),
21380         (gst_fakesink_preroll), (gst_fakesink_render):
21381         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21382         (gst_filesink_init), (gst_filesink_set_location),
21383         (gst_filesink_open_file), (gst_filesink_close_file),
21384         (gst_filesink_pad_query), (gst_filesink_event),
21385         (gst_filesink_render), (gst_filesink_change_state):
21386         * gst/elements/gstfilesink.h:
21387         Added object to help in making collect pad based elements.
21388         Ported filesink.
21389         Make event function in sink baseclass return gboolean.
21390
21391 2005-05-05  Wim Taymans  <wim@fluendo.com>
21392
21393         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
21394         (gst_bin_get_by_name):
21395         * gst/gstbuffer.h:
21396         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
21397         (gst_clock_finalize):
21398         * gst/gstdata.c: (gst_data_replace):
21399         * gst/gstdata.h:
21400         * gst/gstelement.c: (gst_element_request_pad),
21401         (gst_element_pads_activate):
21402         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
21403         (gst_object_unref):
21404         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21405         (gst_pad_set_checkgetrange_function),
21406         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
21407         (gst_pad_check_pull_range), (gst_pad_pull_range),
21408         (gst_static_pad_template_get_caps), (gst_pad_start_task),
21409         (gst_pad_pause_task), (gst_pad_stop_task):
21410         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21411         (gst_element_request_pad), (gst_pad_proxy_getcaps):
21412         Fix name lookup in GstBin.
21413         Added _data_replace() function and _buffer_replace()
21414         Use finalize method to clean up clock.
21415         Fix refcounting on request pads.
21416         Fix pad schedule mode error.
21417         Some more object refcounting debug info,
21418
21419
21420 2005-05-04  Andy Wingo <wingo@pobox.com>
21421
21422         * check/Makefile.am:
21423         * docs/gst/tmpl/gstatomic.sgml:
21424         * docs/gst/tmpl/gstplugin.sgml:
21425         * gst/base/gstbasesink.c: (gst_basesink_activate):
21426         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
21427         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
21428         (gst_basesrc_query), (gst_basesrc_set_property),
21429         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
21430         (gst_basesrc_activate):
21431         * gst/base/gstbasesrc.h:
21432         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
21433         (gst_base_transform_src_activate):
21434         * gst/elements/gstelements.c:
21435         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21436         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21437         * gst/elements/gsttee.c: (gst_tee_sink_activate):
21438         * gst/elements/gsttypefindelement.c: (find_element_get_length),
21439         (gst_type_find_element_checkgetrange),
21440         (gst_type_find_element_activate):
21441         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
21442         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
21443         (gst_caps_load_thyself):
21444         * gst/gstelement.c: (gst_element_pads_activate),
21445         (gst_element_save_thyself), (gst_element_restore_thyself):
21446         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
21447         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
21448         * gst/gstpad.h:
21449         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
21450         (gst_xml_parse_file), (gst_xml_parse_memory),
21451         (gst_xml_get_element), (gst_xml_make_element):
21452         * gst/indexers/gstfileindex.c: (gst_file_index_load),
21453         (_file_index_id_save_xml), (gst_file_index_commit):
21454         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
21455         (read_enum), (load_pad_template), (load_feature), (load_plugin),
21456         (load_paths):
21457         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
21458         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
21459         * tools/gst-complete.c: (main):
21460         * tools/gst-compprep.c: (main):
21461         * tools/gst-inspect.c: (print_element_properties_info):
21462         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
21463         * tools/gst-xmlinspect.c: (print_element_properties):
21464         GCC 4 fixen.
21465         
21466 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21467
21468         * gst/gstplugin.c: (gst_plugin_check_module),
21469         (gst_plugin_check_file), (gst_plugin_load_file):
21470             apply patch from #172526 to make register work on MacOSX
21471
21472 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21473
21474         * docs/gst/tmpl/gstconfig.sgml:
21475         * gst/gstconfig.h.in:
21476           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
21477         * testsuite/debug/printf_extension.c: (main):
21478           Do not use GST_PTR_FORMAT on pointers to types with
21479           sizeof < sizeof(gpointer).  Fixes test on 64-bit
21480         * testsuite/elements/property.h:
21481           use correct printf format
21482
21483 2005-05-02  Wim Taymans  <wim@fluendo.com>
21484
21485         * docs/design/draft-push-pull.txt:
21486         * docs/design/draft-query.txt:
21487         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
21488         (gst_basesrc_start):
21489         Added draft for new query API.
21490         Added draft for better selecting scheduling methods.
21491         Make basesrc ignore length if the subclass does not support
21492         it.
21493
21494 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21495
21496         * gst/Makefile.am:
21497           possible fixes for automake-1.5 - _LIBADD is reserved
21498
21499 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21500
21501         * docs/faq/Makefile.am:
21502         * docs/manual/Makefile.am:
21503         * docs/manuals.mak:
21504         * docs/pwg/Makefile.am:
21505         * gst/Makefile.am:
21506           possible fixes for automake-1.5
21507
21508 2005-04-28  Wim Taymans  <wim@fluendo.com>
21509
21510         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21511         (gst_basesink_pad_getcaps), (gst_basesink_init),
21512         (gst_basesink_do_sync):
21513         * gst/gstclock.c: (gst_clock_entry_new):
21514         * gst/gstevent.c: (gst_event_discont_get_value):
21515         * gst/gstpipeline.c: (pipeline_bus_handler),
21516         (gst_pipeline_change_state):
21517         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
21518         Better debugging of clocking info.
21519         Allow NULL values when getting discont values.
21520
21521 2005-04-27  Wim Taymans  <wim@fluendo.com>
21522
21523         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
21524         * check/gst/gstpad.c: (gst_pad_suite):
21525         Increase timeout for checks.
21526
21527 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
21528
21529         * check/Makefile.am:
21530           fix the broken rule for cleanup.  Apparently this rule is
21531           only needed on FC2, so maybe this warrants further autotool
21532           inspection.
21533
21534 2005-04-26  Wim Taymans  <wim@fluendo.com>
21535
21536         * gst/gsttrashstack.h:
21537         Ooohh. a nasty one! After having a failed pop() from the stack,
21538         it's possible that the stack is empty. In that case, don't
21539         follow the NULL pointer.
21540
21541 2005-04-25  Wim Taymans  <wim@fluendo.com>
21542
21543         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21544         (gst_pad_set_checkgetrange_function),
21545         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
21546         (gst_pad_check_pull_range), (gst_pad_pull_range),
21547         (gst_static_pad_template_get_caps), (gst_pad_start_task),
21548         (gst_pad_pause_task), (gst_pad_stop_task):
21549         * gst/gstplugin.c: (gst_plugin_load):
21550         * gst/gstplugin.h:
21551         Remove gst_library_load as it does more harm than good with
21552         the new g_module flags.
21553         Revert bogus caps template check in pad linking, pad caps
21554         are important when linking not the template, which is more
21555         general than the current caps.
21556
21557 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21558
21559         * gst/autoplug/.cvsignore:
21560         * gst/autoplug/Makefile.am:
21561         * gst/autoplug/gstsearchfuncs.c:
21562         * gst/autoplug/gstsearchfuncs.h:
21563         * gst/autoplug/gstspider.c:
21564         * gst/autoplug/gstspider.h:
21565         * gst/autoplug/gstspideridentity.c:
21566         * gst/autoplug/gstspideridentity.h:
21567         * gst/autoplug/spidertest.c:
21568           Die, spider, die.
21569
21570 2005-04-25  Wim Taymans  <wim@fluendo.com>
21571
21572         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21573         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21574         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
21575         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
21576         * gst/gstpad.h:
21577         Added stubs for unimplemented functions. 
21578
21579 2005-04-24  David Schleef  <ds@schleef.org>
21580
21581         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
21582         please fix.
21583
21584 2005-04-24  David Schleef  <ds@schleef.org>
21585
21586         Convert everything from GstAtomicInt to g_atomic_int_*, and
21587         remove gstatomic.
21588         * gst/Makefile.am:
21589         * gst/gstatomic.c:
21590         * gst/gstatomic.h:
21591         * gst/gstatomic_impl.h:
21592         * gst/gstbuffer.c:
21593         * gst/gstcaps.c:
21594         * gst/gstcaps.h:
21595         * gst/gstclock.c:
21596         * gst/gstclock.h:
21597         * gst/gstdata.c:
21598         * gst/gstdata.h:
21599         * gst/gstdata_private.h:
21600         * gst/gstevent.c:
21601         * gst/gstinfo.c:
21602         * gst/gstinfo.h:
21603         * gst/gstmessage.c:
21604         * gst/gstobject.c:
21605         * gst/gstobject.h:
21606         * gst/gststructure.c:
21607         * gst/gststructure.h:
21608         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
21609         * gst/gstutils.h:
21610
21611 2005-04-24  David Schleef  <ds@schleef.org>
21612
21613         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
21614         make the regressions tests work.  Remove some code that is no
21615         longer true.
21616         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
21617         Disable warning for pads without templates.
21618
21619 2005-04-24  David Schleef  <ds@schleef.org>
21620
21621         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
21622         functions that handle filtered links.
21623         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
21624         removed functions.
21625         * gst/gstutils.c: Fix/remove utility functions that handle
21626         filtered caps.
21627         * gst/gstutils.h:
21628         * gst/gstvalue.c: Add serialization/deserialization of caps
21629         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
21630         requires fixing so that the filter caps notation creates
21631         a capsfilter element and sets the filter_caps property.  I
21632         think everyone probably wants to keep the shorthand notation.
21633         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
21634         * docs/gst/tmpl/gstpad.sgml:
21635
21636         * gst/elements/gstelements.c: Register capsfilter element.
21637         * gst/Makefile.am: fix spacing
21638         * docs/random/ds/0.9-suggested-changes: random
21639
21640 2005-04-23  David Schleef  <ds@schleef.org>
21641
21642         * gst/elements/Makefile.am:
21643         * gst/elements/gstcapsfilter.c: New element that acts like an
21644         identity, but filters caps.  Will eventually replace filtered
21645         caps in pad linking.
21646         * gst/gstutils.c: (gst_element_create_all_pads): New function
21647         to create all the ALWAYS pads that are registered with an
21648         element class.  This functionality should eventually be
21649         merged in with GstElement initialization.
21650         * gst/gstutils.h:
21651         * testsuite/trigger/README: part of trigger test code that should
21652         have been checked in a long time ago.
21653
21654 2005-04-23  David Schleef  <ds@schleef.org>
21655
21656         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
21657         needed with new versions of libtool (nobody will confirm this),
21658         and hard to carry around.
21659         * gst/autoplug/Makefile.am:
21660         * gst/base/Makefile.am:
21661         * gst/elements/Makefile.am:
21662         * gst/indexers/Makefile.am:
21663         * gst/schedulers/Makefile.am:
21664         * libs/gst/bytestream/Makefile.am:
21665         * libs/gst/control/Makefile.am:
21666         * libs/gst/dataprotocol/Makefile.am:
21667         * libs/gst/getbits/Makefile.am:
21668
21669 2005-04-21  Wim Taymans  <wim@fluendo.com>
21670
21671         * docs/design/draft-push-pull.txt:
21672         * docs/design/part-MT-refcounting.txt:
21673         * docs/design/part-TODO.txt:
21674         * docs/design/part-caps.txt:
21675         * docs/design/part-events.txt:
21676         * docs/design/part-gstbus.txt:
21677         * docs/design/part-gstpipeline.txt:
21678         * docs/design/part-messages.txt:
21679         * docs/design/part-push-pull.txt:
21680         * docs/design/part-query.txt:
21681         Some more docs.
21682
21683 2005-04-21  Wim Taymans  <wim@fluendo.com>
21684
21685         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
21686         (gst_message_new), (gst_message_new_error),
21687         (gst_message_new_warning), (gst_message_new_tag),
21688         (gst_message_new_state_changed), (gst_message_new_application),
21689         (gst_message_get_structure):
21690         * gst/gstmessage.h:
21691         * gst/gststructure.c: (gst_structure_set_parent_refcount),
21692         (gst_structure_copy_conditional):
21693         Use parent refcount in GstMessage to ensure GstStructure
21694         consistency.
21695         Cleaned up headers a bit.
21696         
21697
21698 2005-04-20  Wim Taymans  <wim@fluendo.com>
21699
21700         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21701         (gst_basesink_pad_getcaps), (gst_basesink_init),
21702         (gst_basesink_chain_unlocked):
21703         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
21704         (gst_type_find_helper):
21705         * gst/elements/gsttypefindelement.c:
21706         (gst_type_find_element_have_type), (gst_type_find_element_init),
21707         (stop_typefinding), (gst_type_find_element_handle_event),
21708         (find_suggest), (gst_type_find_element_chain),
21709         (gst_type_find_element_checkgetrange),
21710         (gst_type_find_element_getrange), (do_typefind),
21711         (gst_type_find_element_activate):
21712         * gst/gstbuffer.c: (_gst_buffer_sub_free),
21713         (gst_buffer_default_free), (gst_buffer_default_copy),
21714         (gst_buffer_set_caps):
21715         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
21716         (gst_caps_replace):
21717         * gst/gstmessage.c: (gst_message_new),
21718         (gst_message_new_state_changed):
21719         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21720         (gst_pad_set_checkgetrange_function),
21721         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
21722         (gst_pad_set_caps), (gst_pad_check_pull_range),
21723         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
21724         * gst/gstpad.h:
21725         * gst/gsttypefind.c: (gst_type_find_register):
21726         Make gst_caps_replace() work like other _replace() functions.
21727         Use _caps_replace() where possible.
21728         Make sure _message_new() initialises its field.
21729         Add gst_static_pad_template_get_caps()
21730
21731
21732 2005-04-18  Andy Wingo  <wingo@pobox.com>
21733
21734         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
21735         on the peer, not the pad. I think that was a typo. Pass an extra
21736         arg to see if random access is possible. Activate the pads as
21737         PULL_RANGE if possible.
21738
21739         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
21740
21741         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
21742         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
21743         to PROP_....
21744
21745 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21746
21747         * docs/faq/using.xml:
21748           Add note on gstreamer-properties (#154996).
21749
21750 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21751
21752         * docs/random/bbb/optional-properties:
21753           Some analysis on optional properties.
21754
21755 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21756
21757         * docs/gst/tmpl/gstelementfactory.sgml:
21758         * gst/gstelement.h:
21759         * gst/gstelementfactory.c: (gst_element_factory_init),
21760         (gst_element_factory_cleanup), (gst_element_register),
21761         (__gst_element_factory_add_static_pad_template),
21762         (gst_element_factory_get_static_pad_templates),
21763         (gst_element_factory_can_src_caps),
21764         (gst_element_factory_can_sink_caps):
21765         * gst/registries/Makefile.am:
21766         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
21767         (gst_xml_registry_class_init), (gst_xml_registry_init),
21768         (gst_xml_registry_new), (gst_xml_registry_set_property),
21769         (gst_xml_registry_get_property), (get_time), (make_dir),
21770         (gst_xml_registry_get_perms_func),
21771         (plugin_times_older_than_recurse), (plugin_times_older_than),
21772         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
21773         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
21774         (add_to_char_array), (read_string), (read_uint), (read_enum),
21775         (load_pad_template), (load_feature), (load_plugin), (load_paths),
21776         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
21777         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
21778         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
21779         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
21780         (gst_xml_registry_rebuild):
21781         * gst/registries/gstlibxmlregistry.h:
21782         * tools/gst-compprep.c: (main):
21783         * tools/gst-inspect.c: (print_pad_templates_info):
21784         * tools/gst-xmlinspect.c: (print_element_info):
21785           Use libxml2 for registry parsing, use staticpadtemplates in
21786           elementfactories. Makes gst_init() +/- 10x faster.
21787
21788 2005-04-12  Wim Taymans  <wim@fluendo.com>
21789
21790         * gst/base/Makefile.am:
21791         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21792         (gst_basesink_pad_getcaps), (gst_basesink_init),
21793         (gst_basesink_event), (gst_basesink_change_state):
21794         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21795         (gst_basesrc_init), (gst_basesrc_query),
21796         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21797         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21798         (gst_basesrc_check_get_range), (gst_basesrc_loop),
21799         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21800         (gst_basesrc_stop), (gst_basesrc_activate),
21801         (gst_basesrc_change_state):
21802         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21803         (helper_find_suggest), (gst_type_find_helper):
21804         * gst/base/gsttypefindhelper.h:
21805         * gst/elements/Makefile.am:
21806         * gst/elements/gstelements.c:
21807         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21808         (gst_fakesink_get_times), (gst_fakesink_event),
21809         (gst_fakesink_preroll), (gst_fakesink_render):
21810         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21811         (gst_fakesrc_init), (gst_fakesrc_event_handler),
21812         (gst_fakesrc_get_property), (gst_fakesrc_create),
21813         (gst_fakesrc_start), (gst_fakesrc_stop):
21814         * gst/elements/gstfakesrc.h:
21815         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
21816         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21817         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21818         (gst_filesrc_create_read), (gst_filesrc_create),
21819         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
21820         (gst_filesrc_start):
21821         * gst/elements/gsttypefindelement.c:
21822         (gst_type_find_element_have_type), (gst_type_find_element_init),
21823         (start_typefinding), (stop_typefinding), (push_buffer_store),
21824         (gst_type_find_element_handle_event),
21825         (gst_type_find_element_chain),
21826         (gst_type_find_element_checkgetrange),
21827         (gst_type_find_element_getrange), (do_typefind),
21828         (gst_type_find_element_activate),
21829         (gst_type_find_element_change_state):
21830         * gst/elements/gsttypefindelement.h:
21831         * gst/gstpipeline.c: (pipeline_bus_handler):
21832         Added typefind helper.
21833         Small preroll fix in the base sink.
21834         Disable typefind code in basesrc.
21835         Crude port of typefindelement.
21836         Fakesrc cleanups.
21837
21838
21839 2005-04-11  Wim Taymans  <wim@fluendo.com>
21840
21841         * check/gst/gstbus.c: (gstbus_suite):
21842         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
21843         * check/gstcheck.h:
21844           Fix up the timeout so that the test does not fail.
21845
21846 2005-04-06  Wim Taymans  <wim@fluendo.com>
21847
21848         * gst/base/README:
21849         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21850         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
21851         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21852         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21853         (gst_basesrc_check_get_range), (gst_basesrc_loop),
21854         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21855         (gst_basesrc_stop), (gst_basesrc_activate),
21856         (gst_basesrc_change_state), (basesrc_find_peek),
21857         (basesrc_find_suggest), (gst_basesrc_type_find):
21858         * gst/base/gstbasesrc.h:
21859         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
21860         (gst_filesrc_class_init), (gst_filesrc_init),
21861         (gst_filesrc_finalize), (gst_filesrc_set_location),
21862         (gst_filesrc_set_property), (gst_filesrc_get_property),
21863         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21864         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21865         (gst_filesrc_create_read), (gst_filesrc_create),
21866         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
21867         * gst/elements/gstfilesrc.h:
21868         * gst/gstelement.c: (gst_element_get_state_func),
21869         (gst_element_lost_state), (gst_element_pads_activate):
21870         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21871         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21872         (gst_pad_pull_range):
21873         * gst/gstpad.h:
21874         More work on the generic source base class, implement seeking,
21875         query.
21876         Make filesrc extend the base source class.
21877         Added gst_pad_set_checkgetrange_function to GstPad.
21878
21879 2005-04-06  Andy Wingo  <wingo@pobox.com>
21880
21881         * pkgconfig/gstreamer-base.pc.in:
21882         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
21883
21884         * pkgconfig/Makefile.am:
21885         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
21886
21887 2005-04-04  Wim Taymans  <wim@fluendo.com>
21888
21889         * gst/base/Makefile.am:
21890         * gst/base/README:
21891         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21892         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
21893         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
21894         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
21895         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21896         (gst_basesrc_base_init), (gst_basesrc_class_init),
21897         (gst_basesrc_init), (gst_basesrc_get_formats),
21898         (gst_basesrc_get_query_types), (gst_basesrc_query),
21899         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
21900         (gst_basesrc_set_property), (gst_basesrc_get_property),
21901         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
21902         (gst_basesrc_loop), (gst_basesrc_activate),
21903         (gst_basesrc_change_state):
21904         * gst/base/gstbasesrc.h:
21905         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
21906         (gst_fakesrc_class_init), (gst_fakesrc_init),
21907         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
21908         (gst_fakesrc_get_property), (gst_fakesrc_create):
21909         * gst/elements/gstfakesrc.h:
21910         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
21911         (gst_filesrc_open_file), (gst_filesrc_loop),
21912         (gst_filesrc_activate), (filesrc_find_peek),
21913         (gst_filesrc_type_find):
21914         Made base source class, make fakesrc extend it.
21915         Add comments to basesink class.
21916         Some filesrc cleanup.
21917
21918 2005-03-31  David Schleef  <ds@schleef.org>
21919
21920         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
21921         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
21922         expected to link against libgstreamer.
21923         * gst/base/Makefile.am: link against libgstreamer
21924         * gst/elements/Makefile.am: same
21925
21926 2005-03-31  Andy Wingo  <wingo@pobox.com>
21927
21928         * tests/instantiate/Makefile.am:
21929         * tests/instantiate/caps.c: Add test to test speed of caps copy
21930         and free.
21931
21932         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
21933         GMemChunk to be fair.
21934
21935         * gst/gsttrashstack.h: Remove warning about using the fallback
21936         trash stack implementation, it's still faster than malloc.
21937
21938 2005-03-30  Andy Wingo  <wingo@pobox.com>
21939
21940         * tests/complexity.c: Add a copyright.
21941
21942 2005-03-31  Wim Taymans  <wim@fluendo.com>
21943
21944         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
21945         (gst_base_transform_class_init), (gst_base_transform_init),
21946         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
21947         (gst_base_transform_get_property),
21948         (gst_base_transform_sink_activate),
21949         (gst_base_transform_src_activate),
21950         (gst_base_transform_change_state):
21951         * gst/base/gstbasetransform.h:
21952         * gst/elements/gstidentity.c: (gst_identity_class_init),
21953         (gst_identity_event), (gst_identity_check_perfect),
21954         (gst_identity_transform), (gst_identity_start),
21955         (gst_identity_stop):
21956         Added start/stop methods to transform base class so subclasses 
21957         don't need to deal with state changes even.
21958
21959 2005-03-31  Wim Taymans  <wim@fluendo.com>
21960
21961         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
21962         (gst_event_new_discontinuous), (gst_event_discont_get_value):
21963         * gst/gstevent.h:
21964         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21965         (gst_pad_pull_range):
21966         Added rate to the discont event to prepare for variable speed
21967         and reverse playback.
21968
21969 2005-03-29  David Schleef  <ds@schleef.org>
21970
21971         * configure.ac:
21972         * testsuite/trigger/Makefile.am:
21973         * testsuite/trigger/trigger.c: A little example program to show
21974         how trigger-based elements can work.
21975
21976 2005-03-29  Wim Taymans  <wim@fluendo.com>
21977
21978         * gst/base/Makefile.am:
21979         * gst/base/README:
21980         * gst/base/gstbasesink.c: (gst_basesink_get_type),
21981         (gst_basesink_base_init), (gst_basesink_class_init),
21982         (gst_basesink_pad_getcaps), (gst_basesink_init),
21983         (gst_basesink_activate), (gst_basesink_change_state):
21984         * gst/base/gstbasesink.h:
21985         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
21986         (gst_base_transform_base_init), (gst_base_transform_finalize),
21987         (gst_base_transform_class_init), (gst_base_transform_init),
21988         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
21989         (gst_base_transform_event), (gst_base_transform_getrange),
21990         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
21991         (gst_base_transform_set_property),
21992         (gst_base_transform_get_property),
21993         (gst_base_transform_sink_activate),
21994         (gst_base_transform_src_activate),
21995         (gst_base_transform_change_state):
21996         * gst/base/gstbasetransform.h:
21997         * gst/elements/gstidentity.c: (gst_identity_finalize),
21998         (gst_identity_class_init), (gst_identity_init),
21999         (gst_identity_event), (gst_identity_check_perfect),
22000         (gst_identity_transform), (gst_identity_set_property),
22001         (gst_identity_get_property), (gst_identity_change_state):
22002         * gst/elements/gstidentity.h:
22003         * gst/gstelement.c: (gst_element_get_state_func),
22004         (gst_element_lost_state), (gst_element_pads_activate):
22005         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22006         (gst_pad_check_pull_range), (gst_pad_pull_range):
22007         * gst/gstpad.h:
22008         Simplify pad activation.
22009         Added function to check if pull_range can be performed.
22010         Error out when pulling inactive or flushing pads.
22011         Removed const from refcounted types as it does not make sense.
22012         Simplify pad templates in basesink
22013         Added base class for simple 1-to-1 transforms.
22014         Make identity subclass the base transform.
22015
22016 2005-03-29  Andy Wingo  <wingo@pobox.com>
22017
22018         * docs/libs/gstreamer-libs-overrides.txt: 
22019         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
22020         really don't understand what's going on, but like whatever. I want
22021         green buildbot!
22022
22023         * docs/gst/Makefile.am:
22024         * docs/libs/Makefile.am: Dist the overrides files.
22025
22026         * check/Makefile.am (clean-local): Remove .libs directories.
22027
22028         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
22029         elements to EXTRA_DIST, so po/ files are happy.
22030
22031         * po/POTFILES.in: Er, remove it here.
22032
22033         * po/POTFILES: Remove gstspider.c.
22034
22035         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
22036
22037         * docs/libs/gstreamer-libs-docs.sgml: 
22038         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
22039         bytestream.
22040
22041         * tests/complexity.c (main): Set the length of the preroll queue
22042         on the sinks to prevent a lockup.
22043
22044         * libs/gst/dataprotocol/Makefile.am: 
22045         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
22046         the same as the one in check/gst-libs/gdp.c.
22047
22048         * po/, docs/gst/: Commit automatic changes to docs and po files.
22049
22050         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
22051         the versioned libgstbase.
22052
22053         * check/Makefile.am: Depend on an unversioned gst-register, seems
22054         to make autoconf happier.
22055
22056         * gst/base/Makefile.am: Make libgstbase a versioned lib.
22057
22058 2005-03-28  Wim Taymans  <wim@fluendo.com>
22059
22060         * configure.ac:
22061         * docs/design/part-gstelement.txt:
22062         * docs/design/part-negotiation.txt:
22063         * docs/design/part-preroll.txt:
22064         * docs/design/part-scheduling.txt:
22065         * docs/design/part-states.txt:
22066         * gst/Makefile.am:
22067         * gst/base/Makefile.am:
22068         * gst/base/README:
22069         * gst/base/gstbasesink.c: (gst_basesink_get_template),
22070         (gst_basesink_base_init), (gst_basesink_class_init),
22071         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22072         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22073         (gst_basesink_set_pad_functions),
22074         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
22075         (gst_basesink_set_property), (gst_basesink_get_property),
22076         (gst_base_sink_get_template), (gst_base_sink_get_caps),
22077         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
22078         (gst_basesink_preroll_queue_push),
22079         (gst_basesink_preroll_queue_empty),
22080         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
22081         (gst_basesink_event), (gst_basesink_get_times),
22082         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
22083         (gst_basesink_chain_unlocked), (gst_basesink_chain),
22084         (gst_basesink_loop), (gst_basesink_activate),
22085         (gst_basesink_change_state):
22086         * gst/base/gstbasesink.h:
22087         * gst/elements/Makefile.am:
22088         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
22089         (gst_fakesink_class_init), (gst_fakesink_init),
22090         (gst_fakesink_set_property), (gst_fakesink_get_property),
22091         (gst_fakesink_get_times), (gst_fakesink_event),
22092         (gst_fakesink_preroll), (gst_fakesink_render),
22093         (gst_fakesink_change_state):
22094         * gst/elements/gstfakesink.h:
22095         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22096         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
22097         * gst/gstelement.c: (gst_element_add_pad),
22098         (gst_element_get_state_func), (gst_element_abort_state),
22099         (gst_element_commit_state), (gst_element_lost_state),
22100         (gst_element_set_state), (gst_element_pads_activate):
22101         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
22102         * gst/gstpipeline.c: (gst_pipeline_send_event),
22103         (gst_pipeline_change_state):
22104         Added state change code.
22105         Added/updated docs.
22106         Added sink base class, make fakesink extend the base class.
22107         Small cleanups in GstPipeline.
22108
22109 2005-03-26  David Schleef  <ds@schleef.org>
22110
22111         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
22112         is broken and should be implemented in a different library.
22113         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
22114         * gst/gst.h: remove gstcpu.h
22115         * gst/gstcpu.c: remove
22116         * gst/gstcpu.h: remove
22117         * gst/Makefile.am.future: Remove this file.  It's ancient.
22118
22119 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22120
22121         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22122         (gst_bin_send_event):
22123           Add default event/set_manager handlers. The set_manager handler
22124           takes care that the manager is distributed over kids that were
22125           already in the bin before the manager was set. The event handler
22126           is a utility virtual function that sends the event over all sinks,
22127           so that gst_element_send_event (bin, event); has the expected
22128           behaviour.
22129         * gst/gstpad.c: (gst_pad_event_default):
22130           Re-install default event handling for discontinuities, so that
22131           seeking works without requiring hacks in applications or extra
22132           code in sinks.
22133         * gst/gstpipeline.c: (gst_pipeline_class_init),
22134         (gst_pipeline_send_event):
22135           Half hack, half utility: set a pipeline to PAUSED for seek events,
22136           since that is the only way we can guarantee a/v sync. Means that
22137           you can do gst_element_seek (pipeline, method, pos); on a pipeline
22138           and it "just works".
22139
22140 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22141
22142         * gst/gstpipeline.c: (gst_pipeline_use_clock):
22143           Lock/unlock mismatch.
22144
22145 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22146
22147         * docs/faq/gst-uninstalled:
22148           add gst-plugins-base
22149         * docs/gst/Makefile.am:
22150           don't error out until docs are fixed
22151         * docs/gst/gstreamer.types:
22152           remove thread
22153
22154 2005-03-22  Wim Taymans  <wim@fluendo.com>
22155
22156         * check/Makefile.am:
22157         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
22158         * gst/gststructure.c: (gst_structure_set_valist),
22159         (gst_structure_copy_conditional):
22160         Activated more tests.
22161         Added message test.
22162         Added G_TYPE_POINTER to GstStructure.
22163         
22164
22165 2005-03-22  Wim Taymans  <wim@fluendo.com>
22166
22167         * docs/design/part-TODO.txt:
22168         * docs/design/part-events.txt:
22169         * docs/design/part-gstbin.txt:
22170         * docs/design/part-gstbus.txt:
22171         * docs/design/part-gstpipeline.txt:
22172         * docs/design/part-messages.txt:
22173         * gst/gstbus.c:
22174         * gst/gstmessage.c:
22175         Docs updates
22176
22177 2005-03-21  Wim Taymans  <wim@fluendo.com>
22178
22179         * gst/gstbus.c: (gst_bus_post):
22180         Fix copy-and-paste error.
22181
22182 2005-03-21  Wim Taymans  <wim@fluendo.com>
22183
22184         * check/Makefile.am:
22185         * gst/Makefile.am:
22186         * gst/elements/Makefile.am:
22187         * gst/elements/gstelements.c:
22188         * gst/elements/gstfakesink.c: (gst_fakesink_init),
22189         (gst_fakesink_event), (gst_fakesink_chain):
22190         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22191         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
22192         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
22193         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
22194         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22195         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
22196         (gst_fakesrc_loop), (gst_fakesrc_activate),
22197         (gst_fakesrc_change_state):
22198         * gst/elements/gstfakesrc.h:
22199         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
22200         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
22201         (gst_filesrc_open_file), (gst_filesrc_loop),
22202         (gst_filesrc_activate), (gst_filesrc_change_state),
22203         (filesrc_find_peek), (filesrc_find_suggest),
22204         (gst_filesrc_type_find):
22205         * gst/elements/gstidentity.c: (gst_identity_finalize),
22206         (gst_identity_class_init), (gst_identity_init),
22207         (gst_identity_proxy_getcaps), (identity_queue_push),
22208         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
22209         (gst_identity_getrange), (gst_identity_chain),
22210         (gst_identity_sink_loop), (gst_identity_src_loop),
22211         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
22212         (gst_identity_set_property), (gst_identity_get_property),
22213         (gst_identity_change_state):
22214         * gst/elements/gstidentity.h:
22215         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
22216         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
22217         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
22218         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
22219         (gst_tee_sink_activate):
22220         * gst/elements/gsttee.h:
22221         * gst/gst.c: (gst_register_core_elements), (init_post):
22222         * gst/gst.h:
22223         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
22224         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
22225         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
22226         (gst_bin_change_state):
22227         * gst/gstbin.h:
22228         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
22229         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
22230         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
22231         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
22232         (gst_bus_set_sync_handler), (gst_bus_create_watch),
22233         (bus_watch_callback), (bus_watch_destroy),
22234         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
22235         (poll_timeout), (gst_bus_poll):
22236         * gst/gstbus.h:
22237         * gst/gstcaps.h:
22238         * gst/gstdata.h:
22239         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22240         (gst_element_post_message), (gst_element_message_full),
22241         (gst_element_get_state_func), (gst_element_get_state),
22242         (gst_element_abort_state), (gst_element_commit_state),
22243         (gst_element_lost_state), (gst_element_set_state),
22244         (gst_element_pads_activate), (gst_element_change_state),
22245         (gst_element_dispose), (gst_element_set_manager_func),
22246         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
22247         (gst_element_set_manager), (gst_element_get_manager),
22248         (gst_element_set_bus), (gst_element_get_bus),
22249         (gst_element_set_scheduler), (gst_element_get_scheduler):
22250         * gst/gstelement.h:
22251         * gst/gstevent.c: (gst_event_new_segment_seek),
22252         (gst_event_new_flush):
22253         * gst/gstevent.h:
22254         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
22255         (_gst_message_free), (gst_message_get_type), (gst_message_new),
22256         (gst_message_new_eos), (gst_message_new_error),
22257         (gst_message_new_warning), (gst_message_new_tag),
22258         (gst_message_new_state_changed), (gst_message_new_application),
22259         (gst_message_get_structure), (gst_message_parse_tag),
22260         (gst_message_parse_state_changed), (gst_message_parse_error),
22261         (gst_message_parse_warning):
22262         * gst/gstmessage.h:
22263         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
22264         (gst_real_pad_set_property), (gst_pad_set_active),
22265         (gst_pad_is_active), (gst_pad_set_blocked_async),
22266         (gst_pad_set_blocked), (gst_pad_is_blocked),
22267         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
22268         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
22269         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
22270         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
22271         (gst_pad_link_filtered), (gst_pad_relink_filtered),
22272         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
22273         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
22274         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
22275         (gst_pad_set_caps), (gst_pad_configure_sink),
22276         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
22277         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
22278         (gst_real_pad_dispose), (gst_real_pad_finalize),
22279         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
22280         (gst_pad_event_default_dispatch), (gst_pad_event_default),
22281         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
22282         * gst/gstpad.h:
22283         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
22284         (pipeline_bus_handler), (gst_pipeline_change_state),
22285         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
22286         * gst/gstpipeline.h:
22287         * gst/gstprobe.h:
22288         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22289         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
22290         (gst_queue_link_src), (gst_queue_bufferalloc),
22291         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
22292         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
22293         (gst_queue_loop), (gst_queue_handle_src_event),
22294         (gst_queue_handle_src_query), (gst_queue_src_activate),
22295         (gst_queue_change_state):
22296         * gst/gstqueue.h:
22297         * gst/gstscheduler.c: (gst_scheduler_init),
22298         (gst_scheduler_dispose), (gst_scheduler_create_task),
22299         (gst_scheduler_factory_create):
22300         * gst/gstscheduler.h:
22301         * gst/gststructure.c: (gst_structure_get_type),
22302         (gst_structure_copy_conditional):
22303         * gst/gststructure.h:
22304         * gst/gsttaginterface.h:
22305         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22306         (gst_task_init), (gst_task_dispose), (gst_task_create),
22307         (gst_task_get_state), (gst_task_start), (gst_task_stop),
22308         (gst_task_pause):
22309         * gst/gsttask.h:
22310         * gst/gstthread.c:
22311         * gst/gstthread.h:
22312         * gst/gsttypes.h:
22313         * gst/schedulers/Makefile.am:
22314         * gst/schedulers/cothreads_compat.h:
22315         * gst/schedulers/entryscheduler.c:
22316         * gst/schedulers/faircothreads.c:
22317         * gst/schedulers/faircothreads.h:
22318         * gst/schedulers/fairscheduler.c:
22319         * gst/schedulers/gstbasicscheduler.c:
22320         * gst/schedulers/gstoptimalscheduler.c:
22321         * gst/schedulers/gthread-cothreads.h:
22322         * gst/schedulers/threadscheduler.c:
22323         (gst_thread_scheduler_task_get_type),
22324         (gst_thread_scheduler_task_class_init),
22325         (gst_thread_scheduler_task_init),
22326         (gst_thread_scheduler_task_start),
22327         (gst_thread_scheduler_task_stop),
22328         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
22329         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22330         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
22331         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
22332         (plugin_init):
22333         * libs/gst/Makefile.am:
22334         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
22335         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
22336         (gst_file_pad_parent_set):
22337         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22338         (gst_dp_event_from_packet):
22339         * tests/complexity.c: (main):
22340         * tests/mass_elements.c: (main):
22341         * testsuite/states/locked.c: (message_received), (main):
22342         * testsuite/states/parent.c: (main):
22343         * tools/gst-inspect.c: (print_element_flag_info),
22344         (print_implementation_info), (print_pad_info):
22345         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
22346         (main):
22347         * tools/gst-md5sum.c: (event_loop), (main):
22348         * tools/gst-typefind.c: (main):
22349         * tools/gst-xmlinspect.c: (print_element_info):
22350         Next big merge.
22351         Added GstBus for mainloop integration.
22352         Added GstMessage for sending notifications on the bus.
22353         Added GstTask as an abstraction for pipeline entry points.
22354         Removed GstThread.
22355         Removed Schedulers.
22356         Simplified GstQueue for multithreaded core.
22357         Made _link threadsafe, removed old capsnego.
22358         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
22359         Added pad blocking functions.
22360         Reworked scheduling functions in GstPad to prepare for
22361         scheduling updates soon.
22362         Moved events out of data stream.
22363         Simplified GstEvent types.
22364         Added return values to push/pull.
22365         Removed clocking from GstElement.
22366         Added prototypes for state change function for next merge.
22367         Removed iterate from bins and state change management.
22368         Fixed some elements, disabled others for now.
22369         Fixed -inspect and -launch.
22370         Added check for GstBus.
22371
22372 2005-03-10  Wim Taymans  <wim@fluendo.com>
22373
22374         * docs/design/part-MT-refcounting.txt:
22375         * docs/design/part-clocks.txt:
22376         * docs/design/part-gstelement.txt:
22377         * docs/design/part-gstobject.txt:
22378         * docs/design/part-standards.txt:
22379         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22380         (gst_bin_remove_func), (gst_bin_remove):
22381         * gst/gstbin.h:
22382         * gst/gstbuffer.c:
22383         * gst/gstcaps.h:
22384         * testsuite/clock/clock1.c: (main):
22385         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
22386         (main):
22387         * testsuite/dlopen/loadgst.c: (do_test):
22388         * testsuite/refcounting/bin.c: (add_remove_test1),
22389         (add_remove_test2), (main):
22390         * testsuite/refcounting/element.c: (main):
22391         * testsuite/refcounting/element_pad.c: (main):
22392         * testsuite/refcounting/pad.c: (main):
22393         * tools/gst-launch.c: (sigint_handler_sighandler):
22394         * tools/gst-typefind.c: (main):
22395         Doc updates.
22396         Added doc about clock.
22397         removed gst_bin_iterate_recurse_up(), marked methods
22398         for removal.
22399         Fix more testsuites.
22400
22401 2005-03-09  Wim Taymans  <wim@fluendo.com>
22402
22403         * gst/gstpad.c: (gst_pad_get_direction),
22404         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
22405         (gst_pad_collect_valist):
22406         * testsuite/bins/interface.c: (main):
22407         * testsuite/caps/audioscale.c: (test_caps):
22408         * testsuite/caps/caps.c: (test1), (test2), (test3):
22409         * testsuite/caps/deserialize.c: (main):
22410         * testsuite/caps/enumcaps.c: (main):
22411         * testsuite/caps/filtercaps.c: (main):
22412         * testsuite/caps/intersect2.c: (main):
22413         * testsuite/caps/random.c: (main):
22414         * testsuite/caps/renegotiate.c: (my_fixate), (main):
22415         * testsuite/caps/sets.c: (check_caps):
22416         * testsuite/caps/simplify.c: (check_caps), (main):
22417         * testsuite/caps/subtract.c: (check_caps):
22418         Fix _pad_get_direction wrt ghostpads.
22419         Fix caps testsuite.
22420
22421 2005-03-09  Wim Taymans  <wim@fluendo.com>
22422
22423         * check/Makefile.am:
22424         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
22425         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
22426         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
22427         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
22428         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
22429         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
22430         (gst_bin_remove), (gst_bin_iterate_recurse_up),
22431         (bin_element_is_sink), (gst_bin_iterate_sinks),
22432         (gst_bin_iterate_all_by_interface):
22433         * gst/gstbin.h:
22434         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
22435         (gst_element_change_state), (gst_element_dispose),
22436         (gst_element_finalize), (gst_element_set_loop_function):
22437         * gst/gstelement.h:
22438         * gst/gstiterator.c: (find_custom_fold_func):
22439         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22440         (gst_pad_collectv), (gst_pad_collect_valist),
22441         (gst_pad_template_new):
22442         * gst/gstpipeline.c: (gst_pipeline_class_init),
22443         (gst_pipeline_dispose), (gst_pipeline_set_property),
22444         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
22445         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
22446         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
22447         * gst/gstutils.h:
22448         * gst/schedulers/entryscheduler.c:
22449         * gst/schedulers/gstbasicscheduler.c:
22450         (gst_basic_scheduler_cothreaded_chain),
22451         (gst_basic_scheduler_chain_add_element):
22452         * testsuite/bins/interface.c: (main):
22453         Added GstBin test.
22454         Added GstSystemClock test.
22455         Implemented clock distribution code in GstBin.
22456         Implemented iterate sinks method for future use.
22457         Rearranged gstelement.h
22458         Fix GstIterator comparison bug.
22459         Moved some code to GstPipeline, mostly clocking related.
22460
22461 2005-03-09  Wim Taymans  <wim@fluendo.com>
22462
22463         * configure.ac:
22464         * gst/gst_private.h:
22465         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22466         (gst_bin_remove_func), (gst_bin_remove),
22467         (gst_bin_get_by_name_recurse_up):
22468         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
22469         (gst_clock_id_compare_func), (gst_clock_id_wait),
22470         (gst_clock_id_wait_async), (gst_clock_init),
22471         (gst_clock_adjust_unlocked), (gst_clock_get_time):
22472         * gst/gstelement.h:
22473         * gst/gstinfo.c: (_gst_debug_init):
22474         * gst/gstobject.h:
22475         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22476         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
22477         * gst/gstpad.h:
22478         Bump version number, we're now 0.9.0
22479         Add future debugging category.
22480         Fix NULL _unref() in _get_by_name_recurse_up
22481         Rearrange gstpad.h.
22482         Update some docs.
22483
22484 2005-03-08  Wim Taymans  <wim@fluendo.com>
22485
22486         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
22487         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
22488         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22489         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
22490         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
22491         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
22492         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
22493         * gst/elements/gstidentity.c: (gst_identity_class_init):
22494         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
22495         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
22496         * gst/elements/gstshaper.c: (gst_shaper_class_init):
22497         * gst/elements/gststatistics.c: (gst_statistics_class_init):
22498         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
22499         (gst_tee_link):
22500         * gst/gstelement.c: (gst_element_class_init),
22501         (gst_element_base_class_init), (gst_element_init),
22502         (gst_element_get_random_pad), (gst_element_wait_state_change),
22503         (gst_element_change_state), (gst_element_dispose),
22504         (gst_element_finalize), (gst_element_set_loop_function):
22505         * gst/gstelement.h:
22506         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
22507         * gst/gstthread.c: (gst_thread_class_init),
22508         (gst_thread_release_children_locks), (gst_thread_change_state):
22509         * gst/schedulers/gstbasicscheduler.c:
22510         (gst_basic_scheduler_loopfunc_wrapper),
22511         (gst_basic_scheduler_chain_wrapper),
22512         (gst_basic_scheduler_src_wrapper),
22513         (gst_basic_scheduler_remove_element):
22514         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
22515         Remove threadsafe properties. Fix elements because GObject
22516         complains when installing a property before declaring a
22517         set/get_property handler.
22518         Rearrange gstelement.h file, use STATE macros for state locks.
22519         Free mutexes in the finalize method instead of dispose.
22520
22521 2005-03-08  Wim Taymans  <wim@fluendo.com>
22522
22523         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22524         * gst/gstthread.c: (gst_thread_release_children_locks):
22525         Added parentage check.
22526         Fix build og GstThread again.
22527
22528 2005-03-08  Wim Taymans  <wim@fluendo.com>
22529
22530         * docs/design/part-MT-refcounting.txt:
22531         * docs/design/part-conventions.txt:
22532         * docs/design/part-gstobject.txt:
22533         * docs/design/part-relations.txt:
22534         * docs/design/part-standards.txt:
22535         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22536         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
22537         (gst_bin_get_by_name), (gst_bin_get_by_interface),
22538         (gst_bin_iterate_all_by_interface):
22539         * gst/gstbuffer.h:
22540         * gst/gstclock.h:
22541         * gst/gstelement.c: (gst_element_class_init),
22542         (gst_element_change_state), (gst_element_set_loop_function):
22543         * gst/gstelement.h:
22544         * gst/gstiterator.c:
22545         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
22546         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
22547         (gst_object_dispatch_properties_changed), (gst_object_set_name),
22548         (gst_object_set_parent), (gst_object_unparent),
22549         (gst_object_check_uniqueness):
22550         * gst/gstobject.h:
22551         Docs updates, clean up some headers.
22552
22553 2005-03-07  Wim Taymans  <wim@fluendo.com>
22554
22555         * check/.cvsignore:
22556         * check/Makefile.am:
22557         * check/gst-libs/.cvsignore:
22558         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
22559         * check/gst/.cvsignore:
22560         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
22561         (START_TEST), (gstbus_suite), (main):
22562         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
22563         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
22564         (gst_data_suite), (main):
22565         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
22566         (add_fold_func), (gstiterator_suite), (main):
22567         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
22568         (thread_name_object), (thread_name_object_default),
22569         (gst_object_name_compare), (gst_object_suite), (main):
22570         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
22571         (gst_pad_suite), (main):
22572         * check/gstcheck.c: (gst_check_log_message_func),
22573         (gst_check_log_critical_func), (gst_check_init):
22574         * check/gstcheck.h:
22575         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
22576         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
22577         Added checks.
22578
22579 2005-03-07  Wim Taymans  <wim@fluendo.com>
22580
22581         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22582         (gst_list_iterator_next), (gst_list_iterator_resync),
22583         (gst_list_iterator_free), (gst_iterator_new_list),
22584         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
22585         (gst_iterator_free), (gst_iterator_push), (filter_next),
22586         (filter_resync), (filter_uninit), (filter_free),
22587         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
22588         (gst_iterator_foreach), (find_custom_fold_func),
22589         (gst_iterator_find_custom):
22590         * gst/gstiterator.h:
22591         Added missing files.
22592
22593 2005-03-07  Wim Taymans  <wim@fluendo.com>
22594
22595         * Makefile.am:
22596         * configure.ac:
22597         * docs/design/part-MT-refcounting.txt:
22598         * docs/design/part-conventions.txt:
22599         * docs/design/part-gstobject.txt:
22600         * docs/design/part-relations.txt:
22601         * examples/mixer/mixer.c: (main):
22602         * examples/thread/thread.c: (eos), (main):
22603         * gst/Makefile.am:
22604         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
22605         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
22606         (gst_spider_plug_from_srcpad):
22607         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
22608         (gst_spider_identity_change_state),
22609         (gst_spider_identity_sink_loop_type_finding):
22610         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
22611         * gst/elements/gstidentity.c: (gst_identity_init):
22612         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
22613         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
22614         * gst/elements/gsttypefindelement.c: (free_entry):
22615         * gst/gst.c:
22616         * gst/gst.h:
22617         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
22618         (gst_bin_set_clock_func), (gst_bin_auto_clock),
22619         (gst_bin_set_index), (gst_bin_set_element_sched),
22620         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
22621         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
22622         (gst_bin_iterate_elements), (iterate_child_recurse),
22623         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
22624         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
22625         (compare_interface), (gst_bin_get_by_interface),
22626         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
22627         * gst/gstbin.h:
22628         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
22629         (gst_buffer_default_free), (gst_buffer_default_copy),
22630         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
22631         (gst_buffer_create_sub):
22632         * gst/gstbuffer.h:
22633         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
22634         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
22635         (gst_caps_unref), (gst_static_caps_get),
22636         (gst_caps_remove_and_get_structure), (gst_caps_append),
22637         (gst_caps_append_structure), (gst_caps_remove_structure),
22638         (gst_caps_copy_nth), (gst_caps_set_simple),
22639         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
22640         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
22641         (gst_caps_structure_intersect_field), (gst_caps_intersect),
22642         (gst_caps_structure_subtract_field), (gst_caps_subtract),
22643         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
22644         (gst_caps_structure_figure_out_union),
22645         (gst_caps_switch_structures), (gst_caps_do_simplify),
22646         (gst_caps_replace), (gst_caps_from_string),
22647         (gst_caps_copy_conditional):
22648         * gst/gstcaps.h:
22649         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
22650         (_gst_clock_id_free), (gst_clock_id_unref),
22651         (gst_clock_id_compare_func), (gst_clock_id_wait),
22652         (gst_clock_id_wait_async), (gst_clock_class_init),
22653         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
22654         (gst_clock_get_time), (gst_clock_set_time_adjust),
22655         (gst_clock_set_property), (gst_clock_get_property):
22656         * gst/gstclock.h:
22657         * gst/gstcompat.h:
22658         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
22659         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
22660         * gst/gstdata.h:
22661         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22662         (gst_element_requires_clock), (gst_element_provides_clock),
22663         (gst_element_set_clock), (gst_element_clock_wait),
22664         (gst_element_wait), (gst_element_set_time_delay),
22665         (gst_element_is_indexable), (gst_element_add_pad),
22666         (gst_element_add_ghost_pad), (gst_element_remove_pad),
22667         (pad_compare_name), (gst_element_get_static_pad),
22668         (gst_element_request_pad), (gst_element_get_request_pad),
22669         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
22670         (gst_element_class_get_pad_template_list),
22671         (gst_element_class_get_pad_template), (gst_element_error_func),
22672         (gst_element_get_random_pad), (gst_element_get_event_masks),
22673         (gst_element_send_event), (gst_element_seek),
22674         (gst_element_get_query_types), (gst_element_query),
22675         (gst_element_get_formats), (gst_element_convert),
22676         (gst_element_is_locked_state), (gst_element_set_locked_state),
22677         (gst_element_sync_state_with_parent), (gst_element_change_state),
22678         (gst_element_finalize), (gst_element_yield),
22679         (gst_element_interrupt), (gst_element_set_scheduler),
22680         (gst_element_get_scheduler), (gst_element_set_loop_function):
22681         * gst/gstelement.h:
22682         * gst/gstevent.h:
22683         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
22684         (gst_format_get_by_nick), (gst_format_get_details),
22685         (gst_format_iterate_definitions):
22686         * gst/gstformat.h:
22687         * gst/gstindex.c: (gst_index_gtype_resolver):
22688         * gst/gstinfo.c:
22689         * gst/gstinfo.h:
22690         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
22691         (gst_mem_chunk_free):
22692         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22693         (gst_object_ref), (gst_object_unref), (gst_object_sink),
22694         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
22695         (gst_object_dispatch_properties_changed),
22696         (gst_object_set_name_default), (gst_object_set_name),
22697         (gst_object_get_name), (gst_object_set_name_prefix),
22698         (gst_object_get_name_prefix), (gst_object_set_parent),
22699         (gst_object_get_parent), (gst_object_unparent),
22700         (gst_object_check_uniqueness), (gst_object_save_thyself),
22701         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
22702         (gst_object_set_property), (gst_object_get_property),
22703         (gst_object_get_path_string):
22704         * gst/gstobject.h:
22705         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22706         (gst_real_pad_init), (gst_real_pad_get_property),
22707         (gst_pad_custom_new), (gst_pad_get_direction),
22708         (gst_pad_set_active), (gst_pad_is_active),
22709         (gst_pad_set_event_function), (gst_pad_is_linked),
22710         (gst_pad_link_free), (gst_pad_link_intersect),
22711         (gst_pad_link_fixate), (gst_pad_set_caps),
22712         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
22713         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
22714         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
22715         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
22716         (gst_pad_get_caps), (gst_pad_peer_get_caps),
22717         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
22718         (gst_pad_realize), (gst_pad_get_allowed_caps),
22719         (gst_real_pad_dispose), (gst_real_pad_finalize),
22720         (gst_pad_collectv), (gst_pad_collect_valist),
22721         (gst_pad_template_dispose), (gst_pad_template_new),
22722         (gst_pad_get_internal_links):
22723         * gst/gstpad.h:
22724         * gst/gstpipeline.c: (gst_pipeline_dispose),
22725         (gst_pipeline_change_state):
22726         * gst/gstpipeline.h:
22727         * gst/gstplugin.c:
22728         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
22729         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
22730         * gst/gstpluginfeature.h:
22731         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
22732         * gst/gstquery.c: (_gst_query_type_initialize),
22733         (gst_query_type_register), (gst_query_type_get_by_nick),
22734         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
22735         * gst/gstquery.h:
22736         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
22737         * gst/gstscheduler.c: (gst_scheduler_add_element),
22738         (gst_scheduler_factory_create):
22739         * gst/gststructure.c: (gst_structure_set_parent_refcount),
22740         (gst_structure_free), (gst_structure_set_name),
22741         (gst_structure_id_set_value), (gst_structure_set_value),
22742         (gst_structure_set_valist), (gst_structure_remove_field),
22743         (gst_structure_remove_fields),
22744         (gst_structure_remove_fields_valist),
22745         (gst_structure_remove_all_fields), (gst_structure_foreach),
22746         (gst_structure_map_in_place),
22747         (gst_caps_structure_fixate_field_nearest_int),
22748         (gst_caps_structure_fixate_field_nearest_double):
22749         * gst/gststructure.h:
22750         * gst/gstsystemclock.c: (gst_system_clock_class_init),
22751         (gst_system_clock_init), (gst_system_clock_dispose),
22752         (gst_system_clock_async_thread),
22753         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
22754         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
22755         * gst/gstsystemclock.h:
22756         * gst/gsttag.c: (gst_tag_list_add_value_internal),
22757         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
22758         * gst/gsttaginterface.c:
22759         * gst/gstthread.c: (gst_thread_dispose),
22760         (gst_thread_release_children_locks), (gst_thread_change_state),
22761         (gst_thread_main_loop):
22762         * gst/gsttrashstack.h:
22763         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
22764         * gst/gsttypes.h:
22765         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22766         (gst_element_request_pad), (gst_element_get_pad_from_template),
22767         (gst_element_request_compatible_pad),
22768         (gst_element_get_compatible_pad_filtered),
22769         (gst_element_get_compatible_pad), (gst_element_state_get_name),
22770         (gst_element_link_pads_filtered), (gst_element_link_filtered),
22771         (gst_element_link_many), (gst_element_link),
22772         (gst_element_link_pads), (gst_element_unlink_pads),
22773         (gst_element_unlink_many), (gst_element_unlink),
22774         (gst_pad_can_link_filtered), (gst_pad_can_link),
22775         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
22776         (gst_object_default_error), (gst_bin_add_many),
22777         (gst_bin_remove_many), (gst_element_populate_std_props),
22778         (gst_element_class_install_std_props), (gst_buffer_merge),
22779         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
22780         (link_fold_func), (gst_pad_proxy_setcaps):
22781         * gst/gstutils.h:
22782         * gst/gstvalue.c: (gst_value_deserialize_string):
22783         * gst/parse/grammar.y:
22784         * gst/schedulers/gstbasicscheduler.c:
22785         (gst_basic_scheduler_cothreaded_chain),
22786         (gst_basic_scheduler_chain_recursive_add),
22787         (gst_basic_scheduler_pad_link):
22788         * gst/schedulers/gstoptimalscheduler.c:
22789         (get_group_schedule_function),
22790         (gst_opt_scheduler_state_transition),
22791         (gst_opt_scheduler_add_element), (element_get_reachables_func):
22792         * libs/gst/bytestream/bytestream.c:
22793         * libs/gst/dataprotocol/dataprotocol.c:
22794         (gst_dp_header_from_buffer):
22795         * po/nb.po:
22796         * po/ru.po:
22797         * tests/threadstate/threadstate2.c: (eos):
22798         * tools/gst-compprep.c: (main):
22799         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
22800         (print_pad_info), (print_children_info):
22801         * tools/gst-launch.c: (idle_func), (main):
22802         * tools/gst-md5sum.c: (idle_func), (main):
22803         * tools/gst-xmlinspect.c: (print_element_info):
22804         First THREADED backport attempt, focusing on adding locks and
22805         making sure the API is threadsafe. Needs more work. More docs
22806         follow this week.
22807
22808 2005-02-24  Andy Wingo  <wingo@pobox.com>
22809
22810         * tests/bench-complexity.scm:
22811         * tests/complexity.gnuplot: New files, good for running complexity
22812         benchmarks.
22813
22814         * tests/Makefile.am:
22815         * tests/complexity.c: New test, sets up N elements, at each level
22816         teeing into M streams per element. Eeeenteresting.
22817
22818         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
22819         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
22820         running bench-mass_elements.scm.
22821
22822         * tests/bench-mass_elements.scm: New script, runs mass_elements
22823         for various numbers of identities, outputting the results to a
22824         file. Requires guile 1.6. Just for testing.
22825
22826 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22827
22828         * gst/schedulers/fairscheduler.c:
22829           compile with debug disabled
22830
22831 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22832
22833         * configure.ac:
22834           hunting season on 0.9 is now OPEN