docs/libs/gstreamer-libs-sections.txt: Remove bogus addition for API I didn't end...
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
2
3         * docs/libs/gstreamer-libs-sections.txt:
4         Remove bogus addition for API I didn't end up keeping.
5
6         * libs/gst/base/gstbasesrc.h:
7         Mention Since: 0.10.13 in the documentation.
8
9         Add the API keyword to the previous ChangeLog entry.
10
11 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
12
13         * docs/libs/gstreamer-libs-sections.txt:
14         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15         (gst_base_src_default_prepare_seek_segment),
16         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
17         * libs/gst/base/gstbasesrc.h:
18         Allow basesrc derived classes to execute seeks in other formats
19         by providing a prepare_seek_segment vmethod. Sub-classes can choose
20         to prepare the GstSegment in any format that their perform_seek method
21         will be able to understand. The default implementation provides the
22         old behaviour of attempting to convert the seek offsets to the 
23         configured native format.
24
25         API: basesrc::prepare_seek_segment vmethod.
26
27 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
28
29         * gst/gstelement.c: (gst_element_get_state_func):
30         Don't output the same debug statement twice.
31
32         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
33         (gst_adapter_peek), (gst_adapter_take_buffer):
34         Optimise the case where we have buffers at the head of the queue that
35         can be joined quickly (because they're contiguous sub-buffers) by
36         merging them together rather than copying data out into new memory.
37
38         * gst/parse/grammar.y:
39         * tests/check/pipelines/parse-launch.c:
40         Fix a leak in an error path for parse_launch, and add a check 
41         for it to the testsuite.
42
43 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
44
45         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
46           Don't deadlock when releasing a pad - gst_pad_set_active may try
47           and take the multiqueue lock too.
48
49 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
50
51         * gst/gsterror.c: (_gst_core_errors_init):
52         * gst/gsterror.h:
53           API: add GST_CORE_ERROR_DISABLED (#392804).
54
55 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
56
57         * docs/faq/gst-uninstalled:
58           don't get empty paths on the PATH variables
59         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
60           Don't format for the uncommon terminal width of 84 characters.
61
62 2007-04-06  Wim Taymans  <wim@fluendo.com>
63
64         * gst/gstpipeline.c: (reset_stream_time),
65         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
66         Only try to select a different pipeline clock when we went back to
67         PAUSED and not when we merely got flushed.
68
69 2007-04-05  Michael Smith  <msmith@fluendo.com>
70
71         * tools/gst-launch.1.in:
72           fractions are better supported in gstreamer than ractions, so
73           suggest using those.
74
75 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
76
77         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
78
79         * po/LINGUAS:
80         * po/da.po:
81           Added Danish translation.
82
83 2007-04-05  Wim Taymans  <wim@fluendo.com>
84
85         * libs/gst/base/gstbasesink.c:
86         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
87         Fix leak caused when refusing newsegment after EOS.
88
89         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
90         (gst_fake_sink_init), (gst_fake_sink_set_property),
91         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
92         (gst_fake_sink_render), (gst_fake_sink_change_state):
93         * plugins/elements/gstfakesink.h:
94         Add num-buffers property to make the element generate EOS after a
95         configurable amount of buffers.
96         API: fakesink::num-buffers property.
97
98         * tests/check/elements/fakesink.c: (GST_START_TEST),
99         (fakesink_suite):
100         Fix GstBus leak in test.
101         Test for fakesink num-buffers.
102
103 2007-04-05  Wim Taymans  <wim@fluendo.com>
104
105         * libs/gst/base/gstbasesink.c:
106         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
107         (gst_base_sink_change_state):
108         Don't accept anything after an EOS, return UNEXPECTED instead.
109
110         * tests/check/elements/fakesink.c: (GST_START_TEST),
111         (fakesink_suite):
112         Unit test for new EOS behaviour.
113
114 2007-04-05  Wim Taymans  <wim@fluendo.com>
115
116         * gst/gstelement.c: (gst_element_get_request_pad):
117         Make padtemplates also work when they don't contain %s or %d.
118
119 2007-04-05  Wim Taymans  <wim@fluendo.com>
120
121         * docs/gst/gstreamer-sections.txt:
122         * gst/gstclock.c: (gst_clock_adjust_unlocked),
123         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
124         * gst/gstclock.h:
125         Improve _adjust_unlocked() so that it overflows less.
126         Add gst_clock_unadjust_unlocked to convert from external time to
127         internal time based on calibration.
128         Add some more debug.
129         API: GstClock::gst_clock_unadjust_unlocked()
130
131 2007-04-03  Wim Taymans  <wim@fluendo.com>
132
133         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
134
135         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
136         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
137         when releasing sink pad. Fixes #425400.
138
139 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
140
141         * docs/random/ensonic/dynlink.txt:
142           More work on proposal for new core api.
143
144         * docs/libs/gstreamer-libs-sections.txt:
145         * libs/gst/base/gstbasetransform.h:
146           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
147           
148         * libs/gst/controller/gstcontroller.c:
149         (on_object_controlled_property_changed),
150         (gst_controller_sync_values),
151         (gst_controller_set_interpolation_mode):
152         * libs/gst/controller/gstcontroller.h:
153           Less verbose logging add docs for unimplemented parts and correctly
154           return when using unavailable parts.
155
156 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
157
158         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
159         Move all the debug to the CLOCK category, and associate it with
160         the clock object.
161
162 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
163
164         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
165         Make take_buffer a bit quicker by removing redundant checks
166         caused by calling gst_adapter_take.
167
168 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
169
170         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
171           Don't leak GCond.
172
173         * tests/check/Makefile.am:
174         * tests/check/elements/.cvsignore:
175         * tests/check/elements/multiqueue.c: (setup_multiqueue),
176         (GST_START_TEST), (multiqueue_suite):
177           Add some dead simple unit tests for the 'multiqueue' element
178           (some bits don't work yet and are disabled for now).
179
180 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
181
182         * gst/gstelement.c: (gst_element_get_request_pad),
183         (gst_element_class_get_request_pad_template):
184           Make gst_element_get_request_pad() create request pads only for
185           request pad templates and not for, say, sometimes pad templates.
186
187 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
188
189         * docs/design/draft-klass.txt:
190           Add example that needs more thinking.
191         
192         * docs/design/draft-missing-plugins.txt:
193           More thoughts about wrapper plugins.
194         
195         * docs/random/ensonic/embedded.txt:
196         * docs/random/ensonic/profiling.txt:
197           More design work.
198
199 2007-03-25  Wim Taymans  <wim@fluendo.com>
200
201         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
202         (gst_base_src_loop):
203         Only push the segment events in the PLAYING state for live sources.
204
205 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
206
207         * gst/gstpipeline.c: (gst_pipeline_change_state):
208         Modify the clock distribution path in PAUSED->PLAYING so that we 
209         never attempt to choose a new clock unless we're actually leaving
210         the PAUSED state for the first time. This prevents choosing a
211         different clock when the state_change gets called for a 2nd time due
212         to some element doing an async state change.
213
214 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
215
216         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
217         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
218         (gst_pad_chain_unchecked), (gst_pad_push):
219         Revert last commit. This needs some more thoughts.
220
221 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
222
223         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
224         (gst_pad_chain_unchecked), (gst_pad_push):
225         Check in set_caps if the caps are compatible with the pad and remove
226         two functions that are redundant now. Fixes #421543.
227
228 2007-03-22  Wim Taymans  <wim@fluendo.com>
229
230         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
231         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
232         Unref some more to make valgrind happy.
233
234 2007-03-22  Wim Taymans  <wim@fluendo.com>
235
236         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
237         (gst_system_clock_id_wait_jitter),
238         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
239         Fix anoying regression that survived a few releases. When adding an
240         async entry while blocking on a sync entry, the sync entry will unblock
241         but still be busy, so it should continue to wait instead of returning
242         _BUSY to the app.
243         Add some comments here and there.
244
245         * tests/check/gst/gstsystemclock.c: (mixed_thread),
246         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
247         Add testcase for this.
248
249 2007-03-22  Wim Taymans  <wim@fluendo.com>
250
251         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
252         Handle errors from the clock sync better, only UNSCHEDULED indicates a
253         WRONG_STATE and can silently pause the task. All other cases should
254         error out.
255
256 2007-03-22  Wim Taymans  <wim@fluendo.com>
257
258         Patch by: <syrjala at sci dot fi>
259
260         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
261         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
262         Improve debugging.
263
264 2007-03-21  Michael Smith  <msmith@fluendo.com>
265
266         * docs/pwg/advanced-types.xml:
267           Fix some errors in the typefinding docs pointed out on irc.
268
269 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
270
271         * libs/gst/base/gstbasesrc.c:
272         Clarify FIXME comment in the face of having added unlock_stop()
273
274 2007-03-21  Wim Taymans  <wim@fluendo.com>
275
276         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
277         Prepare for release where we warn against possible app breakage in the
278         case of live pipelines along with an env var to enable/disable live
279         preroll mode (GST_COMPAT=[no-]live-preroll).
280
281 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
282
283         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
284         So we should use correct constants for checking for None offset.
285
286 2007-03-20  Wim Taymans  <wim@fluendo.com>
287
288         * docs/design/part-block.txt:
289         Mention the fact that the newly switched element should be set to at
290         least PAUSED.
291
292 2007-03-20  Wim Taymans  <wim@fluendo.com>
293
294         * gst/gst.c:
295         Fix compilation with registry disabled as spotted by Saur.
296
297 2007-03-20  Wim Taymans  <wim@fluendo.com>
298
299         Patch by: Olivier Crete <tester at tester dot ca>
300
301         * gst/gstelement.c: (gst_element_sync_state_with_parent):
302         Look at the pending state too when syncing the element state to the
303         parent. Fixes #420133.
304
305 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
306
307         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
308         (gst_base_sink_change_state):
309         * libs/gst/base/gstbasesink.h:
310         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
311         (gst_base_src_default_event), (gst_base_src_unlock_stop),
312         (gst_base_src_deactivate):
313         * libs/gst/base/gstbasesrc.h:
314         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
315         for sub-classes to correctly clear any state they set trying to
316         unlock, such as clearing out unlock commands from a command fd.
317
318         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
319         (gst_fd_sink_render), (gst_fd_sink_unlock),
320         (gst_fd_sink_unlock_stop):
321         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
322         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
323         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
324
325         Implement unlock_stop in fdsrc and fdsink.
326         Implement seeking in fdsrc when a seekable fd is passed, as in
327         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
328
329 2007-03-19  Wim Taymans  <wim@fluendo.com>
330
331         Patch by: Evan Nemerson <evan at coeus dash group dot com>
332
333         * gst/gstelement.c: (gst_element_class_init):
334         Fix pad-added and pad-removed signal signatures so that the pad type is
335         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
336
337 2007-03-19  Wim Taymans  <wim@fluendo.com>
338
339         * docs/gst/gstreamer-sections.txt:
340         Add new element field and method.
341
342         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
343         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
344         (gst_bin_recalc_state), (gst_bin_get_state_func),
345         (gst_bin_element_set_state), (gst_bin_change_state_func),
346         (gst_bin_continue_func), (bin_bus_handler),
347         (bin_push_state_continue), (bin_handle_async_start),
348         (bin_handle_async_done), (gst_bin_handle_message_func):
349         Make async state changes a bit smarter by using new ASYNC_START and
350         ASYNC_DONE messages. This reduces the number of times we run the state
351         recalculation thread.
352         Don't change state of element with a pending ASYNC_START message.
353         Deprecate STATE_DIRTY messages.
354         
355         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
356         (gst_element_get_state_func), (gst_element_continue_state),
357         (gst_element_lost_state), (gst_element_set_state_func),
358         (gst_element_change_state):
359         * gst/gstelement.h:
360         Keep the state that was last set by the app in a new element field.
361         Don't allow state changes when handling an element event.
362         Post ASYNC_START and ASYNC_DONE messages.
363         Change lost_state so that we go to PAUSED and wait for the parent to set
364         us to PLAYING again (so latency calculation can be performed)
365         Export gst_element_change_state() method so that subclasses can use it.
366         API: gst_element_change_state()
367         API: GST_STATE_TARGET
368
369         * gst/gstpipeline.c: (gst_pipeline_class_init),
370         (reset_stream_time), (gst_pipeline_change_state),
371         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
372         Using the new ASYNC_START message we can reset the base_time when
373         needed. This can then be used to implement base_time redistribution in
374         flushing seeks so that we can remove the explicit seek handling.
375         Perform latency query and configuration when going to PLAYING.
376
377         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
378         (gst_base_sink_query), (gst_base_sink_change_state):
379         Post new ASYNC_START/ASYNC_DONE messages.
380
381         * tests/check/generic/sinks.c: (GST_START_TEST):
382         Fix test because the bin will not set the async element to PLAYING right
383         away.
384
385         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
386         Make the message check a little stronger.
387         Handle ASYNC messages.
388
389         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
390         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
391         Expect ASYNC_DONE messages.
392
393 2007-03-19  Wim Taymans  <wim@fluendo.com>
394
395         * docs/gst/gstreamer-sections.txt:
396         * gst/gstmessage.c: (gst_message_new_async_start),
397         (gst_message_new_async_done), (gst_message_parse_info),
398         (gst_message_parse_async_start):
399         * gst/gstmessage.h:
400         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
401         support.
402
403 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
404
405         * tools/gst-inspect.c:
406         (print_plugin_automatic_install_info_codecs):
407           Now that we don't check for the 'Codec' keyword any longer in the
408           klass, we shouldn't spew a warning if the klass isn't a decoder or
409           encoder (since it might be a Source/Network, for example).
410
411 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
412
413         * tools/gst-inspect.c:
414         (print_plugin_automatic_install_info_codecs):
415           Don't require decoder/demuxer/depayloader elements or
416           encoder/muxer/paylader elements to have 'Codec' as part of their
417           factory class string when introspecting a plugin's capabilities.
418           draft-klass.txt mentions that it might be removed in future, and
419           flump3dec doesn't have it as part of its class string, so chances
420           are others might also not have it.
421
422 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
423
424         * po/af.po:
425         * po/az.po:
426         * po/bg.po:
427         * po/ca.po:
428         * po/cs.po:
429         * po/de.po:
430         * po/en_GB.po:
431         * po/fr.po:
432         * po/it.po:
433         * po/nb.po:
434         * po/nl.po:
435         * po/ru.po:
436         * po/sq.po:
437         * po/sr.po:
438         * po/sv.po:
439         * po/tr.po:
440         * po/uk.po:
441         * po/vi.po:
442         * po/zh_CN.po:
443         * po/zh_TW.po:
444           Update translations from translation project
445
446 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
447
448         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
449         (gst_child_proxy_set_property):
450           Invert precondition check to be alike the ones in the mimiced gobject
451           api.
452
453 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
454
455         * docs/design/draft-tagreading.txt:
456         * docs/random/ensonic/audiobaseclasses.txt:
457           Do some Architect work.
458
459         * gst/gstobject.c: (gst_object_set_name):
460           Add a WARNING.
461
462         * gst/gstpad.c:
463           Add docs that point from gst_pad_get_range to gst_pad_pull_range
464
465 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
466
467         * gst/gstsystemclock.c: (gst_system_clock_init),
468         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
469         Defer starting the async system clock thread until the first async
470         wait is scheduled. Fixes #414986.
471
472 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
473
474         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
475         (gst_single_queue_free):
476           Fix small leak (free GstSingleQueue structure too, not only contents).
477
478 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
479
480         * gst/gstbin.c:(gst_bin_add):
481         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
482         * win32/common/libgstbase.def:
483         * win32/common/libgstreamer.def:
484         Add new exported functions.
485
486 2007-03-09  Wim Taymans  <wim@fluendo.com>
487
488         * docs/plugins/gstreamer-plugins-sections.txt:
489         Fix GstTee docs.
490
491 2007-03-09  Wim Taymans  <wim@fluendo.com>
492
493         * docs/gst/gstreamer-sections.txt:
494         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
495         * gst/gstbuffer.h:
496         Add metadata copy functions. Fixes #393099.
497
498         * gst/gstutils.c: (gst_buffer_stamp):
499         * libs/gst/base/gstbasetransform.c:
500         (gst_base_transform_prepare_output_buffer):
501         Use new metadata copy functions.
502
503 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
504
505         * plugins/elements/gstidentity.c: (gst_identity_class_init),
506         (gst_identity_init), (gst_identity_check_perfect),
507         (gst_identity_check_imperfect_timestamp),
508         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
509         (gst_identity_set_property), (gst_identity_get_property):
510         * plugins/elements/gstidentity.h:
511         Separate out check-imperfect-timestamp and check-imperfect-offset.
512         Put back check-perfect as it was to keep compatibility.
513
514 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
515
516         * gst/gstelement.c: (gst_element_dispose):
517         There's no need to warn if VOID_PENDING is not NONE here, as
518         long as the state is NULL it's ok, and that's checked immediately
519         above.
520
521 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
522
523         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
524         Fix check for perfect stream to ignore buffers with -1 
525         offsets/offset ends when checking data contiguity.
526
527 2007-03-08  Wim Taymans  <wim@fluendo.com>
528
529         * tools/gst-launch.c: (event_loop):
530         Print INFO messages.
531
532 2007-03-08  Wim Taymans  <wim@fluendo.com>
533
534         * libs/gst/base/gstbasetransform.c:
535         (gst_base_transform_sink_eventfunc),
536         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
537         (gst_base_transform_activate):
538         * libs/gst/base/gstbasetransform.h:
539         Add support for dropping buffers with custom GstFlowReturn.
540         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
541         buffers or dropped buffers.
542
543         * docs/libs/gstreamer-libs-sections.txt:
544         docs for new custom return code.
545
546         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
547         Use drop support in base class to implement drop-probability.
548
549 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
550
551         * gst/gst.c: (load_plugin_func):
552         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
553         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
554         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
555           Remove newlines at end of debug log strings.
556
557 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
558
559         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
560         Only post bus message at max, once per buffer received.
561
562 2007-03-07  Wim Taymans  <wim@fluendo.com>
563
564         * docs/design/Makefile.am:
565         * docs/design/part-synchronisation.txt:
566         Add doc about synchronisation
567
568         * docs/design/draft-latency.txt:
569         * docs/design/part-TODO.txt:
570         * docs/design/part-clocks.txt:
571         * docs/design/part-events.txt:
572         * docs/design/part-gstbus.txt:
573         * docs/design/part-gstpipeline.txt:
574         * docs/design/part-live-source.txt:
575         * docs/design/part-messages.txt:
576         * docs/design/part-overview.txt:
577         * docs/design/part-streams.txt:
578         * docs/design/part-trickmodes.txt:
579         Documentation updates.
580
581 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
582
583         * gstreamer.doap:
584         Update the doap file.
585
586 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
587
588         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
589         Rename non-perfect to imperfect for Mike and for the sanctity of the
590         language.
591         Also make sure bus message gets emitted for data-incontiguities.
592
593 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
594
595         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
596         (gst_identity_start):
597         * plugins/elements/gstidentity.h:
598         Emit bus message if check-perfect is true and we encounter a
599         non-perfect stream between 2 consecutive buffers.
600         Fixes #415394.
601
602 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
603
604         * configure.ac:
605         Back to CVS
606
607 === release 0.10.12 ===
608
609 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
610
611         * configure.ac:
612           releasing 0.10.12, "Inevitable Demise"
613
614 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
615
616         * configure.ac:
617          Version 0.10.11.2 (0.10.12 pre-release)
618          Bump libtool versioning.
619
620 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
621
622         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
623           Log flow-names and not numbers.
624
625 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
626
627         * configure.ac:
628           Convert to new AG_GST style.
629
630 2007-02-28  Wim Taymans  <wim@fluendo.com>
631
632         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
633         Don't unref query twice.
634
635 2007-02-28  Wim Taymans  <wim@fluendo.com>
636
637         * gst/gstvalue.c: (gst_value_transform_object_string),
638         (_gst_value_initialize):
639         Implement GstObject -> string transform so we print object names
640         when serializing GValues containing GstObjects.
641
642 2007-02-28  Wim Taymans  <wim@fluendo.com>
643
644         * docs/gst/gstreamer-sections.txt:
645         Add new stuff to docs.
646
647 2007-02-28  Wim Taymans  <wim@fluendo.com>
648
649         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
650         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
651         (gst_base_sink_change_state):
652         Improve latency query code.
653         Don't leak latency events.
654
655         * tests/check/gst/gstbin.c: (GST_START_TEST):
656         Improve debugging.
657
658 2007-02-28  Wim Taymans  <wim@fluendo.com>
659
660         * gst/gstelement.c: (gst_element_message_full),
661         (gst_element_get_state_func):
662         * gst/gstelement.h:
663         Improve docs a little. Added Since: for new macro.
664
665         * gst/gstobject.c: (gst_object_sink):
666         * gst/gstpipeline.c: (gst_pipeline_change_state),
667         (gst_pipeline_set_new_stream_time):
668         * gst/gstpipeline.h:
669         Improve debugging and docs.
670
671         * gst/gstutils.c: (gst_element_state_change_return_get_name):
672         Improve debugging.
673
674 2007-02-28  Wim Taymans  <wim@fluendo.com>
675
676         * gst/gstelement.c: (gst_element_message_full),
677         (gst_element_set_locked_state), (gst_element_get_state_func),
678         (gst_element_change_state):
679         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
680         Documentation updates.
681         Small code cleanups.
682
683         * gst/gstmessage.c: (gst_message_new_info),
684         (gst_message_parse_info):
685         * gst/gstmessage.h:
686         API: gst_message_new_info()
687         API: gst_message_parse_info()
688         Add INFO message create and parse code.
689
690 2007-02-28  Wim Taymans  <wim@fluendo.com>
691
692         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
693         (bin_query_latency_done):
694         Also report the live parameter of a latency query.
695
696 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
697
698         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
699           Copy the current generic/states example from -base and adapt so
700           we can use the exact same code everywhere.
701           Check a STATES_IGNORE_ELEMENTS env var which can be used
702           to ignore certain element factories for this test, which is
703           what is being done in -base
704         * tests/check/Makefile.am:
705           Mention this environment variable.
706
707 2007-02-27  Wim Taymans  <wim@fluendo.com>
708
709         * docs/gst/gstreamer-sections.txt:
710         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
711         (gst_bus_timed_pop), (gst_bus_pop):
712         * gst/gstbus.h:
713         API: gst_bus_timed_pop()
714         Implement gst_bus_timed_pop() to do a blocking timed wait for a
715         message to arrive on the bus.
716
717         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
718         (gst_bus_suite):
719         Two unit tests for new _timed_pop() function.
720
721 2007-02-23  Wim Taymans  <wim@fluendo.com>
722
723         * gst/gstpipeline.c: (gst_pipeline_change_state),
724         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
725         Don't ref a NULL clock in _provide_clock_func().
726         Don't allow an INVALID delay.
727         Don't try to calculate base_time with an invalid start_time.
728         Also distribute and notify a NULL clock when it was selected.
729
730         * tools/gst-launch.c: (event_loop):
731         Don't crash when a NULL clock was selected in the pipeline.
732
733 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
734
735         * docs/design/Makefile.am:
736         * docs/design/draft-missing-plugins.txt:
737         * docs/random/draft-missing-plugins.txt:
738           Some small updates: update plugin system identifier prefix
739           ('gstreamer.net' to 'gstreamer'), mention our new install
740           API in libgstbaseutils rather than libgimme-codec, add
741           reference to the online docs.
742
743 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
744
745         * win32/common/config.h:
746           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
747           use moap cl ci to only check in what is mentioned in the ChangeLog.
748
749 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
750
751         * docs/gst/gstreamer-sections.txt:
752         * gst/gstelement.h:
753           Fix up documentation to link to the correct GstGError section.
754           Add GST_ELEMENT_INFO macro since someone else added a Info message.
755
756 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
757
758         * tools/gst-launch.c: (event_loop):
759           Make sure that we actually show the important message part of a
760           warning message.
761           No need to check if the gerror is not NULL to free; first of all
762           g_free accepts NULL; and second the default error handler would
763           segfault if gerror was NULL.
764
765 2007-02-21  Wim Taymans  <wim@fluendo.com>
766
767         * docs/gst/gstreamer-sections.txt:
768         Removed docs as well.
769
770 2007-02-21  Wim Taymans  <wim@fluendo.com>
771
772         * gst/gstmessage.c: (gst_message_parse_duration):
773         * gst/gstmessage.h:
774         Remove new messages for release.
775
776 2007-02-20  Wim Taymans  <wim@fluendo.com>
777
778         * docs/design/part-gstghostpad.txt:
779         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
780         (gst_ghost_pad_new_full):
781         Make the ghostpad a parent of the internal pad again for better backward
782         compatibility. Don't write code that relies on this however.
783
784         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
785         (gst_pad_link_check_hierarchy):
786         Require that parents should be GstElements in the hierarchy check.
787
788 2007-02-20  Wim Taymans  <wim@fluendo.com>
789
790         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
791         (gst_bin_change_state_func), (bin_query_min_max_init),
792         (bin_query_latency_fold), (bin_query_latency_done),
793         (gst_bin_query):
794         Improve debug info.
795         Implement latency query.
796
797 2007-02-20  Wim Taymans  <wim@fluendo.com>
798
799         * docs/design/part-gstghostpad.txt:
800         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
801         (gst_ghost_pad_internal_do_activate_push),
802         (gst_ghost_pad_internal_do_activate_pull),
803         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
804         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
805         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
806         Do not set the internal pad as a parent anymore so we can avoid
807         hierarchy linking errors when the ghostpad has no parent yet. This also
808         fixes failed activation because of unlinked internal pads, which in
809         turn fixes the impossible case where you have to activate a pad before
810         you can add it to a running element.
811         Also fix the docs.
812
813         * gst/gstpad.c: (pre_activate), (post_activate),
814         (gst_pad_set_active), (gst_pad_activate_pull),
815         (gst_pad_activate_push), (gst_pad_check_pull_range):
816         Add some more debug info.
817         Mark activation mode in pre_activate so that we don't try to activate in
818         endless loops. Fixes #385084.
819
820 2007-02-19  Wim Taymans  <wim@fluendo.com>
821
822         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
823         (gst_base_transform_check_get_range):
824         Implement a checkgetrange function instead of relying on the default
825         core behaviour that assumes we can operate in pull mode if we have a
826         getrange function. First step at fixing #385084.
827
828 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
829
830         * gst/gstchildproxy.h:
831         * libs/gst/base/gstbasesink.h:
832         * libs/gst/base/gstbasesrc.h:
833         * libs/gst/base/gstbasetransform.h:
834         More docs coverage and some ChangeLog surgery (add missing names)
835
836 2007-02-15  Wim Taymans  <wim@fluendo.com>
837
838         * docs/design/part-TODO.txt:
839         * docs/design/part-activation.txt:
840         * docs/design/part-block.txt:
841         * docs/design/part-buffering.txt:
842         * docs/design/part-clocks.txt:
843         * docs/design/part-element-source.txt:
844         * docs/design/part-events.txt:
845         * docs/design/part-gstbin.txt:
846         * docs/design/part-gstbus.txt:
847         * docs/design/part-gstpipeline.txt:
848         * docs/design/part-live-source.txt:
849         * docs/design/part-messages.txt:
850         * docs/design/part-overview.txt:
851         * docs/design/part-qos.txt:
852         * docs/design/part-query.txt:
853         * docs/design/part-states.txt:
854         * docs/design/part-trickmodes.txt:
855         Some doc updates. Start renaming from stream_time to running_time where
856         it was used wrongly.
857
858 2007-02-15  Wim Taymans  <wim@fluendo.com>
859
860         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
861         Answer LATENCY query.
862
863 2007-02-15  Wim Taymans  <wim@fluendo.com>
864
865         * tests/check/gst/gstevent.c: (event_probe), (test_event),
866         (GST_START_TEST):
867         Improve debugging.
868
869 2007-02-15  Wim Taymans  <wim@fluendo.com>
870
871         * gst/gstpad.c: (gst_pad_get_internal_links_default),
872         (gst_pad_dispatcher):
873         Improve debugging of default pad dispatcher and query functions.
874
875 2007-02-15  Wim Taymans  <wim@fluendo.com>
876
877         * docs/gst/gstreamer-sections.txt:
878         Remove old unused method.
879
880 2007-02-13  Wim Taymans  <wim@fluendo.com>
881
882         * tests/check/gst/gstsegment.c: (GST_START_TEST):
883         Fix check
884
885 2007-02-13  Wim Taymans  <wim@fluendo.com>
886
887         * docs/design/part-seeking.txt:
888         Some small update.
889
890         * gst/gstsegment.c: (gst_segment_set_seek):
891         Revert old bogus change that should make seeking work again.
892
893 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
894
895         * docs/random/ensonic/dynlink.txt:
896         * docs/random/ensonic/interfaces.txt:
897         * docs/random/ensonic/receipies.txt:
898           Possible dynamic reconnection api, plus some type fixes the other two
899           docs.
900
901 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
902
903         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
904         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
905         Also check for an absolute path following file:// in the filesrc
906         element. Remove redundant check and call g_path_is_absolute() on the
907         unescaped location.
908
909 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
910
911         * docs/design/draft-klass.txt:
912           Add existing category analysis.
913           
914         * gst/gstcaps.c:
915           Fix doc example, framerate is a fraction.
916
917 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
918
919         * configure.ac:
920         * docs/gst/Makefile.am:
921         * docs/libs/Makefile.am:
922         * docs/plugins/Makefile.am:
923           Add crossreferences to glib/gobject docs.
924
925 2007-02-12  Wim Taymans  <wim@fluendo.com>
926
927         * docs/design/draft-latency.txt:
928         Small update.
929
930         * docs/libs/gstreamer-libs-sections.txt:
931         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
932         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
933         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
934         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
935         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
936         (gst_base_sink_get_position), (gst_base_sink_query),
937         (gst_base_sink_change_state):
938         * libs/gst/base/gstbasesink.h:
939         API: gst_base_sink_query_latency() to let subclasses query the upstream
940         latency.
941         API: gst_base_sink_get_latency() to let subclasses query the configured
942         latency in the sink.
943         Implement query and set latency.
944         Update some docs.
945         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
946         don't continue preroll when we are flushing. Fixes #405284.
947
948         * tests/check/pipelines/stress.c: (change_state_timeout),
949         (quit_timeout), (GST_START_TEST), (stress_suite):
950         Test for #405284.
951
952 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
953
954         Patch by: René Stadler <mail at renestadler de>
955
956         * docs/gst/gstreamer-sections.txt:
957         * gst/gsttaglist.c: (_gst_tag_initialize):
958         * gst/gsttaglist.h:
959           API: add GST_TAG_REFERENCE_LEVEL (#403597).
960
961 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
962
963         * docs/libs/Makefile.am:
964           Fix path to core docs.
965
966         * gst/gstbin.c: (gst_bin_get_by_interface),
967         (gst_bin_iterate_all_by_interface):
968           Refix docs by also renaming 'interface' to 'iface' in implementation.
969
970         * docs/gst/gstreamer-sections.txt:
971         * gst/gstcaps.c:
972         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
973         * gst/gstchildproxy.h:
974         * gst/gstelementfactory.c:
975         * gst/gstpadtemplate.h:
976         * libs/gst/controller/gstcontroller.c:
977         (gst_controlled_property_new):
978           Document more.
979
980 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
981
982         * gst/gstbin.h:(gst_bin_get_by_interface),
983         (gst_bin_iterate_all_by_interface):
984         Replace interface parameter name by iface as interface is 
985         a reserved keyword in Visual Studio for C++ projects so it removes
986         a build error for application developpers using VS.
987         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
988         Fix a bug on Windows in uri format check. Now the prefix checked
989         is file:// and next we check if the path after file:// is absolute.
990         * win32/common/libgstbase.def:
991         * win32/common/libgstdataprotocol.def:
992         * win32/common/libgstgstreamer.def:
993         Add new exported functions.
994
995 2007-02-09  Andy Wingo  <wingo@pobox.com>
996
997         * tests/check/pipelines/simple-launch-lines.c
998         (simple_launch_lines_suite, test_tee): Disable tee test until I
999         have time to fix it :-(
1000
1001         * tests/check/Makefile.am (noinst_HEADERS): 
1002         * tests/check/libs/libsabi.c: 
1003         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
1004         * tests/check/gst/gstabi.c: 
1005         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
1006
1007         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
1008         tests for push and pull tee behavior.
1009
1010         * plugins/elements/gsttee.h: 
1011         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
1012         mark as deprecated as well as unimplemented. It was a crack idea.
1013         Add support for tee operating in pull mode, off by default.
1014
1015         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
1016         normal-case logs down to LOG, raise errors to WARNING.
1017         (gst_registry_xml_read_cache): Don't log before calling a function
1018         that logs.
1019
1020         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
1021         exit (registry finalize).
1022         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
1023         DEBUG log when we emit signals that people don't even have the
1024         chance to connect to.
1025         (gst_registry_scan_path_level): Less logging in the normal case.
1026
1027 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
1028
1029         Patch by: Michal Benes <michal dot benes at itonis dot tv>
1030
1031         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1032         Correctly generate EOS for non-seekable files. We don't have a total
1033         length for them and would get an unexpected end of file if we only
1034         special-cased for regular files. (Fixes: #404569)
1035
1036 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
1037
1038         * tests/check/elements/filesrc.c: (GST_START_TEST),
1039         (filesrc_suite):
1040         Add unit test for the GstURIHandler interface in filesrc. This also
1041         tests the newly added file://localhost/foo/bar support.
1042
1043 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
1044
1045         * gst/gstelementfactory.h:
1046           The klass string is not a hierarchy. Add reference to the design doc
1047           for more information and common types.
1048
1049 2007-02-02  Wim Taymans  <wim@fluendo.com>
1050
1051         * gst/gstquery.c: (gst_query_new_latency):
1052         Remove old structure field.
1053
1054 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
1055
1056         * tools/gst-launch.1.in:
1057           Give example for network streaming (#351998)
1058
1059 2007-02-02  Wim Taymans  <wim@fluendo.com>
1060
1061         * docs/gst/gstreamer-sections.txt:
1062         Add docs for new methods.
1063
1064         * gst/gstevent.c: (gst_event_new_latency),
1065         (gst_event_parse_latency):
1066         * gst/gstevent.h:
1067         Add new LATENCY event to configure latency in a pipeline.
1068         API: gst_event_new_latency
1069         API: gst_event_parse_latency
1070
1071         * gst/gstmessage.c: (gst_message_new_buffering),
1072         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
1073         (gst_message_new_latency), (gst_message_parse_buffering),
1074         (gst_message_parse_lost_preroll):
1075         * gst/gstmessage.h:
1076         Added messages used in draft-latency.
1077         API: gst_message_new_lost_preroll
1078         API: gst_message_parse_lost_preroll
1079         API: gst_message_new_prerolled
1080         API: gst_message_new_latency
1081
1082         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1083         (gst_query_parse_latency):
1084         * gst/gstquery.h:
1085         Implemented new latency query as in design doc.
1086         API: gst_query_new_latency
1087         API: gst_query_set_latency
1088         API: gst_query_parse_latency
1089
1090 2007-02-02  Wim Taymans  <wim@fluendo.com>
1091
1092         * docs/design/draft-latency.txt:
1093         Slight redesign to allow for dynamic latency adjustments.
1094
1095         * docs/design/part-negotiation.txt:
1096         Fix some typos.
1097
1098 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
1099
1100         reviewed by: Wim Taymans <wim@fluendo.com>
1101
1102         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1103         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1104         Allow file://localhost/foo/bar URLs and correctly fail for every other
1105         hostname that one sets. This was gnomevfssrc is linked for those if
1106         installed as it can handle it (#403172)
1107
1108 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
1109
1110         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1111
1112         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1113         (unref_data), (gst_collect_pads_add_pad_full):
1114         * libs/gst/base/gstcollectpads.h:
1115         Don't put the previously added destroy notify in the GstCollectData
1116         struct as all it's padding is already used and we don't want to break
1117         ABI. Instead put in the pad's GObject data for now. This should be
1118         cleaned up for 0.11 (#402393).
1119
1120 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
1121
1122         reviewed by: Wim Taymans <wim@fluendo.com>
1123
1124         * docs/libs/gstreamer-libs-sections.txt:
1125         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1126         (unref_data), (gst_collect_pads_add_pad),
1127         (gst_collect_pads_add_pad_full):
1128         * libs/gst/base/gstcollectpads.h:
1129         API: Add function to specify a destroy notification for custom
1130         GstCollectData when adding new pads in GstCollectPads (#402393).
1131
1132 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
1133
1134         * po/sv.po:
1135           Update Swedish translation (#378255).
1136
1137 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
1138
1139         * docs/design/draft-klass.txt:
1140           Fix the previous change, this is a list of categories and not a hierarchy.
1141
1142 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
1143
1144         * docs/design/draft-klass.txt:
1145           Add info about how to get a list of used classes.
1146
1147 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
1148
1149         * plugins/elements/gsttypefindelement.c:
1150         (gst_type_find_element_chain_do_typefinding),
1151         (gst_type_find_element_change_state):
1152           Don't leak found caps in chain function (no idea why that never
1153           showed up as a leak anywhere).
1154
1155 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
1156
1157         * gst/gstplugin.h:
1158           Fix and expand GstPluginDesc API docs.
1159
1160 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
1161
1162         * gst/gstcaps.c:
1163         * gst/gstelementfactory.c:
1164         * gst/gstpadtemplate.h:
1165           api doc fixes
1166
1167         * libs/gst/controller/gstcontroller.c:
1168         (gst_controlled_property_new):
1169         * tests/examples/controller/audio-example.c:
1170           comment fixes
1171
1172 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
1173
1174         * configure.ac:
1175           comment about refining the xml deps
1176
1177         * docs/manuals.mak:
1178           comments about moving away from jade for docs
1179         
1180         * gst/gst.c:
1181           recommit the ifdefs to use the binary registry
1182         
1183         * gst/gstbin.c: (gst_bin_change_state_func):
1184           this break is obsolete
1185
1186         * gst/gstelementfactory.h:
1187           better GST_ELEMENT_DETAILS docs, add comment about translation
1188
1189         * gst/gstinfo.h:
1190           remove eol slash
1191
1192         * gst/gstobject.c: (gst_signal_object_get_type):
1193           add G_UNLIKELY as usual
1194
1195         * gst/gstpad.c: (gst_pad_event_default):
1196           add fall trhu comment
1197
1198         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1199         (gst_registry_binary_initialize_magic),
1200         (gst_registry_binary_save_string),
1201         (gst_registry_binary_save_pad_template),
1202         (gst_registry_binary_save_feature),
1203         (gst_registry_binary_save_plugin),
1204         (gst_registry_binary_write_cache),
1205         (gst_registry_binary_check_magic),
1206         (gst_registry_binary_load_pad_template),
1207         (gst_registry_binary_load_feature),
1208         (gst_registry_binary_load_plugin),
1209         (gst_registry_binary_read_cache):
1210           comment typo and formatting
1211
1212         * gst/gstutils.c: (gst_element_state_get_name),
1213         (gst_element_state_change_return_get_name):
1214           remove obsolete breaks
1215
1216         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1217           add FIXME 0.11 and remove cpp comment
1218
1219 2007-01-29  Edward Hervey  <edward@fluendo.com>
1220
1221         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1222         Fix print statement in an even more portable way.
1223
1224 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
1225
1226         * docs/gst/gstreamer-sections.txt:
1227         * gst/gstutils.h:
1228           API: add GST_ROUND_DOWN_* macros (#401781).
1229
1230 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
1231
1232         * docs/gst/gstreamer.types.in:
1233         * gst/gstregistry.c: (gst_registry_class_init):
1234           Document registry signals and make gtk-doc pick them up (#401381).
1235
1236 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
1237
1238         * docs/pwg/building-testapp.xml:
1239           Add some audioconverts and audioresample to the pipeline, and some
1240           more comments and error handling.
1241
1242 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
1243
1244         * docs/manual/manual.xml:
1245         * docs/pwg/pwg.xml:
1246           Fix typo (#400987).
1247
1248 2007-01-26  Wim Taymans  <wim@fluendo.com>
1249
1250         * gst/gstcaps.c: (gst_static_caps_get):
1251         Init caps flags too.
1252
1253 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
1254
1255         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
1256
1257         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1258         If not using mmap'ed files try to seek to the end instead of the
1259         start to determine whether we can seek at all. This fixes the case
1260         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
1261         seeks for everything afterwards fail. Fixes #400656
1262
1263 2007-01-25  Wim Taymans  <wim@fluendo.com>
1264
1265         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
1266         Add some refcount debugging.
1267         Make gst_static_caps_get threadsafe, which is needed when autoplugging
1268         in multiple streaming threads.
1269
1270 2007-01-25  Wim Taymans  <wim@fluendo.com>
1271
1272         Patch by: David Schleef <ds at schleef dot org>
1273
1274         * docs/libs/gstreamer-libs-sections.txt:
1275         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
1276         * libs/gst/base/gstadapter.h:
1277         API: gst_adapter_copy() that can reduce the amount of memcpy when
1278         getting data from the adapter. Fixes #388201.
1279
1280 2007-01-25  Edward Hervey  <edward@fluendo.com>
1281
1282         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1283         In print statements, "%x" is for guint. Fixes build on macosx.
1284
1285 2007-01-24  Edward Hervey  <edward@fluendo.com>
1286
1287         * plugins/elements/gstmultiqueue.c:
1288         (gst_multi_queue_loop):
1289         Small fix.
1290         (single_queue_overrun_cb), (single_queue_underrun_cb),
1291         (single_queue_check_full), (gst_single_queue_new):
1292         Implement single queue growth system.
1293         This uses the extra-size properties, and will grow single queues by
1294         that much if one goes full whereas there are others empty. This is
1295         called extra-mode in the code.
1296         When a single queue's levels go back below the initial max-size
1297         limits, it is no longer in extra-mode. This is to ensure we don't
1298         consume too much memory.
1299         Fixes #399875
1300
1301 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
1302
1303         * gst/gst.c: (gst_init_get_option_group):
1304           Make warning about late g_thread_init() calls a bit more explicit,
1305           so that it's more obvious to application developers what they need
1306           to do if a user files a bug against their application.
1307
1308 2007-01-22  Edward Hervey  <edward@fluendo.com>
1309
1310         * plugins/elements/gstmultiqueue.c:
1311         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
1312         Remove previous hack of unsetting the flushing flag for the source pad
1313         instead of activating it. Instead, fix the source pad activate function
1314         so that it no longer depends on having a parent set or not.
1315
1316 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
1317
1318         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
1319
1320         * docs/manual/basics-bus.xml:
1321           Fix example code, gst_element_unref() doesn't exist any longer.
1322
1323 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
1324
1325         Patch by: Mark Nauwelaerts <manauw at skynet be>
1326
1327         * gst/gstpad.c:
1328           Fix two docs typoes (#399094).
1329
1330 2007-01-19  Edward Hervey  <edward@fluendo.com>
1331
1332         * docs/faq/gst-uninstalled:
1333         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
1334         depending on libgstbaseutils can work in uninstalled environment.
1335
1336 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
1337
1338         * gst/gsttaglist.h:
1339         * gst/gsttagsetter.c:
1340         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
1341         statement for new tag.
1342
1343 2007-01-17  Edward Hervey  <edward@fluendo.com>
1344
1345         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
1346         When dynamically creating single queues, activate sinkpad before adding
1347         it.
1348         We should be doing the same thing for the source pad, but we can't
1349         since it would call a method which needs the parent to be set in order
1350         to work propertly. Instead of activating the source pad, we just unset
1351         the flushing flag, which is the minimal requirement for adding a pad
1352         to an element in a state greater than READY.
1353
1354 2007-01-17  Edward Hervey  <edward@fluendo.com>
1355
1356         * docs/faq/gst-uninstalled:
1357         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
1358         Mac OS X.
1359
1360 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
1361
1362         * tests/check/gst/gstabi.c:
1363         * tests/check/gst/struct_hppa.h:
1364         * tests/check/libs/libsabi.c:
1365         * tests/check/libs/struct_hppa.h:
1366           Add ABI structs for HPPA (see #393796).
1367
1368 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
1369
1370         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1371           Actually write ABI structs to the file specified in the GST_ABI
1372           environment variable, as the message we print claims we would.
1373
1374 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1375
1376         * tests/check/gst/gsttask.c:
1377           Fix header comment.
1378
1379 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1380
1381         * gst/gsttaglist.c: (_gst_tag_initialize):
1382           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
1383           previous two entries.
1384
1385 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1386
1387         * docs/gst/gstreamer-sections.txt:
1388         * gst/gsttaglist.c: (_gst_tag_initialize):
1389         * gst/gsttaglist.h:
1390           Add tag support for beat-per-minute.
1391
1392 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1393
1394         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1395         (gst_registry_binary_initialize_magic),
1396         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
1397         (gst_registry_binary_save_pad_template),
1398         (gst_registry_binary_save_feature),
1399         (gst_registry_binary_save_plugin),
1400         (gst_registry_binary_write_cache),
1401         (gst_registry_binary_check_magic),
1402         (gst_registry_binary_load_pad_template),
1403         (gst_registry_binary_load_feature),
1404         (gst_registry_binary_load_plugin),
1405         (gst_registry_binary_read_cache):
1406         * gst/gstregistrybinary.h:
1407           Use glib types, cleanup comments, impement interfaces and uri-types.
1408
1409 2007-01-13  Andy Wingo  <wingo@pobox.com>
1410
1411         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
1412         getrange() to return buffers with other caps, while we fix
1413         demuxers and typefind, or otherwise change part-negotiation.txt.
1414
1415 2007-01-12  Andy Wingo  <wingo@pobox.com>
1416
1417         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
1418         Factor start/stop into this private function instead of partially
1419         in activate functions and partially in the change_state function.
1420         Fixes setup before the element has changed from READY->PAUSED, as
1421         is the case in pull-mode pipelines.
1422         (gst_base_transform_sink_activate_push)
1423         (gst_base_transform_src_activate_pull): Refactor to use
1424         gst_base_transform_activate().
1425         (gst_base_transform_change_state): Removed, not needed any more.
1426
1427         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1428         Truncate before fixating.
1429         
1430         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1431         Don't set_caps() if the result of fixating is ANY, as it's not
1432         supported, and not necessary in the case of a link with no
1433         template caps on either side. Fixes tests/check/libs/basesrc in
1434         some pull-mode tests.
1435
1436         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
1437         (gst_base_transform_init, gst_base_transform_sink_activate_push)
1438         (gst_base_transform_src_activate_pull): 
1439         Track the activation mode.
1440         (gst_base_transform_setcaps): In pull mode, when activating the
1441         src pad, after activating the sink pad, activate the sink pad's
1442         peer, as discussed in part-negotiation.txt.
1443
1444         * libs/gst/base/gstbasesrc.h: 
1445         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
1446         vmethod, as in basesink.
1447
1448         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
1449
1450         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
1451         mode, first proxy the setcaps to the peer pad.
1452         (gst_base_sink_pad_fixate): Add a fixate function that calls the
1453         new fixate vmethod.
1454         (gst_base_sink_default_activate_pull): Rename from
1455         gst_base_sink_activate_pull.
1456         (gst_base_sink_negotiate_pull): New function, performs negotiation
1457         in pull mode before calling ::activate_pull().
1458         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
1459         vmethod instead of the default implementation. I have no idea how
1460         this worked before. Negotiate before calling activate_pull.
1461
1462         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
1463         sink pads in pull mode. In addition to being correct, fixes
1464         filesrc ! decodebin ! identity ! fakesink.
1465         (gst_pad_get_range, gst_pad_pull_range): Don't call
1466         gst_pad_set_caps() if the caps changes; instead error out with
1467         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
1468
1469 2007-01-12  Andy Wingo  <wingo@pobox.com>
1470
1471         * docs/design/part-negotiation.txt: Update with more policy.
1472
1473 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1474
1475         * libs/gst/check/gstbufferstraw.h:
1476         * libs/gst/check/gstcheck.h:
1477           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
1478           belongs.
1479
1480 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1481
1482         * tests/check/Makefile.am:
1483         * tests/check/gst/.cvsignore:
1484         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
1485         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
1486         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
1487         (GST_START_TEST), (gst_tag_setter_suite):
1488           Add minimal unit test for beforementioned GstTagSetter bug.
1489
1490 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1491
1492         Patch by: René Stadler <mail at renestadler dot de>
1493
1494         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1495           gst_tag_list_merge() returns a new list, so it's not the best idea
1496           to ingore its return value. Effectively meant that tags could only
1497           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
1498           Also add function guard to require a non-NULL taglist as input (has
1499           always been so due to gst_tag_list_copy(), just making it explicit).
1500
1501 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1502
1503         * docs/random/draft-missing-plugins.txt:
1504           Some additions: mention new API that is supposed to be used at the
1505           various stages; short blob about new gst-inspect introspection
1506           option; mention potential future problem with plugins that have
1507           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
1508
1509 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1510
1511         * tools/gst-inspect.c:
1512         (print_plugin_automatic_install_info_codecs),
1513         (print_plugin_automatic_install_info_protocols),
1514         (print_plugin_automatic_install_info), (main):
1515         Add --print-plugin-auto-install-info option to gst-inspect, so we can
1516         introspect plugin files and get machine-parsable output that corresponds
1517         to the last bit of the missing-plugin installer string (small gotcha:
1518         doesn't take into account ranks).
1519
1520 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
1521
1522         * configure.ac:
1523         * docs/gst/gstreamer-sections.txt:
1524         * gst/Makefile.am:
1525         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
1526         (gst_registry_lookup_locked):
1527         * gst/gstregistry.h:
1528         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1529         (gst_registry_binary_initialize_magic),
1530         (gst_registry_binary_save_string),
1531         (gst_registry_binary_save_pad_template),
1532         (gst_registry_binary_save_feature),
1533         (gst_registry_binary_save_plugin),
1534         (gst_registry_binary_write_cache),
1535         (gst_registry_binary_check_magic),
1536         (gst_registry_binary_load_pad_template),
1537         (gst_registry_binary_load_feature),
1538         (gst_registry_binary_load_plugin),
1539         (gst_registry_binary_read_cache):
1540         * gst/gstregistrybinary.h:
1541         * gst/gstregistryxml.c: (load_feature),
1542         (gst_registry_xml_read_cache):
1543           commit binary registry (disabled by default, see #359653)
1544
1545 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1546
1547         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
1548           Fix 'make check' too.
1549
1550 2007-01-10  Andy Wingo  <wingo@pobox.com>
1551
1552         * docs/design/part-negotiation.txt: Fix a typo, add a couple
1553         notes.
1554         
1555         * docs/design/part-negotiation.txt: Update with, um, one way that
1556         pull-mode negotiation might work?
1557
1558         * gst/gstpad.h: 
1559         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
1560         that the pad must be a src pad; makes sense to call it the other
1561         way in pull mode, and the logic is symmetric anyway.
1562
1563 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
1564
1565         * plugins/elements/gstfilesink.c:
1566           Include <stdio.h> for fseeko().
1567
1568 2007-01-10  Wim Taymans  <wim@fluendo.com>
1569
1570         * gst/gstevent.c:
1571         * gst/gstevent.h:
1572         Reserve LATENCY event.
1573
1574 2007-01-09  Wim Taymans  <wim@fluendo.com>
1575
1576         * docs/design/draft-latency.txt:
1577         Updates.
1578
1579 2007-01-09  Wim Taymans  <wim@fluendo.com>
1580
1581         * docs/design/draft-latency.txt:
1582         Updates.
1583
1584         * gst/gstelement.h:
1585         * gst/gststructure.c:
1586         * gst/gsttrace.c:
1587         Small typo fixes.
1588
1589 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1590
1591         * tests/check/.cvsignore:
1592           Ignore test-registry.xml as well.
1593
1594 2007-01-09  Wim Taymans  <wim@fluendo.com>
1595
1596         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
1597         unref data at the end when we are done with the pad.
1598
1599 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
1600
1601         * docs/gst/gstreamer-sections.txt:
1602         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
1603         (init_post), (gst_deinit), (gst_update_registry):
1604         * gst/gst.h:
1605           API: add gst_update_registry() (#391296).
1606
1607         * tests/check/Makefile.am:
1608         * tests/check/gst/gstregistry.c:
1609         * tests/check/gst/.cvsignore:
1610           Simple unit test for the above.
1611
1612 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
1613
1614         * gst/gstregistry.c: (gst_registry_scan_path_level):
1615           Plugin extension on HP-UX is .sl, add that to the list of approved
1616           plugin extensions (see #393796).
1617
1618         * tests/check/gst/gstpad.c: (GST_START_TEST):
1619           ulong => gulong. Fixes compilation with HP-UX compiler.
1620
1621         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1622           Fix compilation if valgrind headers are not available.
1623
1624 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
1625
1626         * win32/common/libgstreamer.def: 
1627           Add new exported function.
1628         * win32/vs6/libgstbase.dsp: 
1629           Add gstdataqueue.c to the build.
1630         * win32/vs6/libgstcoreelements.dsp:
1631           Add gstmultiqueue.c to the build.
1632         
1633 2007-01-06  Andy Wingo  <wingo@pobox.com>
1634
1635         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
1636         activate_pull(), providing for a way to specialize the process of
1637         spawning a thread to pull on the sink pad. There is a default
1638         implementation.
1639
1640         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
1641         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
1642         (gst_base_sink_init): Renamed pad activation functions (inserting
1643         "_pad" in their names). Refactor to use the new activate_pull
1644         vmethod, as appropriate.
1645         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
1646         default activate_pull function to start a task pulling from the
1647         sink pad, as before.
1648
1649         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
1650         on the pads if necessary, as in push()/chain(). Update docs.
1651         Shouldn't affect existing pull() usage as it is currently only
1652         being used on buffers without caps.
1653
1654 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1655
1656         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1657         (init_pre):
1658           Call g_thread_init() first thing in gst_init() / gst_check_init().
1659           When initialisation is done via gst_init_get_option_group() and
1660           GOption parsing, issue a warning if the GLib thread system has not
1661           been initialised yet by the time gst_init_get_option_group() is
1662           called, as it's quite likely other GLib functions such as
1663           g_option_context_new() have been called already then, and
1664           g_thread_init() must be called before any other GLib function. The
1665           application in question must be fixed in that case, since memory
1666           corruption might happen otherwise.
1667           We issue the warning because even if the GLib folks decide to work
1668           around the problem on their end in future, this is still an issue
1669           with all GLib versions >= 2.10.0, so we should warn until we depend
1670           on a GLib version we know to be safe.
1671           Update documentation as well.
1672           Closes bug #391278.
1673
1674 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1675
1676         * tools/gst-inspect.c: (main):
1677         * tools/gst-launch.c: (main):
1678         * tools/gst-typefind.c: (main):
1679         * tools/gst-xmlinspect.c: (main):
1680           Call g_thread_init() really really early, before any other GLib
1681           function (see #342564 and recent discussion on gtk-devel-list).
1682
1683 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1684
1685         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
1686
1687         * gst/gst_private.h:
1688         * gst/gstconfig.h.in:
1689         * gst/gstinfo.h:
1690           On win32, all the __declspec stuff for symbol exporting is
1691           apparently only needed with MSVC, but doesn't work with MingW.
1692           Fixes compilation with MingW and #391909.
1693
1694 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1695
1696         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
1697           Change some GST_ERROR_OBJECT that aren't really errors to
1698           GST_WARNING_OBJECT in order to reduce terminal spam.
1699
1700 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
1701
1702         * tests/check/Makefile.am:
1703           disable test again, as there seem to be still race problems
1704
1705 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
1706
1707         * tests/check/Makefile.am:
1708         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1709         (GST_START_TEST), (queue_suite):
1710           enable queue test again, add tests for the leaky behaviour
1711
1712 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
1713
1714         * configure.ac:
1715         * tests/examples/Makefile.am:
1716           Compile adapter test/example only if the required headers are
1717           available (fixes #391915).
1718
1719 2007-01-01  David Schleef  <ds@schleef.org>
1720
1721         * gst/gstplugin.c:
1722           Restore the previous signal handler for SIGSEGV instead of
1723           setting to default, since we may have stolen it away from
1724           someone.  (i.e., Mono)
1725
1726 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
1727
1728         * docs/random/draft-missing-plugins.txt:
1729           Some small additions and clarifications.
1730
1731 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
1732
1733         * gst/gstregistryxml.c: (gst_registry_save_escaped):
1734           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
1735           since that can lead to random memory corruptions and crashes
1736           (may or may not be related to #383244, #386711, and #386711).
1737
1738 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1739
1740         * tests/check/.cvsignore:
1741         * tests/check/Makefile.am:
1742           sync .cvsignome and CLEANFILES
1743
1744 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1745
1746         * tests/check/Makefile.am:
1747           fix distcheck
1748
1749 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1750
1751         * docs/design/part-states.txt:
1752           two tiny additional comments
1753         
1754         * gst/gststructure.c:
1755           doc fixing
1756
1757         * tests/check/Makefile.am:
1758         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1759         (GST_START_TEST):
1760           disable test for now, unless it gets fixed
1761
1762 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1763
1764         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1765         (GST_START_TEST):
1766           fix race in underrun test
1767
1768 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1769
1770         * tests/check/elements/.cvsignore:
1771           ignore more
1772
1773         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1774         (GST_START_TEST):
1775           try to narrow test failure
1776
1777 2006-12-21  David Schleef  <ds@schleef.org>
1778
1779         * plugins/elements/gstfakesrc.c:
1780           Use g_random_int_range(), since it produces better random
1781           numbers in a range than almost-correct floating point code.
1782
1783 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1784
1785         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1786         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1787         (gst_check_teardown_sink_pad):
1788           do not automatically (de)activate pads
1789
1790         * tests/check/Makefile.am:
1791         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1792         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
1793           add new, yet simple tests for queue
1794
1795         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
1796         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
1797         * tests/check/elements/filesrc.c: (cleanup_filesrc),
1798         (GST_START_TEST):
1799         * tests/check/elements/identity.c: (cleanup_identity):
1800           consistent pad (de)activation
1801
1802 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
1803
1804         Patch by: Sebastian Dröge  <slomo ubuntu com>
1805
1806         * libs/gst/base/gstcollectpads.c:
1807           Fix two doc typos (#387866).
1808
1809 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
1810
1811         * docs/manual/advanced-dparams.xml:
1812           Fix typo (g_object_control_properties() doesn't exist).
1813
1814 2006-12-19  Edward Hervey  <edward@fluendo.com>
1815
1816         * gst/gstsegment.c: (gst_segment_set_seek):
1817         Fine tune the cases where the segment start/stop values are really
1818         updated.
1819         * tests/check/gst/gstsegment.c: (GST_START_TEST):
1820         Add tests for the return values of gst_segment_set_seek().
1821
1822 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
1823
1824         * gst/gst.c:
1825           Docs typo fix.
1826
1827         * plugins/elements/gstqueue.c: (gst_queue_class_init),
1828         (gst_queue_init):
1829           Fix incorrect documentation and flesh it out a bit more.
1830           Set default values for the max properties on the GParamSpec as well,
1831           so it shows up correctly in gst-inspect.
1832
1833 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
1834
1835         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1836           Correct docs of queue, add more detail and crosslink it more.
1837
1838 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
1839
1840         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1841           Print additional debug info when the stream isn't perfectly
1842           timestamped; don't try to use invalid durations.
1843
1844 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
1845
1846         * docs/design/Makefile.am:
1847           Dist new design docs.
1848
1849 2006-12-16  Wim Taymans  <wim@fluendo.com>
1850
1851         Patch by: Sjoerd Simons <sjoerd at luon dot net>
1852
1853         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
1854         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
1855         (gst_collect_pads_stop), (gst_collect_pads_event),
1856         (gst_collect_pads_chain):
1857         * libs/gst/base/gstcollectpads.h:
1858         Add refcounting to the collectpads data so we can track when it's safe
1859         to free the data. Fixes #383382.
1860
1861 2006-12-15  Wim Taymans  <wim@fluendo.com>
1862
1863         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1864         (gst_collect_pads_remove_pad):
1865         Automatically activate/deactivate pads when they are added to a
1866         started/stoped collectpads.
1867
1868 2006-12-15  Wim Taymans  <wim@fluendo.com>
1869
1870         * gst/gstelement.c: (gst_element_add_pad):
1871         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
1872         * gst/gstpad.c: (gst_pad_init):
1873         Set pads to FLUSHING when they are created. Check, warn and fix when a
1874         demuxer adds an inactive pad to itself when running. Fixes #339326.
1875
1876 2006-12-15  Wim Taymans  <wim@fluendo.com>
1877
1878         * gst/gstelement.c: (gst_element_class_init),
1879         (gst_element_default_send_event), (gst_element_send_event),
1880         (gst_element_default_query), (gst_element_query):
1881         Expose default element send_event and query handling as vmethods that
1882         subclasses can chain up to.
1883
1884 2006-12-15  Wim Taymans  <wim@fluendo.com>
1885
1886         * gst/gstelement.c: (gst_element_set_state_func):
1887         Small documentation fixes.
1888
1889 2006-12-15  Wim Taymans  <wim@fluendo.com>
1890
1891         * docs/design/draft-latency.txt:
1892         Checked in draft for handling latency in pipelines.
1893
1894 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1895
1896         * Makefile.am:
1897         * gstreamer.doap:
1898         * gstreamer.spec.in:
1899           adding .doap file
1900
1901 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
1902
1903         * gst/gst.c: (init_pre), (init_post):
1904           init_pre() and init_post() might be called via our GOptionGroup or
1905           from gst_init(), and we should skip both of them if we've already
1906           been initialised, otherwise we will init some things twice or add
1907           two default log functions.
1908
1909 2006-12-13  Edward Hervey  <edward@fluendo.com>
1910
1911         * docs/manual/basics-bus.xml:
1912         No, gst_main_loop does not exist. Its g_main_loop.
1913         Discovered by somebody who abused the copy-paste technique of coding :)
1914
1915 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
1916
1917         * gst/gstghostpad.c:
1918           Log ghostpad debug stuff to the GST_PADS category as well rather
1919           than just to the default category.
1920
1921 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
1922
1923         * configure.ac:
1924         * gst/gst.c: (init_pre):
1925           Add some basic system details such as OS and architecture
1926           to the debug output if possible, courtesy of uname().
1927
1928 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
1929
1930         * docs/gst/running.xml:
1931           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
1932           environment variables.
1933
1934 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
1935
1936         * tests/check/gst/gstbin.c: (GST_START_TEST):
1937         It is acceptable to have a refcount of 2 or 3 at this point in the
1938         test, because the pipeline might be just posting its state_change
1939         message. The next line then waits for that message to appear using
1940         bus_poll, so that should be fine too.
1941
1942 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
1943
1944         * gst/gst.c: (ensure_current_registry_forking):
1945         Ignore EINTR when reading from the child registry pipe.
1946         Explicitly ignore the return value from close, since it makes no
1947         difference.
1948
1949         * gst/gstminiobject.c: (gst_mini_object_ref),
1950         (gst_mini_object_unref):
1951         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
1952
1953         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
1954         When removing cached plugins, remove their features too, so they're
1955         not visible after they've disappeared.
1956
1957         * gst/gstutils.c: (prepare_link_maybe_ghosting):
1958         In the unlikely case that we are linking pads with no parents, don't
1959         crash trying to get the non-existent parent bin.
1960
1961         * gst/parse/grammar.y:
1962         Output debug in the PIPELINE category
1963
1964 2005-03-08  Wim Taymans  <wim@fluendo.com>
1965
1966         Patch by: René Stadler <mail at renestadler dot de>
1967
1968         * gst/gstclock.c: (gst_clock_new_periodic_id):
1969         Reject invalid clock times for interval of periodic ids.
1970         Fixes ##383506.
1971
1972 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
1973
1974         * gst/gstelementfactory.c: (gst_element_factory_create):
1975         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1976         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
1977         * tools/gst-inspect.c: (print_element_info):
1978         Fix refcounting of gst_plugin_feature_load to match the docs. 
1979         Fixes: #380129
1980
1981 2006-12-07  Wim Taymans  <wim@fluendo.com>
1982
1983         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
1984         (gst_base_sink_get_position):
1985         Improve debugging of events.
1986
1987 2006-12-07  Wim Taymans  <wim@fluendo.com>
1988
1989         Patch by: René Stadler <mail at renestadler dot de>
1990
1991         * gst/gstclock.c: (gst_clock_id_wait):
1992         Make period ids add the interval to the origial requested time instead
1993         of the possibly updated time which can be wrong when there are multiple
1994         waiters for the same id. Fixes #382592.
1995
1996         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
1997         (gst_system_clock_id_wait_jitter_unlocked),
1998         (gst_system_clock_id_wait_jitter):
1999         Fix restart in the async notify thread when an async entry is added to
2000         the front of the list. Fixes #381492. 
2001
2002         * tests/check/gst/gstsystemclock.c: (store_callback),
2003         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
2004         Added test for multiple async waits.
2005         Added test for async wait order.
2006
2007 2006-12-07  Wim Taymans  <wim@fluendo.com>
2008
2009         * gst/gstbin.c: (gst_bin_query):
2010         Add some more docs about the POSITION query.
2011
2012 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
2013
2014         * configure.ac:
2015         Bump version nano - back to CVS.
2016
2017 === release 0.10.11 ===
2018
2019 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
2020
2021         * configure.ac:
2022           releasing 0.10.11, "Love never runs on time"
2023
2024 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
2025
2026         * win32/common/libgstbase.def:
2027         * win32/common/libgstreamer.def:
2028         * win32/vs8/libgstbase.vcproj:
2029         * win32/vs8/libgstcoreelements.vcproj:
2030         * win32/vs8/libgstreamer.vcproj:
2031         Fix compilation on win32 under VS8
2032         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2033         Partially fixes #381175
2034
2035 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
2036
2037         * gst/gstvalue.c: (gst_value_compare_fraction):
2038         If someone is foolish enough to compare 2 fractions with denominator =
2039         0, return UNORDERED rather than aborting.
2040
2041 2006-11-28  Edward Hervey  <edward@fluendo.com>
2042
2043         * libs/gst/base/Makefile.am:
2044         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
2045         (gst_data_queue_base_init), (gst_data_queue_class_init),
2046         (gst_data_queue_init), (gst_data_queue_new),
2047         (gst_data_queue_cleanup), (gst_data_queue_finalize),
2048         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
2049         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
2050         (gst_data_queue_is_empty), (gst_data_queue_is_full),
2051         (gst_data_queue_set_flushing), (gst_data_queue_push),
2052         (gst_data_queue_pop), (gst_data_queue_drop_head),
2053         (gst_data_queue_set_property), (gst_data_queue_get_property):
2054         * libs/gst/base/gstdataqueue.h:
2055         New GstDataQueue object for threadsafe queueing. Most useful for
2056         elements that need some queueing functionnality.
2057         * docs/libs/gstreamer-libs-docs.sgml:
2058         * docs/libs/gstreamer-libs-sections.txt:
2059         Insert documentation for GstDataQueue
2060         * plugins/elements/Makefile.am:
2061         * plugins/elements/gstelements.c:
2062         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2063         (gst_multi_queue_class_init), (gst_multi_queue_init),
2064         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2065         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
2066         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
2067         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2068         (gst_multi_queue_loop), (gst_multi_queue_chain),
2069         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2070         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
2071         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
2072         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
2073         (wake_up_next_non_linked), (compute_next_non_linked),
2074         (single_queue_overrun_cb), (single_queue_underrun_cb),
2075         (single_queue_check_full), (gst_single_queue_new):
2076         * plugins/elements/gstmultiqueue.h:
2077         New multiqueue element, using GstDataQueue. Used for queuing multiple
2078         streams.
2079         Closes #344639 and #347785
2080
2081 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
2082
2083         * docs/pwg/advanced-types.xml:
2084           add more missing type details
2085
2086         * tools/gst-run.c: (main):
2087           remove unused variable
2088
2089 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
2090
2091         * docs/libs/Makefile.am:
2092         * docs/libs/gstreamer-libs.types:
2093           add types of base classes to enable gobject specific stuff in the docs
2094
2095         * docs/random/ensonic/embedded.txt:
2096           more ideas about isolating platform specific things
2097
2098 2006-11-20  Wim Taymans  <wim@fluendo.com>
2099
2100         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
2101
2102         * libs/gst/check/gstcheck.h:
2103         Fix compilation and running against 0.9.4. Fixes #377332.
2104
2105 2006-11-20  Wim Taymans  <wim@fluendo.com>
2106
2107         * gst/gstsegment.c: (gst_segment_set_seek),
2108         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2109         (gst_segment_to_running_time):
2110         Fix boundary checking in to_running_time() and to_stream_time().
2111         Fixes #377183.
2112
2113         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2114         stream and running time can now be calculated for the complete
2115         clipped segment.
2116
2117 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
2118
2119         * gst/gstpad.c: (gst_pad_push_event):
2120           Can't access event structure after giving away ownership of
2121           the event.
2122
2123 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
2124
2125         * docs/random/ensonic/embedded.txt:
2126         * docs/random/ensonic/profiling.txt:
2127         * docs/random/ensonic/receipies.txt:
2128           more thinking
2129
2130 2006-11-13  Wim Taymans  <wim@fluendo.com>
2131
2132         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2133
2134         * gst/gstpad.c:
2135         Fix documentation for gst_pad_dispatcher. Fixes #374475.
2136
2137 2006-11-13  Wim Taymans  <wim@fluendo.com>
2138
2139         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
2140
2141         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2142         Store new length in segment duration so we don't keep on calling the
2143         potentially expensize get_size() call. Fixes #370865.
2144
2145 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
2146
2147         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
2148
2149         * win32/common/libgstreamer.def:
2150           Add two missing symbols (#366492).
2151
2152 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
2153
2154         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
2155         (gst_adapter_take_buffer):
2156         Fix format string to use all its arguments.
2157         Remove useless >= check on a guint
2158
2159 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2160
2161         * tests/examples/adapter/.cvsignore:
2162         Ignore build file as commanded by the build-bot
2163
2164 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2165
2166         * tests/examples/adapter/Makefile.am:
2167         * tests/examples/adapter/adapter_test.c: (run_test_take),
2168         (run_test_take_buffer), (run_tests), (main):
2169
2170         Add new files from the previous commit
2171
2172 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2173
2174         * Makefile.am:
2175         * configure.ac:
2176         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
2177         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
2178         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
2179         * libs/gst/base/gstadapter.h:
2180         * tests/check/libs/adapter.c: (create_and_fill_adapter),
2181         (GST_START_TEST), (gst_adapter_suite):
2182         * tests/examples/Makefile.am:
2183         Do some optimisation work in GstAdapter to avoid copies in more cases.
2184         It could still do slightly better by merging buffers when
2185         gst_buffer_is_span_fast is true, but is already faster. 
2186
2187         Also, avoid traversing a single-linked list to append each incoming 
2188         buffer inside the adapter.
2189
2190         Add simple test app that times the adapter behaviour in different
2191         situations, and extend the unit test to check that bytes enter and
2192         exit the adapter in their original order.
2193
2194 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2195
2196         * docs/random/draft-missing-plugins.txt:
2197           Update: use element message instead of adding a new message
2198           type to the core; don't provide GStreamer API to initiate the
2199           plugin download, just provide API to compose the strings needed
2200           and let an external libgimmestuff handle the rest.
2201
2202 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
2203
2204         * tools/gst-inspect.c: (print_element_properties_info):
2205         Print a string instead of 'unknown type' for GValueArray properties
2206
2207 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
2208
2209         * docs/random/draft-missing-plugins.txt:
2210         More small fixes.
2211
2212 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2213
2214         * tests/examples/typefind/typefind.c: (type_found), (main):
2215           Make typefind element example work again (#371894); add a
2216           license header.
2217
2218 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2219
2220         * docs/random/draft-missing-plugins.txt:
2221           Commit initial draft about how to deal with missing plugins,
2222           needs work (API too).
2223
2224 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
2225
2226         * docs/pwg/advanced-types.xml:
2227           documents the new caps elements (see #363118)
2228
2229 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2230
2231         * gst/gstplugin.c: (gst_plugin_load_file):
2232         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
2233         (gst_file_src_map_region), (gst_file_src_start):
2234         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
2235         (gst_file_index_commit):
2236           Use g_strerror() instead of strerror() - we want UTF-8.
2237
2238 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2239
2240         Patch by: Peter Kjellerstedt <pkj at axis com>
2241
2242         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2243           Another printf fix (#371493).
2244
2245 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2246
2247         * tests/check/gst/gsttag.c:
2248           relicence (okay with author=company)
2249
2250 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2251
2252         * gst/gstpad.c: (gst_pad_event_default_dispatch),
2253         (gst_pad_push_event):
2254           Enhance debug and improve docs
2255         
2256         * gst/gsturi.c:
2257           Fix docs
2258
2259 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2260
2261         * docs/random/ensonic/distributed.txt:
2262         * docs/random/ensonic/profiling.txt:
2263           more ideas
2264
2265 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2266
2267         * docs/gst/gstreamer-sections.txt:
2268           add new API and fix the build
2269           
2270         * gst/gstbin.c: (gst_bin_recalc_state):
2271         * gst/gstelement.c: (gst_element_message_full),
2272         (gst_element_get_state_func), (gst_element_set_state_func):
2273           use new API and improve logging
2274         
2275         * gst/gstutils.c: (gst_element_state_change_return_get_name):
2276         * gst/gstutils.h:
2277           API: add function to get StateChangereturn names to improve logs 
2278
2279 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
2280
2281         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2282           I'm considering shooting the next person to put strerror stuff
2283           in the translateable part of the message.
2284
2285 2006-11-03  Wim Taymans  <wim@fluendo.com>
2286
2287         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2288         Get the type and printf conversion specifiers right.
2289
2290 2006-11-03  Wim Taymans  <wim@fluendo.com>
2291
2292         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2293
2294         * gst/gstpad.c: (gst_pad_init), (pre_activate),
2295         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
2296         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
2297         Some small cleanups. Improve debugging.
2298         * gst/gstpad.h:
2299         Signal all waiting threads with a broadcast instead of just one.
2300         Fixes #369942.
2301
2302 2006-11-03  Wim Taymans  <wim@fluendo.com>
2303
2304         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2305         (gst_fd_src_create):
2306         Add some debugging. 
2307         Only update fd when it's different from the old.
2308
2309 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2310
2311         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
2312           Printf fixes for PPC/OSX, take two (#369366).
2313
2314 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2315
2316         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
2317
2318         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2319         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2320         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2321           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
2322           don't cast to long long for portability reasons, but use
2323           GLib's types instead.
2324
2325 2006-10-30  Michael Smith  <msmith@fluendo.com>
2326
2327         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2328           Get the arguments to lseek() the right way around.
2329           Fixes 367677.
2330
2331 2006-10-30  Wim Taymans  <wim@fluendo.com>
2332
2333         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
2334
2335         * gst/gstinfo.h:
2336         _declspec should be __declspec (two underscores, not one). Fixes 366572.
2337
2338 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
2339
2340         Patch by: Kjartan Maraas  <kmaraas at gnome org>
2341
2342         * docs/design/part-MT-refcounting.txt:
2343         * docs/random/wtay/capsnego2-docs:
2344         * gst/gstclock.c:
2345         * gst/gstxml.c:
2346           Typo fixes (#366212).
2347
2348 2006-10-28  Wim Taymans  <wim@fluendo.com>
2349
2350         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2351
2352         * gst/gst.c:
2353         * win32/common/libgstbase.def:
2354         * win32/common/libgstreamer.def:
2355         * win32/vs8/libgstbase.vcproj:
2356         * win32/vs8/libgstcontroller.vcproj:
2357         Add needed entries in .def files.
2358         Use HAVE_UNISTD_H.
2359         Rearrange def files in vs8 solutions. Fixes #366286.
2360
2361 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
2362
2363         * win32/common/gstconfig.h:
2364           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
2365           hand-made win32 gstconfig.h. Fixes #366321.
2366
2367 2006-10-27  Wim Taymans  <wim@fluendo.com>
2368
2369         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
2370         (gst_ghost_pad_new_full):
2371         Make acceptcaps return TRUE when we don't have a target, just like
2372         setcaps does.
2373
2374 2006-10-27  Wim Taymans  <wim@fluendo.com>
2375
2376         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2377         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
2378
2379 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
2380
2381         * gst/gststructure.c: (gst_structure_id_set_value):
2382           If someone tries to set a non-UTF8 string field on a structure,
2383           don't just print a warning, but also ignore the request and do
2384           not change/add that field to the structure.
2385
2386         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2387           Test for the above.
2388
2389 2006-10-25  David Schleef  <ds@schleef.org>
2390
2391         * gst/gstinfo.c:
2392           g_hash_table_insert() needs a cast to a non-const pointer duh.
2393
2394 2006-10-25  David Schleef  <ds@schleef.org>
2395
2396         * gst/gstinfo.c:
2397         * gst/gstinfo.h:
2398           Change name parameter of _gst_debug_register_funcptr to const
2399           to reflect the constness of its use in the function as well
2400           as to quiet a gcc warning.
2401
2402 2006-10-25  Edward Hervey  <edward@fluendo.com>
2403
2404         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2405         Don't push the buffer if it's empty.
2406         Closes #363095
2407
2408 2006-10-24  Wim Taymans  <wim@fluendo.com>
2409
2410         * gst/gstevent.h:
2411         Add small comment.
2412
2413         * libs/gst/base/gstbasetransform.c:
2414         (gst_base_transform_sink_eventfunc):
2415         Debug segment values *after* updating them as this is more
2416         interesting.
2417
2418 2006-10-23  Wim Taymans  <wim@fluendo.com>
2419
2420         * docs/design/part-events.txt:
2421         Update some docs.
2422
2423         * docs/design/part-block.txt:
2424         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2425         (gst_pad_push_event):
2426         Revert BLOCKING patch, it tries to be smart without really having a
2427         clear idea what or how. So, now we discard all FLUSHING events again on
2428         a blocking pad. Should fix gnonlin again.
2429
2430 2006-10-23  Wim Taymans  <wim@fluendo.com>
2431
2432         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2433
2434         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2435         (gst_base_src_start), (gst_base_src_activate_push):
2436         Make sure size is always initialized. Fixes #364388.
2437
2438 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
2439
2440         * docs/random/ensonic/distributed.txt:
2441           add some ideas about doing distributed processing
2442
2443         * docs/random/ensonic/profiling.txt:
2444           get_rusage look promising
2445
2446 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
2447
2448         * docs/manual/basics-helloworld.xml:
2449           Add a cast in example to fix compile warning
2450
2451 2006-10-18  Wim Taymans  <wim@fluendo.com>
2452
2453         * gst/gstsegment.c: (gst_segment_set_last_stop),
2454         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2455         Relax arg checking again, -1 is allowed.
2456
2457 2006-10-18  Wim Taymans  <wim@fluendo.com>
2458
2459         * gst/gstsegment.c: (gst_segment_set_last_stop),
2460         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2461         _set_last_stop() must be with a value != -1
2462         A _TYPE_SET to -1 means seek to 0.
2463         Calc last_stop correctly for negative rates.
2464         Make sure we work with positive durations when updating a segment.
2465
2466 2006-10-18  Wim Taymans  <wim@fluendo.com>
2467
2468         * docs/design/part-live-source.txt:
2469         * gst/gstclock.h:
2470         Small docs fixes.
2471
2472 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
2473
2474         * gst/gstbuffer.h:
2475           Add an explicit cast to GstBuffer** to keep old code that added an
2476           explicit cast to GstMiniObject** for gst_mini_object_replace()
2477           compiling without warning.
2478
2479 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
2480
2481         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
2482           check for validity of dates
2483
2484 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2485
2486         * docs/gst/gstreamer-sections.txt:
2487           Forgot this one, makes gtk-doc shut up.
2488
2489 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2490
2491         Patch by: Peter Kjellerstedt <pkj at axis com>
2492
2493         * gst/gstobject.h:
2494           Don't define xmlNodePtr to gpointer if the core was built with
2495           --disable-loadsave and --disable-registry, this will break
2496           applications that want to use libxml2 but are buildling against a
2497           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
2498           instead so we don't have to mess with the libxml2 namespace
2499           (#361675).
2500
2501 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2502
2503         * gst/gstbuffer.h:
2504           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
2505           type-punned pointer warnings.
2506
2507 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2508
2509         * gst/gstelement.h:
2510           Add casts to the correct return type to state <=> state transition
2511           macros.
2512
2513 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
2514
2515         * docs/design/part-live-source.txt:
2516           describe howto handle latency
2517         
2518         * docs/random/ensonic/profiling.txt:
2519           more ideas
2520
2521         * tools/gst-plot-timeline.py:
2522           fix log parsing for solaris, remove unused function
2523
2524 2006-10-16  Wim Taymans  <wim@fluendo.com>
2525
2526         * docs/design/part-trickmodes.txt:
2527         * gst/gstevent.c:
2528         Update some docs regarding reverse playback.
2529
2530 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2531
2532         Patch by: Marcus Granado  <mrc dot gran at gmail com>
2533
2534         * win32/vs8/grammar.vcproj:
2535           Error out with a warning if glib-genmarshal.exe is not in path,
2536           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
2537
2538 2006-10-13  Wim Taymans  <wim@fluendo.com>
2539
2540         * gst/gstsegment.c: (gst_segment_set_seek):
2541         When seeking to stop -1, set last_stop (current position) to the
2542         duration of the segment.
2543
2544 2006-10-13  Wim Taymans  <wim@fluendo.com>
2545
2546         * gst/gstelement.h:
2547         Clarify _NO_PREROLL a bit more.
2548
2549         * gst/gstevent.c:
2550         Fix docs.
2551
2552         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
2553         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
2554         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
2555         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
2556         due to wrong locking order. Fixes #361769.
2557         Remove some redundant/misplaced checks in pad_block.
2558
2559         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2560         For negative rates, count backwards from the duration.
2561
2562 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2563
2564         * gst/gsterror.c: (_gst_library_errors_init):
2565           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
2566           up with something better).
2567
2568 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
2569
2570         * win32/vs6/libgstreamer.dsp:
2571         * win32/vs7/libgstreamer.vcproj:
2572         * win32/vs8/libgstreamer.vcproj:
2573           Don't reference glib-compat.c which is currently not used and not
2574           disted; add gstquark.c which was recently added. Fixes #361730.
2575
2576 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
2577
2578         * win32/common/libgstbase.def:
2579         * win32/common/libgstcontroller.def:
2580         * win32/common/libgstreamer.def:
2581           Add gst_caps_merge() and a bunch of other recently-added functions.
2582           Fixes #361732.
2583
2584 2006-10-11  Wim Taymans  <wim@fluendo.com>
2585
2586         * docs/plugins/gstreamer-plugins.args:
2587         * docs/plugins/inspect/plugin-coreelements.xml:
2588         * docs/plugins/inspect/plugin-coreindexers.xml:
2589         Update element args.
2590
2591         * gst/gstsystemclock.c:
2592         Small comment update.
2593
2594         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
2595         (gst_tee_request_new_pad), (gst_tee_release_pad),
2596         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
2597         (gst_tee_sink_activate_pull):
2598         * plugins/elements/gsttee.h:
2599         Some tee loving:
2600         Add default property defines.
2601         Implement release pad function.
2602         Give properties better blubs etc.
2603         Activate pads before adding them to a running tee.
2604         Do simple buffer_alloc on the first requested pad.
2605         Post error when activation fails.
2606
2607 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
2608
2609         * gst/gst.c: (ensure_current_registry_forking):
2610           Check return value of write() to make compiler happy.
2611
2612 2006-10-11  Wim Taymans  <wim@fluendo.com>
2613
2614         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2615
2616         * plugins/elements/gstqueue.c: (gst_queue_chain):
2617         Recheck queue filledness after signalling the overrun when we're about
2618         to leak downstream because we released the lock when emitting the signal
2619         and the queue could be empty again. Fixes #352345.
2620
2621 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
2622
2623         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2624           Fix refcounting here too, just like we did for _new_valist() a few
2625           days ago (#357180) (thanks to René Stadler). Also remove all those
2626           'Since: 0.9' from the gtk-doc blobs.
2627
2628         * tests/check/libs/controller.c: (controller_refcount_new_list),
2629         (gst_controller_suite):
2630           Unit test for the above.
2631
2632 2006-10-10  Wim Taymans  <wim@fluendo.com>
2633
2634         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
2635
2636         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2637         (gst_pad_save_thyself):
2638         Update some docs.
2639         Write pad direction in XML output. Fixes #345496.
2640
2641 2006-10-10  Wim Taymans  <wim@fluendo.com>
2642
2643         Patch by: René Stadler <mail at renestadler dot de>
2644
2645         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2646         (gst_controller_new_list), (_gst_controller_dispose),
2647         (_gst_controller_finalize), (_gst_controller_class_init):
2648         Take ref to controlled object so that it cannot disappear. 
2649         Fixes #357432.
2650
2651 2006-10-10  Wim Taymans  <wim@fluendo.com>
2652
2653         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2654         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2655         (gst_check_teardown_sink_pad):
2656         Activate/deactivate pads in setup/teardown respectively.
2657
2658 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2659
2660         Patch by: Josep Torre Valles <josep@fluendo.com>
2661
2662         * gst/Makefile.am:
2663         Cast values when making gstenumtypes.h.  This pacifies Forte
2664         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
2665         in the enumeration.
2666
2667 2006-10-09  Wim Taymans  <wim@fluendo.com>
2668
2669         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
2670         Rename some more @cur to @start to fix docs. 
2671
2672         * gst/gstsegment.c: (gst_segment_set_seek):
2673         Fix typo.
2674         time and start must always stay in sync as defined in design doc.
2675
2676         * gst/gsttaglist.c: (gst_tag_list_is_empty):
2677         Rename param to fix docs.
2678
2679         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2680         Check that start and time are in sync.
2681
2682         * tests/check/pipelines/parse-launch.c:
2683         (gst_parse_test_element_change_state):
2684         Activate pad before adding to the element.
2685
2686 2006-10-09  Wim Taymans  <wim@fluendo.com>
2687
2688         * docs/design/part-qos.txt:
2689         Fix typo.
2690
2691         * gst/gstevent.c:
2692         * gst/gstevent.h:
2693         Update seek event docs regarding negative rates.
2694         Rename @cur to @start. 
2695
2696         * gst/gstsegment.c: (gst_segment_set_seek):
2697         * gst/gstsegment.h:
2698         Update set_seek docs regarding negative rates.
2699         Correctly update last_stop to @stop when dealing with negative
2700         rates.
2701         Rename @cur to @start. 
2702
2703         * tests/check/gst/gstpad.c: (GST_START_TEST):
2704         Activate pads before trying to use them.
2705
2706         * tests/check/gst/gstsegment.c: (GST_START_TEST),
2707         (gst_segment_suite):
2708         Add simple check for segments and negative rates.
2709
2710 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2711
2712         * gst/gsttaglist.c: (gst_tag_list_is_empty):
2713         * gst/gsttaglist.h:
2714         * docs/gst/gstreamer-sections.txt:
2715           API: add gst_tag_list_is_empty() (#360467).
2716
2717         * tests/check/gst/gsttag.c: (GST_START_TEST):
2718           And a test case.
2719
2720 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2721
2722         * gst/gstmessage.h:
2723         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
2724         a value that doesn't fit on enumeration.
2725
2726 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2727
2728         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2729         Remove local debugging system and use Gstreamer's instead.
2730
2731 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2732
2733         Patch by: Josep Torre Valles <josep@fluendo.com>
2734
2735         * common/m4/gst-error.m4:
2736         Disable warning of statement not reached on Forte.
2737         * gst/gstmessage.h:
2738         Fix warning on Forte (value doesn't fit on enumeration).
2739         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
2740         Fix warning on Forte (value doesn't fit on enumeration).
2741         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2742         DEBUG macro says it takes minimum of 2 args and so Forte
2743         complains about the use with just 1 arg.
2744         * plugins/elements/gstfdsink.c:
2745         * plugins/elements/gstfdsrc.c:
2746         * plugins/elements/gstfilesink.c:
2747         * plugins/elements/gstfilesrc.c:
2748         Use correct return type for the uri handler implementations.
2749
2750         All these fix warnings in Forte.  Fixes bug #360860.
2751
2752 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2753
2754         * gst/gstelement.h:
2755           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
2756           format string, so don't use G_GNUC_PRINTF for those versions.
2757
2758 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
2759
2760         * gst/gsttaglist.c: (gst_is_tag_list):
2761         * gst/gsttaglist.h:
2762           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
2763
2764         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2765           Small test for the above.
2766
2767 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
2768
2769         * gst/gsttaglist.h:
2770           Less tabs, more spaces.
2771
2772 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
2773
2774         * gst/gstinfo.h:
2775           Those two function declarations do actually belong there, revert
2776           commit from yesterday that turned them intro macros.
2777
2778 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2779
2780         Patch by: Josep Torre Valles <josep@fluendo.com>
2781
2782         * gst/gst.c: (gst_init_get_option_group):
2783         Fix empty declaration and type mismatch.
2784         * gst/gstbin.c: (gst_bin_change_state_func):
2785         Fix type mismatch.
2786         * gst/gstelement.c: (gst_element_continue_state),
2787         (gst_element_set_state_func), (gst_element_change_state),
2788         (gst_element_change_state_func):
2789         Fix type mismatches.
2790         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
2791         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
2792         Cast as appropriate.
2793         * gst/gstobject.c: (gst_class_signal_connect):
2794         Cast as appropriate.  The function pointer parameter really
2795         has the wrong type but would break API if we change it.
2796         * gst/gstquery.c:
2797         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
2798         order of including string.h.
2799         * gst/gstutils.c: (gst_element_state_get_name):
2800         Remove unreachable line.
2801         * gst/gstxml.c: (gst_xml_parse_doc):
2802         Fix type mismatch.
2803         All these caught by Forte.
2804
2805 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2806
2807         Patch by: Josep Torre Valles <josep@fluendo.com>
2808
2809         * common/m4/gst-error.m4:
2810         Fixed bug #360151.
2811         We need to disable warnings on Forte for empty declarations
2812         due to gst-indent adding ;s to lines that just use macros
2813         where the macro actually doesn't need a ; at end to end
2814         statement.
2815
2816 2006-10-06  Wim Taymans  <wim@fluendo.com>
2817
2818         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2819         (gst_file_sink_close_file), (gst_file_sink_event),
2820         (gst_file_sink_render):
2821         Add some FIXME for the NEWSEGMENT handling.
2822
2823 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2824
2825         * gst/parse/grammar.y:
2826         Remove static function gst_parse_element_lock as all it does
2827         is return.  Looks like cruft from 0.8.
2828
2829 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2830
2831         Patch by: Josep Torre Valles <josep@fluendo.com>
2832
2833         * common/m4/gst-error.m4:
2834         * configure.ac:
2835         * libs/gst/net/Makefile.am:
2836         Fix a compilation issue with Forte on Solaris.  inet_aton is in
2837         libresolv.
2838
2839 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
2840
2841         * gst/gstpad.c: (pre_activate):
2842         * gst/gstregistry.c: (gst_registry_scan_path_level):
2843         * gst/gstregistryxml.c: (load_plugin):
2844         * libs/gst/controller/gstcontroller.c:
2845         (gst_controlled_property_set_interpolation_mode):
2846         * libs/gst/dataprotocol/dataprotocol.c:
2847         (gst_dp_packet_from_event_1_0):
2848         * libs/gst/net/gstnetclientclock.c:
2849         (gst_net_client_clock_observe_times):
2850         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2851           Printf fixes.
2852
2853 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
2854
2855         * configure.ac:
2856         * docs/gst/gstreamer-sections.txt:
2857         * gst/gstconfig.h.in:
2858         * gst/gstelement.h:
2859         * gst/gstinfo.h:
2860           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
2861           whether we can use G_GNUC_PRINTF in other header files and at
2862           least check the printf format/arguments of debug messages and
2863           GST_ELEMENT_ERROR messages when the printf extension is not
2864           being used.
2865           Replace more tabs with spaces in gstinfo.h and remove two spurious
2866           function declarations in GST_DISABLE_DEBUG part with macros.
2867
2868 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
2869
2870         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
2871           More docs for the sync-message signal (mention that it is not
2872           emitted by default); log message structures of messages posted on
2873           the bus as well.
2874
2875 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
2876
2877         * gst/gst.c: (ensure_current_registry_forking):
2878         Use a pipe pair to receive status results from the forked child, and
2879         ignore the result from waitpid. Fixes #355499
2880
2881 2006-10-02  Wim Taymans  <wim@fluendo.com>
2882
2883         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
2884         (gst_ghost_pad_suite):
2885         Fix leak in check.
2886
2887 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
2888
2889         * gst/gstpad.c:
2890           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
2891
2892 2006-10-02  Edward Hervey  <edward@fluendo.com>
2893
2894         * docs/design/part-block.txt:
2895         Further explain the use of flushing on blocked pads.
2896         * docs/gst/gstreamer-sections.txt:
2897         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2898         (gst_pad_push_event):
2899         * gst/gstpad.h:
2900         Added new GstPadFlag : GST_PAD_BLOCKING.
2901         Adds the notion of pads really blocking, which enables to properly
2902         handle FLUSH_START/FLUSH_STOP events on blocked pads.
2903         Fixes #358999
2904         API: gst_pad_is_blocking()
2905         API: GST_PAD_IS_BLOCKING() macro
2906         API: GST_PAD_BLOCKING GstPadFlag
2907         
2908 2006-10-02  Wim Taymans  <wim@fluendo.com>
2909
2910         Patch by: mrcgran <mrc.gran at gmail dot com>
2911
2912         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
2913         Filter the proxied caps against the padtemplate if we have one.
2914
2915         * gst/gstquery.c: (gst_query_new_segment):
2916         Add include for gstinfo.h so that compilation with
2917         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
2918
2919 2006-10-02  Wim Taymans  <wim@fluendo.com>
2920
2921         Patch by: Alessandro Decina  <alessandro at nnva org>
2922
2923         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
2924         (gst_file_sink_set_location), (gst_file_sink_open_file),
2925         (gst_file_sink_close_file), (gst_file_sink_event),
2926         (gst_file_sink_render):
2927         Set file to NULL when closing filesink so that we can set a new filename
2928         in READY. Fixes #358613.
2929
2930 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
2931
2932         Patch by: Alessandro Decina  <alessandro at nnva org>
2933
2934         * gst/gstevent.c: (_gst_event_copy):
2935           Fix gst_mini_object_make_writable() and gst_event_copy() for events
2936           with event structures by setting the parent refcount address of the
2937           copied structure to the address of the refcount member of the newly
2938           copied event rather than the address of the refcount member of the
2939           original event. Fixes #358737.
2940
2941         * tests/check/gst/gstevent.c: (GST_START_TEST):
2942           Unit test for the above.
2943
2944 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
2945
2946         * docs/design/Makefile.am:
2947           Dist some more files.
2948
2949 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
2950
2951         * tests/check/libs/controller.c: (GST_START_TEST),
2952         (gst_controller_suite):
2953           Add test for the previous fix; add some more tests
2954           for correct refcounting behaviour; fix a few leaks
2955           in test cases; call gst_controller_init() at start
2956           of all tests.
2957
2958 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
2959
2960         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2961         (gst_controller_set_from_list):
2962           Don't g_return_val_if_fail() on timed values with invalid timestamps
2963           inside a critical section without unlocking the mutex. Spotted by
2964           René Stadler. (#357617)
2965           Also, fix up refcounting properly: when returning an existing
2966           controller, we should increase the reference only once and not
2967           once per property and when trying to control a property again
2968           we should also increase the refcount.
2969
2970 2006-09-29  Wim Taymans  <wim@fluendo.com>
2971
2972         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2973         * libs/gst/net/gstnettimeprovider.c:
2974         (gst_net_time_provider_thread):
2975         Stop reading commands when EOF as well.
2976
2977         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2978         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2979         * plugins/elements/gstidentity.c: (gst_identity_class_init):
2980         Unify description of the dump property.
2981
2982 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
2983
2984         * tests/examples/manual/.cvsignore:
2985         OK, so it's actually cvsignore that needs changing. Stop laughing.
2986
2987 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
2988
2989         * tests/examples/manual/Makefile.am:
2990         Gah, declare vars *before* using them
2991
2992 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
2993
2994         * gst/gst.c: (init_pre), (scan_and_update_registry),
2995         (ensure_current_registry_nonforking),
2996         (ensure_current_registry_forking), (ensure_current_registry),
2997         (init_post), (gst_debug_help), (gst_deinit):
2998         * gst/gst_private.h:
2999         * gst/gstregistry.c: (gst_registry_finalize),
3000         (gst_registry_remove_features_for_plugin_unlocked),
3001         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3002         (gst_registry_scan_path),
3003         (_priv_gst_registry_remove_cache_plugins),
3004         (_priv_gst_registry_cleanup):
3005         * gst/gstregistry.h:
3006         Re-commit the registry changes, along with an extra fix:
3007           When a cached plugin is encountered at a different file path,
3008           update the stored path in the registry cache so that the parent
3009           process knows where it actually is now when it re-reads the registry
3010           cache. Fixes the thing that broke distcheck with the previous commit.
3011
3012         * tests/check/Makefile.am:
3013         Clean up files named 'core' too when running make clean.
3014
3015         * tests/examples/manual/Makefile.am:
3016         Set up a registry path for running these tests, and clean it properly
3017         for distcheck.
3018
3019 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3020
3021         * configure.ac:
3022         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
3023         want gmodule-no-export-2.0.pc instead so that we don't drag in
3024         --export-dynamic on every project that links to GStreamer.
3025
3026         Also, make our export regex only match the start of symbols, rather 
3027         than any symbol that contains '_gst' somewhere.
3028
3029         * libs/gst/check/Makefile.am:
3030         The libgstcheck we build does however need export-dynamic, as it
3031         produces some symbols that don't match our _gst... style regex.
3032         Fixes: #318031
3033
3034 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
3035
3036         * gst/gst.c: (init_pre), (scan_and_update_registry),
3037         (ensure_current_registry_nonforking),
3038         (ensure_current_registry_forking), (ensure_current_registry),
3039         (init_post), (gst_debug_help), (gst_deinit):
3040         * gst/gst_private.h:
3041         * gst/gstregistry.c: (gst_registry_finalize),
3042         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3043         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
3044         (_gst_registry_cleanup):
3045         * gst/gstregistry.h:
3046           Revert previous change until I figure out why it breaks distcheck.
3047
3048 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
3049
3050         * gst/gst.c: (init_pre), (scan_and_update_registry),
3051         (ensure_current_registry_nonforking),
3052         (ensure_current_registry_forking), (ensure_current_registry),
3053         (init_post), (gst_debug_help), (gst_deinit):
3054
3055           Make init_pre and init_post take the full complement of GOptionFunc
3056           args so they can return useful GErrors. Make the registry updating
3057           functions do so.
3058
3059           Call _priv_gst_registry_remove_cache_plugins after scanning files to
3060           ensure that the registry we're about to write out doesn't contain
3061           stale information about old-deleted plugin files.
3062
3063           Make _priv_gst_registry_remove_cache_plugins return a boolean so
3064           that deletion of plugin files is considered a registry change.
3065
3066         * gst/gst_private.h:
3067         * gst/gstregistry.c: (gst_registry_finalize),
3068         (gst_registry_remove_features_for_plugin_unlocked),
3069         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3070         (gst_registry_scan_path),
3071         (_priv_gst_registry_remove_cache_plugins),
3072         (_priv_gst_registry_cleanup):
3073         * gst/gstregistry.h:
3074         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
3075         by adding _priv prefix, so that they won't appear in the global
3076         symbol table. They still do atm though because of #318031. Move the
3077         prototypes to gst_private.h
3078
3079         When removing a plugin, remove all features for that plugin too. 
3080         Fixes #340878.
3081
3082 2006-09-27  Wim Taymans  <wim@fluendo.com>
3083
3084         * docs/random/moving-plugins:
3085         Make it clear that the "compiled-in descriptions" really mean
3086         the element details.
3087
3088         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3089         (gst_base_sink_wait_preroll):
3090         Update docs.
3091
3092         * docs/libs/gstreamer-libs-sections.txt:
3093         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3094         (gst_base_src_get_range), (gst_base_src_activate_push):
3095         * libs/gst/base/gstbasesrc.h:
3096         Added function to block while waiting for PLAYING, this function
3097         is used by live sources that block on the clock.
3098         API: gst_base_src_wait_playing()
3099
3100 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3101
3102         Patch by: Peter Kjellerstedt <pkj at axis com>
3103
3104         * Makefile.am:
3105           gst-element-check.m4 is generated and should therefore be
3106           copied from the build dir rather than the source dir (#357593).
3107           'make distcheck' hasn't noticed this because we were disting
3108           the file as well, so stop doing that.
3109
3110 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3111
3112         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3113           Add some tests for gst_caps_intersect().
3114
3115         * tools/gst-launch.c: (event_loop):
3116           Print all buffering percentages we get, even the 100% one.
3117
3118 2006-09-26  Wim Taymans  <wim@fluendo.com>
3119
3120         * tools/gst-inspect.c: (print_element_properties_info),
3121         (print_signal_info):
3122         Fix printing of flags to match the look of enums.
3123
3124 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3125
3126         * gst/gstelementfactory.c:
3127           Fix typo in docs blurb.
3128
3129 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3130
3131         * gst/gsturi.c: (search_by_entry):
3132           Don't assert/crash here if a uri handler doesn't return any
3133           supported protocols. The list of protocols could be generated
3134           dynamically at runtime or at plugin registration, and an error
3135           in the underlying library shouldn't be fatal (#353301).
3136
3137 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3138
3139         * gst/gstinfo.c:
3140           Fix warning if HAVE_PRINTF_EXTENSION is undefined
3141           (spotted by Peter Kjellerstedt).
3142
3143 2006-09-23  Wim Taymans  <wim@fluendo.com>
3144
3145         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
3146
3147         * libs/gst/base/gstbasesrc.c:
3148         (gst_base_src_default_check_get_range), (gst_base_src_start),
3149         (gst_base_src_activate_push), (gst_base_src_activate_pull),
3150         (gst_base_src_change_state):
3151         Match _start/_stop calls in the activate functions. Remove redundant
3152         _stop call from the state change function. Fixes #356910.
3153         Turn failure DEBUG into ERROR. 
3154
3155 2006-09-22  Wim Taymans  <wim@fluendo.com>
3156
3157         * docs/design/part-buffering.txt:
3158         * gst/gstmessage.c: (gst_message_new_buffering),
3159         (gst_message_parse_buffering):
3160         Update docs about buffering.
3161
3162         * docs/design/part-trickmodes.txt:
3163         Fix typo.
3164
3165 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
3166
3167         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3168         (gst_controller_new_list):
3169           Ref instances when returning them again (fixes #357180)
3170
3171 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
3172
3173         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
3174           Don't forget to release proxy lock when there's an error.
3175
3176 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
3177
3178         * gst/gstcaps.h:
3179           Add extra initialisers for Caps things, to fix some plugin warnings
3180           when using -Wextra
3181
3182 2006-09-18  Wim Taymans  <wim@fluendo.com>
3183
3184         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3185           Also set template on the internal pad so that a getcaps from the 
3186           target pad returns the template caps.
3187
3188 2006-09-18  Wim Taymans  <wim@fluendo.com>
3189
3190         * gst/gstelement.c: (gst_element_post_message),
3191         (gst_element_dispose):
3192         Use _DEBUG_OBJECT some more.
3193
3194         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3195         Avoid typechecks.
3196
3197         * tools/gst-launch.c: (main):
3198         If the toplevel element is not a GstPipeline, it must be put in a
3199         pipeline so that a bus and clock is selected.
3200
3201 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
3202
3203         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3204           JITTER, RATE, and LATENCY query should be handled by the
3205           default case and not by the CONVERT query code.
3206
3207 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
3208
3209         * gst/gstformat.c: (gst_format_register):
3210           Fix locking order (must take lock before using n_values).
3211
3212         * gst/gstvalue.c: (gst_value_serialize_enum),
3213         (gst_value_deserialize_enum_iter_cmp),
3214         (gst_value_deserialize_enum):
3215           Fix serialisation/deserialisation of custom registered GstFormats.
3216
3217         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3218           Unit test for custom format serialisation/deserialisation.
3219
3220 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
3221
3222         * docs/pwg/building-boiler.xml:
3223         * plugins/elements/gstcapsfilter.c:
3224         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
3225         section.
3226
3227 2006-09-16  Edward Hervey  <edward@fluendo.com>
3228
3229         * libs/gst/base/gstbasetransform.c:
3230         (gst_base_transform_buffer_alloc):
3231         Check if requested caps are the same as the sinks caps IF
3232         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
3233         is FALSE.
3234         This fixes the renegotiation issues stated in #352827.
3235
3236 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3237
3238         * configure.ac:
3239         * docs/manual/advanced-autoplugging.xml:
3240         * tests/examples/Makefile.am:
3241         * tests/examples/manual/.cvsignore:
3242         * tests/examples/manual/Makefile.am:
3243         * tests/examples/manual/extract.pl:
3244           Extract the manual examples again like we used to do.
3245           Fix one of them.
3246
3247 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3248
3249         * win32/common/config.h:
3250           update for version
3251
3252 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
3253
3254         * gst/gsterror.c:
3255           Documents how to receive errors.
3256
3257 2006-09-15  Wim Taymans  <wim@fluendo.com>
3258
3259         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
3260         (event_loop), (main):
3261         Added some comments here and there.
3262         Post an application message when an interrupt is caught instead of doing
3263         an uncontrolled state change.
3264         Clean up the event loop.
3265         Handle buffering messages, pause/resume the pipeline.
3266         Make shutdown because of an interrupt more reliable.
3267
3268 2006-09-15  Wim Taymans  <wim@fluendo.com>
3269
3270         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3271         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
3272         (gst_base_sink_preroll_object):
3273         Make sure that our internal state is correct when we commit our state
3274         asynchronously. This solves a race where a state change to PLAYING
3275         could cause the sink to remain blocked in preroll in some situations.
3276
3277 2006-09-15  Wim Taymans  <wim@fluendo.com>
3278
3279         * tools/gst-inspect.c: (print_element_properties_info),
3280         (print_signal_info):
3281         List flags as hex so it's easier to deal with.
3282
3283 2006-09-15  Wim Taymans  <wim@fluendo.com>
3284
3285         * docs/libs/gstreamer-libs-sections.txt:
3286         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
3287         (gst_base_sink_do_sync):
3288         * libs/gst/base/gstbasesink.h:
3289         Expose logic to wait for preroll so that subclasses such as audiosink
3290         can also use this method.
3291         API: gst_base_sink_wait_preroll()
3292
3293 2006-09-15  Wim Taymans  <wim@fluendo.com>
3294
3295         * gst/gstobject.c: (gst_object_set_parent):
3296         * gst/gstpipeline.c: (do_pipeline_seek):
3297         Small cleanups in docs and code.
3298
3299         * gst/gstsegment.c: (gst_segment_clip):
3300         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3301         if stop == start and start is in the segment, no clipping should be
3302         done. Also add a test for this.
3303
3304 2006-09-15  Wim Taymans  <wim@fluendo.com>
3305
3306         * docs/design/part-buffering.txt:
3307         * docs/gst/gstreamer-sections.txt:
3308         * gst/gstmessage.c: (gst_message_new_buffering),
3309         (gst_message_parse_buffering):
3310         * gst/gstmessage.h:
3311         Added methods to create and parse BUFFERING messages.
3312         Added preliminary docs about buffering.
3313         API: gst_message_new_buffering
3314         API: gst_message_parse_buffering
3315
3316 2006-09-06  Wim Taymans  <wim@fluendo.com>
3317
3318         * gst/gstbin.c:
3319         Update documentation.
3320
3321         * gst/gstelement.c: (gst_element_class_init),
3322         (gst_element_release_request_pad), (gst_element_set_clock),
3323         (gst_element_get_index), (gst_element_add_pad),
3324         (gst_element_remove_pad), (gst_element_get_random_pad),
3325         (gst_element_send_event), (gst_element_get_query_types),
3326         (gst_element_query), (gst_element_post_message),
3327         (gst_element_message_full), (gst_element_continue_state),
3328         (gst_element_lost_state), (gst_element_save_thyself),
3329         (gst_element_restore_thyself):
3330         Documentation updates.
3331         Rename last bit of the new-pad -> pad-added signal rename.
3332         Fix the case where an element query would only work if the source
3333         pad was linked.
3334         Avoid some useless type checking in message handling.
3335
3336         * gst/gstevent.c:
3337         * gst/gstevent.h:
3338         * gst/gstutils.c:
3339         Documentation updates.
3340
3341 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3342
3343         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3344           add an INFO line for when we actually update the fd
3345
3346 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3347
3348         * configure.ac:
3349           back to TRUNK
3350
3351 === release 0.10.10 ===
3352
3353 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
3354
3355         * configure.ac:
3356           releasing 0.10.10, "Pais"
3357
3358 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
3359
3360         * docs/manual/advanced-position.xml:
3361           Fix typo in sample code.
3362
3363 2006-09-05  Wim Taymans  <wim@fluendo.com>
3364
3365         * libs/gst/net/gstnetclientclock.c: (inet_aton),
3366         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3367         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
3368         * libs/gst/net/gstnetclientclock.h:
3369         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3370         * libs/gst/net/gstnettimepacket.h:
3371         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
3372         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
3373         (gst_net_time_provider_thread), (gst_net_time_provider_new):
3374         * libs/gst/net/gstnettimeprovider.h:
3375         Make stuff compile on windows. Fixes #345295.
3376
3377 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
3378
3379         * gst/gst.c: (ensure_current_registry_forking):
3380           Print better details when child was terminated by signal.
3381
3382 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
3383
3384         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
3385           Print a warning rather than g_assert() if a plugin feature
3386           is a URI handler but returns no protocols (#353976).
3387
3388 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
3389
3390         * docs/random/moving-plugins:
3391         Fix two typos.         
3392
3393 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
3394
3395         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
3396           Fix locking order, handle NULL function values properly.
3397
3398         * gst/gstinfo.h:
3399           Fix docs.
3400
3401         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3402           Initialise variable before using it and fix debug statement to
3403           print the address of the function rather than the address of the
3404           variable on the stack holding the address of the function.
3405
3406 2006-09-01  Wim Taymans  <wim@fluendo.com>
3407
3408         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
3409         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
3410         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
3411         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
3412         (gst_ghost_pad_parent_unset),
3413         (gst_ghost_pad_internal_do_activate_push),
3414         (gst_ghost_pad_internal_do_activate_pull),
3415         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3416         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3417         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
3418         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
3419         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
3420         (gst_ghost_pad_new_no_target_from_template),
3421         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3422         More cleanups.
3423         Avoid needless typechecking in macros.
3424         Since the internal pad is always present and never changes, there is
3425         no need to locking or ref when retrieving it.
3426         Improve debugging a bit.
3427         Handle link errors when setting the target. Fixes #341029.
3428
3429 2006-09-01  Wim Taymans  <wim@fluendo.com>
3430
3431         * docs/libs/gstreamer-libs-sections.txt:
3432         * docs/plugins/gstreamer-plugins-sections.txt:
3433         Fix docs some more.
3434
3435         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3436         (gst_collect_pads_event):
3437         * libs/gst/base/gstcollectpads.h:
3438         Documentation updates.
3439         Free queued buffer when removing a pad.
3440
3441 2006-08-31  Michael Smith  <msmith@fluendo.com>
3442
3443         * gst/gstutils.c: (gst_element_link_pads),
3444         (gst_element_link_pads_filtered):
3445           Ensure that we set a capsfilter to NULL if we failed to link it
3446           when doing filtered linking, to avoid criticals.
3447
3448           No need to check for unreffing srcpad, which is explicly NULLed
3449           above (a trivial code cleanup).
3450
3451 2006-08-31  Wim Taymans  <wim@fluendo.com>
3452
3453         * docs/design/part-gstghostpad.txt:
3454         Update ascii art in documentation.
3455
3456         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
3457         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
3458         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
3459         (gst_ghost_pad_internal_do_activate_push),
3460         (gst_ghost_pad_internal_do_activate_pull),
3461         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3462         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3463         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
3464         (gst_ghost_pad_set_target):
3465         Small cleanups and leak fixes.
3466         Remove some checks now that the internal pad is never NULL.
3467         Fix the case where linking pads without a target would create nasty
3468         criticals. Fixes #341029.
3469         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
3470         value of _set_target().
3471
3472         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3473         (gst_ghost_pad_suite):
3474         Some more tests for creating and linking untargeted ghostpads.
3475
3476 2006-08-31  Edward Hervey  <edward@fluendo.com>
3477
3478         * docs/gst/gstreamer-sections.txt:
3479         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
3480         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
3481         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
3482         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
3483         (gst_ghost_pad_new_from_template),
3484         (gst_ghost_pad_new_no_target_from_template):
3485         * gst/gstghostpad.h:
3486         Refactored *_new() functions.
3487         Templates are now used as a g_object_new() parameter.
3488         Use template in _do_getcaps() if we don't have a target.
3489         Small documentation cleanups.
3490         Added two new constructors:
3491         gst_ghost_pad_new_from_template()
3492         gst_ghost_pad_new_no_target_from_template()
3493         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3494         (gst_ghost_pad_suite):
3495         Added tests for new ghostpad instanciation functions.
3496
3497         API additions: gst_ghost_pad_new_from_template,
3498         gst_ghost_pad_new_no_target_from_template
3499
3500 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
3501
3502         * docs/random/ensonic/profiling.txt:
3503           Ideas about qos profiling.
3504
3505 2006-08-29  Wim Taymans  <wim@fluendo.com>
3506
3507         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
3508         Code cleanups.
3509         Fix memleak.
3510
3511 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
3512
3513         * gst/gstxml.c:
3514           Improve and detypofy docs.
3515
3516         * tests/check/Makefile.am:
3517         * tests/check/gst/.cvsignore:
3518         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
3519           Add a basic test suite for GstXML.
3520
3521 2006-08-29  Wim Taymans  <wim@fluendo.com>
3522
3523         * gst/gstelement.c: (activate_pads), (clear_caps),
3524         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
3525         Clear the pad caps when the element shut down all of the pads and
3526         is not streaming data that could modify the caps. 
3527         Fixes #352958.
3528
3529 2006-08-28  Michael Smith  <msmith@fluendo.com>
3530
3531         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3532           Revert previous change; I misunderstood single-segment mode.
3533
3534 2006-08-28  Michael Smith  <msmith@fluendo.com>
3535
3536         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3537           Unset DISCONT on buffers when using single-segment mode.
3538
3539 2006-08-28  Wim Taymans  <wim@fluendo.com>
3540
3541         * gst/gstcaps.c: (gst_caps_merge_structure):
3542         * gst/gstcaps.h:
3543         Fix docs and indentation again.
3544
3545         * tests/check/gst/gstquery.c: (GST_START_TEST):
3546         Fix leak in tests and add some more tests.
3547
3548 2006-08-28  Edward Hervey  <edward@fluendo.com>
3549
3550         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3551         Inform GstSegment of the last stop position in order for the current
3552         segment to have a proper duration if it doesn't have a specific stop
3553         position from which a duration could be calculated.
3554         This bug was noticeable when a non-flushing, non-update new segment was
3555         followed by another segment (all buffers from the new segment were being
3556         dropped).
3557
3558 2006-08-28  Wim Taymans  <wim@fluendo.com>
3559
3560         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3561         Small comment update.
3562
3563         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3564         (gst_identity_transform_ip):
3565         Drop-probability is broken, mention this in the code with a 
3566         FIXME and also in the property description.
3567         Make silent also be silent about the drop messages.
3568
3569 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
3570
3571         * docs/manual/appendix-win32.xml:
3572           Remove mention of popt, we don't depend on that any
3573           longer (#353136). Add some comments pointing out that
3574           this section is slightly outdated.
3575
3576 2006-08-28  Wim Taymans  <wim@fluendo.com>
3577
3578         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3579
3580         * gst/gstquery.c: (gst_query_new_segment):
3581         * tests/check/gst/gstquery.c: (GST_START_TEST):
3582         Initialize variables when creating a new segment query.
3583         Fixes #353121.
3584
3585 2006-08-28  Wim Taymans  <wim@fluendo.com>
3586
3587         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3588
3589         * gst/gstelement.c: (gst_element_get_bus):
3590         * tests/check/gst/gstelement.c: (GST_START_TEST):
3591         Check for NULL before _reffing the bus. Fixes #353122.
3592
3593 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
3594
3595         * docs/manual/basics-bus.xml:
3596           Docs update: fix wrong callback return value explanation; add
3597           some lines about the implicit relationship between main loop
3598           and main context; remove duplicate main loop variable declaration.
3599
3600 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
3601
3602         * tests/check/gst/gstcaps.c: (GST_START_TEST):
3603           Don't leak caps in unit test; add a few more simple
3604           checks. 
3605
3606 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
3607
3608         * docs/gst/gstreamer-sections.txt:
3609         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
3610         (gst_caps_structure_is_subset), (gst_caps_merge),
3611         (gst_caps_merge_structure):
3612         * gst/gstcaps.h:
3613         * libs/gst/base/gstbasetransform.c:
3614         (gst_base_transform_transform_caps):
3615         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3616           implement caps merging (fixes #352580)
3617
3618 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
3619
3620         * tools/Makefile.am:
3621         * tools/gst-plot-timeline.py:
3622           add debug-log plotting developer tool (#340674)
3623
3624 2006-08-23  Wim Taymans  <wim@fluendo.com>
3625
3626         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
3627         (gst_pad_stop_task):
3628         Improve debugging for task functions.
3629
3630         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
3631         (gst_task_start), (gst_task_pause), (gst_task_join):
3632         Make sure that the task function started and finished after a 
3633         join(). 
3634         Don't try to push the task function on the threadpool multiple
3635         times.
3636         Improve the g_warning message with some useful suggestions
3637         about how to fix the problem. 
3638
3639 2006-08-23  Wim Taymans  <wim@fluendo.com>
3640
3641         * gst/gstutils.c: (gst_pad_proxy_getcaps):
3642         Handle RESYNC correctly in _proxy_getcaps.
3643
3644 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
3645
3646         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
3647         (gst_xml_parse_memory), (gst_xml_get_element):
3648           Chain up to parent class in dispose function and also
3649           unref the elements in the toplevel_elements GList.
3650           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
3651           Always return a reference in gst_xml_get_element() rather
3652           than only sometimes.
3653
3654         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
3655           Don't leak GstXml object.
3656
3657 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
3658
3659         * docs/gst/gstreamer-sections.txt:
3660         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
3661         (gst_caps_merge):
3662         * gst/gstcaps.h:
3663         * libs/gst/base/gstbasetransform.c:
3664         (gst_base_transform_transform_caps):
3665           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
3666           in a better way
3667
3668 2006-08-21  Edward Hervey  <edward@fluendo.com>
3669
3670         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
3671         Implement GObject::dispose virtual method in GstXML so we can free the
3672         top_elements GList.
3673
3674 2006-08-21  Wim Taymans  <wim@fluendo.com>
3675
3676         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
3677         (gst_buffer_create_sub):
3678         Copy duration/offset_end/caps when creating a subbuffer of the
3679         complete parent.
3680         Make the subbuffer read-only when we make the metadata writable for
3681         now. Fixes #351768.
3682
3683         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3684         Added check for metadata copy when creating subbuffers.
3685
3686 2006-08-21  Edward Hervey  <edward@fluendo.com>
3687
3688         * libs/gst/base/gstbasetransform.c:
3689         (gst_base_transform_buffer_alloc):
3690         Only call downstream buffer_alloc if transform element is passthrough
3691         or always_in_place. Closes #350449.
3692
3693 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3694
3695         * ChangeLog:
3696           ChangeLog surgery to add comments to previous changes
3697
3698 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3699
3700         * gst/gst.c:
3701           Add comments
3702
3703         * gst/gstpad.c: (gst_pad_set_active):
3704           Be more verbose in the log
3705
3706         * libs/gst/base/gstbasetransform.c:
3707         (gst_base_transform_transform_caps):
3708           Simplify caps to get rid of duplicates, fixes #345444
3709
3710 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3711
3712         * gst/gstvalue.c:
3713         * gst/gstvalue.h:
3714           Use these optimizations only internally.
3715
3716 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3717
3718         * gst/gstvalue.c: (gst_value_compare_list),
3719         (gst_value_compare_fraction_range),
3720         (gst_value_intersect_fraction_fraction_range),
3721         (gst_value_intersect_fraction_range_fraction_range),
3722         (gst_value_subtract_fraction_fraction_range),
3723         (gst_value_subtract_fraction_range_fraction_range),
3724         (gst_value_get_compare_func), (gst_value_compare),
3725         (gst_value_compare_with_func):
3726         * gst/gstvalue.h:
3727           Saves the expensive lookup of the compare function in many cases
3728          (#345444)
3729
3730 2006-08-18  Edward Hervey  <edward@fluendo.com>
3731
3732         * tests/check/gst/gstinfo.c: (gst_info_suite):
3733         Disable test that require gstdebug if it wasn't built in core.
3734
3735 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
3736
3737         * docs/random/ensonic/logging.txt:
3738           update ideas
3739           
3740         * gst/gstinfo.c: (gst_debug_log_default):
3741           reorder fields, save some columns, add optional color codes for log
3742           levels
3743
3744 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
3745
3746         * docs/random/ensonic/logging.txt:
3747           add ideas about making the logs a bit more useful
3748
3749 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
3750
3751         * docs/pwg/advanced-events.xml:
3752         * docs/pwg/titlepage.xml:
3753           Update for 0.10 API (#340627). Add myself
3754           to authors list.
3755
3756 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
3757
3758         * docs/libs/gstreamer-libs-docs.sgml:
3759         * docs/libs/gstreamer-libs-sections.txt:
3760         * libs/gst/check/gstbufferstraw.c:
3761           Make gstcheck stuff show up in docs (still needs to
3762           be documented properly though).
3763
3764 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
3765
3766         * docs/gst/gstreamer-sections.txt:
3767         * gst/Makefile.am:
3768         * gst/gst.c: (init_post):
3769         * gst/gst_private.h:
3770         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3771         * gst/gstquark.h:
3772         * gst/gstquery.c: (gst_query_new_position),
3773         (gst_query_set_position), (gst_query_parse_position),
3774         (gst_query_new_duration), (gst_query_set_duration),
3775         (gst_query_parse_duration), (gst_query_new_convert),
3776         (gst_query_set_convert), (gst_query_parse_convert),
3777         (gst_query_new_segment), (gst_query_set_segment),
3778         (gst_query_parse_segment), (gst_query_new_seeking),
3779         (gst_query_set_seeking), (gst_query_parse_seeking):
3780         Add internal helpers for pre-registering quarks from static strings
3781         and using the quark values directly instead of looking them up when
3782         creating and parsing queries. Can be used for event construction too.
3783         Closes #350432.
3784
3785 2006-08-16  Wim Taymans  <wim@fluendo.com>
3786
3787         * gst/gstbin.c:
3788         Fix bogus docs.
3789
3790 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3791
3792         * gst/gstutils.c: (gst_util_set_value_from_string):
3793           Fix memleak (#351502).
3794
3795         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3796           Add unit test for most of gst_util_set_value_from_string()
3797           (not that one would want to encourage use of this function).
3798
3799 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3800
3801         * libs/gst/check/gstcheck.h:
3802           Use const gchar * variables in fail_unless_equals_string
3803           macro to avoid compiler warnings (and don't use tabs for
3804           indenting).
3805
3806 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3807
3808         * tools/gst-launch.c: (print_tag):
3809           More space on the left for the tag names, to cater
3810           for the 'extended comment' tag (not touching the
3811           string for the first line since it's translated).
3812
3813 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3814
3815         * libs/gst/check/gstcheck.h:
3816           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
3817           print something when they fail.
3818
3819 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
3820
3821         * docs/gst/gstreamer-sections.txt:
3822         * gst/gsttaglist.c: (_gst_tag_initialize):
3823         * gst/gsttaglist.h:
3824           API: add GST_TAG_EXTENDED_COMMENT (#350935).
3825           Also change merge function for GST_TAG_COMMENT to
3826           use_first.
3827
3828 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
3829
3830         * gst/gstinfo.c: (gst_debug_print_object):
3831           Make GST_PTR_FORMAT print messages as well.
3832
3833         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
3834         (GST_START_TEST), (gst_info_suite):
3835           More tests.
3836
3837 2006-08-14  Edward Hervey  <edward@fluendo.com>
3838
3839         * gst/gstelementfactory.c: (gst_element_register):
3840         If the GstElementClass doesn't have a GstElementDetails with all fields
3841         filled up correctly (longname, description AND author), then error out
3842         nicely instead of crashing.
3843
3844 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
3845
3846         * gst/gststructure.c:
3847           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
3848
3849         * gst/gstvalue.h:
3850           Expand on the difference between arrays and lists as we use them.
3851           
3852 2006-08-14  Wim Taymans  <wim@fluendo.com>
3853
3854         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3855         If the parent state change function failed, don't assume we can safely
3856         stop the source, this will be done when the pads are deactivated.
3857
3858 2006-08-14  Wim Taymans  <wim@fluendo.com>
3859
3860         * gst/gstbuffer.c:
3861         * gst/gsttask.c: (gst_task_join):
3862         Small doc updates.
3863
3864         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3865         (gst_pad_stop_task):
3866         When pad (de)activation failed for some reason, restore the old
3867         activation mode and set the pad to flushing instead of assuming the
3868         pad is deactivated.
3869         If the _task_join() failed, reinstall the task on the pad so that it can
3870         be stopped later and return an error.
3871
3872 2006-08-11  Andy Wingo  <wingo@pobox.com>
3873
3874         * configure.ac:
3875         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
3876         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
3877         is only for users of API that don't want to see deprecated
3878         functions in the headers; people that want to compile out
3879         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
3880         CFLAGS. Fixes the build of multifdsink, or will soon..
3881
3882 2006-08-11  Wim Taymans  <wim@fluendo.com>
3883
3884         * docs/gst/gstreamer-sections.txt:
3885         Add GstClockClass vmethod docs.
3886
3887         * gst/gstcaps.h:
3888         Mark #endif with comment for associated #if
3889
3890         * gst/gstclock.c: (gst_clock_id_wait):
3891         * gst/gstclock.h:
3892         Add vmethod wait_jitter to avoid an unneeded _get_time() for
3893         most clock implementations.
3894         Document vmethods.
3895         Flesh out docs about resolution methods.
3896         API: GstClockClass::wait_jitter
3897
3898         * gst/gstsystemclock.c: (gst_system_clock_class_init),
3899         (gst_system_clock_async_thread),
3900         (gst_system_clock_id_wait_jitter_unlocked),
3901         (gst_system_clock_id_wait_jitter):
3902         Use base class wait_jitter variant for improved performance
3903         due to less clock polling.
3904
3905 2006-08-11  Edward Hervey  <edward@fluendo.com>
3906
3907         * gst/gst.c: (gst_init_check), (init_post):
3908         Set gst as being initialized before scanning/updating the registry,
3909         since there might be my python plugin loader that calls gst_init() and
3910         we don't want to loop back in.
3911         Closes #350879
3912
3913 2006-08-11  Wim Taymans  <wim@fluendo.com>
3914
3915         * docs/design/part-qos.txt:
3916         Bring docs in line with the code. Mostly the sign of the jitter was
3917         wrong in the docs. Fixes #349943.
3918
3919         * gst/gstclock.c:
3920         Fix the docs for the jitter.
3921
3922         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
3923         (gst_event_parse_tag), (gst_event_new_buffer_size),
3924         (gst_event_parse_buffer_size), (gst_event_parse_qos),
3925         (gst_event_new_seek), (gst_event_parse_seek),
3926         (gst_event_new_navigation):
3927         Make sure the GstStructure has no parent when creating custom
3928         events.
3929         Add some more argument checking so that we avoid 0.0 rates.
3930         Flesh out the docs for the QoS event some more.
3931
3932 2006-08-11  Wim Taymans  <wim@fluendo.com>
3933
3934         * docs/gst/gstreamer-sections.txt:
3935         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3936         (ensure_current_registry_forking), (ensure_current_registry),
3937         (parse_one_option), (parse_goption_arg), (gst_deinit),
3938         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
3939         * gst/gst.h:
3940         Doc updates.
3941         Added API and command line option to disable registry forking in
3942         addition to the environment variable.
3943         Constify some static arrays.
3944         Added some more debug.
3945         Don't deinit twice.
3946         API: gst_registry_fork_is_enabled()
3947         API: gst_registry_fork_set_enabled()
3948         API: --gst-disable-registry-fork command line option
3949         Fixes #348918.
3950
3951 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
3952
3953         * gst/gst.c: (gst_init):
3954           Fix typo in error message.
3955
3956 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
3957
3958         * libs/gst/controller/gstcontroller.h:
3959           fix ABI size-correction
3960
3961         * tests/check/libs/gdp.c: (gst_dp_suite):
3962           make tests that use deprecated API conditional
3963
3964 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
3965
3966         * docs/libs/gstreamer-libs-sections.txt:
3967         * libs/gst/controller/gstcontroller.c:
3968         (_gst_controller_get_property), (_gst_controller_set_property),
3969         (_gst_controller_init), (_gst_controller_class_init):
3970         * libs/gst/controller/gstcontroller.h:
3971         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
3972         (gst_object_set_control_rate):
3973           API: add gst_object_{s,g}et_control_rate(), add private data section,
3974           fix docs
3975
3976         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
3977         * libs/gst/dataprotocol/dataprotocol.h:
3978           add deprecation guards to make gtk-doc happy and allow disabling cruft
3979
3980 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
3981
3982         * tests/check/Makefile.am:
3983         * tests/check/gst/.cvsignore:
3984           Let's enable the new unit test as well.
3985
3986 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
3987
3988         * configure.ac:
3989         * docs/gst/gstreamer-sections.txt:
3990         * gst/gstconfig.h.in:
3991         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
3992         (_gst_info_printf_extension_ptr),
3993         (_gst_info_printf_extension_segment):
3994           API: add GST_SEGMENT_FORMAT, which is a printf extension we
3995           register that lets us easily dump GstSegments into debug
3996           logs (#350419).
3997
3998         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
3999         (info_segment_format_printf_extension), (gst_info_suite):
4000           Add simple unit test that logs a bunch of different segments (not
4001           valgrinded at the moment because of leaks in
4002           gst_debug_add_log_function).
4003
4004 2006-08-09  Edward Hervey  <edward@fluendo.com>
4005
4006         * libs/gst/base/gstbasetransform.c:
4007         (gst_base_transform_buffer_alloc):
4008         Even if we can't figure out the proper format to request downstream,
4009         call buffer_alloc() downstream with the input parameters without setting
4010         the caps on the srcpad. This will force negotiation in the chain
4011         function.
4012         Closes #350449
4013
4014 2006-08-08  Edward Hervey  <edward@fluendo.com>
4015
4016         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4017         Unlinking from a pad without a target is now a perfectly valid case
4018         which should NOT raise an assertion.
4019         This case would happen if a linked ghostpad its target set to NULL after
4020         it was previously linked.
4021
4022 2006-08-08  Edward Hervey  <edward@fluendo.com>
4023
4024         * tests/check/libs/gdp.c:
4025         Also comment out the test (see below).
4026
4027 2006-08-08  Edward Hervey  <edward@fluendo.com>
4028
4029         * tests/check/libs/gdp.c: (gst_dp_suite):
4030         Use the architecture information from config.h and not gcc macros
4031         in order to properly disable a test that fails on PPC64.
4032
4033 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
4034
4035         * gst/gstelement.c: (gst_element_remove_pad):
4036           Don't crash printing the warning if the pad has no parent.
4037
4038 2006-08-02  Wim Taymans  <wim@fluendo.com>
4039
4040         * libs/gst/dataprotocol/dataprotocol.c:
4041         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
4042         (gst_dp_crc), (gst_dp_header_payload_length),
4043         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
4044         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
4045         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
4046         (gst_dp_event_from_packet), (gst_dp_validate_header),
4047         (gst_dp_validate_payload):
4048         Make debug category static
4049         Constify the crc table.
4050         Do some more arg checking in public functions.
4051         Fix some docs and do some small cleanups.
4052
4053         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
4054         Add some more checks to see if GDP deals with bogus input.
4055
4056 2006-07-31  Wim Taymans  <wim@fluendo.com>
4057
4058         * gst/gstvalue.c: (gst_value_compare_list):
4059         Fix GstValueList comparison code. Fixes #347293.
4060
4061         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4062         Check to test GstValueList comparison.
4063
4064 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4065
4066         * gst/gstelementfactory.c: (gst_element_factory_create):
4067         Remove unnecessary ref/unref pair
4068
4069         * gst/parse/grammar.y:
4070         Make sure to free the parse buffer on all code paths.
4071         Move a g_free up to the error handler where it's easier to see.
4072
4073         * tests/check/gst/gstevent.c: (test_event):
4074         Extending timeout for downstream travelling events to 10 seconds to
4075         hopefully avoid intermittent failure on the buildbots.
4076
4077         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
4078         Don't manually set the state of the src element - it will happen as a
4079         natural consequence of the pipeline changing state, and that way it
4080         will do it in the right order too.
4081
4082 2006-07-31  Wim Taymans  <wim@fluendo.com>
4083
4084         * libs/gst/base/gstbasetransform.c:
4085         (gst_base_transform_buffer_alloc):
4086         Use OBJECT_LOCK and refcounting to get the pad caps in the
4087         buffer_alloc function because the caps could change while we are
4088         busy with them. Fixes #349105
4089
4090 2006-07-31  Wim Taymans  <wim@fluendo.com>
4091
4092         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
4093         Protect _PAD_CAPS with OBJECT_LOCK.
4094
4095 2006-07-31  Wim Taymans  <wim@fluendo.com>
4096
4097         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4098         (gst_pad_get_property), (gst_pad_activate_pull),
4099         (gst_pad_activate_push), (gst_pad_set_blocked_async),
4100         (gst_pad_set_activate_function),
4101         (gst_pad_set_activatepull_function),
4102         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
4103         (gst_pad_set_getrange_function),
4104         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
4105         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4106         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
4107         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
4108         (gst_pad_set_acceptcaps_function),
4109         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
4110         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
4111         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
4112         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
4113         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
4114         (gst_pad_configure_sink), (gst_pad_configure_src),
4115         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
4116         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
4117         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
4118         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
4119         (gst_pad_send_event):
4120         Use _DEBUG_OBJECT when it makes sense.
4121         Protect GST_PAD_CAPS with the OBJECT_LOCK.
4122         Small cleanups and code reflows.
4123         Avoid caps refcounting in _accept_caps.
4124         Refactor alloc_buffer so that the code performed on the peer is in a
4125         separate function. Also if the pad does not implement a buffer alloc
4126         function, we should still check if the pad is flushing before falling
4127         back to the default allocator.
4128
4129 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4130
4131         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4132         Make all uses of identity and fakesink have silent=true to avoid
4133         serialising every passing data structure, which is breaking tests
4134         on FC4 for some unknown reason.
4135
4136 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
4137
4138         * gst/parse/Makefile.am:
4139         * gst/parse/grammar.y:
4140         * gst/parse/parse.l:
4141           Reverted previous patch as it required to bump the flex dependency to
4142           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
4143
4144 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
4145
4146         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
4147
4148         * gst/parse/Makefile.am:
4149         * gst/parse/grammar.y:
4150         * gst/parse/parse.l:
4151           push & pop the state of the lexer for reentrant use case
4152           Fixes #349180
4153
4154 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
4155
4156         * libs/gst/base/gstbasesrc.h:
4157           Note in the docs that the ::newsegment vfunc is not actually used by
4158           GstBaseSrc.
4159
4160 2006-07-28  Wim Taymans  <wim@fluendo.com>
4161
4162         * libs/gst/base/gstcollectpads.c:
4163         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
4164         (gst_collect_pads_clear), (gst_collect_pads_flush),
4165         (gst_collect_pads_event), (gst_collect_pads_chain):
4166         When flushing a pad, also clear the queued buffer so that we don't
4167         accidentally use it when we shouldn't.
4168         Fix leaks by inreffing incomming buffer.
4169         Flush out queued buffers in case of errors.
4170         Fixes #347452.
4171
4172 2006-07-28  Wim Taymans  <wim@fluendo.com>
4173
4174         * docs/random/phonon-gst:
4175         Random notes about a Phonon backend.
4176
4177 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
4178
4179         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4180         Extra debug output
4181         * tests/check/libs/gdp.c: (gst_dp_suite):
4182         Take a whack at fixing the ppc compile using a different define to
4183         disable the broken test.
4184
4185         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4186         Remove excess g_print()
4187
4188 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
4189
4190         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4191         Oops, meant to uncomment this line too to dampen the noise a bit.
4192
4193 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
4194
4195         * gst/parse/grammar.y:
4196         * gst/parse/parse.l:
4197         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4198         (GST_START_TEST), (parse_suite):
4199         Fix some of the leaks exposed by extending the parse-launch testsuite,
4200         and move the 3 I can't figure out into a separate test that won't run
4201         the pipelines unless the appropriate line is uncommented.
4202
4203 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
4204
4205         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4206           Requesting 0 bytes before the end of the file should result in
4207           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
4208           unit test.
4209
4210 2006-07-27  Wim Taymans  <wim@fluendo.com>
4211
4212         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
4213         Fix useless assert, a uint is always positive.
4214
4215         * gst/gststructure.c: (gst_structure_nth_field_name),
4216         (gst_structure_foreach), (gst_structure_map_in_place):
4217         Check input arguments for public functions to avoid obvious crashes.
4218
4219         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
4220         * plugins/elements/gstfakesink.h:
4221         Do less useless typechecking.
4222
4223 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
4224
4225         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4226           Do not use mmap() by default since there are a number of error
4227           conditions that we would like to handle in a non-fatal way that
4228           will result in a SIGBUS if we use mmap(). Examples: external
4229           devices (USB harddrive, portable music player) being unplugged
4230           while in use; file on mounted CD/DVD that can't be read because
4231           the medium is partly damaged. Fixes #348455 and #348475.
4232
4233 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
4234
4235         * gst/gstquery.h:
4236         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
4237         rates are a gdouble
4238
4239 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
4240
4241         * gst/gstregistry.c:
4242           Move big documentation comment into class section header, so that it
4243           appears in the API docs.
4244
4245 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4246
4247         * docs/gst/gstreamer-sections.txt:
4248         Oops. Commit the docs additions too for new API.
4249         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
4250
4251 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4252
4253         * gst/gststructure.c: (gst_structure_id_set),
4254         (gst_structure_id_set_valist):
4255         * gst/gststructure.h:
4256         Add API for setting values into structures without performing
4257         a quark lookup, if the appropriate quark is already known.
4258
4259         API: gst_structure_id_set
4260         API: gst_structure_id_set_valist
4261
4262         * gst/parse/grammar.y:
4263         * gst/parse/parse.l:
4264         Remove some dead code shown by the coverage information.
4265         Don't throw a critical g_warning when encountering a syntax error,
4266         just warn and let the normal error path handle it.
4267
4268         * plugins/elements/gstelements.c:
4269         Bump the rank of filesink up to PRIMARY so that it is preferred over
4270         gnomevfssink for file:// sink uri's
4271
4272         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4273         (GST_START_TEST), (run_delayed_test),
4274         (gst_parse_test_element_base_init),
4275         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
4276         (gst_parse_test_element_change_state),
4277         (gst_register_parse_element), (parse_suite):
4278         Beef up the tests for parse syntax to check that more error cases
4279         fail as they are supposed to. Increases the test coverage a bit.
4280
4281 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
4282
4283         * docs/manual/basics-elements.xml:
4284           Fix gst_element_link() example.
4285
4286         * gst/gstutils.c:
4287           Mention in API docs that one should usually gst_bin_add()
4288           elements to a bin or pipeline before doing the linking.
4289           
4290 2006-07-26  Wim Taymans  <wim@fluendo.com>
4291
4292         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4293         (gst_subbuffer_get_type), (gst_buffer_create_sub):
4294         Avoid function call for known types by keeping the buffer and
4295         subbuffer GType global.
4296
4297         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4298         Random silly optimisations in read() path.
4299
4300 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4301
4302         * tools/gst-launch.c: (main):
4303           If the top-level of the parse is a normal bin, it doesn't do the
4304           right logic to run as a top-level element, so place it inside a
4305           pipeline.
4306
4307 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
4308
4309         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
4310           Remove superfluous g_object_notify() calls, GObject does
4311           that for us automatically.
4312
4313 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
4314
4315         * gst/gstinfo.h:
4316           on Win32, use dllspec to export the debug category symbols
4317
4318 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
4319
4320         * gst/gsttaglist.c: (_gst_tag_initialize):
4321           Allow more than one GST_TAG_IMAGE per taglist.
4322
4323 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4324
4325         * gst/gstminiobject.c:
4326           update docs
4327         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
4328         (gst_fd_src_create):
4329           log recurring events at LOG level
4330           add more debug for when the fd gets set
4331
4332 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
4333
4334         * gst/gstparse.c: (gst_parse_launch):
4335           Also remove reentrance checks if flex is MT safe (#348179)
4336          Fix my empty ChangeLog entry below
4337
4338 2006-07-21  Andy Wingo  <wingo@pobox.com>
4339
4340         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
4341
4342         * libs/gst/check/Makefile.am
4343         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
4344         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
4345         * libs/gst/check/gstbufferstraw.h:
4346         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
4347         functions, thus proving I am still a GStreamer haxor. OK I wrote
4348         them a long time ago, but anyways.
4349
4350 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
4351
4352         * configure.ac:
4353         * gst/gstparse.c: (gst_parse_launch):
4354           Check for flex version and omit mutex if we have a MT save flex
4355           (fixes #348179)
4356
4357 2006-07-21  Wim Taymans  <wim@fluendo.com>
4358
4359         * gst/gstparse.c: (gst_parse_launch):
4360         Protect recursive calls to _parse with a recursive mutex
4361         and busy flag.
4362
4363 2006-07-21  Wim Taymans  <wim@fluendo.com>
4364
4365         * tests/check/gst/gstpad.c: (GST_START_TEST):
4366         Fix leak in test.
4367
4368 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
4369
4370         * gst/gstparse.c: (gst_parse_launch):
4371           Do not hang on recursive usage of gst_parse_launch()
4372
4373 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
4374
4375         * gst/gsttaglist.c:
4376           Add some more docs, comments and FIXME 0.11s here and there
4377           and also fix some typos.
4378
4379 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
4380
4381         * gst/gstsegment.h:
4382           Convert tabs to spaces for better readability. 
4383
4384 2006-07-20  Edward Hervey  <edward@fluendo.com>
4385
4386         * tests/check/libs/gdp.c: (gst_dp_suite):
4387         the test_buffer test fails at line 140 on ppc64 at the following
4388         check:
4389         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
4390                 GST_BUFFER_FLAG_IN_CAPS),
4391                 "GST_BUFFER_IN_CAPS flag should have been copied !");
4392         See bug #348114 for more details.
4393
4394 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
4395
4396         * docs/pwg/advanced-scheduling.xml:
4397         * gst/gstpad.c:
4398           Fix typos (#348000).
4399
4400 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
4401
4402         * docs/pwg/intro-basics.xml:
4403           Fix wrong links (#347927).
4404
4405 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
4406
4407         * gst/gstregistry.h:
4408         * gst/gstregistryxml.c: (load_feature),
4409         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
4410         * win32/common/config.h:
4411           make --disable-index work (#342564)
4412
4413 2006-07-18  Wim Taymans  <wim@fluendo.com>
4414
4415         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4416
4417         * gst/Makefile.am:
4418         * gst/gsttrace.h:
4419         The attached patch adds two missing defines to gsttrace.h when tracing
4420         is disabled.  It also corrects one existing define.
4421         Fixes #347756.
4422
4423 2006-07-17  Wim Taymans  <wim@fluendo.com>
4424
4425         * docs/gst/gstreamer-sections.txt:
4426         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
4427         * gst/gst.h:
4428         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
4429         Add two functions to check and change the SIGSEGV behaviour
4430         when loading plugins.
4431         Don't mess with the SIGSEGV handler when we were told not to.
4432         Fixes #347794.
4433         API: gst_segtrap_is_enabled
4434         API: gst_segtrap_set_enabled
4435
4436 2006-07-14  Wim Taymans  <wim@fluendo.com>
4437
4438         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4439         * tests/check/elements/filesrc.c: (GST_START_TEST):
4440         Revert fix for regression in #347408 after release.
4441
4442 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
4443
4444         Patch by: Antoine Tremblay <hexa00 at gmail com>
4445
4446         * gst/gstutils.c: (gst_element_unlink):
4447           Free iterator when done (#347311).
4448
4449         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4450           And add a test case for this.
4451
4452 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
4453
4454         * configure.ac:
4455         Bump nano back to CVS
4456
4457 === release 0.10.9 ===
4458
4459 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
4460
4461         * configure.ac:
4462           releasing 0.10.9, "On the road again"
4463
4464 2006-07-13  Wim Taymans  <wim@fluendo.com>
4465
4466         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4467         * tests/check/elements/filesrc.c: (GST_START_TEST):
4468         Revert pull-0 fix for release. Disable check. Fixes #347408.
4469
4470 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4471
4472         * libs/gst/dataprotocol/dataprotocol.c:
4473         (gst_dp_event_from_packet_1_0):
4474           Fixes #347337: failure to deserialize event packets with
4475           empty payload (only event type)
4476
4477 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4478
4479         * gst/Makefile.am:
4480           do not install a .c file in the header directory
4481
4482 2006-07-13  Edward Hervey  <edward@fluendo.com>
4483
4484         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
4485         GhostPad no longer implicitely use the padtemplates of the targets.
4486         Fixes #347384
4487
4488 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
4489
4490         * gst/gstvalue.c: (gst_value_compare_list),
4491         (gst_value_compare_array), (_gst_value_initialize):
4492         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4493         Make GstValueArray comparison be order dependent as designed.
4494         Add checks for value lists and value array comparisons.
4495         Fixes #347221
4496
4497 2006-07-11  Edward Hervey  <edward@fluendo.com>
4498
4499         * gst/gstbin.c: (activate_pads),
4500         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
4501         (gst_bin_change_state_func):
4502         (de)activate src pads before calling state_change on the childs.
4503         This is to avoid the case where a src ghostpad is blocked (holding the
4504         stream lock), which would block the deactivation of the ghostpad's
4505         target pad.
4506         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
4507         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
4508         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
4509         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4510         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4511         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4512         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4513         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
4514         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
4515         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4516         (gst_ghost_pad_class_init),
4517         (gst_ghost_pad_internal_do_activate_push),
4518         (gst_ghost_pad_internal_do_activate_pull),
4519         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4520         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4521         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
4522         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
4523         GhostPads now create their internal GstProxyPad at creation (and not
4524         when they're linked, as it was being done previously).
4525         The internal and target pads are linked straight away.
4526         The data will also travel through the other pad in order to make
4527         pad blocking and probes non-hackish (the probe/block now really happens
4528         on the GhostPad and not on the target).
4529         * gst/gstpad.c: (gst_pad_set_blocked_async),
4530         (gst_pad_link_prepare), (gst_pad_push_event):
4531         Remove previous ghostpad cruft.
4532         * gst/gstutils.c: (gst_pad_add_data_probe),
4533         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4534         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4535         (gst_pad_remove_buffer_probe):
4536         Remove previous ghost pad cruft.
4537         Added more detailed debug statements.
4538         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4539         Fix the testsuite for refcounting changes.
4540         The comments about who has references were correct, but the refcount
4541         being checked wasn't the same (!?!).
4542
4543         Fixes #341029
4544
4545 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
4546
4547         * docs/gst/gstreamer-sections.txt:
4548         * gst/gstconfig.h.in:
4549         More docs for configuration options, add docs to gtk-doc.
4550
4551 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
4552
4553         * gst/Makefile.am:
4554         * gst/gstconfig.h.in:
4555         * win32/common/config.h:
4556         Fix build when disabling tracing (fixes #344016). Also start to document
4557         the defines that disable the sub-systems.
4558
4559 2006-07-10  Edward Hervey  <edward@fluendo.com>
4560
4561         * gst/gst.c: (ensure_current_registry_forking):
4562         let's make valgrind happy...
4563
4564 2006-07-09  Wim Taymans  <wim@fluendo.com>
4565
4566         * gst/gstelement.c: (activate_pads),
4567         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4568         Better pad activation code: Reset the collect value too on resync.
4569         Add some comments.
4570
4571 2006-07-09  Wim Taymans  <wim@fluendo.com>
4572
4573         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
4574         (gst_pad_activate_push):
4575         Use some more macros where it makes sense.
4576         Allow pad mode switching instead of asserting. When a pad
4577         is activated in one mode and we activate it in another, 
4578         deactivate it first before activating it in a different mode.
4579         Fixes #329198.
4580
4581 2006-07-08  Andy Wingo  <wingo@pobox.com>
4582
4583         * tools/gst-launch.c (main): Handle err == NULL.
4584
4585         * gst/gst.c (init_post, ensure_current_registry)
4586         (ensure_current_registry_forking)
4587         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
4588         factoring out the registry scanning into separate functions. Don't
4589         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
4590         Better environment var name/interface suggestions accepted.
4591
4592 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4593
4594         * gst/gstobject.c: (gst_object_set_name_default),
4595         (gst_object_set_name):
4596           Random micro-optimisation: don't use a hash table
4597           with strings as keys and the usual strdup/strcmp
4598           involved, but rather just use the GQuark of the
4599           type name as key, since it needs to be looked up
4600           anyway to get the type name string.
4601
4602         * tests/check/gst/gstobject.c: (GST_START_TEST):
4603           Fix various leaks.
4604
4605 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4606
4607         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
4608         (gst_bin_iterate_all_by_interface):
4609           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
4610           GTypes are gulongs and thus the top 4 bytes might be cut
4611           off on some platforms when doing GPOINTER_TO_INT, leading
4612           to invalid GTypes and bad things happening (see RH bug #179654).
4613           Also add a check to make sure the type passed in is really
4614           an interface type.
4615
4616 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4617
4618         * .cvsignore:
4619           Ignore more.
4620
4621 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4622
4623         * Makefile.am:
4624         * configure.ac:
4625         * gst-element-check.m4:
4626         * gst-element-check.m4.in:
4627           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
4628           instead of the unversioned gst-inspect (#324176, #168659).
4629
4630 2006-07-06  Wim Taymans  <wim@fluendo.com>
4631
4632         * gst/gstmessage.h:
4633         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
4634         warnings.
4635
4636 2006-07-06  Wim Taymans  <wim@fluendo.com>
4637
4638         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4639         (gst_base_src_wait), (gst_base_src_update_length),
4640         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
4641         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
4642         (gst_base_src_loop), (gst_base_src_start),
4643         (gst_base_src_activate_pull):
4644         Update docs.
4645         blocksize == 0 now means the default blocksize when working in push
4646         based mode.
4647         Remove some pointless asserts in _wait function.
4648         Fix offset/length calculations and EOS handling. We can now pull 0
4649         bytes as well, which is allowed.
4650         use _check_get_range() to decide if we can operate in _pull based
4651         mode.
4652         Fix refcounting leak when check_get_range function was not 
4653         implemented.
4654         API GstBaseSrc::blocksize range can be 0 too now (default)
4655
4656         * tests/check/elements/filesrc.c: (GST_START_TEST),
4657         (filesrc_suite):
4658         Added check to test _get_range() behaviour.
4659
4660 2006-07-06  Wim Taymans  <wim@fluendo.com>
4661
4662         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
4663         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
4664         (gst_pad_pull_range):
4665         * gst/gstpad.h:
4666         Lots of comments and docs added to the pad functions.
4667         Flesh out the expected behaviour of the get_range() functions.
4668
4669 2006-07-06  Wim Taymans  <wim@fluendo.com>
4670
4671         * gst/gstbus.h:
4672         * gst/gstclock.h:
4673         * gst/gstevent.h:
4674         * gst/gstiterator.h:
4675         * gst/gstpad.h:
4676         * gst/gstplugin.h:
4677         * gst/gsttask.h:
4678         Remove comma at end of enumerator list. 
4679
4680 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
4681
4682         * win32/common/libgstbase.def:
4683         * win32/common/libgstdataprotocol.def:
4684         * win32/common/libsgtreamer.def:
4685         Add new exported functions.
4686
4687 2006-07-05  Wim Taymans  <wim@fluendo.com>
4688
4689         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
4690         Add some more docs here and there.
4691
4692 2006-07-05  Wim Taymans  <wim@fluendo.com>
4693
4694         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
4695         (gst_base_sink_loop), (gst_base_sink_get_position):
4696         When operating in pull mode update the offset so that we
4697         read sequentially.
4698
4699 2006-07-05  Wim Taymans  <wim@fluendo.com>
4700
4701         * gst/gstregistryxml.c: (read_string):
4702         Avoid strdup. (will happen in libxml, but hey!)
4703
4704         * gst/gsturi.c:
4705         Add some more docs.
4706
4707 2006-07-05  Wim Taymans  <wim@fluendo.com>
4708
4709         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
4710         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4711         (gst_buffer_suite):
4712         No point in checking if the size of the subbuffer > 0, the
4713         code handles it correclty as demonstrated by unit test.
4714         Also add a unit test for the zero sized _new_and_alloc and
4715         _copy. Fixes #346663.
4716
4717 2006-07-05  Wim Taymans  <wim@fluendo.com>
4718
4719         * libs/gst/base/gstbasetransform.c:
4720         (gst_base_transform_prepare_output_buffer),
4721         (gst_base_transform_buffer_alloc),
4722         (gst_base_transform_handle_buffer):
4723         Make sure the buffer we pass to transform_ip has a refcount of
4724         1 and thus is writable. Fixes #343196
4725
4726 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
4727
4728         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4729         (gst_file_src_init), (gst_file_src_set_property),
4730         (gst_file_src_get_property), (gst_file_src_map_region):
4731         * plugins/elements/gstfilesrc.h:
4732         Add "sequential" property, off by default, to use madvise and hint
4733         to the kernel that sequential access is desired.
4734         Touch all retrieved pages by default to ensure they are pulled
4735         into memory. (Closes #345720)
4736
4737 2006-07-03  Wim Taymans  <wim@fluendo.com>
4738
4739         * docs/design/part-block.txt:
4740         * docs/design/part-dynamic.txt:
4741         Small docs updates.
4742
4743 2006-07-03  Wim Taymans  <wim@fluendo.com>
4744
4745         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
4746         (gst_caps_unref), (gst_static_caps_get),
4747         (gst_caps_append_structure):
4748         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4749         Use GSlice when the glib we build against is >= 2.10
4750
4751 2006-07-03  Wim Taymans  <wim@fluendo.com>
4752
4753         * gst/gstelement.c: (gst_element_pads_activate):
4754         Small cleanup in pad activation code.
4755
4756 2006-07-03  Wim Taymans  <wim@fluendo.com>
4757
4758         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4759
4760         * gst/gst-i18n-app.h:
4761         * gst/gst-i18n-lib.h:
4762         * tools/gst-inspect.c: (print_signal_info):
4763         The attached patch will make the inclusion of gettext.h unconditional in
4764         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
4765         libintl.h in tools/gst-inspect.c.
4766         This allows use of --disable-nls again and fixes #344642.
4767
4768 2006-07-03  Edward Hervey  <edward@fluendo.com>
4769
4770         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
4771         Implement pad blocking on events according to part-block.txt.
4772         More comments on behaviour.
4773         * tests/check/gst/gstevent.c: (test_event):
4774         Send event to peer pad of blocked pad (else it will block).
4775
4776 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4777
4778         * libs/gst/check/gstcheck.c: (gst_check_message_error),
4779         (gst_check_run_suite):
4780           if we get the wrong message, give us the types as string
4781         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4782           Fix a translatable
4783         * tests/check/elements/filesrc.c: (GST_START_TEST):
4784           add a test for trying to open a non-existing file
4785
4786 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4787
4788         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4789           add a test for adding self
4790
4791 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4792
4793         * libs/gst/check/gstcheck.h:
4794           add some assert_ as alias for fail_unless_*
4795         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
4796           increase test coverage
4797
4798 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4799
4800         * Makefile.am:
4801           include lcov.mak for lcov coverage generation
4802         * tools/Makefile.am:
4803           add to CLEANFILES
4804
4805 2006-07-02  Edward Hervey  <edward@fluendo.com>
4806
4807         * tests/check/elements/.cvsignore:
4808         moaping
4809
4810 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4811
4812         * configure.ac:
4813           don't set CFLAGS and friends for gcov, done from GST_GCOV now
4814         * tests/check/Makefile.am:
4815           clean up gcov files
4816
4817 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4818
4819         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
4820           remove gst_caps_simplify; it was not declared and not used
4821           and deprecated in 0.8
4822
4823 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4824
4825         * docs/faq/gst-uninstalled:
4826           don't put empty paths on PYTHONPATH
4827         * docs/gst/gstreamer-sections.txt:
4828           remove some symbols that are not there
4829
4830 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4831
4832         * gst/gstcaps.c: (gst_caps_compare_structures):
4833           whitespace fixes
4834         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4835         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4836           add more tests
4837
4838 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4839
4840         * libs/gst/dataprotocol/Makefile.am:
4841           build dataprotocol test by linking to the lib, instead of
4842           compiling the source, so we get coverage
4843         * tests/check/Makefile.am:
4844         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
4845         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
4846           add a test for filesrc
4847
4848 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4849
4850         * tests/check/gst/gststructure.c: (GST_START_TEST),
4851         (gst_structure_suite):
4852           Push coverage from 59.04% to 70.00%
4853
4854 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4855
4856         * tests/check/Makefile.am:
4857           gst-inspect every element; this makes sure that we also get
4858           coverage on element's get/set functions
4859
4860 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4861
4862         * configure.ac:
4863           set CFLAGS and friends to -O0 if gcov is being used
4864           add GCOV LIBS
4865         * gst/Makefile.am:
4866         * libs/gst/base/Makefile.am:
4867         * libs/gst/check/Makefile.am:
4868         * libs/gst/controller/Makefile.am:
4869         * libs/gst/dataprotocol/Makefile.am:
4870         * libs/gst/net/Makefile.am:
4871         * plugins/elements/Makefile.am:
4872         * plugins/indexers/Makefile.am:
4873           add makefile rules to generate gcov data and clean up
4874         * tests/check/Makefile.am:
4875           add a coverage target that generates an html overview
4876           of coverage data
4877
4878 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4879
4880         * tests/check/elements/fakesink.c:
4881         * tests/check/elements/fakesrc.c:
4882         * tests/check/elements/fdsrc.c:
4883         * tests/check/elements/identity.c:
4884         * tests/check/generic/sinks.c: (gst_sinks_suite):
4885         * tests/check/generic/states.c:
4886         * tests/check/gst/gst.c:
4887         * tests/check/gst/gstabi.c:
4888         * tests/check/gst/gstbin.c:
4889         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
4890         * tests/check/gst/gstbus.c: (gst_bus_suite):
4891         * tests/check/gst/gstcaps.c: (GST_START_TEST):
4892         * tests/check/gst/gstelement.c:
4893         * tests/check/gst/gstevent.c: (gst_event_suite):
4894         * tests/check/gst/gstghostpad.c:
4895         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
4896         * tests/check/gst/gstmessage.c: (gst_message_suite):
4897         * tests/check/gst/gstminiobject.c:
4898         * tests/check/gst/gstobject.c:
4899         * tests/check/gst/gstpad.c:
4900         * tests/check/gst/gstpipeline.c:
4901         * tests/check/gst/gstplugin.c:
4902         * tests/check/gst/gstquery.c: (gst_query_suite):
4903         * tests/check/gst/gstsegment.c: (gst_segment_suite):
4904         * tests/check/gst/gststructure.c:
4905         * tests/check/gst/gstsystemclock.c:
4906         * tests/check/gst/gsttag.c:
4907         * tests/check/gst/gsttask.c: (gst_task_suite):
4908         * tests/check/gst/gstutils.c:
4909         * tests/check/gst/gstvalue.c:
4910         * tests/check/libs/adapter.c:
4911         * tests/check/libs/basesrc.c:
4912         * tests/check/libs/collectpads.c:
4913         * tests/check/libs/controller.c:
4914         * tests/check/libs/gdp.c: (gst_dp_suite):
4915         * tests/check/libs/gstnetclientclock.c:
4916         * tests/check/libs/gstnettimeprovider.c:
4917         * tests/check/libs/libsabi.c: (libsabi_suite):
4918         * tests/check/libs/typefindhelper.c:
4919         * tests/check/pipelines/cleanup.c:
4920         * tests/check/pipelines/parse-launch.c:
4921         * tests/check/pipelines/simple-launch-lines.c:
4922         * tests/check/pipelines/stress.c: (stress_suite):
4923           use the new macro
4924
4925 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4926
4927         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
4928         * libs/gst/check/gstcheck.h:
4929           create a macro and function so that the simple unit test
4930           case can be just one macro to create main()
4931
4932 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
4933
4934         * gst/gstbin.c: (gst_bin_restore_thyself):
4935         * gst/gstxml.c: (gst_xml_make_element):
4936           Fix deserialisation from XML. Set parent manually
4937           instead of using gst_bin_add(), since gst_bin_add()
4938           will unlink all pads of the element being added.
4939           Fixes #341667.
4940
4941 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
4942
4943         Patch by: Peter Kjellerstedt <pkj at axis com>
4944
4945         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
4946           Fix missing g_strdup() and double free when using the
4947           --gst-plugin-load command line option (#346097).
4948
4949 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
4950
4951         * gst/gstinfo.c:
4952           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
4953
4954         * libs/gst/net/gstnetclientclock.c:
4955         * libs/gst/net/gstnettimeprovider.c:
4956           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
4957
4958 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
4959
4960         * docs/manual/advanced-dataaccess.xml:
4961           Fix buffer probe example compilation in
4962           ADM (#345708).
4963         
4964 2006-06-22  Edward Hervey  <edward@fluendo.com>
4965
4966         * gst/gstelement.c: (gst_element_pads_activate):
4967         We need to deactivate src pads first and then sink pads.
4968         The reason is the src pads might be blocking while holding the streaming
4969         lock, so we need to deactivate them first so that deactivating the sink
4970         pads doesn't block (since it will require the streaming lock).
4971
4972 2006-06-22  Wim Taymans  <wim@fluendo.com>
4973
4974         * libs/gst/base/gstbasetransform.c:
4975         (gst_base_transform_buffer_alloc):
4976         Forgot to remove two unneeded unrefs.
4977         Simplify a check _is_equal allready checks the obvious case.
4978
4979 2006-06-22  Wim Taymans  <wim@fluendo.com>
4980
4981         * docs/design/part-block.txt:
4982         Some docs about what pad_block should do.
4983
4984 2006-06-22  Wim Taymans  <wim@fluendo.com>
4985
4986         * gst/gstcaps.c: (gst_caps_replace):
4987         Fix crasher when passed NULL. Doc clarification.
4988         Optimize for the trivial case.
4989
4990         * gst/gstpipeline.c: (gst_pipeline_change_state):
4991         Small cleanups.
4992
4993         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4994         Small documentation cleanup.
4995
4996         * libs/gst/base/gstbasetransform.c:
4997         (gst_base_transform_buffer_alloc):
4998         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
4999         is what we need and it avoids a whole lot of redundant 
5000         refcount operations.
5001
5002 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
5003
5004         Patch by: Philip Jägenstedt  <philip at lysator liu se>
5005
5006         * docs/manual/advanced-dataaccess.xml:
5007           Fix 'Embedding static elements' section to use
5008           GST_PLUGIN_DEFINE_STATIC (#345607).
5009
5010 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5011
5012         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
5013           Attempt to 'fix' spuriously failing test case: it seems like the
5014           timeout of half a second is simply too small when the system is under
5015           load otherwise, and the timeout doesn't really seem to serve any
5016           particular purpose here. Give the pipeline a few seconds to preroll
5017           first, and then give it another half a second to go from PAUSED to
5018           PLAYING and marshal the message into the main thread.
5019
5020 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5021
5022         * tools/gst-feedback-m.m:
5023           Don't only use unversioned tools, try versioned tools as well
5024           (#345086).
5025
5026 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5027
5028         * gst/gstbus.c: (gst_bus_class_init):
5029           Fix some typos, make docs more explicit.
5030
5031 2006-06-20  Wim Taymans  <wim@fluendo.com>
5032
5033         * tests/check/gst/gstghostpad.c: (block_callback),
5034         (GST_START_TEST), (gst_ghost_pad_suite):
5035         Added some more ghostpad tests, mainly blocking
5036         and probes.
5037
5038 2006-06-16  Wim Taymans  <wim@fluendo.com>
5039
5040         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5041         (gst_file_sink_close_file), (gst_file_sink_do_seek),
5042         (gst_file_sink_event), (gst_file_sink_render):
5043         * plugins/elements/gstfilesink.h:
5044         Check if we can seek in the file instead of assuming
5045         we always can. Post an error when we are asked to seek in a
5046         non-seekable file (like a fifo). Fixes #343312.
5047         Some cleanups.
5048
5049 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
5050
5051         * tools/gst-launch.1.in:
5052           Un-garble (fourcc) bit in filtered caps section.
5053
5054 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
5055
5056         * docs/manual/advanced-autoplugging.xml:
5057         * docs/manual/basics-helloworld.xml:
5058         * docs/manual/highlevel-components.xml:
5059           Don't leak bus reference in sample code.
5060
5061 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
5062
5063         * autogen.sh:
5064           Add default for new --enable-plugin-docs switch.
5065
5066         * configure.ac:
5067           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
5068           Fixes #344039.
5069
5070         * docs/Makefile.am:
5071           Use new ENABLE_PLUGIN_DOCS conditional.
5072
5073 2006-06-14  Wim Taymans  <wim@fluendo.com>
5074
5075         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
5076         Make it clear with a FIXME and a real define what the #if 0
5077         previously disabled.
5078
5079 2006-06-14  Wim Taymans  <wim@fluendo.com>
5080
5081         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5082         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5083         * libs/gst/base/gstbasetransform.c:
5084         (gst_base_transform_sink_eventfunc):
5085         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5086         Don't randomly and silently reset a segment when the format 
5087         changes as this is a bug somewhere upstream. Fixes #330379.
5088
5089 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5090
5091         Patch by: Wouter Paesen  <wouter at kangaroot net>
5092
5093         * libs/gst/controller/gstcontroller.c:
5094         (gst_controlled_property_new):
5095           Fix controlling of float properties (#344849).
5096
5097         * tests/check/libs/controller.c:
5098         (gst_test_mono_source_get_property),
5099         (gst_test_mono_source_set_property),
5100         (gst_test_mono_source_class_init), (GST_START_TEST):
5101           While we're at it, add some float stuff to unit test.
5102
5103 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5104
5105         * docs/README:
5106         * docs/images/gdp-header.svg:
5107           add a gdp image
5108         * docs/libs/Makefile.am:
5109         * docs/libs/gdp-header.png:
5110         * libs/gst/dataprotocol/dataprotocol.c:
5111           add it to the API docs
5112         * docs/manual/intro-motivation.xml:
5113           fix typo
5114
5115 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
5116
5117         * gst/gst.c: (scan_and_update_registry), (init_post):
5118           If the fork()'ed child process can't write the updated registry cache
5119           file to disk for some reason, make it exit with a failure exit code,
5120           so that the parent can then re-scan the plugins itself and update the
5121           registry structures in memory and work with that (rather than failing
5122           when creating elements because seemingly no plugins are available).
5123           Refactor registry scanning code into separate function for this and
5124           also separate fork() and non-fork() code paths. Fixes #344748.
5125
5126 2006-06-13  Wim Taymans  <wim@fluendo.com>
5127
5128         * docs/manual/advanced-dataaccess.xml:
5129         Fix wrong PluginDesc. Fixes #344755.
5130
5131 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
5132
5133         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5134           Fix silly bug that prevented us from creating
5135           ~/.gstreamer-0.10 and writing the registry in one
5136           go (the first call to g_mkstemp() would overwrite the
5137           placeholder in the template string, so the second call
5138           to g_mkstemp() after creating the missing directory
5139           would then error out with 'invalid argument').
5140
5141 2006-06-13  Edward Hervey  <edward@fluendo.com>
5142
5143         * gst/gst.c: (init_post):
5144         Free string.
5145
5146 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5147
5148         * gst/glib-compat-private.h:
5149         * gst/glib-compat.c:
5150         * gst/glib-compat.h:
5151         * gst/gstvalue.c: (gst_value_serialize_flags):
5152           remove GLib 2.6 compatibility code
5153
5154 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
5155
5156         * gst/parse/Makefile.am:
5157           Fix build with 'make -j N' even more (#340016).
5158
5159 2006-06-12  Wim Taymans  <wim@fluendo.com>
5160
5161         * docs/gst/gstreamer-sections.txt:
5162         Fix docs.
5163
5164 2006-06-12  Wim Taymans  <wim@fluendo.com>
5165
5166         * gst/gstsegment.c: (gst_segment_set_duration),
5167         (gst_segment_set_last_stop), (gst_segment_set_seek),
5168         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5169         (gst_segment_to_running_time), (gst_segment_clip):
5170         Use G_UNLIKELY to help the compiler a bit.
5171
5172 2006-06-12  Wim Taymans  <wim@fluendo.com>
5173
5174         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
5175
5176         * gst/gstevent.c: (gst_event_get_type):
5177         * gst/gstmessage.c:
5178         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5179         (gst_pad_push):
5180         constify quark registration strings. Fixes #344115
5181         Avoid unneeded type checking is _pad_push() by internally
5182         calling gst_pad_chain_unchecked().
5183
5184 2006-06-12  Wim Taymans  <wim@fluendo.com>
5185
5186         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
5187         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
5188         (gst_subbuffer_finalize), (gst_buffer_create_sub),
5189         (gst_buffer_is_span_fast), (gst_buffer_span):
5190         Init _type for consistency.
5191         Use _FLAGS macro to avoid type check.
5192         Avoid unneeded type checks in subbufer code.
5193
5194 2006-06-12  Wim Taymans  <wim@fluendo.com>
5195
5196         * gst/gst.c: (gst_debug_help):
5197         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
5198         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5199         (gst_plugin_feature_list_free):
5200         * gst/gstregistry.c: (gst_registry_add_plugin),
5201         (gst_registry_add_feature), (gst_registry_plugin_filter),
5202         (gst_registry_feature_filter), (gst_registry_find_plugin),
5203         (gst_registry_find_feature), (gst_registry_get_plugin_list),
5204         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
5205         * gst/gstregistryxml.c: (load_feature),
5206         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
5207         * gst/gstminiobject.c: (gst_mini_object_unref),
5208         (gst_mini_object_replace), (gst_value_mini_object_free),
5209         (gst_value_mini_object_copy):
5210         Use _CAST macros to avoid unneeded type checking.
5211         Added some more G_UNLIKELY.
5212
5213 2006-06-12  Wim Taymans  <wim@fluendo.com>
5214
5215         * gst/gstbuffer.h:
5216         Avoid unneeded type checking.
5217         API: GST_BUFFER_IS_DISCONT
5218
5219         * gst/gstminiobject.h:
5220         Avoid type check in flag accessor.
5221
5222         * gst/gstelementfactory.h:
5223         * gst/gstplugin.h:
5224         * gst/gstpluginfeature.h:
5225         Add _CAST macros.
5226         API: GST_ELEMENT_FACTORY_CAST
5227         API: GST_PLUGIN_CAST
5228         API: GST_PLUGIN_FEATURE_CAST
5229
5230 2006-06-12  Wim Taymans  <wim@fluendo.com>
5231
5232         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
5233         (gst_object_unref):
5234         Add G_UNLIKELY in type registration.
5235         Avoid type check in _ref/_unref since that is also
5236         done in glib.
5237
5238 2006-06-12  Wim Taymans  <wim@fluendo.com>
5239
5240         * gst/gsterror.c: (gst_g_error_get_type):
5241         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5242         (gst_static_pad_template_get_type):
5243         * gst/gsttaglist.c: (gst_tag_list_get_type):
5244         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
5245         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
5246         * gst/gsturi.c: (gst_uri_handler_get_type):
5247         * gst/gstvalue.c: (gst_date_get_type):
5248         * gst/gstxml.c: (gst_xml_get_type):
5249         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5250         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5251         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
5252         Add G_UNLIKELY in type registration.
5253
5254 2006-06-12  Wim Taymans  <wim@fluendo.com>
5255
5256         * tools/gst-inspect.c: (print_signal_info):
5257         Properly print enum values.
5258
5259 2006-06-12  Wim Taymans  <wim@fluendo.com>
5260
5261         * gst/gstinfo.c: (gst_debug_set_active),
5262         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
5263         * gst/gstinfo.h:
5264         Add some G_[UN]LIKELY.
5265         Maintain __gst_debug_min to avoid formatting the arguments of
5266         debug messages that will be dropped anyway to avoid a lot of 
5267         overhead from the debugging system.
5268
5269 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5270
5271         * po/POTFILES.in:
5272         * po/POTFILES.skip:
5273           add missing files containing translatable strings, tell intltool about
5274           one exception
5275
5276 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5277
5278         * tests/check/libs/.cvsignore:
5279         add test-binary to ignore list
5280
5281 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5282
5283         * docs/libs/gstreamer-libs-docs.sgml:
5284         reorder (put dp into a chapter) and indent
5285
5286 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5287
5288         * configure.ac:
5289           back to HEAD
5290
5291 === release 0.10.8 ===
5292
5293 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
5294
5295         * configure.ac:
5296           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
5297
5298 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5299
5300         * gst/gst.c: (init_post):
5301           move pid declaration to declaration block
5302
5303 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5304
5305         * gst/gst.c: (init_post):
5306           use _exit() instead of exit() in our forked child; this ensures
5307           that none of the registered exit handlers from whatever is using
5308           GStreamer get executed.  This fixes gnome-mixer-applet failing
5309           to load, because ORBit would shut down.
5310           Spotted by: Edward Hervey  <edward@fluendo.com>
5311           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
5312           Fixes #344474
5313
5314 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5315
5316         * configure.ac:
5317           back to TRUNK
5318
5319 === release 0.10.7 ===
5320
5321 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
5322
5323         * configure.ac:
5324           releasing 0.10.7, "Soepeke, ik zie ou"
5325
5326 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5327
5328         * configure.ac:
5329         * po/af.po:
5330         * po/az.po:
5331         * po/bg.po:
5332         * po/ca.po:
5333         * po/cs.po:
5334         * po/de.po:
5335         * po/en_GB.po:
5336         * po/fr.po:
5337         * po/it.po:
5338         * po/nb.po:
5339         * po/nl.po:
5340         * po/ru.po:
5341         * po/sq.po:
5342         * po/sr.po:
5343         * po/sv.po:
5344         * po/tr.po:
5345         * po/uk.po:
5346         * po/vi.po:
5347         * po/zh_CN.po:
5348         * po/zh_TW.po:
5349         * win32/common/config.h:
5350           0.10.6.2 prerelease
5351
5352 2006-06-07  Wim Taymans  <wim@fluendo.com>
5353
5354         * gst/gstindex.c: (gst_index_gtype_resolver):
5355         * tools/gst-xmlinspect.c: (print_plugin_info):
5356         Fix leak spotted by coverity checker. Fixes #343827
5357         Fix another other leak found by paolo borelli.
5358
5359 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5360
5361         * libs/gst/dataprotocol/dataprotocol.c:
5362         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5363         (gst_dp_version_get_type), (gst_dp_init),
5364         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
5365         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
5366         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
5367         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
5368         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
5369         (gst_dp_packetizer_free):
5370         * libs/gst/dataprotocol/dataprotocol.h:
5371           API: add a GstDPPacketizer object, and create/free functions
5372           API: add GstDPVersion enum
5373           Add 1.0 event function that uses the string serialization
5374           Serialize more useful buffer flags
5375           Fixes #343988
5376
5377 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5378
5379         * tests/check/Makefile.am:
5380         * tests/check/gst/gstabi.c:
5381         * tests/check/gst/struct_ppc64.h:
5382         * tests/check/libs/libsabi.c:
5383         * tests/check/libs/struct_ppc64.h:
5384           add ppc64 structure sizes
5385
5386 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5387
5388         * tests/check/Makefile.am:
5389         * tests/check/gst/gstabi.c:
5390         * tests/check/gst/struct_x86_64.h:
5391         * tests/check/libs/libsabi.c:
5392         * tests/check/libs/struct_x86_64.h:
5393           generate and add structure size lists for x86_64
5394
5395 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5396
5397         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5398         * libs/gst/check/gstcheck.h:
5399           factor out the method from tests that checks size of structures,
5400           and add code to generate the header containing these sizes
5401         * tests/check/gst/gstabi.c: (GST_START_TEST):
5402         * tests/check/gst/struct_i386.h:
5403         * tests/check/libs/libsabi.c: (GST_START_TEST):
5404         * tests/check/libs/struct_i386.h:
5405           use it
5406
5407 2006-06-06  Michael Smith  <msmith@fluendo.com>
5408
5409         * gst/gstsegment.h:
5410           Don't use c++-style comments, fixes #343929
5411
5412 2006-06-05  Edward Hervey  <edward@fluendo.com>
5413
5414         * gst/gst.c:
5415         plugin_paths is not used if we build without registry support.
5416
5417         * gst/gstsegment.c: (gst_segment_copy): 
5418         _copy() was always returning NULL...
5419
5420 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5421
5422         * libs/gst/dataprotocol/dataprotocol.c:
5423         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5424         (gst_dp_packet_from_event):
5425           factor out CRC code
5426
5427 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5428
5429         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
5430           make sure we unset caps
5431
5432 2006-06-02  Michael Smith  <msmith@fluendo.com>
5433
5434         * libs/gst/check/gstcheck.c: (gst_check_init),
5435         (gst_check_chain_func):
5436         * libs/gst/check/gstcheck.h:
5437           Add a cond/mutex to the check support lib, signal this whenever we
5438           add to the buffers list. This will allow tests to not busy-wait on
5439           the buffer-list.
5440
5441 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5442
5443         * libs/gst/dataprotocol/dataprotocol.c:
5444         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5445         (gst_dp_packet_from_event):
5446           factor out some common header init code
5447
5448 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5449
5450         * docs/libs/gstreamer-libs-sections.txt:
5451         * docs/libs/tmpl/gstdataprotocol.sgml:
5452         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
5453         * libs/gst/dataprotocol/dataprotocol.h:
5454           API: make gst_dp_crc() public
5455
5456 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
5457
5458         * plugins/indexers/gstindexers.c: (plugin_init):
5459         conditionally register fileindexer (fixes #343598)
5460
5461 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
5462
5463         * gst/gsttagsetter.h:
5464         Can't cast ifaces to a class
5465
5466         * libs/gst/net/gstnetclientclock.h:
5467         * libs/gst/net/gstnettimeprovider.h:
5468         * plugins/elements/gstfakesink.h:
5469         * plugins/elements/gstfakesrc.h:
5470         * plugins/elements/gstfdsink.h:
5471         * plugins/elements/gstfdsrc.h:
5472         * plugins/elements/gstfilesink.h:
5473         * plugins/elements/gstfilesrc.h:
5474         * plugins/elements/gstidentity.h:
5475         * plugins/elements/gstqueue.h:
5476         * plugins/elements/gsttee.h:
5477         * plugins/indexers/gstfileindex.c:
5478         * plugins/indexers/gstmemindex.c:
5479         * tests/old/examples/plugins/example.h:
5480         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
5481
5482 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5483
5484         * libs/gst/dataprotocol/dataprotocol.c:
5485         (gst_dp_header_from_buffer):
5486           make sure we zero the whole ABI-compatible area
5487
5488 2006-06-01  Wim Taymans  <wim@fluendo.com>
5489
5490         Patch by: Alessandro Decina <alessandro at nnva dot org>
5491
5492         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
5493         Make sure the EOS flag is cleared from pads after a flush
5494         or stop. Fixes #343538.
5495
5496         * tests/check/libs/collectpads.c: (GST_START_TEST),
5497         (gst_collect_pads_suite):
5498         Added test for collectpads reusage after EOS.
5499
5500 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
5501
5502         * gst/gst.c:
5503          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
5504         * win32/common/libgstbase.def:
5505          export gst_collect_pads_set_flushing
5506         * win32/common/libgstreamer.def:
5507          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
5508          gst_value_fraction_multiply
5509         * win32/vs6/gst_inspect.dsp:
5510          add a link to intl.lib
5511
5512 2006-05-30  Wim Taymans  <wim@fluendo.com>
5513
5514         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5515         (gst_collect_pads_chain):
5516         Handle the case where a pad is removed from the collection
5517         that could cause the other pads to become collectable.
5518
5519 2006-05-30  Wim Taymans  <wim@fluendo.com>
5520
5521         * gst/gstelement.c:
5522         Clarify the use of _release_request_pad() and
5523         _get_request_pad() a bit better.
5524
5525         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
5526         (gst_adapter_take_buffer):
5527         Fix some doc and comment typos.
5528
5529 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5530
5531         * docs/gst/gstreamer-sections.txt:
5532         * docs/libs/gstreamer-libs-sections.txt:
5533           add declared symbols
5534
5535 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
5536
5537         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5538         Add debug that can be enabled using a #define at the top of the file,
5539         for dumping stats about how late/early we were when waking up from
5540         waiting on the clock.
5541
5542 2006-05-30  Wim Taymans  <wim@fluendo.com>
5543
5544         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
5545         When rebuilding the pad list, don't leak the previous list.
5546
5547 2006-05-30  Wim Taymans  <wim@fluendo.com>
5548
5549         Patch by: Lutz Mueller <lutz at topfrose dot de>
5550
5551         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5552         (gst_base_src_get_query_types), (gst_base_src_update_length):
5553         Publish supported query types.
5554         Update last_stop field in get_range mode so the position
5555         query works. Fixes #342321.
5556
5557 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
5558
5559         * docs/gst/gstreamer-sections.txt:
5560         * gst/gsttaglist.c: (_gst_tag_initialize):
5561         * gst/gsttaglist.h:
5562           API: add GST_TAG_PREVIEW_IMAGE (#343341).
5563
5564 2006-05-30  Wim Taymans  <wim@fluendo.com>
5565
5566         Patch by: Alessandro Decina <alessandro at nnva dot org>
5567
5568         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5569         Unlock mutex when removing an unknown pad.
5570         Fixes #343334.
5571
5572         * tests/check/Makefile.am:
5573         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
5574         (push_event), (setup), (teardown), (GST_START_TEST),
5575         (gst_collect_pads_suite), (main):
5576         Added collecpads check, disabled for now as check crashes for
5577         some reason.
5578
5579 2006-05-29  Wim Taymans  <wim@fluendo.com>
5580
5581         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
5582         Don't leak pads lists.
5583
5584 2006-05-29  Wim Taymans  <wim@fluendo.com>
5585
5586         * docs/libs/gstreamer-libs-sections.txt:
5587         * libs/gst/base/gstcollectpads.c:
5588         (gst_collect_pads_set_flushing_unlocked),
5589         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5590         (gst_collect_pads_stop):
5591         * libs/gst/base/gstcollectpads.h:
5592         API: gst_collect_pads_set_flushing()
5593         Added api to set the pads to flushing, useful for seeking
5594         code in elements using collectpads.
5595         Clear segment when receiving a flush.
5596
5597 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
5598
5599         * gst/gst.c: (add_path_func), (init_post):
5600           Don't scan registry paths passed via --gst-plugin-path immediately
5601           (will crash, because absolutely nothing is set up and no types are
5602           registered etc.); do this later in init_post(). Fixes #343057.
5603
5604 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5605
5606         * gst/gst.c: (init_post):
5607           if we have fork, fork while reading/rebuilding the registry
5608           so the parent doesn't take the hit of having all plugins loaded
5609           in memory.  Fixes #342777.
5610         * configure.ac:
5611           Check if we have fork()
5612         * win32/common/config.h.in:
5613           no fork() on win32
5614
5615 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
5616
5617         * plugins/elements/gstelements.c:
5618         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5619         (gst_file_src_init), (gst_file_src_set_property),
5620         (gst_file_src_get_property), (gst_file_src_start):
5621         * plugins/elements/gstfilesrc.h:
5622           API: GstFileSrc::use-mmap
5623
5624         Add a use-mmap property to enable easier testing of all code paths.
5625         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
5626         in the absence of gnomevfssrc. (Closes #340501)
5627
5628 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5629
5630         * tools/gst-inspect.c:
5631         Add missing include, removes warning of ngettext not being defined on
5632         some arches.
5633
5634 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
5635
5636         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5637         Handle NULL input and output pointers silently as a failed conversion,
5638         rather than g_warnings.
5639
5640 2006-05-25  Wim Taymans  <wim@fluendo.com>
5641
5642         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
5643         Initialize variable before using. Fixes #342820.
5644
5645 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
5646
5647         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
5648           Fix off-by-one bug that would only allow peeks of N-1 bytes
5649           from the start even if the buffer to typefind on contains
5650           in fact N bytes of data (makes vorbis typefinding from a
5651           vorbis identification header buffer work).
5652
5653         * tests/check/Makefile.am:
5654         * tests/check/libs/.cvsignore:
5655         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
5656         (gst_typefindhelper_suite), (main), (foobar_typefind),
5657         (plugin_init):
5658           Add very basic unit test for gst_type_find_helper_for_buffer()
5659           that checks for the problem fixed above.
5660
5661 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5662
5663         * tools/gst-inspect.c: (print_interfaces),
5664         (print_element_properties_info), (print_element_list), (main):
5665           add more translatable strings
5666
5667 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
5668
5669         Patch by: Julien Moutte  <julien at moutte net>
5670
5671         * docs/gst/gstreamer-sections.txt:
5672           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
5673           
5674         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5675         (gst_fake_sink_preroll):
5676         * plugins/elements/gstfakesink.h:
5677           API: Add new GstFakeSink::preroll-handoff signal (#337100).
5678
5679 2006-05-23  Wim Taymans  <wim@fluendo.com>
5680
5681         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
5682         * gst/gstpad.h:
5683         Added _CUSTOM error and success GstFlowReturn that can be
5684         used be elements internally. 
5685         Added macro to check for SUCCESS flowreturns.
5686         API: GST_FLOW_CUSTOM_SUCCESS
5687         API: GST_FLOW_CUSTOM_ERROR
5688         API: GST_FLOW_IS_SUCCESS
5689
5690         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5691         Added check for GstFlowReturn sanity.
5692
5693 2006-05-23  Wim Taymans  <wim@fluendo.com>
5694
5695         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5696
5697         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5698         (gst_collect_pads_event):
5699         clear/reset segment info in FLUSH_STOP.
5700         Fixes #336929.
5701
5702 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
5703
5704         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
5705         (gst_collect_pads_check_collected):
5706         Flush queued buffer on _stop(), fixes playing again (#342454)
5707
5708 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5709
5710         * tests/check/gst/gststructure.c: (GST_START_TEST),
5711         (gst_structure_suite):
5712           add a test for a complete structure
5713
5714 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
5715
5716         * docs/faq/developing.xml:
5717         * docs/faq/faq.xml:
5718         * docs/faq/troubleshooting.xml:
5719         * docs/faq/using.xml:
5720           Some minor FAQ updates that won't change the fact that
5721           our FAQ is badly structured, full of information hardly
5722           anyone new to GStreamer needs to know and lacking lots
5723           of information people constantly ask for.
5724           
5725 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
5726
5727         * gst/gstpad.c: (gst_pad_set_caps):
5728           Short-circuit gst_pad_set_caps if setting the existing
5729           caps pointer again, and avoid printing debug and 
5730           reffing/unreffing the caps.
5731
5732         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5733           There's actually no need to set the caps before pushing -
5734           the acceptcaps method will handle it anyway.
5735
5736 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
5737
5738         * docs/gst/gstreamer-sections.txt:
5739         * win32/common/libgstreamer.def:
5740         * gst/gstutils.c: (gst_element_seek_simple):
5741         * gst/gstutils.h:
5742           API: add gst_element_seek_simple() (#342238).
5743
5744 2006-05-18  Edward Hervey  <edward@fluendo.com>
5745
5746         * gst/gsttypefind.c: (gst_type_find_get_type):
5747         * gst/gsttypefind.h:
5748         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
5749         registered for GstTypeFind pointers. This allows wrapping the structure
5750         in bindings (i.e. gst-python).
5751
5752 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
5753
5754         * gst/gsttagsetter.c:
5755           Docs additions and fixes (see #339918).
5756
5757 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
5758
5759         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5760         The caps intersection algorithm can produce multiple copies of the
5761         caps. Until that is fixed, we need to simplify the result to be
5762         sure whether the allowed caps are fixed or not.
5763
5764         * plugins/elements/gstqueue.c: (gst_queue_init),
5765         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
5766         (gst_queue_push_one):
5767         Proxied buffer alloc should not set the caps on the source pad.
5768         When pushing buffers, we always accept the caps change that triggers.
5769         This prevents negotiation errors caused by caps changing mid-stream 
5770         and then being refused on our source pad (because upstream is now
5771         refusing those caps).
5772
5773 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
5774
5775         * tests/examples/helloworld/helloworld.c: (main):
5776           Must plug audioconvert and audioresample between decoder
5777           and audio sink.
5778
5779 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
5780
5781         * gst/gstregistryxml.c: (read_string), (load_pad_template),
5782         (load_feature), (load_plugin):
5783         Allow empty strings for some of the plugin fields so we don't 
5784         drop valid plugin entries that were written out correctly
5785         (Fixes #341479)
5786
5787 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
5788         
5789         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5790           Use g_remove and g_rename instead of remove and rename that don't 
5791           handle utf8 characters. rename was failing for users who had specific
5792           characters in their name then the registry was built at each 
5793           gstreamer init.
5794         * win32/vs6/gst_inspect.dsp:
5795         * win32/vs6/gst_launch.dsp:
5796         * win32/vs6/libgstbase.dsp:
5797         * win32/vs6/libgstcoreelements.dsp:
5798         * win32/vs6/libgstreamer.dsp:
5799           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
5800           build of libgstreamer and clean unused libraries in projects link 
5801           settings.
5802
5803 2006-05-17  Edward Hervey  <edward@fluendo.com>
5804
5805         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5806         The queue is not responsible for pushing an EOS when receiving a fatal
5807         flow error. It's up to the real element driving the pipeline to do that.
5808
5809 2006-05-16  Edward Hervey  <edward@fluendo.com>
5810
5811         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5812         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
5813         buffer returned a fatal error. It should just send an EOS and stop
5814         its task.
5815         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
5816         when pushing buffers on the queue and will be able to handle the event.
5817
5818 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
5819
5820         * docs/manual/basics-bins.xml:
5821         * docs/manual/basics-init.xml:
5822           Fix typos and minor errors in sample code (#341856).
5823
5824 2006-05-16  Wim Taymans  <wim@fluendo.com>
5825
5826         * docs/design/part-qos.txt:
5827         Fix indexes in formulas to make more sense.
5828
5829 2006-05-15  Wim Taymans  <wim@fluendo.com>
5830
5831         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5832         Don't report POSITION based on clock time if sync is
5833         disabled in a sink.
5834
5835 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
5836
5837         * gst/gstobject.h:
5838           Add cast to make compiler happy - refcount variable was a gint
5839           in GstObject but is a guint in GObject and g_atomic_int_get()
5840           wants a gint *.
5841
5842 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5843
5844         * gst/parse/Makefile.am:
5845           chain commands using &&, which also makes parallel make work
5846
5847 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
5848
5849         * docs/gst/gstreamer-sections.txt:
5850         * gst/gstevent.c:
5851         * gst/gstevent.h:
5852         * gst/gstmessage.h:
5853           Minor docs fixes.
5854
5855 === release 0.10.6 ===
5856
5857 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
5858
5859         * configure.ac:
5860           releasing 0.10.6, "Take the cannoli"
5861
5862 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
5863
5864         * tools/gst-launch.c: (print_tag):
5865           Fix use of uninitialized variable in the hypothetical
5866           case that some broken plugin creates a GST_TAG_IMAGE
5867           tag containing a NULL buffer (#341667).
5868
5869 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
5870
5871         * tools/gst-launch.c: (print_tag):
5872           Print something more intelligible for image tags when
5873           using the -t switch (#341556).
5874
5875 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5876
5877         * Makefile.am:
5878           updates for win32
5879         * configure.ac:
5880           define GST_MAJORMINOR so we have it available in win32/common/config.h
5881           Possibly remove it from our Makefile.am files later
5882         * win32/common/config.h:
5883         * win32/common/config.h.in:
5884           added GST_MAJORMINOR
5885         * win32/common/gstenumtypes.c: (register_gst_resource_error):
5886         * win32/common/gstversion.h:
5887           updated
5888
5889 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
5890
5891         * win32/MANIFEST:
5892           Update win32 files listing.
5893         * win32/common/gstversion.h:
5894           Add GST_MAJORMINOR definition.
5895         * win32/common/libgstreamer.def:
5896           Add new exported functions.
5897           
5898 2006-05-12  Michael Smith  <msmith@fluendo.com>
5899
5900         * gst/gstplugin.c: (gst_plugin_load_file):
5901           If an so file has no plugin entry point, unload the module.
5902
5903 2006-05-11  Wim Taymans  <wim@fluendo.com>
5904
5905         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
5906         (gst_queue_set_property):
5907         Don't forget to signal the _chain or _loop function 
5908         when the queue size or thresholds change since that might
5909         cause them to make progres again.
5910
5911 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
5912
5913         * gst/gstclock.c: (gst_clock_class_init):
5914         * gst/gstindex.c: (gst_index_class_init):
5915         * gst/gstobject.c: (gst_object_class_init):
5916         * gst/gstpad.c: (gst_pad_class_init):
5917         * gst/gstpipeline.c: (gst_pipeline_class_init):
5918         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
5919         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
5920         * libs/gst/base/gstbasetransform.c:
5921         (gst_base_transform_class_init):
5922         * libs/gst/net/gstnetclientclock.c:
5923         (gst_net_client_clock_class_init):
5924         * libs/gst/net/gstnettimeprovider.c:
5925         (gst_net_time_provider_class_init):
5926         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
5927         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
5928         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
5929         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
5930         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
5931         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5932         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
5933         * plugins/elements/gstidentity.c: (gst_identity_class_init):
5934         * plugins/elements/gsttee.c: (gst_tee_class_init):
5935         * tests/old/examples/plugins/example.c: (gst_example_class_init):
5936         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
5937           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
5938
5939 2006-05-11  Wim Taymans  <wim@fluendo.com>
5940
5941         * gst/gstbuffer.c: (_gst_buffer_initialize):
5942         Register subbufer along with the buffer type so that
5943         it does not accidentally gets registered from N
5944         different streaming threads in a non threadsafe way.
5945
5946 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
5947
5948         * gst/gstbuffer.h:
5949         * gst/gstevent.h:
5950         * gst/gstmessage.h:
5951           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
5952           gst_event_ref() and gst_message_ref() functions again
5953           (ugly hack, please do fix if there's a better way besides
5954           overrides.txt, which doesn't seem to work).
5955
5956 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5957
5958         * libs/gst/check/gstcheck.h:
5959           add an assert for setting state to avoid lots of repetitive code
5960           in the future
5961
5962 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5963
5964         * gst/gstvalue.c: (gst_value_serialize_flags):
5965           fix a leak if no flags are set
5966         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5967           fix leak in tests
5968
5969 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
5970
5971         * docs/manual/basics-pads.xml:
5972           Expand a bit on caps and filtered links and update
5973           examples that were still using the no longer existing
5974           gst_pad_link_filtered() (#338206).
5975
5976 2006-05-10  Wim Taymans  <wim@fluendo.com>
5977
5978         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5979         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5980         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5981         (gst_collect_pads_stop):
5982         * libs/gst/base/gstcollectpads.h:
5983         No need to call _stop in _finalize.
5984         Iterate the main pad list in _finalize.
5985         Added some more debug.
5986         Free lists and data in the right order.
5987         Also free data whem doing _remove_pad when stopped for
5988         backward compatibility protect ::started with PAD_LOCK as
5989         well.
5990
5991 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5992
5993         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
5994         (gst_structure_parse_value):
5995           add some comments
5996           rename a method so that it actually says what it does better
5997
5998 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5999
6000         * gst/gstevent.c: (_gst_event_initialize):
6001         * gst/gstformat.c: (_gst_format_initialize):
6002           make sure some essential types used by events are registered
6003           as part of gst_init()
6004         * gst/gstvalue.c: (gst_value_serialize_flags):
6005           if no flags are set, serialize them to a value that represents NONE
6006           so that deserializing them works
6007         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6008           add tests for serialization and deserialization of flags
6009
6010 2006-05-10  Wim Taymans  <wim@fluendo.com>
6011
6012         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
6013         (gst_collect_pads_collect_range), (gst_collect_pads_available),
6014         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
6015         (gst_collect_pads_event), (gst_collect_pads_chain):
6016         Update docs.
6017         Better debug info.
6018         Catch and return errors from the collect function
6019         Refuse data on eos pads.
6020
6021 2006-05-10  Edward Hervey  <edward@fluendo.com>
6022
6023         * gst/gstinterface.h:
6024         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
6025         GInterface type checking.
6026         They were previously using non-defined macros.
6027
6028 2006-05-09  Wim Taymans  <wim@fluendo.com>
6029
6030         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
6031         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
6032         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
6033         (gst_collect_pads_start), (gst_collect_pads_stop),
6034         (gst_collect_pads_peek), (gst_collect_pads_pop),
6035         (gst_collect_pads_available), (gst_collect_pads_read),
6036         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
6037         (gst_collect_pads_is_collected), (gst_collect_pads_event),
6038         (gst_collect_pads_chain):
6039         * libs/gst/base/gstcollectpads.h:
6040         Clean up the mess that is collectpads, add comments and
6041         FIXMEs where needed.
6042         Maintain a separate pad list so we can add pads while
6043         collecting the other ones. For this we need a new separate 
6044         lock (see comics).
6045         Fix memory leak in finalize.
6046         Refactor some weird code to set/unset pad flushing flags, mark
6047         with comments.
6048         Don't crash in _available, _read, _flush when we're EOS.
6049
6050         * tests/check/libs/.cvsignore:
6051         Ignore adapter check binary.
6052
6053 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6054
6055         * gst/gstindex.c: (gst_index_resolver_get_type):
6056         * plugins/elements/gstfakesink.c:
6057         (gst_fake_sink_state_error_get_type):
6058         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6059         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
6060         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6061           Const-ify GEnumValue arrays.
6062
6063 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6064
6065         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6066           Add test case for flags + gst_buffer_make_metadata_writable().
6067
6068 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6069
6070         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
6071           gst_buffer_make_metadata_writable() should maintain the
6072           buffer flags (those that make sense at least) (see #340859).
6073
6074 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6075
6076         * tools/gst-inspect.c:
6077         * tools/gst-launch.c:
6078         * tools/gst-typefind.c:
6079         * tools/gst-xmlinspect.c:
6080         * tools/tools.h:
6081           Fix up includes: need to include stdlib.h in tools.h for exit().
6082
6083 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6084
6085         * gst/gsttaglist.c: (_gst_tag_initialize):
6086         * gst/gsttaglist.h:
6087           API: add GST_TAG_IMAGE tag (#340721).
6088
6089 2006-05-08  Wim Taymans  <wim@fluendo.com>
6090
6091         * gst/gstquery.c:
6092         Added some docs for the segment query.
6093
6094 2006-05-08  Wim Taymans  <wim@fluendo.com>
6095
6096         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6097         (gst_base_src_loop), (gst_base_src_change_state):
6098         Always push non-flushing serialized events in the streaming 
6099         thread.
6100
6101 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6102
6103         * gst/gsterror.c: (_gst_stream_errors_init):
6104           Add a missing error string.
6105
6106 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
6107
6108         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
6109         Add applied_rate to the debug
6110
6111         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6112         Copy applied_rate into the outgoing NEWSEGMENT event
6113
6114 2006-05-08  Wim Taymans  <wim@fluendo.com>
6115
6116         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
6117
6118         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6119         (gst_base_sink_change_state):
6120         call ::unlock before taking the PREROLL_LOCK so we can safely
6121         handle elements that lock in ::render.
6122         Fixes #340174.
6123
6124 2006-05-08  Edward Hervey  <edward@fluendo.com>
6125
6126         * autogen.sh: (CONFIGURE_DEF_OPT): 
6127         Darwin's libtoolize is in fact called glibtoolize.
6128         Adding glibtoolize to the list of accepted names for libtoolize.
6129
6130 2006-05-08  Wim Taymans  <wim@fluendo.com>
6131
6132         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6133         Unify error handling, don't post an error message
6134         when a push() returns EOS but perform our normal EOS
6135         handling code. Fixes #340772.
6136
6137 2006-05-08  Wim Taymans  <wim@fluendo.com>
6138
6139         * docs/design/part-overview.txt:
6140         Make upsteam/downstream concepts more clear.
6141         Give an example of serialized/non-serialized events.
6142
6143         * docs/design/part-events.txt:
6144         * docs/design/part-streams.txt:
6145         Mention applied_rate.
6146
6147         * docs/design/part-trickmodes.txt:
6148         Mention applied rate, flesh out some more use cases.
6149
6150         * gst/gstevent.c: (gst_event_new_new_segment),
6151         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
6152         (gst_event_parse_new_segment_full), (gst_event_new_tag),
6153         (gst_event_parse_tag), (gst_event_new_buffer_size),
6154         (gst_event_parse_buffer_size), (gst_event_new_qos),
6155         (gst_event_parse_qos), (gst_event_parse_seek),
6156         (gst_event_new_navigation):
6157         * gst/gstevent.h:
6158         Add applied_rate field to NEWSEGMENT event.
6159         API: gst_event_new_new_segment_full()
6160         API: gst_event_parse_new_segment_full()
6161
6162         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
6163         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
6164         (gst_segment_to_stream_time), (gst_segment_to_running_time):
6165         * gst/gstsegment.h:
6166         Add applied_rate to GstSegment structure.
6167         Make calculation of stream_time and running_time more correct
6168         wrt rate/applied_rate.
6169         Add some more docs.
6170         API: GstSegment::applied_rate field
6171         API: gst_segment_set_newsegment_full();
6172
6173         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6174         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
6175         * libs/gst/base/gstbasetransform.c:
6176         (gst_base_transform_sink_eventfunc),
6177         (gst_base_transform_handle_buffer):
6178         Parse and use applied_rate in the GstSegment field.
6179
6180         * tests/check/gst/gstevent.c: (GST_START_TEST):
6181         Add check for applied_rate field.
6182
6183         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6184         (gstsegments_suite):
6185         Add more checks for various GstSegment operations.
6186
6187 2006-05-08  Wim Taymans  <wim@fluendo.com>
6188
6189         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6190         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
6191         (gst_base_sink_get_position), (gst_base_sink_change_state):
6192         Store the sync time of the buffer end position separatly in a
6193         new variable eos_rtime so we can properly sync the EOS event.
6194         Fixes #340697.
6195         Fix the docs for gst_base_sink_set_qos_enabled().
6196         Don't set segment start to invalid value when we receive a 
6197         non TIME newsegment.
6198         get closer to handling position reporting for negative rates 
6199         correctly.
6200
6201 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
6202
6203         * gst/gstcaps.c:
6204         Docs about how to print caps for debug purposes.
6205
6206         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
6207         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
6208
6209 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
6210
6211         * gst/gstelement.c:
6212           use full enum names and preprend a '%' in docs strings to make recent 
6213           gtk-doc turn that into a link
6214
6215 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6216
6217         * docs/manual/basics-bins.xml:
6218         * docs/manual/basics-bus.xml:
6219         * docs/manual/basics-pads.xml:
6220           Some typo fixes, some additions, some clarifications. 
6221
6222 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6223
6224         * tools/gst-inspect.c: (main):
6225         * tools/gst-launch.c: (main):
6226         * tools/gst-run.c: (main):
6227         * tools/gst-typefind.c: (main):
6228         * tools/gst-xmlinspect.c: (main):
6229           Use the string passed to g_option_context_new() for
6230           what it's intended for - the program name is already
6231           printed elsewhere.
6232
6233 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6234
6235         * tools/Makefile.am:
6236         * tools/gst-inspect.c: (main):
6237         * tools/gst-launch.c: (main):
6238         * tools/gst-xmlinspect.c: (main):
6239         * tools/tools.h:
6240           Add back --version command line option (#340460).
6241
6242         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
6243           Add --version option and use GOption for argument parsing; refactor a
6244           bit; accept directories as arguments and recurse into them; lastly,
6245           print a decent error message when things go wrong.
6246
6247 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6248
6249         * docs/manual/basics-bins.xml:
6250         Don't mention GstThread (#340611)
6251         * docs/manual/basics-elements.xml:
6252         Update link to GObject tutorial (#340607)
6253         
6254 2006-05-05  Wim Taymans  <wim@fluendo.com>
6255
6256         * gst/gstbuffer.h:
6257         * gst/gstminiobject.c:
6258         Add note about refcounting and miniobject/buffer writeability
6259         to docs. Fixes #340604
6260
6261         * gst/gstelementfactory.h:
6262         Added some explanation about @klass.
6263
6264 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6265
6266         * docs/manual/intro-motivation.xml:
6267         * docs/manual/manual.xml:
6268         Avoid CORBA & Bonobo references (#340598)
6269
6270 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6271
6272         * docs/manual/basics-bus.xml:
6273         * docs/manual/basics-pads.xml:
6274         Fix up some inaccuracies and omissions (#340609)
6275         
6276 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6277
6278         * gst/gstghostpad.c:
6279           Small typo in docs (#340625)
6280
6281 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6282
6283         * gst/parse/Makefile.am:
6284           Make 'make -j' proof (see #340698).
6285
6286 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6287
6288         * configure.ac:
6289           Require GLib-2.8 here as well.
6290
6291 2006-05-05  Wim Taymans  <wim@fluendo.com>
6292
6293         * gst/glib-compat.c:
6294         * gst/gst.c: (init_pre):
6295         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6296         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
6297         (gst_object_dispatch_properties_changed):
6298         * gst/gstobject.h:
6299         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6300         * gst/gststructure.c: (gst_structure_set_valist):
6301         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6302         Remove pre glib2.8 compatibility, fixes #340508
6303
6304 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6305
6306         * gst/gsttaglist.h:
6307           Mention type of tags in doc blurbs.
6308
6309 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
6310
6311         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6312         (gst_pad_configure_src), (gst_pad_push):
6313         Restore acceptcaps checking behaviour now that good plugins have
6314         been released.
6315
6316 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6317
6318         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
6319
6320         * gst/gst.c:
6321         * gst/gstbus.c:
6322         * gst/gstclock.c:
6323         * gst/gstevent.c:
6324         * gst/gstformat.c:
6325         * gst/gstmessage.c:
6326         * gst/gstparse.c:
6327         * gst/gstquery.c:
6328         * gst/gstutils.c:
6329         * gst/parse/Makefile.am:
6330         * libs/gst/base/gstadapter.c:
6331         * libs/gst/base/gstbasesrc.c:
6332         * libs/gst/base/gstpushsrc.c:
6333         * libs/gst/base/gsttypefindhelper.c:
6334         * plugins/elements/gstfakesrc.c:
6335         * plugins/elements/gstidentity.c:
6336           Make sure gstprivate.h and/or config.h are
6337           always included first, otherwise some of our
6338           defines (like _FILE_OFFSET_BITS) might be
6339           redefined in the system headers. Fixes build
6340           on opensolaris (#340016).
6341
6342 2006-05-04  Wim Taymans  <wim@fluendo.com>
6343
6344         * docs/libs/gstreamer-libs-sections.txt:
6345         API: addition: gst_adapter_take_buffer()
6346         
6347         * libs/gst/base/gstadapter.c: (gst_adapter_push),
6348         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
6349         (gst_adapter_available_fast):
6350         * libs/gst/base/gstadapter.h:
6351         Prepare for optimizing the hell out of this hugely inefficient
6352         piece of code. 
6353         Added gst_adapter_take_buffer() so we can at least start thinking
6354         about subbuffering and merging.
6355         Added some comments.
6356
6357         * tests/check/Makefile.am:
6358         * tests/check/libs/adapter.c: (GST_START_TEST),
6359         (gst_adapter_suite), (main):
6360         Added GstAdapter check.
6361
6362 2006-05-04  Wim Taymans  <wim@fluendo.com>
6363
6364         * docs/design/part-overview.txt:
6365         Fix some typos, add blurb about buffer flags.
6366
6367 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6368
6369         * docs/libs/gstreamer-libs-sections.txt:
6370           make sure GstBaseTransformClass shows up in the docs
6371         * libs/gst/base/gstbasetransform.c:
6372         * libs/gst/base/gstbasetransform.h:
6373           move docs so gtk-doc picks it up now
6374
6375 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
6376
6377         * docs/libs/gstreamer-libs-sections.txt:
6378           add missing symbols to docs
6379
6380 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
6381
6382         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6383           back out the newsegment handling change, see #340060 for ongoing
6384           discussion
6385
6386 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
6387
6388         * tools/gst-run.c: (get_candidates), (main):
6389           Fix wrong g_file_test() usage (see glib docs for why it doesn't
6390           work); fix typo in error message. Fixes #340079.
6391
6392 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6393
6394         * common/Makefile.am:
6395         * docs/Makefile.am:
6396         * docs/faq/Makefile.am:
6397         * docs/gst/Makefile.am:
6398         * docs/libs/Makefile.am:
6399         * docs/manual/Makefile.am:
6400         * docs/plugins/Makefile.am:
6401         * docs/pwg/Makefile.am:
6402         * docs/slides/Makefile.am:
6403         * docs/upload.mak:
6404         * common/upload.mak:
6405           move upload.mak to common
6406
6407 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6408
6409         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6410           add more asserts on refcounts
6411           do more cleanup at end of tests
6412           fix test leaks showing in FC5
6413
6414 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
6415
6416         * plugins/elements/gsttypefindelement.c:
6417         (gst_type_find_element_handle_event):
6418         reverted wrong change and reflowed code to avoid others falling into
6419         this trap
6420
6421 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6422
6423         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6424           fix changelog entry about last collectpads change,
6425           add notes about proper fix
6426
6427 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6428
6429         * gst/gst.c:
6430         * gst/gstregistry.c: (gst_registry_scan_path_level),
6431         (gst_registry_scan_path):
6432         * gst/gstregistry.h:
6433           only write out registry if it has changed, fixes #338339
6434
6435 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6436
6437         * gst/gstbin.c:
6438         * gst/gstpipeline.c:
6439         * plugins/elements/gstcapsfilter.c:
6440         * plugins/elements/gstfakesink.c:
6441         * plugins/elements/gstfakesrc.c:
6442         * plugins/elements/gstfdsink.c:
6443         * plugins/elements/gstfdsrc.c:
6444         * plugins/elements/gstfilesink.c:
6445         * plugins/elements/gstfilesrc.c:
6446         * plugins/elements/gstidentity.c:
6447         * plugins/elements/gstqueue.c:
6448         * plugins/elements/gsttee.c:
6449         * plugins/elements/gsttypefindelement.c:
6450         (gst_type_find_element_handle_event):
6451           make GstElementDetails const
6452
6453 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6454
6455         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6456         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6457         (gst_collect_pads_is_collected), (gst_collect_pads_event):
6458           more detailed debug and formatting cleanup,
6459           forward newsegments to src-pad (so that e.g. adder not eats them)
6460
6461 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6462
6463         * gst/gstutils.c: (gst_element_link_pads):
6464           cleanup double code
6465
6466 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6467
6468         * libs/gst/controller/gstcontroller.c:
6469         (gst_controller_sync_values):
6470           some little tuning
6471         * tests/check/libs/controller.c: (GST_START_TEST),
6472         (gst_controller_suite):
6473           a new test for live value handling
6474
6475 2006-04-28  Wim Taymans  <wim@fluendo.com>
6476
6477         * gst/gstutils.c: (push_and_ref):
6478         Added some more docs.
6479         Fix refcount issue whith gst_element_found_tags() helper 
6480         function. Fixes #338335
6481
6482         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6483         Added testsuite for gst_element_found_tags().
6484
6485 2006-04-28  Michael Smith  <msmith@fluendo.com>
6486
6487         * gst/gstvalue.c: (gst_value_serialize_flags):
6488           Avoid NULL dereference when trying to serialize flags containing
6489           invalid values.
6490
6491 2006-04-28  Michael Smith  <msmith@fluendo.com>
6492
6493         * plugins/elements/gsttypefindelement.c:
6494         (gst_type_find_element_handle_event):
6495           If we get EOS before any data is accumulated, don't use
6496           uninitialised local variables.
6497
6498 2006-04-28  Michael Smith  <msmith@fluendo.com>
6499
6500         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6501         (gst_dp_event_from_packet):
6502           Fixes in reading/writing events over GDP (not currently used?) - 
6503           dereferencing NULL events for unknown/invalid event types, memory
6504           leak, and change g_warning to GST_WARNING.
6505
6506 2006-04-28  Wim Taymans  <wim@fluendo.com>
6507
6508         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
6509         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6510         (gst_base_sink_get_position), (gst_base_sink_change_state):
6511         When frame dropping is enabled, we should not ignore frames
6512         without a duration.
6513         Update some documentation.
6514
6515 2006-04-28  Wim Taymans  <wim@fluendo.com>
6516
6517         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6518         (gst_base_src_send_event), (gst_base_src_change_state):
6519         Documentation updates.
6520
6521 2006-04-28  Wim Taymans  <wim@fluendo.com>
6522
6523         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
6524         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
6525         handle EAGAIN, EINTR and short writes correctly. Also clean
6526         up some error cases, avoid a deadlock on bad file descriptors and
6527         use GST_DEBUG_OBJECT.
6528         Fixes #339843
6529
6530 2006-04-28  Wim Taymans  <wim@fluendo.com>
6531
6532         * gst/gstvalue.c: (gst_value_serialize_buffer),
6533         (gst_value_deserialize_buffer):
6534         Don't try to serialize a GValue with a NULL buffer. 
6535         Fixes #339821.
6536
6537         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6538         Added check for serialisation of NULL buffers.
6539
6540 2006-04-28  Wim Taymans  <wim@fluendo.com>
6541
6542         * gst/gstminiobject.c: (gst_value_take_mini_object):
6543         Taking a NULL miniobject is valid, fix the case where
6544         we try to unref the NULL miniobject.
6545
6546 2006-04-28  Wim Taymans  <wim@fluendo.com>
6547
6548         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6549
6550         * gst/gstbin.c: (gst_bin_handle_message_func):
6551         Update docs.
6552         Don't leak bin refcount when a state recalc is
6553         in progress and we delay another one #339808.
6554
6555 2006-04-28  Wim Taymans  <wim@fluendo.com>
6556
6557         * docs/design/part-TODO.txt:
6558         Mention QoS as an ongoing work item.
6559
6560         * docs/design/part-buffering.txt:
6561         New doc about buffering that needs to be fleshed out
6562         at some point.
6563
6564         * docs/design/part-qos.txt:
6565         More QoS policy for decoders/demuxers/transforms
6566
6567         * docs/design/part-trickmodes.txt:
6568         Small update.
6569
6570 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6571
6572         * configure.ac:
6573           back to HEAD
6574
6575 === release 0.10.5 ===
6576
6577 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
6578
6579         * configure.ac:
6580           releasing 0.10.5, "Fogo"
6581
6582 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6583
6584         patch by: Wim Taymans
6585
6586         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6587         (gst_pad_configure_src), (gst_pad_push):
6588         * gst/gstpipeline.c: (gst_pipeline_init):
6589           Fix internal data flow errors.  Fixes #338711.
6590
6591 2006-04-12  Wim Taymans  <wim@fluendo.com>
6592
6593         * tests/check/gst/gstelement.c: (GST_START_TEST):
6594         Don't leak the factory.
6595
6596 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6597
6598         * configure.ac:
6599         * win32/common/config.h:
6600           prerelease
6601
6602 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
6603
6604         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6605         (gst_controller_unset_all):
6606           Free allocated GstTimedValues when freeing list nodes.
6607           Should fix leaks 'make check-valgrind' complains about.
6608
6609         * win32/common/libgstcontroller.def:
6610           Add gst_controller_unset_all.
6611
6612 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
6613
6614         * docs/libs/gstreamer-libs-sections.txt:
6615         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6616         (gst_controller_unset_all):
6617         * libs/gst/controller/gstcontroller.h:
6618         API: Added new method gst_controller_unset_all()
6619         fixed gst_controller_unset()
6620         * tests/check/libs/controller.c: (GST_START_TEST),
6621         (gst_controller_suite):
6622         Added two testcases for new and fixed method
6623
6624 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
6625
6626         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6627           MSG_DONTWAIT is not defined on Cygwin, so work
6628           around that (fixes #317048).
6629           
6630 2006-04-11  Wim Taymans  <wim@fluendo.com>
6631
6632         * gst/gstelementfactory.c: (gst_element_register),
6633         (gst_element_factory_create), (gst_element_factory_make):
6634         Some cleanups.
6635         Fixed a FIXME.
6636         Updated docs (Fixes #131079)
6637
6638         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6639         Small cleanups.
6640
6641         * tests/check/gst/gstelement.c: (GST_START_TEST),
6642         (gst_element_suite):
6643         Added testcase for elementfactory class field.
6644
6645 2006-04-10  Wim Taymans  <wim@fluendo.com>
6646
6647         * gst/gstsegment.c:
6648         Added some more docs.
6649
6650         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
6651         (gst_base_sink_reset_qos):
6652         Calculate more accurate rate values.
6653
6654 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
6655
6656         * gst/gst_private.h:
6657           add a new #ifdef to use __declspec(dllimport) only for
6658           other modules and not for gstreamer core
6659         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
6660           use gst_guint64_to_gdouble for conversion
6661         * win32/common/libgstreamer.def:
6662           add new exported functions
6663         * win32/vs6/gst_inspect.dsp:
6664         * win32/vs6/gst_launch.dsp:
6665         * win32/vs6/libgstbase.dsp:
6666         * win32/vs6/libgstcontroller.dsp:
6667         * win32/vs6/libgstcoreelements.dsp:
6668         * win32/vs6/libgstdataprotocol.dsp:
6669         * win32/vs6/libgstnet.dsp:
6670           update project files
6671
6672 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
6673
6674         * gst/gstbuffer.c: (gst_subbuffer_class_init):
6675         * gst/gstclock.c: (gst_clock_class_init):
6676         * gst/gstelement.c: (gst_element_class_init):
6677         * gst/gstindex.c: (gst_index_class_init):
6678         * gst/gstindexfactory.c: (gst_index_factory_class_init):
6679         * gst/gstobject.c: (gst_object_class_init),
6680         (gst_signal_object_class_init):
6681         * gst/gstpad.c: (gst_pad_class_init):
6682         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
6683         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
6684         * gst/gstregistry.c: (gst_registry_class_init):
6685         * gst/gstsystemclock.c: (gst_system_clock_class_init):
6686         * gst/gsttask.c: (gst_task_class_init):
6687         * gst/gstxml.c: (gst_xml_class_init):
6688         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6689         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6690         (gst_base_src_loop):
6691         * libs/gst/controller/gstcontroller.c:/
6692         (_gst_controller_class_init):
6693         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6694         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
6695         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
6696         * tests/old/examples/plugins/example.c: (gst_example_class_init):
6697         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6698         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
6699
6700 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
6701
6702         * gst/gstpad.c: (gst_pad_link):
6703           Must set peer pads before calling the link function, otherwise
6704           a task started from a link function might get a flow-not-linked
6705           result when trying to push because the other thread where the
6706           linking happens hasn't had a chance to set the peers yet. This
6707           might happen for example when a queue gets linked to a downstream
6708           element, as queue starts a streaming task when its source pad
6709           gets linked. Happens in real life when playing back flac/musepack
6710           files in playbin (#332390).
6711           
6712 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
6713
6714         * gst/gstindex.h:
6715         * gst/gstxml.h:
6716         * libs/gst/base/gstadapter.h:
6717         * libs/gst/base/gstbasesink.h:
6718         * libs/gst/base/gstbasesrc.h:
6719         * libs/gst/base/gstbasetransform.h:
6720         * libs/gst/base/gstcollectpads.h:
6721         * libs/gst/base/gstpushsrc.h:
6722         Fix broken GObject macros
6723
6724 2006-04-07  Wim Taymans  <wim@fluendo.com>
6725
6726         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6727         Initialize start and stop times, thanks valgrind.
6728
6729 2006-04-07  Wim Taymans  <wim@fluendo.com>
6730
6731         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6732         Be a bit nicer to badly behaving upstream elements that expect
6733         us to deal with non TIME segments and timestamps (such as fakesrc
6734         in the testsuite).
6735
6736 2006-04-07  Wim Taymans  <wim@fluendo.com>
6737
6738         * gst/gstbus.c:
6739         Small documentation clarification about the signal watch.
6740
6741         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6742         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6743         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6744         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6745         (gst_base_sink_get_position_last),
6746         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
6747         Convert and store timestamps in stream time and running time, the
6748         raw timestamps are not useful, also document this better.
6749         Use different window sizes for good and bad QoS observations so
6750         we react to badness a little quicker.
6751         Keep track of the amount of rendered and dropped buffers.
6752         Send QoS timestamps in running time.
6753
6754         * libs/gst/base/gstbasetransform.c:
6755         (gst_base_transform_sink_eventfunc),
6756         (gst_base_transform_handle_buffer):
6757         Compare QoS timestamps against running time.
6758
6759 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
6760
6761         * gst/gstpad.c:
6762           Typo fixes in docs.
6763
6764 2006-04-06  Michael Smith  <msmith@fluendo.com>
6765
6766         * gst/gstpad.c: (gst_pad_set_property):
6767           Use g_value_get_object() instead of g_value_dup_gst_object(),
6768           to avoid double-reffing the pad template (which we then sink,
6769           so this worked previously if (and only if) the pad template
6770           was floating.
6771
6772         * gst/gstpadtemplate.c: (gst_pad_template_init),
6773         (gst_pad_template_pad_created):
6774           Never return floating references to pad templates, create
6775           them as initially-sunken.
6776
6777           Document an extra function (and make this stop sinking our
6778           pad template, since that is now guaranteed to do nothing,
6779           since we created it sunken).
6780
6781         * gst/gstghostpad.c:
6782           Fix docs typo.
6783
6784 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
6785
6786         * gst/gstinfo.c: (__gst_in_valgrind):
6787           Add some newlines.
6788
6789         * plugins/elements/gsttypefindelement.c:
6790         (gst_type_find_element_chain):
6791           Don't leak buffer caps.
6792
6793 2006-04-06  Michael Smith  <msmith@fluendo.com>
6794
6795         * gst/parse/grammar.y:
6796           Fix a leak in parse-launch for any source-or-sink named element 
6797           references used.
6798
6799         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6800           Unref the pipeline if it exists after we've failed parsing.
6801
6802 2006-04-05  Michael Smith  <msmith@fluendo.com>
6803
6804         * gst/gstpipeline.c: (gst_pipeline_init):
6805           When we create a pipeline bus, initially create it in flushing mode.
6806           Fixes leaks in at least one test, and makes a new pipeline work the
6807           same as one that has gone to READY and then back to NULL.
6808
6809         * gst/gstelement.c:
6810           Typo fix in docs.
6811
6812 2006-04-05  Michael Smith  <msmith@fluendo.com>
6813
6814         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6815           Unref a pad we reffed.
6816         * tests/check/gst/gstutils.c: (GST_START_TEST):
6817           Unref bins
6818
6819 2006-04-05  Michael Smith  <msmith@fluendo.com>
6820
6821         * gst/gstquery.c: (gst_query_set_formats),
6822         (gst_query_set_formatsv):
6823           Fix leaking GValues in queries, as shown by valgrind/testsuite.
6824
6825 2006-04-05  Michael Smith  <msmith@fluendo.com>
6826
6827         * tests/check/generic/sinks.c: (GST_START_TEST):
6828           Fix a variety of memleaks in sinks check, which are only sometimes 
6829           shown by running the tests under valgrind (weird?).
6830
6831 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
6832
6833         * docs/version.entities.in:
6834           Fix the substituted entity name after thomas' changes on the
6835           weekend.
6836
6837 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6838
6839         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
6840         VALGRIND_PRINTF
6841         
6842 2006-04-05  Andy Wingo  <wingo@pobox.com>
6843
6844         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
6845
6846         * libs/gst/base/gstbasetransform.c
6847         (gst_base_transform_sink_eventfunc): When resetting our segment on
6848         FLUSH_STOP, also update the flag saying we haven't seen a
6849         newsegment.
6850
6851 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
6852
6853         Patch by: Paolo Borelli  <pborelli at katamail dot com>
6854
6855         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6856         (gst_plugin_check_license):
6857           minor clean-ups: G_DEFINE_TYPE already takes care of the
6858           parent_class stuff, no need to do it twice. Mark array of
6859           license strings as constant. (#337103)
6860           
6861 2006-04-04  Michael Smith  <msmith@fluendo.com>
6862
6863         * tools/gst-inspect.c: (print_element_list):
6864           Free the right plugin list; fixes a memory leak.
6865
6866 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
6867
6868         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
6869
6870         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
6871           Don't error out on empty buffers (#336945).
6872           
6873 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
6874
6875         * docs/libs/gstreamer-libs-sections.txt:
6876         * gst/gsttaglist.c:
6877         * libs/gst/base/gstbasesink.c:
6878         * libs/gst/base/gstbasesink.h:
6879         * libs/gst/base/gstbasesrc.c:
6880         * libs/gst/base/gstbasesrc.h:
6881           Documentation updates. Make BaseSink and BaseSrc docs contain the
6882           class structure so that people can actually see the prototypes for
6883           virtual functions they're supposed to be overriding.
6884
6885 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
6886
6887         * plugins/elements/gsttypefindelement.c:
6888         (gst_type_find_element_chain):
6889           More debug info; when skipping typefinding, send cached
6890           events in all cases.
6891
6892 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6893
6894         * configure.ac:
6895           use new AS_VERSION and AS_NANO macros
6896         * gst/gst-i18n-lib.h:
6897         * gst/gst.c:
6898         * gst/gsterror.c:
6899         * gst/gstversion.h.in:
6900         * win32/common/config.h:
6901         * win32/common/config.h.in:
6902           update accordingly
6903
6904 2006-03-31  Michael Smith  <msmith@fluendo.com>
6905
6906         * plugins/elements/gsttypefindelement.c:
6907         (gst_type_find_element_chain):
6908           Do not typefind content if the buffers already have caps.
6909           Neccesary for icydemux (#333657), and the right thing to do anyway.
6910
6911 2006-03-30  Wim Taymans  <wim@fluendo.com>
6912
6913         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6914         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
6915         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
6916         (gst_base_sink_record_qos_observation),
6917         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6918         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
6919         (gst_base_sink_change_state):
6920         More QoS measurements as described in the design doc.
6921         Get rid of ringbuffer with observations, running average is
6922         more simple and equally good.
6923         Calculates valid proportion now.
6924         Added beginning of flood measurement.
6925
6926 2006-03-29  Wim Taymans  <wim@fluendo.com>
6927
6928         * docs/design/part-qos.txt:
6929         * gst/gstclock.c:
6930         Small documentation updates and additions.
6931
6932 2006-03-29  Wim Taymans  <wim@fluendo.com>
6933
6934         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
6935         (gst_base_src_send_event), (gst_base_src_loop),
6936         (gst_base_src_change_state):
6937         Perform the EOS logic when we reach the segment stop position.
6938         Fix compilation on gcc4.1
6939
6940 2006-03-29  Wim Taymans  <wim@fluendo.com>
6941
6942         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
6943
6944         * plugins/elements/gstqueue.c: (gst_queue_init),
6945         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
6946         (gst_queue_set_property):
6947         * plugins/elements/gstqueue.h:
6948         In queue, when EOS is received, if minimum threshold > max_size -
6949         current_level, there is chance that queue blocks forever in conditional
6950         item del wait. This is because the queue is not emptied completely due
6951         to minimum threshold.  Here is another approach. Instead of setting
6952         cur_levels to max in EOS, just zero all minimum threshold levels. This
6953         should make sure that queue gives out all data. When going to READY
6954         (stop) state, just reset the original minimum threshold levels.
6955         Fixes #336336.
6956
6957 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
6958
6959         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
6960         (gst_type_find_element_handle_event),
6961         (gst_type_find_element_send_cached_events),
6962         (gst_type_find_element_change_state):
6963         * plugins/elements/gsttypefindelement.h:
6964           When typefinding is done in push mode, we should cache
6965           events we receive during typefinding instead of just
6966           dropping them (e.g. newsegment, custom events from
6967           dvdreadsrc etc.) and then send them out once we've
6968           determined the type of the stream (and decodebin
6969           has had a chance to plug in a decoder/demuxer).
6970           
6971 2006-03-27  Wim Taymans  <wim@fluendo.com>
6972
6973         * docs/design/part-qos.txt:
6974         First QoS ideas.
6975
6976 2006-03-27  Wim Taymans  <wim@fluendo.com>
6977
6978         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
6979
6980         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
6981         (gst_base_src_send_event), (gst_base_src_change_state):
6982         Handle element seek correctly when we are streaming.
6983         Fixes #326998.
6984
6985 2006-03-24  Michael Smith  <msmith@fluendo.com>
6986
6987         * docs/faq/gst-uninstalled:
6988           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
6989           allow you to correctly run intalled applications built against old 
6990           core, using plugins that require updated core (e.g. running
6991           installed totem against a full uninstalled gstreamer stack)
6992
6993 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
6994
6995         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
6996         more debug details
6997
6998 2006-03-24  Wim Taymans  <wim@fluendo.com>
6999
7000         * docs/gst/gstreamer-sections.txt:
7001         Rearrange the order of the methods so that related methods
7002         are grouped together in sections.
7003
7004 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
7005
7006         * gst/gstelement.c:
7007           Little clarification in the docs
7008
7009 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
7010
7011         * docs/README:
7012         formatting fix
7013         * plugins/elements/gstidentity.c:
7014         * plugins/elements/gstqueue.c:
7015         * plugins/elements/gsttee.c:
7016         * plugins/elements/gsttypefindelement.c:
7017         GST_ELEMENT_DETAILS formatting
7018
7019 2006-03-24  Wim Taymans  <wim@fluendo.com>
7020
7021         * libs/gst/base/gstbasesink.h:
7022         Only add fields, not insert or we break ABI.
7023
7024 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7025
7026         * win32/common/libgstbase.def:
7027         * win32/common/libgstreamer.def:
7028           Update, add recently added functions.
7029
7030 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7031
7032         * docs/gst/gstreamer-sections.txt:
7033         * gst/gstutils.c: (gst_pad_query_peer_position),
7034         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
7035         * gst/gstutils.h:
7036           API: add some new utility functions:
7037            - gst_pad_query_peer_position()
7038            - gst_pad_query_peer_duration()
7039            - gst_pad_query_peer_convert()
7040           
7041 2006-03-23  Wim Taymans  <wim@fluendo.com>
7042
7043         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7044         (gst_base_sink_init), (gst_base_sink_finalize),
7045         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
7046         (gst_base_sink_set_property), (gst_base_sink_get_property),
7047         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
7048         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7049         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
7050         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7051         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7052         (gst_base_sink_preroll_object), (gst_base_sink_event),
7053         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
7054         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
7055         (gst_base_sink_query), (gst_base_sink_change_state):
7056         Decouple max-lateness and the fact that QoS messages are generated
7057         with a new property (qos).
7058         added API: GstBaseSink::async_play()
7059         Add vmethod so subclasses can be notified of ASYNC playing
7060         state changes.
7061         Collect timestamp start and stop to report better current
7062         position in EOS/PLAYING/PAUSED/READY/NULL.
7063         Refactor QoS/frame dropping and other measurements.
7064         API: GstBaseSrc::qos
7065         Fixes #326311
7066
7067         * libs/gst/base/gstbasesink.h:
7068         Added Private struct.
7069         API: gst_base_sink_set_qos_enabled()
7070         API: gst_base_sink_is_qos_enabled()
7071
7072 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7073
7074         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7075           If compiling against GLib-2.8 or newer, try to read the
7076           registry file using GMappedFile first before falling back
7077           to fopen() + fread() (#332151).
7078
7079 2006-03-22  Wim Taymans  <wim@fluendo.com>
7080
7081         * gst/gstinfo.c: (gst_debug_set_active),
7082         (gst_debug_category_set_threshold):
7083         Disable debugging unless explicitly activated.
7084         Fixes #335480.
7085
7086 2006-03-22  Wim Taymans  <wim@fluendo.com>
7087
7088         * gst/gstelement.c: (gst_element_set_locked_state),
7089         (gst_element_dispose):
7090         Cleanup the error case.
7091
7092         * gst/gstobject.c: (gst_object_dispose):
7093         print a critical when some object was disposed with
7094         a parent, also revive the object since it might
7095         crash the parent.
7096
7097 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
7098
7099         * tools/gst-launch.1.in:
7100           Fix another typo.
7101
7102 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7103
7104         * configure.ac:
7105         * tests/check/Makefile.am:
7106           disable some tests when we don't have a registry
7107         * tests/check/gst/gstutils.c: (gst_utils_suite):
7108           don't build the part that needs parsing
7109
7110 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7111
7112         * gst/Makefile.am
7113         * tests/examples/Makefile.am:
7114           fix --disable-parse build
7115
7116 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7117
7118         * tools/gst-feedback.1.in:
7119           Fix typo: s/feeback/feedback/ (#133494).
7120
7121 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7122
7123         * tools/Makefile.am:
7124         * tools/gst-launch.1.in:
7125           Add FILES section and correct entry about GST_REGISTRY_PATH
7126           environment variable (#133495; #133494).
7127
7128 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7129
7130         * tools/Makefile.am:
7131         * tools/gst-md5sum.1.in:
7132         * tools/gst-md5sum.c:
7133           Remove gst-md5sum and man page (the md5sink element
7134           required was removed ages ago)
7135
7136 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7137
7138         * gst/gststructure.c: (gst_structure_id_set_value):
7139           Make sure that string fields in structures/taglists
7140           contain valid UTF-8 - we don't want to pass rubbish to
7141           applications because of a buggy plugin (cp. #334167).
7142
7143 2006-03-21  Edward Hervey  <edward@fluendo.com>
7144
7145         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7146         (gst_bin_handle_message_func):
7147         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
7148         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
7149         (gst_element_set_bus_func):
7150         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
7151         * gst/gstminiobject.c: (gst_value_set_mini_object),
7152         (gst_value_take_mini_object):
7153         * gst/gstpad.c: (gst_pad_set_pad_template):
7154         * gst/gstpipeline.c: (gst_pipeline_dispose),
7155         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
7156         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
7157         (gst_collect_pads_chain):
7158         * libs/gst/net/gstnettimeprovider.c:
7159         (gst_net_time_provider_set_property):
7160         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
7161         It's in fact all issues with gst_*object_replace().
7162
7163 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7164
7165         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
7166         
7167         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7168         * pkgconfig/gstreamer-check.pc.in:
7169           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
7170
7171 2006-03-21  Edward Hervey  <edward@fluendo.com>
7172
7173         * gst/gstbuffer.h:
7174         * gst/gstevent.h:
7175         * gst/gstmessage.h:
7176         gst_[buffer|event|message]_ref() macros are replaced by a static
7177         inline functions because gcc-4.1 will about if the return value
7178         isn't used.
7179         * tests/check/gst/gstevent.c: (event_probe):
7180         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
7181
7182 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
7183
7184         * gst/gstutils.h:
7185         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
7186         the type' case. (Closes: #335195 for now). In the future, when we
7187         depend on GLib 2.10, we could also intern the type name using
7188         g_intern_static_string()
7189
7190 2006-03-20  Wim Taymans  <wim@fluendo.com>
7191
7192         * gst/gstbin.c: (gst_bin_handle_message_func),
7193         (bin_query_max_init), (bin_query_position_fold),
7194         (bin_query_position_done), (gst_bin_query):
7195         Position query should also take max of all streams.
7196
7197 2006-03-20  Wim Taymans  <wim@fluendo.com>
7198
7199         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7200         (gst_fake_src_finalize):
7201         Fix leaks in fakesrc.
7202
7203         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7204         Fix leaks in the testcase.
7205
7206 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
7207
7208         * gst/gst_private.h:
7209           add win32 specific import decoration(__declspec(dllimport)) 
7210           for all extern GstDebugCategory * variables
7211         * win32/common/libgstbase.def:
7212         * win32/common/libgstcontroller.def:
7213         * win32/common/libgstreamer.def:
7214           Add some exports, remove empty lines
7215         * win32/common/libgstdataprotocol.def:
7216         * win32/common/libgstdataprotocol.dsp:
7217         * win32/common/libgstnet.def:
7218         * win32/common/libgstnet.dsp:
7219           new project files and exportation files added
7220         
7221 2006-03-19  Wim Taymans  <wim@fluendo.com>
7222
7223         * tests/check/libs/basesrc.c: (eos_event_counter):
7224         Use proper return value for probe.
7225
7226 2006-03-17  Wim Taymans  <wim@fluendo.com>
7227
7228         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7229         (gst_pad_push):
7230         Don't leak buffers, caps and pads on negotiation errors.
7231
7232 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
7233
7234         * docs/faq/cvs.xml:
7235         * docs/faq/dependencies.xml:
7236         * docs/faq/developing.xml:
7237         * docs/faq/faq.xml:
7238         * docs/faq/general.xml:
7239         * docs/faq/getting.xml:
7240         * docs/faq/legal.xml:
7241         * docs/faq/troubleshooting.xml:
7242         * docs/faq/using.xml:
7243         Faq review and update.
7244
7245 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
7246
7247         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7248         (gst_pad_push):
7249         Don't pound the cpu to pieces by checking get_caps when accept_caps
7250         is called with the same caps as the pad already has.
7251         Use GST_DEBUG_OBJECT when outputting caps change information.
7252
7253 2006-03-15  Wim Taymans  <wim@fluendo.com>
7254
7255         * gst/gstclock.c: (gst_clock_class_init):
7256         Fix docs.
7257
7258 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
7259
7260         * gst/gstbuffer.h:
7261         Documentation fix.
7262
7263         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
7264         (gst_pad_accept_caps), (gst_pad_configure_sink),
7265         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
7266         Make the default acceptcaps behaviour be to check the requested 
7267         caps against the gst_pad_get_caps output. 
7268
7269         Ensure that gst_pad_accept_caps is used to check caps when a pad
7270         doesn't have a setcaps function, so that pads automatically refuse 
7271         caps that they don't allow in their pad template. (Fixes #332986)
7272
7273         When a buffer with attached caps is pushed, ensure that the source 
7274         pad receives those caps even if the element didn't call
7275         gst_pad_set_caps first.
7276
7277 2006-03-15  Wim Taymans  <wim@fluendo.com>
7278
7279         * libs/gst/base/gstadapter.c:
7280         Add some docs.
7281
7282 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7283
7284         * win32/common/libgstbase.def:
7285         * win32/common/libgstcontroller.def:
7286         * win32/common/libgstreamer.def:
7287           Add a whole bunch of missing functions (#334434).
7288
7289 2006-03-14  Wim Taymans  <wim@fluendo.com>
7290
7291         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7292         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7293         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
7294         Better debug info when we receive a segment event.
7295         Reorganize a bit so we can pass the get_times() results around.
7296         Use the segment format when calculating the running time.
7297         Don't do QoS is sync is disabled or we have no clock or the
7298         element does not want us to sync to the clock.
7299         Don't drop buffers if QoS is disabled for now.
7300
7301 2006-03-14  Wim Taymans  <wim@fluendo.com>
7302
7303         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
7304         Marked the stats property as unimplemented so people don't get
7305         wild ideas.
7306         Add debug message when regression goes wrong.
7307         Added some more docs.
7308
7309 2006-03-14  Wim Taymans  <wim@fluendo.com>
7310
7311         * gst/gstsegment.c: (gst_segment_to_stream_time):
7312         Return correct return type in case of errors.
7313
7314 2006-03-14  Wim Taymans  <wim@fluendo.com>
7315
7316         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
7317           Don't segfault on invalid formats.
7318
7319 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7320
7321         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7322           Can't use gst_segment_to_running_time() when the segment
7323           is not in GST_TIME_FORMAT (like with filesink, for example).
7324           Stops flac encoding pipelines from spewing critical warnings
7325           at EOS (#331248).
7326           
7327 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7328
7329         * gst/gstpipeline.c: (gst_pipeline_class_init):
7330           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
7331
7332         * plugins/elements/gsttypefindelement.c:
7333         (gst_type_find_element_handle_event):
7334           Don't try to typefind empty streams.
7335
7336 2006-03-14  Wim Taymans  <wim@fluendo.com>
7337
7338         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7339         (gst_base_sink_do_qos):
7340         Separate QoS calculation.
7341         Only drop buffers when lateness is bigger than the 
7342         duration of the buffer.
7343
7344 2006-03-13  Wim Taymans  <wim@fluendo.com>
7345
7346         * gst/gstpipeline.c: (gst_pipeline_set_property),
7347         (gst_pipeline_get_property), (do_pipeline_seek),
7348         (gst_pipeline_change_state), (gst_pipeline_set_delay),
7349         (gst_pipeline_get_delay):
7350         Don't deadlock when reading properties.
7351
7352 2006-03-13  Wim Taymans  <wim@fluendo.com>
7353
7354         * libs/gst/base/gstbasetransform.c:
7355         (gst_base_transform_class_init), (gst_base_transform_init),
7356         (gst_base_transform_sink_event),
7357         (gst_base_transform_sink_eventfunc),
7358         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
7359         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7360         (gst_base_transform_set_property),
7361         (gst_base_transform_get_property),
7362         (gst_base_transform_change_state), (gst_base_transform_update_qos),
7363         (gst_base_transform_set_qos_enabled),
7364         (gst_base_transform_is_qos_enabled):
7365         * libs/gst/base/gstbasetransform.h:
7366         Make basetransform virtual method for src events too.
7367         Handle QOS in basetransform.
7368         API: gst_base_transform_update_qos()
7369         API: gst_base_transform_set_qos_enabled()
7370         API: gst_base_transform_is_qos_enabled()
7371
7372 2006-03-13  Wim Taymans  <wim@fluendo.com>
7373
7374         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7375         (gst_base_sink_do_sync):
7376         Small cleanups.
7377         Use QOS debug category.
7378
7379 2006-03-13  Wim Taymans  <wim@fluendo.com>
7380
7381         * plugins/elements/gstqueue.c:
7382         Very small doc update.
7383
7384 2006-03-13  Wim Taymans  <wim@fluendo.com>
7385
7386         * gst/gst_private.h:
7387         * gst/gstinfo.c: (_gst_debug_init):
7388         Added QOS debug category
7389
7390 2006-03-13  Wim Taymans  <wim@fluendo.com>
7391
7392         * docs/gst/gstreamer-sections.txt:
7393         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
7394         * gst/gstbin.h:
7395         * gst/gstbus.c: (gst_bus_class_init):
7396         * gst/gstbus.h:
7397         * gst/gstclock.c:
7398         * gst/gstelement.c: (gst_element_set_locked_state):
7399         * gst/gstsegment.c:
7400         Documentation updates.
7401
7402         * gst/gstpipeline.c: (gst_pipeline_get_type),
7403         (gst_pipeline_class_init), (gst_pipeline_init),
7404         (gst_pipeline_dispose), (gst_pipeline_set_property),
7405         (gst_pipeline_get_property), (do_pipeline_seek),
7406         (gst_pipeline_send_event), (gst_pipeline_change_state),
7407         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
7408         (gst_pipeline_get_delay):
7409         * gst/gstpipeline.h:
7410         Added methods for setting the delay.
7411         API: gst_pipeline_set_delay()
7412         API: gst_pipeline_get_delay()
7413         Add pipeline debug category
7414         Various cleanups.
7415         Updated docs.
7416         Don't reset stream time when seek failed.
7417
7418 2006-03-13  Wim Taymans  <wim@fluendo.com>
7419
7420         * docs/design/draft-klass.txt:
7421         * docs/design/part-clocks.txt:
7422         * docs/design/part-events.txt:
7423         * docs/design/part-gstbin.txt:
7424         * docs/design/part-gstpipeline.txt:
7425         * docs/design/part-messages.txt:
7426         * docs/design/part-negotiation.txt:
7427         * docs/design/part-overview.txt:
7428         * docs/design/part-preroll.txt:
7429         * docs/design/part-seeking.txt:
7430         * docs/design/part-states.txt:
7431         * docs/design/part-streams.txt:
7432         Documentation updates.
7433
7434 2006-03-12  Julien MOUTTE  <julien@moutte.net>
7435
7436         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
7437         us to leak strings...
7438
7439 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7440
7441         * libs/gst/net/gstnettimeprovider.c:
7442           fix docs
7443         * win32/common/config.h:
7444           update
7445
7446 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7447
7448         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
7449
7450         * configure.ac:
7451           Don't check for libgnomeui (leftover from old examples
7452           that aren't built or disted any longer) (#334303).
7453           
7454 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
7455
7456         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
7457         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7458           Emit RESOURCE_NO_SPACE_LEFT error here as well when
7459           there's no space left on the device.
7460
7461 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
7462
7463         * gst/gstclock.h:
7464           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
7465           to cast the input to GstClockTime before comparing with
7466           another GstClockTime value.
7467
7468 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7469
7470         * configure.ac:
7471           back to trunk
7472
7473 === release 0.10.4 ===
7474
7475 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
7476
7477         * configure.ac:
7478           releasing 0.10.4, "Light"
7479
7480 2006-03-10  Michael Smith  <msmith@fluendo.com>
7481
7482         * libs/gst/dataprotocol/dataprotocol.c:
7483           Fix docs for dataprocotol to not get the return types completely
7484           wrong for a few functions.
7485
7486 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7487
7488         * docs/gst/gstreamer-sections.txt:
7489         * gst/gstpipeline.c: (gst_pipeline_class_init),
7490         (gst_pipeline_init), (gst_pipeline_set_property),
7491         (gst_pipeline_get_property), (gst_pipeline_change_state),
7492         (gst_pipeline_set_auto_flush_bus),
7493         (gst_pipeline_get_auto_flush_bus):
7494         * gst/gstpipeline.h:
7495           Add new API: gst_pipeline_set_auto_flush_bus() and
7496           gst_pipeline_get_auto_flush_bus() to disable automatic
7497           flushing of the pipeline's GstBus when going from READY
7498           to NULL state (#332045).
7499
7500 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7501
7502         * docs/gst/gstreamer-sections.txt:
7503         * gst/gsturi.c: (gst_uri_has_protocol):
7504         * gst/gsturi.h:
7505            Add new API: gst_uri_has_protocol() (#333779).
7506
7507 2006-03-09  Wim Taymans  <wim@fluendo.com>
7508
7509         * gst/gstclock.c: (gst_clock_entry_new),
7510         (gst_clock_id_compare_func), (gst_clock_id_wait),
7511         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
7512         (gst_clock_init), (gst_clock_get_internal_time),
7513         (gst_clock_set_master), (do_linear_regression),
7514         (gst_clock_add_observation), (gst_clock_set_property):
7515         * gst/gstclock.h:
7516         Review docs.
7517         Small cleanups.
7518         Fix a possible segfault when the window-size is made smaller.
7519         Calculate jitter before performing the clock wait. Ideally
7520         the clock implementation should calculate jitter but we need
7521         API breakage for that.
7522
7523         * gst/gstsystemclock.c: (gst_system_clock_init):
7524         Docs review.
7525         
7526         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7527         Remove leftover else
7528
7529         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7530         (gst_systemclock_suite):
7531         Added check to test GST_CLOCK_DIFF.
7532
7533 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7534
7535         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
7536         (gst_type_find_helper_get_range):
7537           If we are provided with the size, we should implement
7538           GstTypeFind::get_length, so that typefind functions who
7539           want to can actually peek at the middle of a file.
7540
7541 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
7542
7543         * docs/manual/advanced-dataaccess.xml:
7544           Add some very very basic error checking.
7545
7546         * docs/pwg/appendix-checklist.xml:
7547           Some updates to the list of things to check when writing an element.
7548
7549 2006-03-08  Wim Taymans  <wim@fluendo.com>
7550
7551         * docs/design/part-element-transform.txt:
7552         Added some docs about the design of tranform elements.
7553
7554         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7555         (gst_base_src_loop), (gst_base_src_change_state):
7556         Mark buffers with the DISCONT flag.
7557
7558 2006-03-08  Michael Smith  <msmith@fluendo.com>
7559
7560         * gst/gstregistry.h:
7561         * gst/gstregistryxml.c: (gst_registry_save),
7562         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
7563         (gst_registry_xml_save_pad_template),
7564         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
7565         (gst_registry_xml_write_cache):
7566           Rewrite registry-saving to avoid race conditions and check for
7567           failed writes.
7568
7569 2006-03-08  Wim Taymans  <wim@fluendo.com>
7570
7571         * libs/gst/base/gstbasetransform.c:
7572         (gst_base_transform_transform_caps),
7573         (gst_base_transform_transform_size),
7574         (gst_base_transform_prepare_output_buffer),
7575         (gst_base_transform_get_unit_size),
7576         (gst_base_transform_buffer_alloc),
7577         (gst_base_transform_handle_buffer),
7578         (gst_base_transform_change_state):
7579         Cleanups, separate normal flow from errors, add sensible
7580         DEBUG lines.
7581         Don't try to renegotiate when allocating an output buffer.
7582         Also copy DISCONT buffer flag when copying a buffer.
7583         Reset the transform after we finish streaming, not during.
7584
7585 2006-03-08  Wim Taymans  <wim@fluendo.com>
7586
7587         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7588         Use last buffer timestamp in qos message.
7589
7590 2006-03-07  Wim Taymans  <wim@fluendo.com>
7591
7592         Patch by: Christophe Fergeau
7593
7594         * docs/pwg/advanced-tagging.xml:
7595         * docs/pwg/building-pads.xml:
7596           fixes #333416
7597
7598 2006-03-07  Wim Taymans  <wim@fluendo.com>
7599
7600         * docs/libs/gstreamer-libs-sections.txt:
7601         Added basesink new methods.
7602
7603         * gst/gstevent.c:
7604         * gst/gstevent.h:
7605         Docs updates. Flesh out the QoS docs.
7606
7607         * libs/gst/base/gstadapter.c:
7608         Small doc clarification about ownership and flushing.
7609
7610         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
7611         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7612         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
7613         (gst_base_sink_get_property), (gst_base_sink_do_sync):
7614         * libs/gst/base/gstbasesink.h:
7615         API additions: 
7616         Added new methods to allow subclass to control max-lateness 
7617         and sync.
7618         Generate very basic QoS events based on last sync observation.
7619         Updated docs, fix typo, added some QoS blurb.
7620
7621         * libs/gst/base/gstbasesrc.c:
7622         Remove obsolete _get_state() calls from docs.
7623
7624 2006-03-07  Wim Taymans  <wim@fluendo.com>
7625
7626         * docs/libs/gstreamer-libs-sections.txt:
7627         * libs/gst/base/gstbasetransform.h:
7628         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
7629         Fix docs for GstBaseSrc.
7630
7631 2006-03-07  Wim Taymans  <wim@fluendo.com>
7632
7633         * docs/gst/gstreamer-sections.txt:
7634         * gst/gstbuffer.h:
7635         * gst/gstvalue.c:
7636         * libs/gst/base/gstbasetransform.h:
7637         Small documentation fixes.
7638
7639 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7640
7641         * gst/gstvalue.c:
7642           Document thread-unsafety of gst_value_register_foo_func()
7643           when used at the same time as gst_value_foo() (#322628).
7644
7645 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7646
7647         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
7648         (gst_push_src_check_get_range):
7649           Push sources don't support pull mode by default.
7650
7651 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
7652
7653         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7654         (gst_base_src_init), (gst_base_src_pad_check_get_range),
7655         (gst_base_src_default_check_get_range):
7656         * libs/gst/base/gstbasesrc.h:
7657           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
7658           provide default implementation, and rename
7659           gst_base_src_check_get_range() to
7660           gst_base_src_pad_check_get_range() for clarity.
7661
7662 2006-03-06  Wim Taymans  <wim@fluendo.com>
7663
7664         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7665         Make property overridable.
7666
7667 2006-03-06  Wim Taymans  <wim@fluendo.com>
7668
7669         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7670         (gst_base_sink_init), (gst_base_sink_set_property),
7671         (gst_base_sink_get_property), (gst_base_sink_do_sync):
7672         * libs/gst/base/gstbasesink.h:
7673         API addition: Make max-lateness a property.
7674
7675 2006-03-06  Wim Taymans  <wim@fluendo.com>
7676
7677         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
7678         (gst_base_sink_do_sync), (gst_base_sink_render_object):
7679         Don't ever draw a frame that is >10ms late.
7680
7681 2006-03-06  Michael Smith  <msmith@fluendo.com>
7682
7683         * gst/gstmessage.c: (_gst_message_copy):
7684           When copying a message, set the parent_refcount of the enclosed
7685           structure to point at the copy, not the original message.
7686
7687 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
7688
7689         Patch by: Christophe Fergeau
7690
7691         * gst/gstutils.h:
7692           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
7693           usable in c++ code (#333417)
7694
7695 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7696
7697         * gst/gstclock.h:
7698           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
7699
7700 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
7701
7702         * libs/gst/base/gstbasetransform.c:
7703         (gst_base_transform_transform_caps):
7704           Make sure caps are writable before passing them to
7705           gst_caps_append().
7706
7707 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
7708
7709         * gst/gsterror.h:
7710           Fix some minor docs errors.
7711
7712 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
7713
7714           Patch by: Ross Burton <ross at burtonini dot com>
7715
7716         * gst/gsterror.c: (_gst_resource_errors_init):
7717         * gst/gsterror.h:
7718           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
7719
7720 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
7721
7722         * gst/gst.c:
7723         Add a check and output a g_warning when GStreamer is built
7724         against GLib 2.6 but running against 2.8 or higher, and vice 
7725         versa. (Closes: #323542)
7726
7727 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
7728
7729         * gst/parse/parse.l:
7730           Commit patch for parse_launch syntax from #331255. Removes 
7731           support for quoted strings and mimetypes when writing filtered 
7732           caps. See the bug report for more details - I'm pretty sure this
7733           obscure feature is not in use by _anyone_ anywhere.
7734
7735           With this simple change, the size of the gstreamer.so here 
7736           drops from 2193KB to 1565KB.
7737
7738 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
7739
7740         * plugins/elements/gsttypefindelement.h:
7741         * plugins/elements/gsttypefindelement.c:
7742         (gst_type_find_element_src_event), (start_typefinding),
7743         (stop_typefinding), (gst_type_find_element_handle_event),
7744         (gst_type_find_element_chain),
7745         (gst_type_find_element_chain_do_typefinding):
7746           Use gst_type_find_helper_for_buffer() for chain-based
7747           typefinding.
7748
7749 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
7750
7751         * plugins/elements/gsttypefindelement.c:
7752         (gst_type_find_element_class_init),
7753         (gst_type_find_element_set_property),
7754         (gst_type_find_element_get_property):
7755           Deprecate "maximum" property (not only was it only taken into
7756           account for typefinding in push-mode anyway, it also was never
7757           actually possible to set it in the first place because the
7758           property was registered with the numeric property ID for the
7759           "minimum" property). Register "maximum" property correctly,
7760           for the sake of future copy'n'pasters. Remove some cruft
7761           from property get/set functions.
7762
7763 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
7764
7765         * plugins/elements/gsttypefindelement.c:
7766         (gst_type_find_element_activate):
7767           Use gst_type_find_helper_get_range() here, so we
7768           can honour the "minimum" property and also emit
7769           the signal with the correct probability of the found caps.
7770
7771 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
7772
7773         * docs/libs/gstreamer-libs-sections.txt:
7774         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7775         (helper_find_suggest), (gst_type_find_helper_get_range),
7776         (gst_type_find_helper):
7777         * libs/gst/base/gsttypefindhelper.h:
7778           New API: gst_type_find_helper_get_range() (#333042).
7779
7780 2006-03-02  Michael Smith  <msmith@fluendo.com>
7781
7782         * gst/gstregistryxml.c: (load_feature):
7783           Asserting on a failure to read part of the registry is Not Cool.
7784           Just log a warning and return NULL (which is already handled)
7785
7786 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
7787
7788         * win32/common/libgstbase.def:
7789           added export of gst_type_find_helper_for_buffer
7790         * win32/common/libgstbase.def:
7791           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
7792           gst_ghost_pad_get_target
7793
7794 2006-02-28  Wim Taymans  <wim@fluendo.com>
7795
7796         * docs/design/draft-klass.txt:
7797         We use Filter now.
7798         Added Connector to mark elements that are only used to
7799         allow pipeline connections.
7800         Moved Debug to extra feature since most of them are 
7801         functionally something else.
7802
7803 2006-02-28  Wim Taymans  <wim@fluendo.com>
7804
7805         * docs/design/draft-klass.txt:
7806         Some updates and clarifications.
7807
7808 2006-02-28  Wim Taymans  <wim@fluendo.com>
7809
7810         * docs/design/draft-klass.txt:
7811         Proposal for klass field values.
7812
7813         * docs/design/part-streams.txt:
7814         Start of a doc describing stream anatomy.
7815
7816 2006-02-28  Wim Taymans  <wim@fluendo.com>
7817
7818         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
7819         Help the compiler a bit with type registration.
7820         Use existing forward cod path instead of duplicating it when 
7821         handling a message.
7822         
7823         * gst/gstbus.c: (gst_bus_get_type):
7824         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
7825         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
7826         * gst/gstclock.c: (gst_clock_get_type):
7827         * gst/gstelement.c: (gst_element_get_type),
7828         * gst/gstelementfactory.c: (gst_element_factory_get_type):
7829         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7830         * gst/gstminiobject.c: (gst_mini_object_get_type):
7831         * gst/gstpad.c: (gst_pad_get_type):
7832         * gst/gstsegment.c: (gst_segment_get_type):
7833         * gst/gststructure.c: (gst_structure_get_type):
7834         * gst/gstsystemclock.c: (gst_system_clock_get_type):
7835         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
7836         * gst/gstvalue.c:
7837         Help compiler with type registration.
7838
7839         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
7840         Small doc update.
7841
7842 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7843
7844         * plugins/elements/gsttypefindelement.c:
7845         (gst_type_find_element_handle_event):
7846           When we get an EOS event and have not found a type yet
7847           (most likely because we had not yet accumulated
7848           TYPE_FIND_MIN_SIZE of data yet), try to determine the
7849           type given the data we have so far. Fixes typefinding
7850           for very short streams again, most notably quicktime
7851           redirections as used on Apple's trailer site (#331701).
7852
7853 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7854
7855         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
7856         (gst_type_find_helper):
7857           Try typefinding factories with the highest rank first.
7858
7859 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7860
7861         * docs/libs/gstreamer-libs-docs.sgml:
7862         * docs/libs/gstreamer-libs-sections.txt:
7863         * libs/gst/base/gsttypefindhelper.c:
7864           Add section for typefind helper and add documentation
7865           for the old and the new function.
7866
7867 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7868
7869         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
7870         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
7871         (gst_type_find_helper_for_buffer):
7872         * libs/gst/base/gsttypefindhelper.h:
7873           New API: gst_type_find_helper_for_buffer() (#332723).
7874           
7875 2006-02-27  Michael Smith  <msmith@fluendo.com>
7876
7877         Patch by: Loïc Minier
7878
7879         * configure.ac:
7880         * docs/Makefile.am:
7881         * docs/slides/Makefile.am:
7882           prevent CVS directories getting disted.
7883
7884 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7885
7886         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
7887           Use the REFCOUNTING category for caps refcounting.
7888           
7889 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
7890
7891         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
7892           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
7893
7894 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
7895
7896         * plugins/elements/gsttypefindelement.c:
7897         (gst_type_find_element_activate):
7898           Use gst_pad_check_pull_range() before _activate_pull()
7899           to avoid unnecessary open/close (see #331690).
7900
7901 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
7902
7903         * gst/gstutils.c:
7904           Docs enhancement: make it crystal clear what the
7905           gst_pad_add_*_probe() callbacks should look like.
7906
7907 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
7908
7909         * libs/gst/base/gstbasesrc.c:
7910           Document how applications can stop recording from
7911           live sources (see #330996).
7912
7913 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7914
7915         * tests/check/Makefile.am:
7916         * tests/check/libs/basesrc.c: (eos_event_counter),
7917         (basesrc_eos_events_pull), (basesrc_eos_events_push),
7918         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
7919         (gst_basesrc_suite), (main):
7920           ... and add some tests for the base source EOS stuff.
7921
7922 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7923
7924         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
7925           Test case originally showed the problem fixed below,
7926           but was then amended. Add checks back at the place
7927           where they used to be.
7928
7929 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7930
7931         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7932         (gst_base_src_init), (gst_base_src_loop),
7933         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7934         (gst_base_src_change_state):
7935         * libs/gst/base/gstbasesrc.h:
7936           Don't unconditionally send EOS when going from PAUSED to
7937           READY state, esp. make sure we don't send two EOS events
7938           in some cases (e.g. one when reaching EOS and one when
7939           going from PAUSED to READY). Also, we don't want to send
7940           EOS events when operating in pull mode. However, we do
7941           want to send an EOS event when shutting down a live
7942           source explicitly, for example (fixes #330996).
7943           
7944 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7945
7946         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7947           Update src->read_position after a seek when not using mmap.
7948           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
7949
7950 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
7951
7952         * gst/Makefile.am:
7953         * gst/gstparse.h:
7954         * gst/gstutils.c:
7955         * gst/gstutils.h:
7956         Make things work with --disable-parse as they do with 
7957         --disable-load-save - the symbols involved disappear, but the
7958         header is still installed and GST_DISABLE_PARSE is included via
7959         gstconfig.h
7960
7961 2006-02-20  Julien MOUTTE  <julien@moutte.net>
7962
7963         * libs/gst/base/gstbasetransform.c:
7964         (gst_base_transform_change_state): Fix a stupid bug. I was 
7965         sure I compiled that.
7966
7967 2006-02-20  Julien MOUTTE  <julien@moutte.net>
7968
7969         * gst/gstpad.c: (gst_pad_set_blocked_async):
7970         * gst/gstutils.c: (gst_pad_add_data_probe),
7971         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7972         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7973         (gst_pad_remove_buffer_probe): Make those function act on the
7974         ghostpad target when it's a ghostpad. (Closes #331727)
7975
7976 2006-02-20  Julien MOUTTE  <julien@moutte.net>
7977
7978         * libs/gst/base/gstbasetransform.c:
7979         (gst_base_transform_change_state): Make basetransform reusable.
7980         (Closes #331898)
7981
7982 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
7983
7984         * docs/random/release:
7985         Move the current documentation of how to do a release to the top
7986         of the file.
7987
7988         * gst/gstbin.c: (gst_bin_class_init),
7989         (gst_bin_handle_message_func):
7990         Allow multiple state-recalculation threads. (Closes #328873)
7991
7992 2006-02-19  Julien MOUTTE  <julien@moutte.net>
7993
7994         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
7995         * gst/gstpad.c: (gst_pad_set_event_function),
7996         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7997         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
7998         2 strings. You can't use the STR_NULL macro on that.
7999
8000 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
8001
8002         * gst/gstpad.c: (gst_pad_set_event_function),
8003         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8004         (gst_pad_set_getcaps_function)
8005         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
8006           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
8007           So now, we can use --gst-debug-level=5 on Windows
8008         * win32/common/libgstcontroller.def:
8009           Added export of gst_controller_init
8010         * win32/vs6/libgstcontroller.dsp:
8011           Fixed Release post build configuration
8012
8013 2006-02-17  Wim Taymans  <wim@fluendo.com>
8014
8015         * tests/check/gst/gstquery.c: (GST_START_TEST):
8016         Added another check.
8017
8018 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
8019
8020         * plugins/elements/gsttypefindelement.c: (find_peek):
8021           We can do peeks at non-zero offsets, as long as they
8022           fall within the buffer we have.
8023
8024 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
8025
8026         * tests/check/Makefile.am:
8027         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
8028         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
8029         (parse_suite), (main):
8030           Add testsuite for parse launch syntax
8031
8032 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
8033
8034         * plugins/elements/gsttypefindelement.c:
8035         (gst_type_find_element_chain):
8036           When typefinding is unsuccessful in the chain function, don't
8037           error out immediately. Only error out with NO_CAPS_FOUND if
8038           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
8039           otherwise simply wait for more data so we can try typefinding
8040           again with more data later. Also, don't attempt to typefind
8041           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
8042           this should improve typefinding from network sources where the
8043           size of the first buffer can be somewhat random.
8044
8045 2006-02-14  Wim Taymans  <wim@fluendo.com>
8046
8047         * docs/gst/gstreamer-sections.txt:
8048         * gst/gstpadtemplate.c:
8049         * gst/gstpadtemplate.h:
8050         Fix padtemplate docs, fixes #328805.
8051
8052 2006-02-14  Wim Taymans  <wim@fluendo.com>
8053
8054         * tools/gst-launch.c: (main):
8055         NO_PREROLL is not an ERROR so don't send confusing messages
8056         to the user.
8057
8058 2006-02-14  Wim Taymans  <wim@fluendo.com>
8059
8060         Patch by: Torsten Schoenfeld
8061
8062         * gst/gstregistry.c: (gst_registry_get_default),
8063         (_gst_registry_cleanup):
8064         Protect default registry with lock and ref/sink it.
8065         Fixes #324818
8066
8067 2006-02-14  Wim Taymans  <wim@fluendo.com>
8068
8069         * gst/gstbuffer.c:
8070         * gst/gstquery.c: (gst_query_list_add_format),
8071         (gst_query_set_formatsv), (gst_query_parse_formats_length),
8072         (gst_query_parse_formats_nth):
8073         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8074         Docs fixes.
8075
8076 2006-02-14  Wim Taymans  <wim@fluendo.com>
8077
8078         * docs/gst/gstreamer-sections.txt:
8079         Reworked query docs.
8080
8081         * gst/gstquery.c: (gst_query_new_formats),
8082         (gst_query_list_add_format), (gst_query_set_formats),
8083         (gst_query_set_formatsv), (gst_query_parse_formats_length),
8084         (gst_query_parse_formats_nth):
8085         * gst/gstquery.h:
8086         Flesh out formats query, added some new methods.
8087         Fix part of #324398.
8088
8089         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
8090         Added query creation tests.
8091
8092 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
8093
8094         * gst/gstpad.c: (fixate_value):
8095         Add a default fixation for fraction lists.
8096
8097 2006-02-13  Wim Taymans  <wim@fluendo.com>
8098
8099         * gst/gsttask.c: (gst_task_init), (gst_task_func),
8100         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
8101         (gst_task_join):
8102         * gst/gsttask.h:
8103         Detect and warn for obvious deadlocks. fixes #320340
8104         Fix error case where lock was not released.
8105
8106         * tests/check/Makefile.am:
8107         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
8108         (task_func), (gst_element_suite), (main):
8109         Add task check.
8110
8111 2006-02-13  Wim Taymans  <wim@fluendo.com>
8112
8113         * docs/gst/gstreamer-sections.txt:
8114         * gst/gstbus.c:
8115         Add new functions to docs.
8116
8117 2006-02-13  Wim Taymans  <wim@fluendo.com>
8118
8119         * docs/design/part-TODO.txt:
8120         Updated TODO list, basesrc supports seeking to non-bytes
8121         formats.
8122
8123         * docs/design/part-element-sink.txt:
8124         Update docs.
8125
8126         * gst/gstbin.c: (bin_replace_message),
8127         (gst_bin_handle_message_func):
8128         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
8129         * gst/gstevent.c: (gst_event_finalize):
8130         * gst/gstpad.c: (gst_pad_event_default_dispatch),
8131         (gst_pad_send_event):
8132         Use shiny new _TYPE_NAME macros.
8133
8134         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8135         Move debug statement up.
8136
8137         * gst/gstelement.c: (gst_element_set_locked_state):
8138         Add some debugging.
8139
8140 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
8141
8142         * docs/gst/gstreamer-sections.txt:
8143         * gst/gstmessage.h:
8144         * gst/gstquery.h:
8145           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
8146           macros (#330906). Also, document the already existing
8147           GST_QUERY_TYPE macro.
8148
8149 2006-02-13  Wim Taymans  <wim@fluendo.com>
8150
8151         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
8152         (event_probe), (GST_START_TEST):
8153         Only events up to the pipeline EOS are counted, there are
8154         some more when going to NULL currently which we don't care
8155         about for now.
8156
8157 2006-02-13  Wim Taymans  <wim@fluendo.com>
8158
8159         * gst/gstpad.c: (gst_pad_send_event):
8160         Correctly check flushing and emit probes. fixes #330125
8161
8162 2006-02-10  Andy Wingo  <wingo@pobox.com>
8163
8164         * gst/gstbus.c (gst_bus_class_init): Declare our private data
8165         structure.
8166         (gst_bus_init): Cache the location of the private data in the
8167         instance structure.
8168         (gst_bus_enable_sync_message_emission) 
8169         (gst_bus_disable_sync_message_emission): Implement new public
8170         functions.
8171         (gst_bus_post): Emit the sync-message signal if the user asked for
8172         it. Fixes #330684.
8173
8174         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
8175         location of the bus-private structure.
8176         (gst_bus_enable_sync_message_emission)
8177         (gst_bus_disable_sync_message_emission): API addition
8178
8179 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
8180
8181         Patch by: Vincent Torri
8182
8183         * docs/pwg/building-boiler.xml:
8184         PWG patch from #326800
8185
8186 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8187
8188         * configure.ac:
8189         * docs/Makefile.am:
8190         * docs/design/Makefile.am:
8191           Dist design docs.
8192
8193 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
8194
8195         * configure.ac:
8196           back to CVS
8197
8198 === release 0.10.3 ===
8199
8200 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
8201
8202         * configure.ac:
8203           releasing 0.10.3, "Like a virgin"
8204
8205 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
8206
8207         * configure.ac:
8208           2nd prerelease of 0.10.3
8209           Bump libtool versioning.
8210
8211 2006-02-07  Andy Wingo  <wingo@pobox.com>
8212
8213         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
8214         update last_stop if we're in TIME format and the timestamp is
8215         valid.
8216
8217         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
8218         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
8219         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
8220         If we get a new newsegment with a different format, adapt
8221         accordingly.
8222
8223         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
8224         of 0. Not a problem, really.
8225
8226         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
8227         warn if sync=true.
8228
8229 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
8230
8231         * configure.ac:
8232           Prelease of 0.10.3
8233
8234 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
8235
8236         * win32/vs7:
8237           project files updated to the default vs7 configuration
8238         * win32/common/libgstbase.def:
8239         * win32/common/libgstreamer.def:
8240           added new symbols,
8241           removed empty lines,
8242           sorted all exported symbols alphabetically
8243         * win32/common/dirent.c:
8244         * win32/common/dirent.h:
8245         * win32/common/gchar.h:
8246           use windows line end.
8247           
8248 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
8249
8250         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8251           Send EOS event when stopping.
8252
8253 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
8254
8255         * docs/README:
8256           Tell folks what to do if the plugin-foobar.xml file
8257           hasn't been generated for a newly-added plugin.
8258
8259 2006-02-05  Julien MOUTTE  <julien@moutte.net>
8260
8261         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8262         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8263         (gst_collect_pads_start), (gst_collect_pads_stop),
8264         (gst_collect_pads_event): Collectpads now holds a reference
8265         to the GstPad that was added. Indeed we don't want to look
8266         at pads that might just go away with no warning...
8267
8268 2006-02-05  Julien MOUTTE  <julien@moutte.net>
8269
8270         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8271         (gst_collect_pads_start), (gst_collect_pads_stop),
8272         (gst_collect_pads_event), (gst_collect_pads_chain):
8273         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
8274         Mark Nauwelaerts's patch on bug #328491.
8275
8276 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8277
8278         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
8279         (gst_utils_suite):
8280           Add some simple tests for gst_parse_bin_from_description() and
8281           gst_bin_find_unconnected_pad() (#329069).
8282
8283 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8284
8285         * tools/gst-launch.c: (event_loop), (main):
8286           Catch errors during preroll (#320084).
8287
8288 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
8289
8290         * plugins/elements/gsttypefindelement.c:
8291         (gst_type_find_element_activate):
8292           Post TYPE_NOT_FOUND error message when typefinding
8293           is unsuccessful in the activate function as well.
8294
8295 2006-02-02  Wim Taymans  <wim@fluendo.com>
8296
8297         * docs/design/part-element-sink.txt:
8298         Updated doc.
8299
8300 2006-02-02  Wim Taymans  <wim@fluendo.com>
8301
8302         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8303         (gst_base_sink_render_object),
8304         (gst_base_sink_queue_object_unlocked):
8305         Only keep track of prerollable items when we are 
8306         prerolling.
8307         Before rendering after preroll, always check if we
8308         have queued items.
8309         Added some more debugging.
8310
8311 2006-02-02  Wim Taymans  <wim@fluendo.com>
8312
8313         * gst/gstelement.c: (gst_element_continue_state),
8314         (gst_element_set_state_func), (gst_element_change_state):
8315         Fixed #326576, been running this for quite some time with
8316         no regressions at all.
8317
8318 2006-02-02  Wim Taymans  <wim@fluendo.com>
8319
8320         * common/gst.supp:
8321         Added more suppressions
8322
8323 2006-02-02  Wim Taymans  <wim@fluendo.com>
8324
8325         * docs/design/part-element-sink.txt:
8326         Updated document.
8327
8328         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8329         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
8330         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
8331         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8332         (gst_base_sink_do_sync), (gst_base_sink_render_object),
8333         (gst_base_sink_preroll_object),
8334         (gst_base_sink_queue_object_unlocked),
8335         (gst_base_sink_queue_object), (gst_base_sink_event),
8336         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
8337         (gst_base_sink_loop), (gst_base_sink_activate_pull),
8338         (gst_base_sink_get_position), (gst_base_sink_change_state):
8339         * libs/gst/base/gstbasesink.h:
8340         Totally refactored matching the design doc.
8341         Use two segments, one to clip incomming buffers and another to
8342         perform sync.
8343         Handle queueing correctly, bypass the queue when playing.
8344         Make EOS cancelable.
8345         Handle errors correctly when operating in pull based mode.
8346
8347         * tests/check/elements/fakesink.c: (GST_START_TEST),
8348         (fakesink_suite):
8349         Added new check for sinks.
8350
8351 2006-02-02  Wim Taymans  <wim@fluendo.com>
8352
8353         * gst/gstsegment.c: (gst_segment_clip):
8354         No reason to refuse to clip when start == -1
8355
8356 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
8357
8358         * docs/README:
8359         * docs/manual/intro-basics.xml:
8360         * docs/manual/intro-preface.xml:
8361         * docs/manual/manual.xml:
8362         * docs/pwg/advanced-dparams.xml:
8363         * docs/pwg/intro-basics.xml:
8364         * docs/pwg/intro-preface.xml:
8365         * docs/pwg/pwg.xml:
8366           describe dparams (controller) for plugins
8367           unify docs a little more
8368
8369 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
8370
8371         * docs/gst/gstreamer-sections.txt:
8372         * gst/gstutils.c: (element_find_unconnected_pad),
8373         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
8374         * gst/gstutils.h:
8375           Add new API: gst_parse_bin_from_description() and
8376           gst_bin_find_unconnected_pad() (#329069).
8377
8378 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
8379
8380         * docs/manual/README:
8381           uncover a nasty detail of the docs build
8382
8383 2006-01-31  Wim Taymans  <wim@fluendo.com>
8384
8385         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
8386         Don't cache duration messages if we're not going to use or
8387         free them.
8388
8389 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
8390
8391         * docs/manual/advanced-dparams.xml:
8392         * docs/pwg/advanced-dparams.xml:
8393           more dparam docs
8394         * gst/gstindex.c:
8395           fix docs
8396         * libs/gst/controller/lib.c: (gst_controller_init):
8397           init just once
8398
8399 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
8400
8401         * gst/gstelement.c: (gst_element_message_full):
8402           also show file/line/func if no additional debug was given
8403
8404 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
8405         
8406         * win32/vs7/grammar.vcproj:
8407           activate copy of autogenerated files for Release mode
8408
8409 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
8410         
8411         * win32/common/libgstreamer.def:
8412           export gst_value_compare
8413
8414 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
8415
8416         * plugins/elements/Makefile.am:
8417         * plugins/elements/gstelements.c:
8418         * plugins/elements/gstfdsink.c: (_do_init),
8419         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
8420         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
8421         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
8422         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
8423         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
8424         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
8425         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
8426         * plugins/elements/gstfdsink.h:
8427         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
8428
8429 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
8430
8431         * docs/manual/advanced-dparams.xml:
8432           describe controller
8433         * docs/manual/advanced-position.xml:
8434         * docs/manual/basics-init.xml:
8435         * docs/manual/manual.xml:
8436         * docs/manual/titlepage.xml:
8437         * docs/pwg/pwg.xml:
8438         * docs/pwg/titlepage.xml:
8439           cleanup xml (more to come)
8440         * libs/gst/controller/gstcontroller.c:
8441           fix typo
8442
8443 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
8444         
8445         * win32/vs6/grammar.dsp:
8446           add autogen of gstmarshal.c,h for Release mode
8447                 
8448 2006-01-30  Wim Taymans  <wim@fluendo.com>
8449
8450         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8451         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
8452         (gst_base_sink_handle_object), (gst_base_sink_event),
8453         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
8454         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8455         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
8456         (gst_base_sink_deactivate), (gst_base_sink_activate),
8457         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8458         (gst_base_sink_query), (gst_base_sink_change_state):
8459         Basesink cleanups, remove some old code.
8460         Handle the case where a subclass can preroll in the render
8461         method (mostly audiosinks).
8462         Handle more events.
8463         Remove some locks around variables that are now protected
8464         with the PREROLL_LOCK (clock_id, flushing, ..).
8465         Optimize position query some more, do correct locking.
8466         Remove old code to push queue in state change, this is not
8467         needed anymore since preroll blocks on all prerollable items 
8468         now.
8469         Almost implemented as described in design doc.
8470
8471 2006-01-30  Wim Taymans  <wim@fluendo.com>
8472
8473         * tests/check/gst/gstbin.c: (GST_START_TEST):
8474         Wait for refcount to settle down before checking.
8475
8476 2006-01-30  Wim Taymans  <wim@fluendo.com>
8477
8478         * docs/design/part-element-sink.txt:
8479         Pseudo code overview of desired sink behaviour regarding
8480         preroll.
8481
8482 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8483         * win32/vs6/grammar.dsp:
8484           fix some bugs in Release mode for autogenerated files
8485                 
8486 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8487         * win32/common/libgstbase.def:
8488         * win32/common/libgstreamer.def:
8489           export some new symbols: gst_base_src_set_format,
8490           gst_iterator_next, gst_structure_set_valist
8491
8492 2006-01-29  Julien MOUTTE  <julien@moutte.net>
8493
8494         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8495         Set pad functions unconditionally. Fixes #329105.
8496
8497 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8498         * win32/vs8:
8499           add vs8 project files created by Sergey Scobich
8500
8501 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
8502
8503         * gst/gstutils.c: (gst_element_unlink_pads):
8504         Don't leak pad references.
8505
8506         * tests/check/elements/fakesink.c: (GST_START_TEST):
8507         * tests/check/generic/sinks.c: (GST_START_TEST):
8508         * tests/check/generic/states.c: (GST_START_TEST):
8509         * tests/check/gst/gstbin.c: (GST_START_TEST):
8510         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8511         * tests/check/gst/gstelement.c: (GST_START_TEST):
8512         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8513         * tests/check/gst/gstiterator.c: (GST_START_TEST):
8514         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8515         Fix a bunch of leaks. Make generic/sinks.c
8516         use a bit less cpu by slowing the buffer rate
8517         between fakesrc and fakesink.
8518         
8519 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
8520         * gst/gstcaps.c:
8521         * gst/gstelement.c: (gst_element_send_event):
8522         * gst/gstevent.c:
8523         * gst/gstinfo.c:
8524         * gst/gstiterator.c:
8525         * gst/gstiterator.h:
8526         * gst/gstpad.c: (gst_pad_send_event):
8527         * gst/gststructure.c:
8528         * gst/gsturi.c:
8529         * gst/gstutils.c:
8530         * gst/gstvalue.c:
8531         * libs/gst/base/gstadapter.c:
8532           doc fixes, to link to function, just write gst_cool_function(), don't
8533           prefix with '#'
8534
8535 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8536
8537         * plugins/elements/gsttee.c: (gst_tee_do_push),
8538         (gst_tee_handle_buffer):
8539         Always prefer an actual return value from a src
8540         pad in place of NOT_LINKED. This means we return
8541         WRONG_STATE when all src pads are WRONG_STATE
8542         instead of NOT_LINKED.
8543
8544         Lock when replacing the last message to prevent
8545         racing with the get_property method.
8546
8547         Add debug output
8548
8549 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8550
8551         * tests/check/Makefile.am:
8552         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
8553         (main):
8554         Add a very simple check that should have caught the memleak I fixed
8555         last night (if not for the slice allocator hiding it)
8556
8557 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8558
8559         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8560         (gst_bin_remove_func), (gst_bin_handle_message_func),
8561         (bin_query_duration_fold), (bin_query_generic_fold):
8562         Clean up references to the clock provider when disposed or when
8563         handling a clock-lost message from it.
8564
8565         Unref sinks when performing a query via gst_iterator_fold, as the
8566         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
8567
8568         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
8569         (gst_clock_set_master):
8570         Drop our reference to the master clock, if any, when we are disposed.
8571
8572         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
8573         Chain up in dispose. 
8574
8575 2006-01-26  Wim Taymans  <wim@fluendo.com>
8576
8577         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8578         Add some debugging.
8579
8580 2006-01-26  Julien MOUTTE  <julien@moutte.net>
8581
8582         * plugins/elements/gsttee.c: (gst_tee_do_push),
8583         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
8584         handles pad being NOT_LINKED or in WRONG_STATE.
8585
8586 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8587
8588         * win32/MANIFEST:
8589           more updating
8590
8591 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8592
8593         * win32/MANIFEST:
8594           remove obsolete entry
8595
8596 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8597
8598         * docs/gst/gstreamer-sections.txt:
8599         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
8600         (gst_bin_iterate_sources), (gst_bin_send_event):
8601         * gst/gstbin.h:
8602         * gst/gstelement.c: (gst_element_send_event):
8603         * gst/gstevent.c:
8604         * gst/gstpad.c: (gst_pad_send_event):
8605           added code for downstream events, reviewed docs in gstevent.c
8606
8607 2006-01-25  Julien MOUTTE  <julien@moutte.net>
8608
8609         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8610         We only query position using the clock in the playing state.
8611         Query peer in the other cases.
8612         * win32/common/config.h: Updates.
8613
8614 2006-01-24  Wim Taymans  <wim@fluendo.com>
8615
8616         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8617         A clock entry that is scheduled for the exact time of the
8618         clock is still in time.
8619
8620         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8621         (gst_base_sink_do_sync):
8622         Add some more debug info.
8623
8624 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
8625
8626         * win32/vs7:
8627           Add new vs7 project files and solution.
8628
8629 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
8630
8631         * win32/vs7:
8632           all files removed as they were out-dated.
8633
8634 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8635
8636         * docs/random/release:
8637           update notes
8638         * gst/gstbin.c: (gst_bin_init):
8639         * gst/gstbus.c: (gst_bus_new):
8640         * gst/gstbus.h:
8641         * gst/gstpipeline.c: (gst_pipeline_init):
8642           use gst_bus_new(), improve logging, fix docs
8643         * win32/common/config.h:
8644           update for cvs build
8645
8646 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8647
8648         * autogen.sh:
8649           up required version of automake to 1.7
8650
8651 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
8652
8653         * win32/common/libgstreamer.def:
8654           export gst_buffer_is_metadata_writable
8655
8656 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
8657
8658         * docs/gst/gstreamer-sections.txt:
8659         * gst/gstevent.h:
8660           Add gst_event_replace() (#327001)
8661
8662 2006-01-20  Wim Taymans  <wim@fluendo.com>
8663
8664         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8665         Make it actually compile too..
8666
8667 2006-01-20  Wim Taymans  <wim@fluendo.com>
8668
8669         * gst/gstcaps.c:
8670         Clarify behaviour of _is_equal() when passing NULL parameters.
8671
8672         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8673         (gst_pad_set_caps):
8674         Cleanups. Don't unref NULL caps.
8675         When setting the same caps, protect caps of the pad with
8676         proper lock.
8677         Use full functionality of _is_equal() when comparing caps.
8678
8679 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
8680
8681         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8682         Don't loop infinitely if there are no buffers to present. Partially
8683         fixes #327197, but collectpads is just broken for reusing elements
8684         to do multiple encodes atm.
8685
8686 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
8687
8688         * tools/gst-inspect.c: (print_element_features):
8689         * tools/gst-xmlinspect.c: (main):
8690         URL_HANDLER is not a plugin feature we can search for in
8691         the registry.
8692
8693 2006-01-19  Edward Hervey  <edward@fluendo.com>
8694
8695         * gst/gstelement.c: (gst_element_pads_activate): 
8696         When activating, do src pads first, then sink pads.
8697         When de-activating, do sink pads first, then src pads.
8698
8699 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8700
8701         * docs/gst/gstreamer-sections.txt:
8702         Add gst_index_add_associationv to the docs
8703
8704 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8705
8706         * gst/gstevent.c:
8707           Fix docs typo
8708
8709         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
8710         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
8711           Do some refactoring. Doesn't actually change functionality,
8712           but makes landing the DRAIN event easier later.
8713
8714 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
8715
8716         * docs/pwg/advanced-scheduling.xml:
8717           Update from 0.9.x to 0.10 API and make example a bit
8718           clearer.
8719
8720 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8721
8722         * docs/gst/gstreamer-sections.txt:
8723         Add gst_buffer_(is|make)_metadata_writable methods.
8724
8725 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8726
8727         * docs/design/part-sparsestreams.txt:
8728         Update sparse streams doc, hopefully for greater clarity
8729
8730 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
8731
8732         * docs/design/part-events.txt:
8733         Remove mention of FILLER events.
8734         Add DRAIN event.
8735
8736         * docs/design/part-sparsestreams.txt:
8737         Write some things about using NEWSEGMENT to keep sparse streams
8738         flowing.
8739
8740 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
8741
8742         * gst/gstbin.c: (gst_bin_dispose):
8743           Guard gst_object_unref call against a NULL object (dispose
8744           can theoretically be called multiple times).
8745           
8746 2006-01-18  Wim Taymans  <wim@fluendo.com>
8747
8748         * gst/gstbin.c: (gst_bin_element_set_state):
8749         * gst/gstclock.c: (gst_clock_id_wait):
8750         Added some more debug info.
8751
8752         * libs/gst/base/gstadapter.c:
8753         Added more docs.
8754
8755         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8756         (gst_base_sink_do_sync), (gst_base_sink_chain):
8757         Added some comments.
8758
8759 2006-01-18  Wim Taymans  <wim@fluendo.com>
8760
8761         * tests/check/Makefile.am:
8762         * tests/check/elements/fakesink.c: (chain_async_buffer),
8763         (chain_async), (chain_async_return), (GST_START_TEST),
8764         (fakesink_suite), (main):
8765         Added fakesink test that checks prerolling and clipping
8766         behaviour.
8767
8768         * tests/check/gst/gstutils.c: (GST_START_TEST):
8769         Make check run faster so that buildbots don't timeout.
8770
8771 2006-01-18  Wim Taymans  <wim@fluendo.com>
8772
8773         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8774         (gst_base_sink_do_sync):
8775         Some cleanups.
8776         When the sink finishes blocking on the preroll buffer, it can
8777         immediatly render it instead of rendering when the next buffer
8778         arrives.
8779
8780 2006-01-18  Wim Taymans  <wim@fluendo.com>
8781
8782         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
8783         (gst_base_sink_get_property), (gst_base_sink_do_sync),
8784         (gst_base_sink_chain):
8785         Small cleanups.
8786         GST_ELEMENT_CLOCK and sync are protected with LOCK.
8787         Don't store _last_stop if the buffer is dropped.
8788
8789 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
8790
8791         * plugins/elements/gsttypefindelement.c:
8792         (gst_type_find_element_class_init):
8793           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
8794           object method handler that sets the caps on the pad and we want
8795           that to happen before we emit the signal (fixes e.g. feeding a
8796           plain text file to decodebin).
8797
8798 2006-01-18  Christian Schaller  <Christian@fluendo.com>
8799
8800         * gst/gstplugin.c: Add MPL and Proprietary as license options
8801
8802 2006-01-18  Andy Wingo  <wingo@pobox.com>
8803
8804         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
8805         symbol was exported before, it appears this was just an oversight.
8806         Fixes #168703.
8807         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
8808
8809         * gst/gstindex.c (gst_index_add_associationv): Changed int in
8810         prototype to gint. OK since this prototype was not in the header.
8811
8812 2006-01-17  Andy Wingo  <wingo@pobox.com>
8813
8814         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
8815         registry while we remove plugins.
8816
8817         * tools/gst-inspect.c (print_element_info): Don't unref the
8818         factory arg, that should be the responsibility of whatever code
8819         received the ref. Fixes a double-free when called from
8820         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
8821         (main): Unref the factory if we have one.
8822         (print_element_list): No change -- relies on the
8823         plugin_feature_list_free to free the list of features.
8824
8825 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
8826
8827         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8828         (gst_buffer_make_metadata_writable):
8829         * gst/gstbuffer.h:
8830         * libs/gst/base/gstbasetransform.c:
8831         (gst_base_transform_prepare_output_buf):
8832         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8833         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8834           Replace gst_buffer_(make|is)_metadata_writable patch now
8835           that the release is out.
8836
8837 2006-01-17  Andy Wingo  <wingo@pobox.com>
8838
8839         * gst/gstregistry.c: Reflow design comment. Update so as to speak
8840         in the present tense without reference to versions.
8841
8842         * gst/gstregistry.c (gst_registry_add_plugin)
8843         (gst_registry_remove_plugin, gst_registry_remove_feature)
8844         (gst_registry_find_feature, gst_registry_get_feature_list)
8845         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
8846         (gst_registry_lookup, gst_registry_scan_path)
8847         (_gst_registry_remove_cache_plugins)
8848         (gst_registry_get_feature_list_by_plugin): Add argument
8849         validation.
8850
8851 === release 0.10.2 ===
8852
8853 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
8854
8855         * configure.ac:
8856           releasing 0.10.2, "If man is five"
8857
8858 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
8859
8860         * gst/gstbuffer.c:
8861         * gst/gstbuffer.h:
8862         * libs/gst/base/gstbasetransform.c:
8863         (gst_base_transform_prepare_output_buf):
8864         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8865         * tests/check/gst/gstbuffer.c: (gst_test_suite):
8866           Back out patch until after the release.
8867
8868 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
8869
8870         * gst/gstminiobject.c:
8871           Spelling fix in docs.
8872         * ChangeLog - remove conflict indicator
8873
8874 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
8875
8876         Reviewed By: Andy Wingo
8877
8878         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8879         (gst_buffer_make_metadata_writable):
8880         * gst/gstbuffer.h:
8881           Add gst_buffer_(is|make)_metadata_writable as analogues of
8882           gst_buffer_(is|make)_writable.
8883
8884         * libs/gst/base/gstbasetransform.c:
8885         (gst_base_transform_prepare_output_buf):
8886         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8887           Use name gst_buffer_(is|make)_metadata_writable functions.
8888
8889         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8890           Test gst_buffer_(is|make)_metadata_writable
8891         
8892           (Closes: #324162)
8893
8894 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8895
8896         * docs/manual/Makefile.am:
8897           don't do parallel make
8898         * configure.ac:
8899           AC_SUBST HOST_CPU
8900         * win32/common/config.h.in:
8901           add generations for HOST_CPU and GST_MAJORMINOR
8902         * win32/common/config.h:
8903           commit generated result
8904
8905 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
8906
8907         * docs/manual/appendix-integration.xml:
8908           Update GNOME integration section to use gst_init_get_option_group()
8909           instead of the old popt stuff (#322911). Also, GNOME applications
8910           should  now use gconf*sink and gconf*src instead of the old gconf
8911           helper lib we had.
8912
8913 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
8914
8915
8916         * docs/gst/gstreamer-docs.sgml:
8917         * docs/gst/gstreamer-sections.txt:
8918         * docs/libs/gstreamer-libs-sections.txt:
8919           add new API entries to the docs
8920         * libs/gst/controller/Makefile.am:
8921         * libs/gst/controller/gstcontroller.c:
8922         * libs/gst/controller/gstcontroller.h:
8923         * libs/gst/controller/gstcontrollerprivate.h:
8924         * libs/gst/controller/gsthelper.c:
8925         * libs/gst/controller/gstinterpolation.c:
8926           move private structs to private header
8927         * po/README:
8928           gstreamer-0.7 -> gstreamer-0.10
8929         * tests/check/libs/struct_i386.h:
8930           remove private structs
8931
8932 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8933
8934         * plugins/indexers/Makefile.am:
8935           Fixes as part of #317048
8936
8937 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8938
8939         * plugins/indexers/Makefile.am:
8940           fix #316086 - compilation when mmap is missing
8941
8942 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
8943
8944         * libs/gst/base/gstbasesink.c:
8945           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
8946           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
8947         * win32/common/config.h:
8948           added some defines GST_MAJORMINOR and HOST_CPU
8949         * win32/common/libgstbase.def:
8950         * win32/common/libgstreamer.def:
8951           added some exported functions.
8952
8953 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
8954
8955         * libs/gst/controller/gstcontroller.c:
8956         (gst_controlled_property_set_interpolation_mode),
8957         (gst_controlled_property_new):
8958         * libs/gst/controller/gstcontroller.h:
8959         * libs/gst/controller/gstinterpolation.c:
8960         (interpolate_none_get_string_value_array):
8961           make G_TYPE_STRING controlable
8962
8963 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
8964
8965         * tools/README:
8966         * tools/gst-feedback.1.in:
8967         * tools/gst-inspect.1.in:
8968         * tools/gst-launch.1.in:
8969         * tools/gst-md5sum.1.in:
8970         * tools/gst-typefind.1.in:
8971         * tools/gst-xmlinspect.1.in:
8972         * tools/gst-xmllaunch.1.in:
8973           cleanup man-pages, remove reference to gst-register, document env-vars
8974
8975 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
8976
8977         * gst/gstbuffer.c: (gst_buffer_span):
8978           gst_buffer_span should copy the timestamp of the first buffer
8979           if they were both originally overlapping subbuffers of the 
8980           same parent, using the same logic as the 'slow copy' case.
8981
8982 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
8983
8984         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
8985           Need to awaken ALL the pads when we pop a buffer, otherwise
8986           collectpads only works when there is 2 input streams.
8987
8988 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
8989
8990         * docs/random/ensonic/media-device-daemon.txt:
8991           more ideas (dbus)
8992         * gst/gstbuffer.c:
8993           fix doc example, add clarification
8994         * tools/gst-launch.1.in:
8995           add initial info about GST_PLUGIN_PATH, needs more work
8996
8997 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8998
8999         * docs/manual/basics-bins.xml:
9000         * docs/manual/basics-elements.xml:
9001         * docs/manual/intro-basics.xml:
9002           Some more minor docs additions and updates.
9003
9004 2006-01-11  Wim Taymans  <wim@fluendo.com>
9005
9006         * docs/manual/basics-bins.xml:
9007         * docs/manual/basics-elements.xml:
9008         Some small fixes as pointed out by Ser-ver on IRC.
9009
9010 2006-01-10  Edward Hervey  <edward@fluendo.com>
9011
9012         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9013         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
9014         the single-segment mode.
9015
9016 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
9017
9018         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9019
9020         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
9021         (gst_base_src_perform_seek), (gst_base_src_send_event),
9022         (gst_base_src_set_property), (gst_base_src_get_property),
9023         (gst_base_src_loop), (gst_base_src_start),
9024         (gst_base_src_activate_push):
9025         * libs/gst/base/gstbasesrc.h:
9026           Name (private) union; makes Sun's Forte compiler happy (#324900).
9027
9028 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
9029
9030         * README:
9031           gst-register is gone.
9032
9033 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9034
9035         * gst/gstvalue.c: (_gst_value_initialize):
9036           make the G_TYPE_DATE instantiation work if debug is disabled
9037
9038 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
9039
9040         * gst/gstmessage.c: (gst_message_parse_tag),
9041         (gst_message_parse_error), (gst_message_parse_warning):
9042           Don't crash when return location for error/warning debug
9043           string is NULL; add fact that return locations can be
9044           NULL to docs where appropriate.
9045
9046 2006-01-05  Wim Taymans  <wim@fluendo.com>
9047
9048         * gst/gstplugin.c: (gst_plugin_load_file):
9049         Replace strdup by g_strdup.
9050
9051 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9052
9053         * docs/pwg/advanced-types.xml:
9054           fix doc borkage
9055
9056 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9057
9058         submitted by: Abel Cheung
9059
9060         * po/LINGUAS:
9061         * po/zh_TW.po:
9062           Added Chinese (traditional) translation
9063
9064 2006-01-04  Wim Taymans  <wim@fluendo.com>
9065
9066         * docs/manual/basics-pads.xml:
9067         * docs/plugins/Makefile.am:
9068         * docs/plugins/gstreamer-plugins-docs.sgml:
9069         * docs/plugins/gstreamer-plugins-sections.txt:
9070         * docs/pwg/advanced-clock.xml:
9071         * docs/pwg/advanced-scheduling.xml:
9072         * docs/pwg/advanced-types.xml:
9073         * plugins/elements/gstfdsink.c:
9074         * plugins/elements/gstfdsrc.c:
9075         * plugins/elements/gstfdsrc.h:
9076         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9077         * plugins/elements/gstidentity.h:
9078         * plugins/elements/gstqueue.h:
9079         * plugins/elements/gsttee.c:
9080         * plugins/elements/gsttee.h:
9081         * plugins/elements/gsttypefindelement.c:
9082         (gst_type_find_element_class_init):
9083         * plugins/elements/gsttypefindelement.h:
9084         Small updates to various docs.
9085         Added core plugins to docs.
9086
9087 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9088
9089         * common/gst.supp:
9090           add a suppression for liboil's uninitialized variable
9091
9092 2006-01-02  James Livingston  <jrl at ids dot org dot au>
9093
9094         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9095
9096         * gst/gstutils.h:
9097           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
9098           macro, so that gcc doesn't complain if the -Wmissing-prototypes
9099           compiler switch is being used (#325429).
9100
9101 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
9102
9103         * gst/gstbin.c: (gst_bin_query):
9104           Disable duration query caching in bins until it gets
9105           fixed (see #324807).
9106
9107 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
9108
9109         * tools/gst-inspect.c: (print_element_properties_info):
9110           Handle properties of POINTER and BOXED type.
9111
9112 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
9113
9114         * gst/gst.c: (init_post):
9115           Init tags stuff and some other things before loading
9116           any static plugins (there may be other static plugins
9117           than just the GStreamer ones, and they may want to
9118           register their own tags or formats or whatever, and
9119           preferably without segfaulting).
9120
9121         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
9122           Print at least a warning in the debug logs if we drop a
9123           query just because we don't know how to adjust the value
9124           in the particular format.
9125
9126 2005-12-24  David Schleef  <ds@schleef.org>
9127
9128         * tools/gstreamer-completion:
9129           Replacement for gst-complete written in sh and sed.  Only
9130           completes names of features, but that's 90% of what I want
9131           it for.  Properties are not available in registry.xml.  (Maybe
9132           they should be...)
9133
9134 === release 0.10.1 ===
9135
9136 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
9137
9138         * configure.ac:
9139           releasing 0.10.1, "Nollaig chridheil"
9140
9141 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
9142
9143         * docs/faq/cvs.xml:
9144           Add missing quote, should be make ERROR_CFLAGS="".
9145
9146 2005-12-20  Wim Taymans  <wim@fluendo.com>
9147
9148         * docs/design/part-trickmodes.txt:
9149         More documentation on trickmodes.
9150
9151 2005-12-20  Edward Hervey  <edward@fluendo.com>
9152
9153         * gst/gstcaps.c: (gst_static_caps_get_type):
9154         * gst/gstcaps.h:
9155           API addition: GST_TYPE_STATIC_CAPS
9156         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
9157         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
9158         * gst/gstpadtemplate.h:
9159           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
9160         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
9161         bindings.
9162
9163 2005-12-18  Wim Taymans  <wim@fluendo.com>
9164
9165         * libs/gst/base/gstadapter.c:
9166         * libs/gst/base/gstadapter.h:
9167         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9168         (gst_base_sink_get_position):
9169         * libs/gst/base/gstbasesink.h:
9170         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9171         (gst_base_src_default_query), (gst_base_src_default_do_seek),
9172         (gst_base_src_do_seek), (gst_base_src_perform_seek),
9173         (gst_base_src_send_event), (gst_base_src_update_length),
9174         (gst_base_src_get_range), (gst_base_src_loop),
9175         (gst_base_src_start):
9176         * libs/gst/base/gstbasesrc.h:
9177         * libs/gst/base/gstbasetransform.h:
9178         * libs/gst/base/gstcollectpads.h:
9179         * libs/gst/base/gstpushsrc.c:
9180         * libs/gst/base/gstpushsrc.h:
9181         * libs/gst/dataprotocol/dataprotocol.c:
9182         * libs/gst/dataprotocol/dataprotocol.h:
9183         * libs/gst/net/gstnetclientclock.h:
9184         * libs/gst/net/gstnettimeprovider.h:
9185         Documentation updates.
9186
9187 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
9188
9189         * docs/manual/basics-helloworld.xml:
9190           Remove superfluous closing bracket in helloworld example.
9191
9192 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
9193
9194         * tools/gst-launch.1.in:
9195           Update gst-launch man page; add a section with useful
9196           environment variables. Fixes #323882.
9197
9198 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
9199
9200         * gst/gst.c:
9201         * gst/gst_private.h:
9202           change some char* into char[]
9203
9204 2005-12-16  Wim Taymans  <wim@fluendo.com>
9205
9206         * gst/gstregistryxml.c: (load_feature):
9207         Cleanups.
9208         Don't use g_object_unref on GstObjects so that we avoid
9209         leaks on unsafe glibs.
9210
9211 2005-12-16  Wim Taymans  <wim@fluendo.com>
9212
9213         * gst/gstbin.c: (gst_bin_recalc_state):
9214         Small doc updates.
9215
9216 2005-12-16  Wim Taymans  <wim@fluendo.com>
9217
9218         * common/check.mak:
9219         Added make forever target for check.
9220
9221 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9222
9223         * gst/gst.c: (init_post):
9224           make the registry cache file HOST_CPU-dependent
9225
9226 2005-12-16  Andy Wingo  <wingo@pobox.com>
9227
9228         * plugins/elements/gstbufferstore.c
9229         (gst_buffer_store_cleared_func): Pay attention to g_list_append
9230         return value.
9231
9232         * tests/check/gst/gstobject.c
9233         (test_fake_object_name_threaded_unique): Pay attention to
9234         g_list_sort return value.
9235
9236 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9237
9238         * tools/gst-feedback-m.m:
9239           Update for 0.9/0.10 (fixes #323870).
9240
9241 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
9242
9243         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
9244           Fix lcopy for mini objects, the mini object needs to be ref'ed.
9245           
9246         * tests/check/gst/gstminiobject.c: (my_foo_init),
9247         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
9248         (test_value_collection), (gst_mini_object_suite):
9249           Add test to ensure refcounts end up as expected when passing
9250           GstMiniObjects through g_object_get() and g_object_set().
9251
9252 2005-12-14  Julien MOUTTE  <julien@moutte.net>
9253
9254         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9255         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
9256         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
9257         of collectpads. This version removes a lot of races without
9258         touching API/ABI. Yay !
9259
9260 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
9261
9262         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
9263           Don't allow activation of a srcpad in pull_range if it has no
9264           getrange function.
9265           Change some debug statements to be a little clearer
9266
9267         * plugins/elements/gsttypefindelement.c:
9268         (gst_type_find_handle_src_query):
9269           Check that we have a peer before executing queries thereupon.
9270
9271         * tests/examples/metadata/read-metadata.c: (message_loop):
9272           Use gst_bus_pop instead of gst_bus_poll when we just want it to
9273           immediately return us any available message with 0 timeout.
9274
9275 2005-12-12  Michael Smith  <msmith@fluendo.com>
9276
9277         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9278           Don't unref factories after calling them.
9279         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
9280         * plugins/elements/gsttypefindelement.c:
9281         (gst_type_find_element_chain):
9282           Free lists of factories after using them. Fixing typefinding memory
9283           leaks.
9284
9285 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9286
9287         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9288         (gst_plugin_feature_load):
9289           more meaningful debug output
9290         * configure.ac:
9291         * tests/Makefile.am:
9292         * tests/old/examples/Makefile.am:
9293           make make distcheck happy again
9294
9295 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9296
9297         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9298           Catch the special case where we are operating chain-based,
9299           but the downstream peer pad has no chain function. Emit a
9300           custom error message in this case instead of letting the
9301           core generate one implying that this is some sort of core
9302           bug. It's not, it just means that whatever got plugged
9303           into the pipeline downstream when we announced the type
9304           can only operate pull-based, while our source can only
9305           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
9306           Error string has not been marked for translation yet, as
9307           it probably needs some more work first.
9308
9309         (gst_type_find_element_get_best_possibility):
9310           Add helper function to find the best of all available
9311           found possibilities that qualify given the min. threshold.
9312
9313         (gst_type_find_element_handle_event):
9314           Fix the case where we get an EOS while still in TYPEFIND
9315           mode (we want to chose the best of all possible types,
9316           not just the first type that happens to be in our unsorted
9317           list of possible types).
9318
9319         (gst_type_find_element_chain):
9320           Make sure we return GST_FLOW_ERROR when we errored out
9321           in stop_typefinding(); also, don't just find the best of
9322           all found type entries and then use the last examined
9323           type entry, but actually use the best entry.
9324
9325 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9326
9327         * tests/examples/typefind/typefind.c: (type_found):
9328         * tests/examples/xml/runxml.c: (xml_loaded):
9329           More gcc4 fixes and a mem leak fix.
9330
9331 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9332
9333         * tests/examples/xml/createxml.c: (object_saved):
9334           gcc 4 fixes
9335
9336 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9337
9338         * tests/Makefile.am:
9339           enable the examples even more
9340
9341 2005-12-12  Andy Wingo  <wingo@pobox.com>
9342
9343         * libs/gst/net/gstnettimeprovider.c
9344         (gst_net_time_provider_class_init, gst_net_time_provider_init)
9345         (gst_net_time_provider_set_property)
9346         (gst_net_time_provider_get_property):
9347         API addition: Export "active" as a GObject property.
9348         (gst_net_time_provider_thread): Only respond to time queries if
9349         the time provider is active.
9350
9351         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
9352         NetTimeProvider, preserving binary compat.
9353
9354 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9355
9356         * tests/examples/controller/audio-example.c: (main):
9357         * tests/examples/launch/Makefile.am:
9358           convert comments again
9359
9360 2005-12-12  Wim Taymans  <wim@fluendo.com>
9361
9362         * libs/gst/base/gstpushsrc.c:
9363         Fix typo.
9364
9365 2005-12-12  Wim Taymans  <wim@fluendo.com>
9366
9367         * docs/libs/gstreamer-libs-sections.txt:
9368         Added new symbol to docs.
9369
9370         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9371         (gst_base_src_init), (gst_base_src_set_format),
9372         (gst_base_src_default_query), (gst_base_src_query),
9373         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
9374         (gst_base_src_perform_seek), (gst_base_src_send_event),
9375         (gst_base_src_default_event), (gst_base_src_event_handler),
9376         (gst_base_src_set_property), (gst_base_src_get_property),
9377         (gst_base_src_wait), (gst_base_src_do_sync),
9378         (gst_base_src_update_length), (gst_base_src_get_range),
9379         (gst_base_src_check_get_range), (gst_base_src_loop),
9380         (gst_base_src_default_negotiate), (gst_base_src_start),
9381         (gst_base_src_activate_push), (gst_base_src_activate_pull),
9382         (gst_base_src_change_state):
9383         * libs/gst/base/gstbasesrc.h:
9384         Implement seeking to other formats than _BYTES.
9385         Implement more seeking methods correctly.
9386         Doc updates.
9387         Added query vmethod.
9388         Added do_seek vmethod to make life easier for subclasses
9389         when seeking.
9390         API addition: gst_base_src_set_format()
9391
9392 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9393
9394         * tests/examples/Makefile.am:
9395           added that too
9396
9397 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9398
9399         * configure.ac:
9400         * docs/random/ensonic/media-device-daemon.txt:
9401         * tests/examples/controller/.cvsignore:
9402         * tests/examples/controller/Makefile.am:
9403         * tests/examples/controller/audio-example.c: (main):
9404         * tests/examples/helloworld/.cvsignore:
9405         * tests/examples/helloworld/Makefile.am:
9406         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
9407         * tests/examples/launch/.cvsignore:
9408         * tests/examples/launch/Makefile.am:
9409         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
9410         * tests/examples/metadata/.cvsignore:
9411         * tests/examples/metadata/Makefile.am:
9412         * tests/examples/metadata/read-metadata.c: (message_loop),
9413         (make_pipeline), (print_tag), (main):
9414         * tests/examples/queue/.cvsignore:
9415         * tests/examples/queue/Makefile.am:
9416         * tests/examples/queue/queue.c: (event_loop), (main):
9417         * tests/examples/typefind/.cvsignore:
9418         * tests/examples/typefind/Makefile.am:
9419         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
9420         (main):
9421         * tests/examples/xml/.cvsignore:
9422         * tests/examples/xml/Makefile.am:
9423         * tests/examples/xml/createxml.c: (object_saved), (main):
9424         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
9425         * tests/old/examples/Makefile.am:
9426         * tests/old/examples/TODO:
9427         * tests/old/examples/controller/.cvsignore:
9428         * tests/old/examples/controller/Makefile.am:
9429         * tests/old/examples/controller/audio-example.c:
9430         * tests/old/examples/helloworld/.cvsignore:
9431         * tests/old/examples/helloworld/Makefile.am:
9432         * tests/old/examples/helloworld/helloworld.c:
9433         * tests/old/examples/launch/.cvsignore:
9434         * tests/old/examples/launch/Makefile.am:
9435         * tests/old/examples/launch/mp3parselaunch.c:
9436         * tests/old/examples/launch/mp3play:
9437         * tests/old/examples/manual/Makefile.am:
9438         * tests/old/examples/metadata/Makefile.am:
9439         * tests/old/examples/metadata/read-metadata.c:
9440         * tests/old/examples/queue/.cvsignore:
9441         * tests/old/examples/queue/Makefile.am:
9442         * tests/old/examples/queue/queue.c:
9443         * tests/old/examples/typefind/.cvsignore:
9444         * tests/old/examples/typefind/Makefile.am:
9445         * tests/old/examples/typefind/typefind.c:
9446         * tests/old/examples/xml/.cvsignore:
9447         * tests/old/examples/xml/Makefile.am:
9448         * tests/old/examples/xml/createxml.c:
9449         * tests/old/examples/xml/runxml.c:
9450           applied some simple fixing to some examples
9451           re-enabled the working examples
9452
9453 2005-12-12  Wim Taymans  <wim@fluendo.com>
9454
9455         * gst/gstsegment.c: (gst_segment_init),
9456         (gst_segment_set_last_stop), (gst_segment_set_seek),
9457         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
9458         (gst_segment_to_running_time):
9459         Added more documentation.
9460         Make sure the last_pos value is updated properly.
9461         Make sure to_stream_time and to_running_time don't
9462         operate on wrong values.
9463
9464         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9465         Update check.
9466
9467 2005-12-12  Michael Smith  <msmith@fluendo.com>
9468
9469         * plugins/elements/gsttypefindelement.c: (free_entry),
9470         (gst_type_find_element_chain):
9471           Now that we're not leaking factories, make sure we keep references
9472           to them while we need them.
9473
9474 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9475
9476         * tests/check/gst/struct_i386.h:
9477           ifdef out the XML structs
9478
9479 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9480
9481         * gst/gstvalue.c: (gst_value_transform_double_fraction):
9482           floor is not needed, F is always positive; this obviates the
9483           need for adding -lm when building without libxml
9484
9485 2005-12-12  Wim Taymans  <wim@fluendo.com>
9486
9487         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9488         Take current playback rate into account when reporting
9489         the position.
9490
9491 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9492
9493         * docs/manual/mime-world.fig:
9494           Let's try this again, this time with a file that is
9495           actually in XFig format.
9496
9497 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9498
9499         * docs/manual/mime-world.fig:
9500           Add audioconvert element to diagram so that it
9501           matches the text and the code (fixes #319526).
9502
9503 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9504
9505         * docs/pwg/building-chainfn.xml:
9506         * docs/pwg/building-pads.xml:
9507         * docs/pwg/building-state.xml:
9508         * docs/pwg/other-source.xml:
9509           Update state change stuff for 0.10 (fixes #322969).
9510
9511 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9512
9513         * docs/manual/advanced-dataaccess.xml:
9514         * docs/manual/appendix-checklist.xml:
9515         * docs/manual/appendix-programs.xml:
9516         * docs/manual/basics-pads.xml:
9517         * docs/manual/highlevel-components.xml:
9518         * docs/manual/manual.xml:
9519           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
9520           add converters in front of pipelines; remove curly
9521           brackets for threads stuff, they no longer exist; use
9522           GST_TYPE_FRACTION for framerates; update some pieces of
9523           code to 0.10, but there's plenty more to do.
9524
9525         * docs/manual/appendix-porting.xml:
9526           Expand on asynchroneous state changes; s/0.9/0.10/;
9527           mention disappearance of gst_init_get_popt_table()
9528           (fixes #322916).
9529
9530 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9531
9532         * docs/faq/using.xml:
9533           Spider no longer exists, and neither does gst-launch-ext.
9534           Update examples to use decodebin and playbin and put
9535           converters in front of sinks (fixes #323726).
9536
9537 2005-12-09  Michael Smith  <msmith@fluendo.com>
9538
9539         * plugins/elements/gsttypefindelement.c: (find_peek),
9540         (gst_type_find_element_chain):
9541           Fix leaking element factories in typefinding.
9542           Fix problem where we forgot about a probable type on non-seekable
9543           files, and thus later mis-typefound it.
9544
9545 2005-12-09  Michael Smith  <msmith@fluendo.com>
9546
9547         * common/m4/gst-makecontext.m4:
9548         * common/m4/gst-mcsc.m4:
9549         * configure.ac:
9550         * win32/common/config.h:
9551         * win32/common/config.h.in:
9552           Remove makecontext stuff; not used in 0.10 and causes problems on
9553           HPUX according to bug #322441
9554
9555 2005-12-07  Wim Taymans  <wim@fluendo.com>
9556
9557         * tests/check/Makefile.am:
9558         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
9559         (main):
9560         * tests/check/libs/struct_i386.h:
9561         Added ABI check for libs
9562
9563 2005-12-07  Wim Taymans  <wim@fluendo.com>
9564
9565         * tests/check/Makefile.am:
9566         And add the struct_i386.h to dist.
9567
9568 2005-12-07  Wim Taymans  <wim@fluendo.com>
9569
9570         * tests/check/Makefile.am:
9571         * tests/check/gst/.cvsignore:
9572         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
9573         (main):
9574         * tests/check/gst/struct_i386.h:
9575         Added check for ABI compatibility.
9576
9577 2005-12-07  Wim Taymans  <wim@fluendo.com>
9578
9579         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9580         (gst_fake_src_get_times), (gst_fake_src_create):
9581         Fix broken sync option, fixes #323259
9582
9583 2005-12-07  Wim Taymans  <wim@fluendo.com>
9584
9585         * gst/gstbuffer.c:
9586         Small docs update.
9587
9588         * gst/gstcaps.c: (gst_caps_is_equal):
9589         Don't assert on NULL <--> X. Fixes #323260
9590
9591         * gst/gstminiobject.c: (gst_mini_object_replace):
9592         If we're doing atomic operations, we might just as well use
9593         the proper way to get an atomic pointer.
9594
9595         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9596         Clean up debugging.
9597
9598 2005-12-07  Michael Smith  <msmith@fluendo.com>
9599
9600         * gst/parse/grammar.y:
9601           Remove handling of { } for threads.
9602
9603 2005-12-06  David Schleef  <ds@schleef.org>
9604
9605         * libs/gst/base/gstbasetransform.c: speling fix.
9606
9607 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9608
9609         * docs/libs/tmpl/gstdataprotocol.sgml:
9610         * docs/random/omega/testing/gstobject.c:
9611         * gst/gst.c:
9612         * gst/gstclock.c:
9613         * gst/gstelement.c:
9614         * gst/gstelementfactory.c:
9615         * gst/gsterror.c:
9616         * gst/gstevent.c:
9617         * gst/gstghostpad.c:
9618         * gst/gstinfo.c:
9619         * gst/gstpadtemplate.c:
9620         * gst/gstregistryxml.c:
9621         * gst/gsttaglist.c:
9622         * gst/gsttagsetter.c:
9623         * gst/gsttypefind.c:
9624         * gst/gstvalue.c:
9625         * libs/gst/base/gstbasesrc.c:
9626         * libs/gst/net/gstnetclientclock.c:
9627         * libs/gst/net/gstnettimeprovider.c:
9628         * plugins/elements/gstfakesrc.c:
9629         * plugins/elements/gstfdsrc.c:
9630         * plugins/elements/gstfilesrc.c:
9631         * plugins/elements/gstidentity.c:
9632         * plugins/elements/gstqueue.c:
9633         * plugins/elements/gsttypefindelement.c:
9634         * plugins/indexers/gstfileindex.c:
9635         * plugins/indexers/gstmemindex.c:
9636         * tests/check/gst/gsttag.c:
9637         * tests/old/examples/cutter/cutter.c:
9638         * tests/old/examples/mixer/mixer.c:
9639         * tests/old/examples/xml/runxml.c: (main):
9640         * tests/old/testsuite/caps/normalisation.c:
9641         * tests/old/testsuite/debug/global.c:
9642         * tests/old/testsuite/parse/parse1.c:
9643         * tools/gst-xmlinspect.c:
9644         * win32/common/dirent.c:
9645           expand tabs
9646
9647 === release 0.10.0 ===
9648
9649 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9650
9651         * configure.ac:
9652           releasing 0.10.0, "Maroilles"
9653
9654 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9655
9656         submitted by: Funda Wang <fundawang@linux.net.cn>
9657
9658         * po/LINGUAS:
9659         * po/zh_CN.po:
9660           added Chinese (Traditional) translation
9661
9662 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9663
9664         * docs/gst/gstreamer-sections.txt:
9665         * docs/libs/tmpl/gstdataprotocol.sgml:
9666         * docs/random/thomasvs/TODO:
9667         * gst/gstutils.c:
9668         * gst/gstutils.h:
9669           fix docs
9670
9671 2005-12-05  Andy Wingo  <wingo@pobox.com>
9672
9673         patch by: Wim Taymans <wim@fluendo.com>
9674
9675         * libs/gst/base/gstbasetransform.c
9676         (gst_base_transform_prepare_output_buf)
9677         (gst_base_transform_buffer_alloc):
9678         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
9679         alloc_buffer_and_set_caps.
9680
9681         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
9682         set_caps on the source pad.
9683         (gst_pad_alloc_buffer_and_set_caps): New function, does what
9684         alloc_buffer used to do. Fixes #322874.
9685
9686         * docs/gst/gstreamer-sections.txt: 
9687         * docs/design/part-negotiation.txt: 
9688         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
9689         changes.
9690
9691 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9692
9693         patch by: Sebastien Moutte
9694
9695         * win32/MANIFEST:
9696         * win32/common/config.h.in:
9697         * win32/vs6/libgstcontroller.dsp:
9698           win32 build fixes
9699
9700 2005-12-05  Wim Taymans  <wim@fluendo.com>
9701
9702         * gst/gstcaps.c: (gst_caps_is_equal):
9703         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9704         (gst_fake_src_create):
9705         Back out previous code changes, leave doc updates, file bugs 
9706         instead. 
9707
9708 2005-12-05  Wim Taymans  <wim@fluendo.com>
9709
9710         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9711         (gst_fake_src_get_times), (gst_fake_src_create):
9712         * plugins/elements/gstfakesrc.h:
9713         Fix broken sync code.
9714
9715 2005-12-05  Wim Taymans  <wim@fluendo.com>
9716
9717         * gst/gstcaps.c: (gst_caps_is_equal):
9718         Comparing NULL against !NULL yields different caps, not a
9719         failure.
9720
9721 2005-12-05  Wim Taymans  <wim@fluendo.com>
9722
9723         * gst/gstpipeline.c:
9724         Fix small typo in docs.
9725
9726 2005-12-05  Andy Wingo  <wingo@pobox.com>
9727
9728         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
9729
9730         * gst/gst.c (init_post): remove hard-coded 0.9 location for
9731         registries/plugins with a MAJORMINOR one.
9732         (plugin_desc): Rename library from gstcoreleements to
9733         staticelements. Fixes #323222.
9734
9735 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
9736
9737         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
9738           Change debug category to 'collectpads' from 'collect_pads'
9739           (fixes #323250).
9740
9741 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9742
9743         patch by: Sebastien Moutte
9744
9745         * libs/gst/controller/gstinterpolation.c:
9746           use convert function for uint64/double
9747         * win32/vs6/libgstcontroller.dsp:
9748           link to GLib
9749
9750 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9751
9752         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
9753         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
9754         * gst/gstutils.h:
9755         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9756           add tests that seem to show that the guint64/gdouble conversions
9757           are correct.
9758
9759 2005-12-02  Wim Taymans  <wim@fluendo.com>
9760
9761         * gst/gstregistry.c: (gst_registry_add_path):
9762         * gst/gstregistry.h:
9763         * gst/gstregistryxml.c:
9764         Fix docs again.
9765
9766 2005-12-02  Wim Taymans  <wim@fluendo.com>
9767
9768         * gst/gstutils.c: (gst_util_uint64_scale_int64),
9769         (gst_util_uint64_scale_int):
9770         Small cleanup.
9771
9772         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9773         Add debug log line.
9774
9775         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
9776         Add FIXME.
9777
9778 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9779
9780         * win32/MANIFEST:
9781         * win32/common/config.h:
9782         * win32/vs6/gstreamer.dsw:
9783         * win32/vs6/libgstcoreelements.dsp:
9784         * win32/vs6/libgstelements.dsp:
9785           renamed core elements plugin
9786
9787 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9788
9789         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
9790         (get_candidates):
9791           do piece-wise major/minor comparison so 0.9 < 0.10
9792           also allow .exe extensions for tools
9793
9794 2005-12-02  Michael Smith  <msmith@fluendo.com>
9795
9796         * gst/gst.c:
9797           Escape a % to make gtkdoc happier; bug 322958.
9798
9799 === release 0.9.7 ===
9800
9801 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9802
9803         * configure.ac:
9804           releasing 0.9.7, "My Dog Has No Nose"
9805
9806 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9807
9808         * common/gst-xmlinspect.py:
9809         * configure.ac:
9810         * docs/libs/tmpl/gstdataprotocol.sgml:
9811         * docs/random/release:
9812         * po/af.po:
9813         * po/az.po:
9814         * po/bg.po:
9815         * po/ca.po:
9816         * po/cs.po:
9817         * po/de.po:
9818         * po/en_GB.po:
9819         * po/fr.po:
9820         * po/it.po:
9821         * po/nb.po:
9822         * po/nl.po:
9823         * po/ru.po:
9824         * po/sq.po:
9825         * po/sr.po:
9826         * po/sv.po:
9827         * po/tr.po:
9828         * po/uk.po:
9829         * po/vi.po:
9830         * win32/common/config.h:
9831         * win32/common/config.h.in:
9832         * win32/vs6/gst_inspect.dsp:
9833         * win32/vs6/gst_launch.dsp:
9834         * win32/vs6/libgstbase.dsp:
9835         * win32/vs6/libgstelements.dsp:
9836         * win32/vs6/libgstreamer.dsp:
9837         * win32/vs7/GStreamer.vcproj:
9838         * win32/vs7/gst-inspect.vcproj:
9839         * win32/vs7/gst-launch.vcproj:
9840         * win32/vs7/libgstbase.vcproj:
9841           bump GST_MAJORMINOR to 0.10
9842           reset libtool version
9843
9844 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9845
9846         * po/LINGUAS:
9847         * po/bg.po:
9848           Added Bulgarian translation by (Alexander Shopov)
9849
9850 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9851
9852         * tests/check/gst/gstplugin.c:
9853           fix test
9854
9855 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9856
9857         * common/gst-xmlinspect.py:
9858         * common/gtk-doc-plugins.mak:
9859         * configure.ac:
9860         * docs/Makefile.am:
9861         * docs/gst/Makefile.am:
9862         * docs/gst/gstreamer-docs.sgml:
9863         * docs/gst/gstreamer-sections.txt:
9864         * docs/gst/gstreamer.types:
9865         * docs/gst/gstreamer.types.in:
9866         * docs/plugins/Makefile.am:
9867         * docs/plugins/gstreamer-plugins-docs.sgml:
9868         * docs/plugins/gstreamer-plugins-sections.txt:
9869         * docs/plugins/gstreamer-plugins.types:
9870         * docs/plugins/inspect.stamp:
9871         * docs/plugins/inspect/plugin-coreelements.xml:
9872         * docs/plugins/inspect/plugin-coreindexers.xml:
9873         * docs/plugins/scanobj-build.stamp:
9874         * gstreamer.spec.in:
9875         * plugins/elements/Makefile.am:
9876         * plugins/elements/gstelements.c:
9877         * plugins/elements/gstfakesink.c:
9878         * plugins/elements/gstfakesrc.c:
9879         * plugins/elements/gstfilesink.c:
9880         * plugins/elements/gstfilesrc.c:
9881         * plugins/elements/gstqueue.c:
9882         * plugins/indexers/Makefile.am:
9883         * plugins/indexers/gstindexers.c:
9884           document core plugins in a separate document just like all the
9885           others
9886           rename these plugins to something starting with core
9887
9888 2005-12-01  Andy Wingo  <wingo@pobox.com>
9889
9890         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
9891         padding here before, but it missed the commit.
9892
9893 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9894
9895         * libs/gst/controller/gstinterpolation.c:
9896           whitespace prices have crashed, we should feel free to use some now
9897           use gst_guint64_to_gdouble
9898
9899 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9900
9901         * libs/gst/controller/gstcontroller.c:
9902         * libs/gst/controller/gsthelper.c:
9903         * libs/gst/controller/gstinterpolation.c:
9904         * libs/gst/controller/lib.c:
9905           wrap config.h include
9906
9907 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9908
9909         * docs/gst/gstreamer-sections.txt:
9910           update docs
9911
9912 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9913
9914         * plugins/elements/gstelements.c:
9915         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
9916         (gst_fd_sink__class_init), (gst_fd_sink__init),
9917         (gst_fd_sink__chain), (gst_fd_sink__set_property),
9918         (gst_fd_sink__get_property):
9919         * plugins/elements/gstfdsink.h:
9920         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
9921         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
9922         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
9923         (gst_fd_src_unlock), (gst_fd_src_set_property),
9924         (gst_fd_src_get_property), (gst_fd_src_create),
9925         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
9926         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
9927         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
9928         (gst_fd_src_uri_handler_init):
9929         * plugins/elements/gstfdsrc.h:
9930         * plugins/elements/gstqueue.c: (gst_queue_get_type):
9931           more anal cleanup
9932
9933 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9934
9935         * docs/gst/Makefile.am:
9936         * docs/gst/gstreamer.types.in:
9937         * gst/Makefile.am:
9938           fix the docs build
9939
9940 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
9941
9942         * configure.ac:
9943         * gst/Makefile.am:
9944         * gst/gst.c:
9945         * gst/gstplugin.h:
9946         * gst/gstregistry.h:
9947         * tests/benchmarks/complexity.c:
9948         * tests/benchmarks/mass-elements.c:
9949         * tests/check/Makefile.am:
9950         * tools/Makefile.am:
9951         * tools/gst-inspect.c:
9952         * tools/gst-xmlinspect.c:
9953           various fixes to make
9954           --disable-nls --disable-registry --disable-loadsave
9955           --disable-parse --disable-gst-debug
9956           work and get the core .so down to 360444 bytes after stripping
9957
9958 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
9959
9960         * Makefile.am:
9961         * configure.ac:
9962           descend into tests
9963         * docs/random/thomasvs/TODO:
9964         * tests/Makefile.am:
9965         * tests/README:
9966           add a README
9967
9968 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
9969
9970         * win32/GStreamer.vcproj:
9971         * win32/MANIFEST:
9972         * win32/Makefile:
9973         * win32/Makefile.inspect:
9974         * win32/Makefile.launch:
9975         * win32/Makefile.register:
9976         * win32/README.txt:
9977         * win32/gst-inspect.vcproj:
9978         * win32/gst-launch.vcproj:
9979         * win32/gst-register.vcproj:
9980         * win32/gstelements.vcproj:
9981         * win32/gstgetbits.def:
9982         * win32/gstgetbits.vcproj:
9983         * win32/gstreamer-dbg.def:
9984         * win32/gstreamer.def:
9985         * win32/libgstbase.def:
9986         * win32/libgstbase.vcproj:
9987         * win32/link_oldruntime.c:
9988         * win32/mman.c:
9989         * win32/mman.h:
9990         * win32/mman.inl:
9991         * win32/msvc71.sln:
9992           move even more stuff, win32/ is nice and clean now
9993
9994 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
9995
9996         * libs/gst/control/.cvsignore:
9997         * win32/MANIFEST:
9998         * win32/config.h:
9999         * win32/dirent.c:
10000         * win32/dirent.h:
10001         * win32/gstbytestream.def:
10002         * win32/gstbytestream.vcproj:
10003         * win32/gstconfig.h:
10004         * win32/gstenumtypes.c:
10005         * win32/gstenumtypes.h:
10006         * win32/gstoptimalscheduler.vcproj:
10007         * win32/gstversion.h:
10008         * win32/gtchar.h:
10009         * win32/testsuite/bins.vcproj:
10010         * win32/testsuite/bytestream.vcproj:
10011         * win32/testsuite/caps.vcproj:
10012         * win32/testsuite/cleanup.vcproj:
10013         * win32/testsuite/clock.vcproj:
10014         * win32/testsuite/debug.vcproj:
10015         * win32/testsuite/dlopen.vcproj:
10016         * win32/testsuite/dynparams.vcproj:
10017         * win32/testsuite/elements.vcproj:
10018         * win32/testsuite/ghostpads.vcproj:
10019         * win32/testsuite/indexers.vcproj:
10020         * win32/testsuite/negotiation.vcproj:
10021         * win32/testsuite/parse.vcproj:
10022         * win32/testsuite/plugin.vcproj:
10023         * win32/testsuite/refcounting.vcproj:
10024         * win32/testsuite/schedulers.vcproj:
10025         * win32/testsuite/states.vcproj:
10026         * win32/testsuite/tags.vcproj:
10027         * win32/testsuite/threads.vcproj:
10028           remove old win32 stuff that isn't maintained and should be
10029           reorganized
10030
10031 2005-11-30  Andy Wingo  <wingo@pobox.com>
10032
10033         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
10034         loading the gst.interfaces python module bork.
10035
10036         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
10037         available since GLib 2.2. Fixes #318031.
10038
10039 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10040
10041         * Makefile.am:
10042         * check/.cvsignore:
10043         * check/Makefile.am:
10044         * check/elements/.cvsignore:
10045         * check/elements/fakesrc.c:
10046         * check/elements/fdsrc.c:
10047         * check/elements/identity.c:
10048         * check/generic/.cvsignore:
10049         * check/generic/states.c:
10050         * check/gst-libs/.cvsignore:
10051         * check/gst-libs/controller.c:
10052         * check/gst-libs/gdp.c:
10053         * check/gst/.cvsignore:
10054         * check/gst/capslist.h:
10055         * check/gst/gst.c:
10056         * check/gst/gstbin.c:
10057         * check/gst/gstbuffer.c:
10058         * check/gst/gstbus.c:
10059         * check/gst/gstcaps.c:
10060         * check/gst/gstelement.c:
10061         * check/gst/gstevent.c:
10062         * check/gst/gstghostpad.c:
10063         * check/gst/gstiterator.c:
10064         * check/gst/gstmessage.c:
10065         * check/gst/gstminiobject.c:
10066         * check/gst/gstobject.c:
10067         * check/gst/gstpad.c:
10068         * check/gst/gstpipeline.c:
10069         * check/gst/gstplugin.c:
10070         * check/gst/gstsegment.c:
10071         * check/gst/gststructure.c:
10072         * check/gst/gstsystemclock.c:
10073         * check/gst/gsttag.c:
10074         * check/gst/gstutils.c:
10075         * check/gst/gstvalue.c:
10076         * check/net/.cvsignore:
10077         * check/net/gstnetclientclock.c:
10078         * check/net/gstnettimeprovider.c:
10079         * check/pipelines/.cvsignore:
10080         * check/pipelines/cleanup.c:
10081         * check/pipelines/simple_launch_lines.c:
10082         * check/pipelines/stress.c:
10083         * check/states/.cvsignore:
10084         * check/states/sinks.c:
10085         * configure.ac:
10086         * examples/Makefile.am:
10087         * examples/appreader/.cvsignore:
10088         * examples/appreader/Makefile.am:
10089         * examples/appreader/appreader.c:
10090         * examples/controller/.cvsignore:
10091         * examples/controller/Makefile.am:
10092         * examples/controller/audio-example.c:
10093         * examples/cutter/.cvsignore:
10094         * examples/cutter/Makefile.am:
10095         * examples/cutter/cutter.c:
10096         * examples/cutter/cutter.h:
10097         * examples/events/Makefile.am:
10098         * examples/events/seek.c:
10099         * examples/helloworld/.cvsignore:
10100         * examples/helloworld/Makefile.am:
10101         * examples/helloworld/helloworld.c:
10102         * examples/helloworld2/.cvsignore:
10103         * examples/helloworld2/Makefile.am:
10104         * examples/helloworld2/helloworld2.c:
10105         * examples/launch/.cvsignore:
10106         * examples/launch/Makefile.am:
10107         * examples/launch/mp3parselaunch.c:
10108         * examples/launch/mp3play:
10109         * examples/manual/.cvsignore:
10110         * examples/manual/Makefile.am:
10111         * examples/manual/extract.pl:
10112         * examples/metadata/Makefile.am:
10113         * examples/metadata/read-metadata.c:
10114         * examples/mixer/.cvsignore:
10115         * examples/mixer/Makefile.am:
10116         * examples/mixer/mixer.c:
10117         * examples/mixer/mixer.h:
10118         * examples/pingpong/.cvsignore:
10119         * examples/pingpong/Makefile.am:
10120         * examples/pingpong/pingpong.c:
10121         * examples/plugins/.cvsignore:
10122         * examples/plugins/Makefile.am:
10123         * examples/plugins/example.c:
10124         * examples/plugins/example.h:
10125         * examples/pwg/.cvsignore:
10126         * examples/pwg/Makefile.am:
10127         * examples/pwg/extract.pl:
10128         * examples/queue/.cvsignore:
10129         * examples/queue/Makefile.am:
10130         * examples/queue/queue.c:
10131         * examples/queue2/.cvsignore:
10132         * examples/queue2/Makefile.am:
10133         * examples/queue2/queue2.c:
10134         * examples/queue3/.cvsignore:
10135         * examples/queue3/Makefile.am:
10136         * examples/queue3/queue3.c:
10137         * examples/queue4/.cvsignore:
10138         * examples/queue4/Makefile.am:
10139         * examples/queue4/queue4.c:
10140         * examples/retag/.cvsignore:
10141         * examples/retag/Makefile.am:
10142         * examples/retag/retag.c:
10143         * examples/retag/transcode.c:
10144         * examples/thread/.cvsignore:
10145         * examples/thread/Makefile.am:
10146         * examples/thread/thread.c:
10147         * examples/typefind/.cvsignore:
10148         * examples/typefind/Makefile.am:
10149         * examples/typefind/typefind.c:
10150         * examples/xml/.cvsignore:
10151         * examples/xml/Makefile.am:
10152         * examples/xml/createxml.c:
10153         * examples/xml/runxml.c:
10154         * tests/Makefile.am:
10155         * tests/check/Makefile.am:
10156         * testsuite/.cvsignore:
10157         * testsuite/Makefile.am:
10158         * testsuite/Rules:
10159         * testsuite/caps/.cvsignore:
10160         * testsuite/caps/Makefile.am:
10161         * testsuite/caps/app_fixate.c:
10162         * testsuite/caps/audioscale.c:
10163         * testsuite/caps/caps.c:
10164         * testsuite/caps/caps.h:
10165         * testsuite/caps/caps_strings:
10166         * testsuite/caps/compatibility.c:
10167         * testsuite/caps/deserialize.c:
10168         * testsuite/caps/enumcaps.c:
10169         * testsuite/caps/eratosthenes.c:
10170         * testsuite/caps/filtercaps.c:
10171         * testsuite/caps/fixed.c:
10172         * testsuite/caps/fraction-convert.c:
10173         * testsuite/caps/fraction-multiply-and-zero.c:
10174         * testsuite/caps/intersect2.c:
10175         * testsuite/caps/intersection.c:
10176         * testsuite/caps/normalisation.c:
10177         * testsuite/caps/random.c:
10178         * testsuite/caps/renegotiate.c:
10179         * testsuite/caps/sets.c:
10180         * testsuite/caps/simplify.c:
10181         * testsuite/caps/string-conversions.c:
10182         * testsuite/caps/structure.c:
10183         * testsuite/caps/subtract.c:
10184         * testsuite/caps/union.c:
10185         * testsuite/debug/.cvsignore:
10186         * testsuite/debug/Makefile.am:
10187         * testsuite/debug/category.c:
10188         * testsuite/debug/commandline.c:
10189         * testsuite/debug/global.c:
10190         * testsuite/debug/output.c:
10191         * testsuite/debug/printf_extension.c:
10192         * testsuite/dlopen/.cvsignore:
10193         * testsuite/dlopen/Makefile.am:
10194         * testsuite/dlopen/dlopen_gst.c:
10195         * testsuite/dlopen/loadgst.c:
10196         * testsuite/elements/.cvsignore:
10197         * testsuite/elements/Makefile.am:
10198         * testsuite/elements/gst-inspect-check.in:
10199         * testsuite/elements/struct_i386.h:
10200         * testsuite/elements/struct_size.c:
10201         * testsuite/indexers/.cvsignore:
10202         * testsuite/indexers/Makefile.am:
10203         * testsuite/indexers/cache1.c:
10204         * testsuite/indexers/indexdump.c:
10205         * testsuite/parse/.cvsignore:
10206         * testsuite/parse/Makefile.am:
10207         * testsuite/parse/parse1.c:
10208         * testsuite/parse/parse2.c:
10209         * testsuite/plugin/.cvsignore:
10210         * testsuite/plugin/Makefile.am:
10211         * testsuite/plugin/README:
10212         * testsuite/plugin/dynamic.c:
10213         * testsuite/plugin/linked.c:
10214         * testsuite/plugin/loading.c:
10215         * testsuite/plugin/registry.c:
10216         * testsuite/plugin/static.c:
10217         * testsuite/plugin/static2.c:
10218         * testsuite/plugin/testplugin.c:
10219         * testsuite/plugin/testplugin2.c:
10220         * testsuite/plugin/testplugin2_s.c:
10221         * testsuite/plugin/testplugin_s.c:
10222         * testsuite/refcounting/.cvsignore:
10223         * testsuite/refcounting/Makefile.am:
10224         * testsuite/refcounting/bin.c:
10225         * testsuite/refcounting/element.c:
10226         * testsuite/refcounting/element_pad.c:
10227         * testsuite/refcounting/mainloop.c:
10228         * testsuite/refcounting/mem.c:
10229         * testsuite/refcounting/mem.h:
10230         * testsuite/refcounting/object.c:
10231         * testsuite/refcounting/pad.c:
10232         * testsuite/refcounting/sched.c:
10233         * testsuite/refcounting/thread.c:
10234         * testsuite/states/.cvsignore:
10235         * testsuite/states/Makefile.am:
10236         * testsuite/states/bin.c:
10237         * testsuite/states/locked.c:
10238         * testsuite/states/parent.c:
10239         * testsuite/threads/.cvsignore:
10240         * testsuite/threads/159566.c:
10241         * testsuite/threads/159852.c:
10242         * testsuite/threads/Makefile.am:
10243         * testsuite/threads/queue.c:
10244         * testsuite/threads/signals.c:
10245         * testsuite/threads/staticrec.c:
10246         * testsuite/threads/thread.c:
10247         * testsuite/threads/threadb.c:
10248         * testsuite/threads/threadc.c:
10249         * testsuite/threads/threadd.c:
10250         * testsuite/threads/threade.c:
10251         * testsuite/threads/threadf.c:
10252         * testsuite/threads/threadg.c:
10253         * testsuite/threads/threadh.c:
10254         * testsuite/threads/threadi.c:
10255           move all of these under tests
10256
10257 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10258
10259         * configure.ac:
10260         * tests/Makefile.am:
10261           fix distcheck
10262
10263 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10264
10265         * docs/gst/gstreamer-sections.txt:
10266         * tests/sched/.cvsignore:
10267         * tests/sched/Makefile.am:
10268         * tests/sched/cases/(fs-fs).xml:
10269         * tests/sched/cases/(fs-i-fs).xml:
10270         * tests/sched/cases/(fs-i-i-fs).xml:
10271         * tests/sched/cases/(fs-i-q[i-fs]).xml:
10272         * tests/sched/dynamic-pipeline.c:
10273         * tests/sched/interrupt1.c:
10274         * tests/sched/interrupt2.c:
10275         * tests/sched/interrupt3.c:
10276         * tests/sched/runtestcases:
10277         * tests/sched/runxml.c:
10278         * tests/sched/sched-stress.c:
10279         * tests/sched/sort.c:
10280         * tests/sched/testcases:
10281         * tests/sched/testcases1.tc:
10282         * tests/seeking/.cvsignore:
10283         * tests/seeking/Makefile.am:
10284         * tests/seeking/seeking1.c:
10285         * tests/threadstate/.cvsignore:
10286         * tests/threadstate/Makefile.am:
10287         * tests/threadstate/test1.c:
10288         * tests/threadstate/test2.c:
10289         * tests/threadstate/threadstate1.c:
10290         * tests/threadstate/threadstate2.c:
10291         * tests/threadstate/threadstate3.c:
10292         * tests/threadstate/threadstate4.c:
10293         * tests/threadstate/threadstate5.c:
10294           remove obsolete tests
10295         * configure.ac:
10296         * tests/bench-complexity.scm:
10297         * tests/bench-mass_elements.scm:
10298         * tests/complexity.c:
10299         * tests/complexity.gnuplot:
10300         * tests/instantiate/.cvsignore:
10301         * tests/instantiate/Makefile.am:
10302         * tests/instantiate/caps.c:
10303         * tests/mass_elements.c:
10304         * tests/network-clock-utils.scm:
10305         * tests/network-clock.scm:
10306         * tests/plot-data:
10307         First pass at cleaning up tests/ dir before moving the rest
10308         Combined with CVS surgery
10309
10310 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10311
10312         * po/POTFILES.in:
10313           queue has moved, update
10314
10315 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10316
10317         * docs/gst/gstreamer-sections.txt:
10318           remove double entries from the docs
10319         * gst/gst_private.h:
10320         * gst/gstinfo.c: (_gst_debug_init):
10321           remove the THREAD debug category
10322         * gst/Makefile.am:
10323         * gst/gstqueue.c:
10324         * gst/gstqueue.h:
10325         * docs/gst/gstreamer.types:
10326         * plugins/elements/gstqueue.c: (gst_queue_get_type),
10327         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
10328           completely move queue and fix up debugging categories
10329
10330 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10331
10332         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10333           make initialization portable, using LL is not
10334
10335 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10336
10337         * win32/common/gstconfig.h:
10338           add large padding
10339
10340 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10341
10342         * win32/common/libgstreamer.def:
10343           rename symbols; sort base section
10344
10345 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10346
10347         * gst/gstclock.c: (do_linear_regression):
10348           remove crack non-portable handrolled DEBUG macro
10349
10350 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10351
10352         * docs/random/release:
10353           update notes
10354         * win32/common/gstenumtypes.c: (register_gst_object_flags),
10355         (gst_object_flags_get_type), (register_gst_bin_flags),
10356         (gst_bin_flags_get_type), (register_gst_buffer_flag),
10357         (gst_buffer_flag_get_type), (register_gst_bus_flags),
10358         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10359         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
10360         (gst_caps_flags_get_type), (register_gst_clock_return),
10361         (gst_clock_return_get_type), (register_gst_clock_entry_type),
10362         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10363         (gst_clock_flags_get_type), (register_gst_state),
10364         (gst_state_get_type), (register_gst_state_change_return),
10365         (gst_state_change_return_get_type), (register_gst_state_change),
10366         (gst_state_change_get_type), (register_gst_element_flags),
10367         (gst_element_flags_get_type), (register_gst_core_error),
10368         (gst_core_error_get_type), (register_gst_library_error),
10369         (gst_library_error_get_type), (register_gst_resource_error),
10370         (gst_resource_error_get_type), (register_gst_stream_error),
10371         (gst_stream_error_get_type), (register_gst_event_type_flags),
10372         (gst_event_type_flags_get_type), (register_gst_event_type),
10373         (gst_event_type_get_type), (register_gst_seek_type),
10374         (gst_seek_type_get_type), (register_gst_seek_flags),
10375         (gst_seek_flags_get_type), (register_gst_format),
10376         (gst_format_get_type), (register_gst_index_certainty),
10377         (gst_index_certainty_get_type), (register_gst_index_entry_type),
10378         (gst_index_entry_type_get_type),
10379         (register_gst_index_lookup_method),
10380         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10381         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10382         (gst_index_resolver_method_get_type), (register_gst_index_flags),
10383         (gst_index_flags_get_type), (register_gst_debug_level),
10384         (gst_debug_level_get_type), (register_gst_debug_color_flags),
10385         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10386         (gst_iterator_result_get_type), (register_gst_iterator_item),
10387         (gst_iterator_item_get_type), (register_gst_message_type),
10388         (gst_message_type_get_type), (register_gst_mini_object_flags),
10389         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10390         (gst_pad_link_return_get_type), (register_gst_flow_return),
10391         (gst_flow_return_get_type), (register_gst_activate_mode),
10392         (gst_activate_mode_get_type), (register_gst_pad_direction),
10393         (gst_pad_direction_get_type), (register_gst_pad_flags),
10394         (gst_pad_flags_get_type), (register_gst_pad_presence),
10395         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10396         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10397         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10398         (gst_plugin_error_get_type), (register_gst_plugin_flags),
10399         (gst_plugin_flags_get_type), (register_gst_rank),
10400         (gst_rank_get_type), (register_gst_query_type),
10401         (gst_query_type_get_type), (register_gst_tag_merge_mode),
10402         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10403         (gst_tag_flag_get_type), (register_gst_task_state),
10404         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10405         (gst_alloc_trace_flags_get_type),
10406         (register_gst_type_find_probability),
10407         (gst_type_find_probability_get_type), (register_gst_uri_type),
10408         (gst_uri_type_get_type), (register_gst_parse_error),
10409         (gst_parse_error_get_type):
10410         * win32/common/gstenumtypes.h:
10411         * win32/common/gstversion.h:
10412           update visual studio generated files
10413
10414 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10415
10416         * win32/vs6/libgstbase.dsp:
10417         * win32/vs6/libgstelements.dsp:
10418           update project files for new locations
10419
10420 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10421
10422         * Makefile.am:
10423           remove some files
10424         * README:
10425           reinstate and update
10426         * DEVEL:
10427         * REQUIREMENTS:
10428           removed
10429         * LICENSE:
10430         * docs/random/LICENSE:
10431           moved to random
10432
10433 2005-11-30  Edward Hervey  <edward@fluendo.com>
10434
10435         * gst/gsttypefind.c: (gst_type_find_register):
10436         * gst/gsttypefind.h:
10437         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
10438         (gst_type_find_factory_dispose):
10439         * gst/gsttypefindfactory.h:
10440         Fix memory leak in GstTypeFindFactory.
10441
10442 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10443
10444         * gst/gst.c:
10445         * plugins/elements/Makefile.am:
10446         * plugins/elements/gstelements.c:
10447         * plugins/elements/gstqueue.c:
10448           move queue from core to the elements plugin
10449
10450 2005-11-29  Andy Wingo  <wingo@pobox.com>
10451
10452         * libs/gst/base/gstbasetransform.h: 
10453         * libs/gst/base/gstbasesrc.h: 
10454         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
10455
10456         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
10457         of pointers by which to pad very extensible base classes (like the
10458         ones in libs/gst/base).
10459
10460 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10461
10462         * docs/gst/gstreamer-docs.sgml:
10463         * docs/gst/gstreamer-sections.txt:
10464         * docs/libs/gstreamer-libs-docs.sgml:
10465         * docs/libs/gstreamer-libs-sections.txt:
10466           moving documentation from core to lib
10467
10468 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10469
10470         * check/Makefile.am:
10471         * configure.ac:
10472         * docs/gst/Makefile.am:
10473         * gst/Makefile.am:
10474         * gst/base/.cvsignore:
10475         * gst/base/Makefile.am:
10476         * gst/base/README:
10477         * gst/base/gstadapter.c:
10478         * gst/base/gstadapter.h:
10479         * gst/base/gstbasesink.c:
10480         * gst/base/gstbasesink.h:
10481         * gst/base/gstbasesrc.c:
10482         * gst/base/gstbasesrc.h:
10483         * gst/base/gstbasetransform.c:
10484         * gst/base/gstbasetransform.h:
10485         * gst/base/gstcollectpads.c:
10486         * gst/base/gstcollectpads.h:
10487         * gst/base/gstpushsrc.c:
10488         * gst/base/gstpushsrc.h:
10489         * gst/base/gsttypefindhelper.c:
10490         * gst/base/gsttypefindhelper.h:
10491         * gst/check/Makefile.am:
10492         * gst/check/gstcheck.c:
10493         * gst/check/gstcheck.h:
10494         * gst/net/Makefile.am:
10495         * gst/net/gstnet.h:
10496         * gst/net/gstnetclientclock.c:
10497         * gst/net/gstnetclientclock.h:
10498         * gst/net/gstnettimepacket.c:
10499         * gst/net/gstnettimepacket.h:
10500         * gst/net/gstnettimeprovider.c:
10501         * gst/net/gstnettimeprovider.h:
10502         * libs/gst/Makefile.am:
10503         * libs/gst/base/Makefile.am:
10504         * libs/gst/base/gstbasetransform.c:
10505         * libs/gst/check/Makefile.am:
10506         * plugins/elements/Makefile.am:
10507         * po/POTFILES.in:
10508           CVS surgery + support to move base, check, and net out of gst
10509           and into libs/gst
10510
10511 2005-11-29  Andy Wingo  <wingo@pobox.com>
10512
10513         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
10514
10515         * gst/gststructure.h (struct _GstStructure): Only one pointer of
10516         padding.
10517
10518         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
10519
10520         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
10521
10522         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
10523
10524         * gst/gstobject.h: (struct _GstObject): Only one pointer of
10525         padding; reduces object size by about 30%. We don't expect
10526         anything else to go into gstobject.
10527
10528         * gst/gstminiobject.h (struct _GstMiniObject)
10529         (struct _GstMiniObjectClass): Only one pointer of padding; the
10530         payload is only a pointer and two ints anyway. For the class there
10531         are only two methods as well.
10532         
10533         * gst/gstelement.h (struct _GstElementClass): Removed
10534         the state_changed signal callback, it is not used.
10535
10536 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10537
10538         * docs/gst/gstreamer.types:
10539           fix includes, though they are a little dinky
10540
10541 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10542
10543         * check/Makefile.am:
10544           look in the right place for elements, a lot more chance of
10545           success
10546         * gst/Makefile.am:
10547           remove indexers and elements subdirs
10548         * plugins/Makefile.am:
10549           make indexers conditional
10550
10551 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10552
10553         * Makefile.am:
10554         * configure.ac:
10555         * plugins/elements/Makefile.am:
10556         * plugins/elements/gstcapsfilter.c:
10557         * plugins/elements/gstfilesink.c:
10558         * plugins/elements/gstfilesrc.c:
10559         * plugins/elements/gstidentity.c:
10560         * plugins/indexers/Makefile.am:
10561           do CVS surgery and related build fixery to move elements
10562           and indexers in a new gstreamer/plugins directory, out of the
10563           gst/ directory
10564
10565 2005-11-29  Andy Wingo  <wingo@pobox.com>
10566
10567         * check/Makefile.am:
10568         * pkgconfig/gstreamer-net-uninstalled.pc.in:
10569         * pkgconfig/gstreamer-net.pc.in:
10570         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
10571         #322257.
10572
10573 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10574
10575         * tools/Makefile.am:
10576         * tools/gst-complete.1.in:
10577         * tools/gst-complete.c:
10578         * tools/gst-compprep.1.in:
10579         * tools/gst-compprep.c:
10580           removing -compprep and -complete
10581
10582 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10583
10584         * gst/gstevent.c: (gst_event_new_new_segment),
10585         (gst_event_parse_new_segment):
10586         * gst/gstevent.h:
10587           fix #320529 - clean up new_segment API and structure.
10588           Let's hope everyone was using the methods, and not the structure.
10589
10590 2005-11-29  Edward Hervey  <edward@fluendo.com>
10591
10592         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10593         (gst_base_sink_event), (gst_base_sink_do_sync),
10594         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
10595         Properly handle non GST_FORMAT_TIME segment
10596         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
10597         Properly handle non GST_FORMAT_TIME segment
10598         * gst/gstsegment.c:
10599         This function is valid if the accumulator is 0 and the format
10600         is different from the requested format.
10601         
10602 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
10603
10604         * docs/gst/gstreamer-sections.txt:
10605         Add gst_query_new_seeking and gst_query_parse_seeking to the
10606         docs.
10607
10608 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
10609
10610         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
10611           Treat a pad alloc with new caps the same as if we were not
10612           negotiated, in order to allow a changing upstream output
10613           to produce a new format of data.
10614
10615 2005-11-29  Edward Hervey  <edward@fluendo.com>
10616
10617         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10618         (gst_base_transform_event), (gst_base_transform_eventfunc):
10619         The event virtual method is now properly implemented, with a default
10620         handler
10621         Sub classes should call the parent_class event method. They should
10622         return FALSE if they had a problem handling the given event, or don't
10623         want GstBaseTransform to send that even downstream
10624         * gst/elements/gstidentity.c: (gst_identity_class_init),
10625         (gst_identity_init), (gst_identity_event),
10626         (gst_identity_transform_ip), (gst_identity_set_property),
10627         (gst_identity_get_property):
10628         * gst/elements/gstidentity.h:
10629         Added the single-segment boolean property.
10630         If set to TRUE, it will output a single segment of data, starting from
10631         0, will eat up all incoming newsegment, and modify the timestamp of the
10632         buffers accordingly
10633
10634 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
10635
10636         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
10637           Don't ref NULL target pad (#322751). Improve docs.
10638
10639 2005-11-29  Michael Smith  <msmith@fluendo.com>
10640
10641         * gst/gstregistryxml.c: (load_plugin):
10642           Don't crash if we failed to load a feature from a plugin. 
10643
10644 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10645
10646         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10647         (GST_START_TEST):
10648           use more check API and less GLib API
10649
10650 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10651
10652         * Makefile.am:
10653           don't run checks if we don't have check
10654         * common/check.mak:
10655           remove the registry when running make torture
10656         * docs/gst/gstreamer-sections.txt:
10657           remove second multiply
10658         * gst/gstqueue.c: (gst_queue_loop):
10659           fix a compile warning when disabling debug
10660
10661 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10662
10663         * gst/gstinfo.h:
10664         Hey! Let's print the pad name if the pointer != NULL instead
10665         of when it == NULL :-)
10666
10667 2005-11-28  Wim Taymans  <wim@fluendo.com>
10668
10669         * check/gst/gstutils.c: (GST_START_TEST):
10670         Updated check, add some scaling accuracy checking code.
10671
10672         * gst/gstutils.c: (gst_util_div128_64),
10673         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
10674         (gst_util_uint64_scale_int):
10675         Fix 6 times faster division code. Optimize for common 
10676         1/1 and less common X/1 cases.
10677
10678 2005-11-28  Wim Taymans  <wim@fluendo.com>
10679
10680         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10681         More checks.
10682
10683         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
10684         (do_linear_regression), (gst_clock_add_observation):
10685         Cleanups.
10686         Release lock when the clock cannot be slaved.
10687         Catch the case where the regression returned an invalid denominator.
10688
10689         * gst/gstutils.c: (gst_util_div128_64_iterate),
10690         (gst_util_div128_64), (gst_util_uint64_scale_int64),
10691         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10692         Add protentially more performant non-iterative 128/64 divide function
10693         that unfortunatly does not work yet.
10694         Shortcut the trivial 0/X = 0 case.
10695         Remove the warnings on overflow.
10696
10697 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10698
10699         * gst/gstplugin.c: (gst_plugin_register_func):
10700           everything causing a plugin not to load should be at least a WARNING
10701
10702 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
10703
10704         * docs/random/ensonic/dparams.txt:
10705           some TODOs for the next dev cycle
10706         * libs/gst/controller/gstcontroller.c:
10707         (gst_controlled_property_set_interpolation_mode),
10708         (gst_controlled_property_new):
10709         * libs/gst/controller/gstcontroller.h:
10710           use base type to assign acccessor functions
10711
10712 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10713
10714         * check/Makefile.am:
10715         Oops, that should have been top_srcdir
10716
10717 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10718
10719         * check/Makefile.am:
10720         * check/elements/fdsrc.c: (GST_START_TEST):
10721         Use a cmdline define to specify the location of a file to use for
10722         testing, to avoid breaking distcheck.
10723
10724 2005-11-28  Andy Wingo  <wingo@pobox.com>
10725
10726         * gst/gstpad.c (fixate_value): Use array functions for arrays.
10727
10728 2005-11-28  Edward Hervey  <edward@fluendo.com>
10729
10730         * tools/gst-launch.c: (main):
10731         Clarify the output strings, makes it easier to translate.
10732         Fixes #322626
10733
10734 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10735
10736         * gst/Makefile.am:
10737           don't try and build net if we don't even have <sys/socket.h>
10738
10739 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
10740
10741         * check/Makefile.am:
10742         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
10743         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
10744           Add tests for fdsrc seekability
10745
10746         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10747         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
10748         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
10749         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
10750         * gst/elements/gstfdsrc.h:
10751           fdsrc should not be a 'live' source.
10752           Implement seeking on seekable fd's.
10753
10754         * gst/gstquery.c: (gst_query_new_seeking),
10755         (gst_query_parse_seeking):
10756         * gst/gstquery.h:
10757           Implement SEEKING query functions: 
10758             *_new_seeking and *_parse_seeking
10759
10760 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
10761
10762         * gst/gstelement.c: (gst_element_dispose):
10763           don't loop forever
10764
10765         * gst/gstiterator.c:
10766         * gst/gststructure.c:
10767           doc fixes
10768
10769         * libs/gst/controller/gstcontroller.c:
10770         (gst_controlled_property_set_interpolation_mode):
10771         * libs/gst/controller/gstcontroller.h:
10772         * libs/gst/controller/gstinterpolation.c:
10773         (interpolate_none_get_enum_value_array):
10774           support controlling enums
10775
10776 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
10777
10778         * gst/gstvalue.c:
10779           Improve documentation for gst_value_union().
10780
10781         * gst/gstvalue.h:
10782           Change return value for union, intersect and subtract functions
10783           from gint to gboolean.
10784
10785 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
10786
10787         * gst/gstvalue.c: (gst_value_serialize_any_list),
10788         (gst_value_transform_any_list_string),
10789         (gst_value_deserialize_list), (gst_value_deserialize_array),
10790         (gst_value_set_int_range), (gst_value_deserialize_int_range),
10791         (gst_value_set_double_range), (gst_value_deserialize_double_range),
10792         (gst_value_set_fraction_range_full),
10793         (gst_value_deserialize_fraction_range),
10794         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
10795         (gst_value_deserialize_boolean),
10796         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
10797         (gst_value_serialize_float), (gst_value_deserialize_float),
10798         (gst_string_wrap), (gst_value_deserialize_string),
10799         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
10800         (gst_value_union_int_range_int_range),
10801         (gst_value_intersect_int_range_int_range),
10802         (gst_value_intersect_double_range_double_range),
10803         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
10804         (gst_value_subtract_int_range_int_range),
10805         (gst_value_subtract_double_double_range),
10806         (gst_value_subtract_double_range_double_range),
10807         (gst_value_deserialize_fraction):
10808         * gst/gstvalue.h:
10809           Use gint, gdouble and gchar in our API instead of int, double and
10810           char (and make usage in gstvalue.c more consistent).
10811
10812 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10813
10814         * check/Makefile.am:
10815         * libs/gst/controller/Makefile.am:
10816         * libs/gst/dataprotocol/Makefile.am:
10817           fix up Makefile.am and remove GST_ENABLE_NEW
10818
10819 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10820
10821         * configure.ac:
10822         * gst/Makefile.am:
10823         * gst/base/Makefile.am:
10824         * gst/check/Makefile.am:
10825         * gst/elements/Makefile.am:
10826         * gst/net/Makefile.am:
10827           update LDFLAGS use some more
10828
10829 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10830
10831         * common/m4/gst-doc.m4:
10832           Fixes #312589
10833
10834 2005-11-26  Edward Hervey  <edward@fluendo.com>
10835
10836         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10837         This shouldn't issue a g_warning since it returns NULL if it
10838         couldn't find the plugin, and all functions using this behave
10839         properly on a NULL return. Switching to a GST_WARNING.
10840
10841 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
10842
10843         * gst/gstbin.c: (gst_bin_handle_message_func):
10844         Don't leak clock messages.
10845
10846 2005-11-25  Wim Taymans  <wim@fluendo.com>
10847
10848         * gst/gstutils.c: (gst_util_uint64_scale_int64),
10849         (gst_util_uint64_scale_int):
10850         Optimisations, remove unneeded vars.
10851
10852 2005-11-25  Wim Taymans  <wim@fluendo.com>
10853
10854         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10855         Added more checks for the high precision uint64 cases.
10856
10857         * gst/gstutils.c: (gst_util_uint64_scale_int64),
10858         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10859         Implement high precision (guint64 * guint64) / guint64.
10860
10861 2005-11-24  Wim Taymans  <wim@fluendo.com>
10862
10863         * gst/base/gstbasesrc.c: (gst_base_src_query):
10864         Fix wrong percentage query.
10865
10866         * gst/gstutils.c: (gst_util_uint64_scale),
10867         (gst_util_uint64_scale_int):
10868         Add some more common cases that can be handled 
10869         efficiently to _scale.
10870
10871 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10872
10873         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
10874         (gst_mini_object_suite):
10875           don't use check calls from threads; check probably isn't
10876           threadsafe and using a lock to make it threadsafe would
10877           defeat the purpose of this check
10878         * gst/check/gstcheck.c:
10879         * gst/check/gstcheck.h:
10880           use GST_DEBUG some more
10881
10882 2005-11-24  Wim Taymans  <wim@fluendo.com>
10883
10884         * gst/gstutils.c: (gst_util_uint64_scale),
10885         (gst_util_uint64_scale_int):
10886         Chain trivial case to _scale_int.
10887
10888 2005-11-24  Wim Taymans  <wim@fluendo.com>
10889
10890         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10891         Added test for scaling.
10892
10893         * gst/gstclock.h:
10894         Small doc fix.
10895
10896         * gst/gstutils.c: (gst_util_uint64_scale_int):
10897         Implemented high precision scaling code.
10898
10899 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
10900
10901         * gst/gstinfo.h:
10902           do not crash on pad==NULL
10903
10904 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10905
10906         Patch by: Stefan Kost
10907
10908         * common/gtk-doc.mak:
10909         * docs/gst/Makefile.am:
10910         * docs/libs/Makefile.am:
10911           Fix distcheck issues for the libraries docs build
10912           Closes #319599.
10913
10914 2005-11-24  Michael Smith <msmith@fluendo.com>
10915
10916         * docs/manual/basics-helloworld.xml:
10917           Fix bug #315027: memory leak in example code in docs.
10918
10919 2005-11-24  Michael Smith <msmith@fluendo.com>
10920
10921         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10922           Unlock the PREROLL_LOCK in a failure case.
10923
10924 2005-11-24  Wim Taymans  <wim@fluendo.com>
10925
10926         * docs/gst/gstreamer-sections.txt:
10927         * gst/base/gstadapter.h:
10928         * gst/base/gstbasesink.h:
10929         * gst/base/gstbasesrc.h:
10930         * gst/base/gstbasetransform.h:
10931         * gst/base/gstpushsrc.h:
10932         * gst/elements/gstfakesink.h:
10933         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
10934         * gst/elements/gstfakesrc.h:
10935         * gst/elements/gstfilesink.h:
10936         * gst/elements/gstfilesrc.h:
10937         * gst/gst.c:
10938         * gst/gstbin.c:
10939         * gst/gstbuffer.c: (_gst_buffer_copy):
10940         * gst/gstbus.h:
10941         * gst/gstcaps.c:
10942         * gst/gstchildproxy.c:
10943         * gst/gstclock.c:
10944         * gst/gstelement.c:
10945         * gst/gstelementfactory.c:
10946         * gst/gstelementfactory.h:
10947         * gst/gstevent.c:
10948         * gst/gstghostpad.h:
10949         * gst/gstindex.h:
10950         * gst/gstinterface.h:
10951         * gst/gstminiobject.c:
10952         * gst/gstminiobject.h:
10953         * gst/gstpad.c:
10954         * gst/gstpad.h:
10955         * gst/gstpadtemplate.h:
10956         * gst/gstpipeline.h:
10957         * gst/gstpluginfeature.h:
10958         * gst/gstquery.h:
10959         * gst/gstqueue.h:
10960         * gst/gsttaglist.c:
10961         * gst/gsttaglist.h:
10962         * gst/gsttagsetter.c:
10963         * gst/gsttagsetter.h:
10964         * gst/gsttrace.c:
10965         * gst/gsttrace.h:
10966         * gst/gsttypefind.h:
10967         * gst/gsturi.h:
10968         * gst/gstvalue.c:
10969         * gst/net/gstnetclientclock.c:
10970         * gst/net/gstnetclientclock.h:
10971         * gst/net/gstnettimepacket.c:
10972         * gst/net/gstnettimeprovider.c:
10973         * gst/net/gstnettimeprovider.h:
10974         Doc fixes.
10975
10976 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10977
10978         * configure.ac: back to HEAD
10979
10980 === release 0.9.6 ===
10981
10982 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
10983
10984         * configure.ac:
10985           releasing 0.9.6, "Always On Time"
10986
10987 2005-11-23  Wim Taymans  <wim@fluendo.com>
10988
10989         * docs/gst/gstreamer-sections.txt:
10990         * gst/glib-compat.c:
10991         * gst/gsttagsetter.c:
10992         * gst/gstvalue.c:
10993         * gst/net/gstnetclientclock.c:
10994         * gst/net/gstnettimepacket.h:
10995         Doc updates.
10996
10997 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10998
10999         * docs/faq/using.xml:
11000         * docs/libs/tmpl/gstcontrol.sgml:
11001         * docs/manual/advanced-dparams.xml:
11002         * docs/manual/appendix-checklist.xml:
11003         * docs/manual/basics-elements.xml:
11004         * docs/pwg/other-source.xml:
11005         * docs/random/moving-plugins:
11006         * gst/gstpad.c:
11007         * tools/gst-launch.1.in:
11008           remove mentions of sinesrc
11009
11010 2005-11-23  Michael Smith <msmith@fluendo.com>
11011
11012         * docs/gst/gstreamer-sections.txt:
11013           Update for new API and API changes.
11014         * gst/gstobject.h:
11015           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
11016         * gst/gstvalue.c:
11017           Documentation typo fix.
11018         * gst/net/gstnettimepacket.c:
11019           Documentation fixes for arguments.
11020
11021 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
11022
11023         * gst/gststructure.c: (gst_structure_get_fraction),
11024         (gst_structure_parse_value),
11025         (gst_structure_fixate_field_nearest_fraction):
11026         * gst/gststructure.h:
11027         * gst/gstutils.c: (gst_util_uint64_scale_int):
11028         * gst/gstutils.h:
11029         * scripts/update-funcnames:
11030         API Changes. 
11031         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
11032         Make gst_structure_fixate_field_nearest_fraction take a numerator
11033         and denominator argument instead of a GValue
11034         add gst_structure_get_fraction helper function.
11035
11036 2005-11-23  Wim Taymans  <wim@fluendo.com>
11037
11038         * docs/design/part-TODO.txt:
11039         Update TODO.
11040
11041         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11042         * gst/net/gstnetclientclock.h:
11043         Use parent fields for timeout and window_size.
11044
11045 2005-11-23  Andy Wingo  <wingo@pobox.com>
11046
11047         * check/net/gstnetclientclock.c (test_functioning): Adjust to
11048         rate_num/rate_denom change.
11049
11050         * gst/net/gstnetclientclock.c
11051         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
11052         OBJECT_LOCK. Don't call add_observation with the lock.
11053
11054         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
11055         fraction.
11056         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
11057         rate fraction.
11058         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
11059         deal with rate as a fraction whose numerator and denominator are
11060         GstClockTime values.
11061         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
11062         master; the other fields are protected by the SLAVE_LOCK.
11063         (do_linear_regression): Note that this must be called with the
11064         SLAVE_LOCK.
11065         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
11066         OBJECT_LOCK. Call set_calibration instead of touching the
11067         variables directly.
11068         (gst_clock_set_property, gst_clock_get_property): Protect
11069         master/slave parameters with the SLAVE_LOCK.
11070
11071         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
11072         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
11073         note that all of the instance variables that add_observation and
11074         the set_master functions use are protected by that lock and not
11075         the OBJECT_LOCK.
11076         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
11077
11078         * gst/gstclock.c (gst_clock_add_observation): No longer requires
11079         the caller to take the object lock.
11080
11081 2005-11-23  Wim Taymans  <wim@fluendo.com>
11082
11083         * gst/gsterror.c: (_gst_core_errors_init):
11084         * gst/gsterror.h:
11085         Add error for clock stuff.
11086
11087         * gst/gstpipeline.c: (gst_pipeline_change_state),
11088         (gst_pipeline_set_clock):
11089         Post clock error when clock cannot be used in a pipeline.
11090
11091 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
11092
11093         * docs/gst/gstreamer-sections.txt:
11094           make two symbols from gstinfo private for the docs
11095         * gst/base/gstcollectpads.h:
11096         * gst/gstutils.c:
11097           fix doc typos, update docs
11098
11099 2005-11-22  Wim Taymans  <wim@fluendo.com>
11100
11101         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11102         (gst_base_sink_wait), (gst_base_sink_do_sync),
11103         (gst_base_sink_handle_event):
11104         * gst/base/gstbasesink.h:
11105         No need to store the clock, the parent element class already
11106         has it.
11107
11108         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
11109         Updates for clock_set returning a gboolean
11110
11111         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
11112         (gst_clock_id_wait_async), (gst_clock_class_init),
11113         (gst_clock_init), (gst_clock_finalize),
11114         (gst_clock_get_internal_time), (gst_clock_get_time),
11115         (gst_clock_slave_callback), (gst_clock_set_master),
11116         (gst_clock_get_master), (do_linear_regression),
11117         (gst_clock_add_observation), (gst_clock_set_property),
11118         (gst_clock_get_property):
11119         * gst/gstclock.h:
11120         Implement master/slave. When setting a clock as a slave, a
11121         periodic timeout is scheduled to sample master and slave times.
11122         Then the slave clock is recalibrated to match offset and rate
11123         of the master clock.
11124         Update logging a bit.
11125         Add flag so that a clock can state that is cannot be slaved to
11126         another clock.
11127
11128         * gst/gstelement.c: (gst_element_set_clock):
11129         * gst/gstelement.h:
11130         The set clock returns a gboolean for when an element cannot
11131         deal with the selected clock in the pipeline. 
11132
11133         * gst/gstpipeline.c: (gst_pipeline_change_state),
11134         (gst_pipeline_set_clock):
11135         * gst/gstpipeline.h:
11136         Handle the case where the selected clock cannot be set on
11137         the pipeline.
11138
11139         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
11140         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11141         (gst_net_client_clock_set_property),
11142         (gst_net_client_clock_get_property),
11143         (gst_net_client_clock_observe_times):
11144         * gst/net/gstnetclientclock.h:
11145         Use regression code in GstClock parent, remove duplicated
11146         functionality.
11147
11148 2005-11-22  Michael Smith <msmith@fluendo.com>
11149
11150         * gst/gstutils.c: (gst_util_clock_time_scale):
11151         * gst/gstutils.h:
11152         * docs/gst/gstreamer-sections.txt:
11153           Rename method to have extra underscore.
11154
11155 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11156
11157         * gst/elements/Makefile.am:
11158         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
11159         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11160         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
11161         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
11162         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
11163         * gst/elements/gstfakesrc.h:
11164         * gst/gstqueue.c: (queue_leaky_get_type):
11165           correctly fix GEnumValues so that nick is the short lowercase
11166           dashed tag
11167         * tools/gst-inspect.c: (print_element_properties_info):
11168           also show the nick, since it's useful to use from parse_launch
11169           syntax
11170           Fixes #322139
11171
11172 2005-11-22  Michael Smith <msmith@fluendo.com>
11173
11174         * gst/gstutils.c: (gst_util_clocktime_scale):
11175         * gst/gstutils.h:
11176         * docs/gst/gstreamer-sections.txt:
11177           Add util method for scaling a clocktime by a fraction. Useful 
11178           implementation is left as an exercise for the reader.
11179
11180 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11181
11182         * gst/gstvalue.c: (gst_value_collect_fraction_range):
11183         If needed, allocate storage in the destination value during
11184         collection.
11185
11186 2005-11-22  Edward Hervey  <edward@fluendo.com>
11187
11188         * docs/gst/gstreamer-sections.txt:
11189         * gst/Makefile.am:
11190         * gst/gst.h:
11191         * gst/gsturitype.c:
11192         * gst/gsturitype.h:
11193         * gst/gstutils.c: (gst_util_set_object_arg):
11194         * tools/gst-compprep.c: (main):
11195         * tools/gst-inspect.c: (print_element_properties_info):
11196         Removed GstURI, closes bug #321061
11197
11198 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11199
11200         * check/gst/gststructure.c: (GST_START_TEST):
11201         * gst/gststructure.c: (gst_structure_parse_value):
11202           Oops, broke automatic string type parsing.
11203           Add a test to catch it in future.
11204
11205 2005-11-22  Andy Wingo  <wingo@pobox.com>
11206
11207         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
11208         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
11209         Actually rename the function implementations. Grr.
11210
11211 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11212
11213         * check/gst/capslist.h:
11214           Comment test cases
11215         * check/gst/gststructure.c: (GST_START_TEST),
11216         (gst_structure_suite):
11217           Test automatic value type detection in gst_structure_from_string.
11218         * gst/gststructure.c: (gst_structure_parse_value):
11219           Add fraction as a type we try and guess automatically in
11220           caps/structure strings.
11221
11222 2005-11-22  Andy Wingo  <wingo@pobox.com>
11223
11224         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
11225
11226         * gst/gsttagsetter.h:
11227         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
11228         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
11229         (gst_tag_setter_add_tag_valist)
11230         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
11231         _add_values, _add_valist, and _add_valist_values. Since this is an
11232         interface the function suffixes should be more explicit so
11233         language binding don't end up with element.add_valist ->
11234         gst_tag_setter_add_valist, for example. Fixes #322069.
11235
11236 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11237
11238         * check/gst/gstcaps.c: (GST_START_TEST):
11239           Extend caps string tests to check that a caps to string
11240           conversion is reversible and produces the same caps.
11241
11242         * gst/gststructure.c: (gst_structure_value_get_generic_type):
11243           Output "fraction" as the generic type fraction range, so caps
11244           serialisation and deserialisation works.
11245         * check/gst/capslist.h:
11246         * gst/gstvalue.c: (gst_value_deserialize_fraction):
11247           Support 'MIN' and 'MAX' for deserialising fractions.
11248
11249 2005-11-22  Andy Wingo  <wingo@pobox.com>
11250
11251         * gst/gstevent.h (gst_event_new_new_segment)
11252         (gst_event_parse_new_segment, gst_event_new_buffer_size)
11253         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
11254         Renamed from *_newsegment, *_buffersize, *_notarget.
11255
11256         * scripts/update-funcnames: New script, performs the changes
11257         listed above.
11258
11259 2005-11-22  Wim Taymans  <wim@fluendo.com>
11260
11261         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11262         Make sure the GstFlowReturn is returned.
11263
11264         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
11265         (gst_bus_add_signal_watch):
11266         * gst/gstbus.h:
11267         add gst_bus_add_signal_watch_full.
11268
11269         * gst/gstplugin.c: (gst_plugin_load_file):
11270         Small style cleanup.
11271
11272 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11273
11274         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
11275           Block the fakesrc srcpad when we send an event, to avoid
11276           contention on the stream_lock causing random test failures.
11277
11278 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11279
11280         * check/gst/gstvalue.c: (GST_START_TEST):
11281         * gst/gstvalue.c: (gst_value_fraction_subtract):
11282           Fix subtraction.
11283
11284 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
11285
11286         * gst/gst.h:
11287           include "gstchildproxy.h"
11288         * gst/gstchildproxy.h:
11289         * libs/gst/controller/gstcontroller.h:
11290           use G_GNUC_NULL_TERMINATED
11291
11292 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11293
11294         * check/gst/capslist.h:
11295         * check/gst/gstcaps.c: (GST_START_TEST):
11296         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11297         * gst/gststructure.c: (gst_structure_parse_range),
11298         (gst_structure_fixate_field_nearest_fraction):
11299         * gst/gststructure.h:
11300         * gst/gstvalue.c: (gst_value_init_fraction_range),
11301         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11302         (gst_value_collect_fraction_range),
11303         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
11304         (gst_value_set_fraction_range_full),
11305         (gst_value_get_fraction_range_min),
11306         (gst_value_get_fraction_range_max),
11307         (gst_value_serialize_fraction_range),
11308         (gst_value_transform_fraction_range_string),
11309         (gst_value_compare_fraction_range),
11310         (gst_value_deserialize_fraction_range),
11311         (gst_value_intersect_fraction_fraction_range),
11312         (gst_value_intersect_fraction_range_fraction_range),
11313         (gst_value_subtract_fraction_fraction_range),
11314         (gst_value_subtract_fraction_range_fraction),
11315         (gst_value_subtract_fraction_range_fraction_range),
11316         (gst_value_collect_fraction), (gst_value_fraction_multiply),
11317         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
11318         (gst_value_transform_string_fraction), (_gst_value_initialize):
11319         * gst/gstvalue.h:
11320           Implement fraction ranges and extend GstFraction to support
11321           arithmetic subtraction, as well as deserialization from integer
11322           strings such as "100"
11323           Add a testsuite as for int and double range set operations
11324
11325 2005-11-21  Andy Wingo  <wingo@pobox.com>
11326
11327         * gst/gsttaglist.h: 
11328         * gst/gstcaps.h: 
11329         * gst/gststructure.h: Add glib-compat.h.
11330
11331 2005-11-21  Wim Taymans  <wim@fluendo.com>
11332
11333         * gst/gstbin.c: (gst_bin_change_state_func):
11334         Fix for #321595
11335
11336 2005-11-21  Wim Taymans  <wim@fluendo.com>
11337
11338         * gst/gstsegment.h:
11339         And add a nice define too.
11340
11341 2005-11-21  Wim Taymans  <wim@fluendo.com>
11342
11343         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
11344         (gst_segment_new), (gst_segment_free), (gst_segment_init),
11345         (gst_segment_set_duration), (gst_segment_set_last_stop),
11346         (gst_segment_set_seek), (gst_segment_set_newsegment),
11347         (gst_segment_to_stream_time), (gst_segment_to_running_time),
11348         (gst_segment_clip):
11349         * gst/gstsegment.h:
11350         Make binding friendly.
11351
11352 2005-11-21  Andy Wingo  <wingo@pobox.com>
11353
11354         * gst/gsttagsetter.h: 
11355         * gst/gsttaglist.h: 
11356         * gst/gststructure.h: 
11357         * gst/gstcaps.h: 
11358         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
11359         #319940.
11360
11361         * gst/gsterror.c (_gst_core_errors_init):
11362         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
11363         category.
11364
11365         * gst/Makefile.am (gst_headers): Add glib-compat.h.
11366         (noinst_HEADERS): noinst the -private.
11367
11368 2005-11-21  Michael Smith <msmith@fluendo.com>
11369
11370         * gst/gstplugin.h:
11371         * gst/gstregistry.h:
11372           Remove unimplemented declarations for which we can see no sensible
11373           use.
11374
11375 2005-11-21  Andy Wingo  <wingo@pobox.com>
11376
11377         * gst/gst.h: Include glib-compat.h.
11378
11379         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
11380
11381         * gst/glib-compat.c: Include the public and the private header.
11382
11383         * gst/glib-compat-private.h: Copied here from glib-compat.h.
11384
11385         * gst/gstvalue.c: 
11386         * gst/gstpad.c: 
11387         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
11388
11389         * check/gst/gstevent.c (create_custom_events): Check that
11390         FLUSH_STOP is serialized.
11391
11392         * check/elements/identity.c (event_func): 
11393         * check/elements/fakesrc.c (event_func): No stream lock, the core
11394         takes it.
11395
11396         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
11397         stream lock taking, yay.
11398
11399         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
11400         ensure that core takes the stream lock.
11401
11402         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
11403         lock name change.
11404
11405         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
11406         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
11407         it already. For the flush start we do take it though so we get the
11408         right preroll state change messages.
11409
11410         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
11411         the stream lock here, the core does it for us.
11412
11413         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
11414         GST_STREAM_GET_LOCK.
11415         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
11416         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
11417         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
11418         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
11419         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
11420         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
11421
11422         * gst/gstpad.c: Update for stream lock name change.
11423
11424         * gst/base/gstbasesink.c: Update for preroll lock name change.
11425
11426 2005-11-21  Wim Taymans  <wim@fluendo.com>
11427
11428         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
11429         (gst_clock_get_master):
11430         * gst/gstclock.h:
11431         * gst/gstsystemclock.c: (gst_system_clock_init):
11432         Convert Clock flags to object flags.
11433         Added methods to manage master/slave clocks.
11434
11435 2005-11-21  Wim Taymans  <wim@fluendo.com>
11436
11437         * check/gst/gstsegment.c: (GST_START_TEST):
11438         * docs/design/part-TODO.txt:
11439         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11440         (gst_base_sink_event), (gst_base_sink_do_sync),
11441         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11442         (gst_base_sink_query), (gst_base_sink_change_state):
11443         * gst/base/gstbasesink.h:
11444         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
11445         (gst_base_src_default_newsegment),
11446         (gst_base_src_configure_segment), (gst_base_src_do_seek),
11447         (gst_base_src_get_range), (gst_base_src_loop),
11448         (gst_base_src_change_state):
11449         * gst/base/gstbasesrc.h:
11450         * gst/base/gstbasetransform.c:
11451         (gst_base_transform_prepare_output_buf),
11452         (gst_base_transform_event), (gst_base_transform_change_state):
11453         * gst/base/gstbasetransform.h:
11454         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11455         (gst_collect_pads_event):
11456         * gst/base/gstcollectpads.h:
11457         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
11458         (gst_fake_src_create):
11459         * gst/elements/gstfakesrc.h:
11460         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11461         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11462         (gst_segment_set_last_stop), (gst_segment_set_seek),
11463         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11464         (gst_segment_to_running_time), (gst_segment_clip):
11465         * gst/gstsegment.h:
11466         More segment updates, replace code in plugins with segment
11467         helper functions.
11468
11469 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11470
11471         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
11472         Don't ignore sscanf results
11473
11474 2005-11-21  Andy Wingo  <wingo@pobox.com>
11475
11476         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
11477
11478         * *.h:
11479         * *.c: Ran scripts/update-macros. Oh yes.
11480
11481         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
11482         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
11483         GST_GET_LOCK, etc.
11484
11485         * scripts/update-macros: New script. Run it on your files to
11486         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
11487         well.
11488
11489 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
11490
11491         * docs/gst/Makefile.am:
11492         * docs/gst/gstreamer-docs.sgml:
11493         * docs/gst/gstreamer-sections.txt:
11494         * docs/gst/gstreamer.types:
11495         * gst/gstinfo.h:
11496           more docs fixes, add new api to the docs
11497
11498 2005-11-21  Andy Wingo  <wingo@pobox.com>
11499
11500         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
11501         state_broadcast call.
11502
11503         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
11504
11505 2005-11-21  Julien MOUTTE  <julien@moutte.net>
11506
11507         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
11508         function calls for arrays.
11509
11510 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
11511
11512         * docs/random/ensonic/media-device-daemon.txt:
11513           wild idea, can this be done?
11514         * docs/gst/gstreamer-sections.txt:
11515         * gst/gsterror.h:
11516         * gst/gstfilter.c:
11517         * gst/gstfilter.h:
11518         * gst/gstplugin.h:
11519         * gst/gstpluginfeature.c:
11520         * gst/gsttrace.c:
11521         * gst/gstvalue.c:
11522         * gst/gstvalue.h:
11523           doc fixes and additions
11524
11525 2005-11-21  Andy Wingo  <wingo@pobox.com>
11526
11527         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
11528         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
11529         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
11530         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
11531         private to the basesrc implementation.
11532
11533         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
11534         behalf of event function if necessary. It should no longer be
11535         necessary to take the stream lock in pad's event functions. Fixes
11536         #320299.
11537
11538 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11539         * docs/gst/gstreamer-sections.txt:
11540         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
11541         (gst_structure_fixate_field_nearest_double),
11542         (gst_structure_fixate_field_boolean):
11543         * gst/gststructure.h:
11544         * win32/common/libgstreamer.def:
11545         * win32/gstreamer.def:
11546
11547         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
11548         (#322027)
11549
11550 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11551
11552         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
11553         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
11554         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
11555         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
11556         (gst_fdsrc_uri_handler_init):
11557         * gst/elements/gstfdsrc.h:
11558           Port fd:// URI handler from 0.8 to fdsrc
11559
11560 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11561
11562         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
11563         (gst_value_serialize_fourcc):
11564         * gst/gstvalue.h:
11565           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
11566           consistent with our other format defines (#320324).
11567
11568 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11569
11570         * gst/gstvalue.c: (gst_value_is_fixed):
11571           Revert previous commit. Value lists are by definition
11572           not fixed, as they are a list of possible values.
11573
11574 2005-11-21  Andy Wingo  <wingo@pobox.com>
11575
11576         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
11577         during the stable series if we need it. Fixes #319178.
11578
11579         * gst/gstevent.c (gst_event_new_filler): Removed.
11580
11581         * check/gst/gstevent.c: Update comment about filler events.
11582
11583 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11584
11585         * gst/gstvalue.c: (gst_value_is_fixed):
11586           Should handle both value arrays and value lists.
11587
11588 2005-11-21  Andy Wingo  <wingo@pobox.com>
11589
11590         patch by: Alessandro Dessina <alessandro nnva org>
11591
11592         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
11593         functions to access arrays. Fixes #321962.
11594
11595 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11596
11597         * docs/gst/gstreamer.types:
11598           gst_collectpads_get_type => gst_collect_pads_get_type.
11599           
11600         * gst/base/gstbasetransform.c:
11601           Remove unused SIGNAL_HANDOFF enum.
11602
11603 2005-11-21  Andy Wingo  <wingo@pobox.com>
11604
11605         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
11606         the event type (upstream, downstream, serialized). Renamed
11607         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
11608         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
11609         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
11610
11611         * gst/gstevent.c: Update for new CUSTOM event names.
11612
11613         * check/gst/gstevent.c: Update check for new CUSTOM event names.
11614
11615         * gst/gstevent.h:
11616         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
11617         bug #319392.
11618
11619 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11620
11621         * docs/gst/gstreamer-sections.txt:
11622         * win32/common/libgstbase.def:
11623         * win32/libgstbase.def:
11624         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11625         (gst_collect_pads_class_init), (gst_collect_pads_init),
11626         (gst_collect_pads_finalize), (gst_collect_pads_new),
11627         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
11628         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
11629         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
11630         (gst_collect_pads_start), (gst_collect_pads_stop),
11631         (gst_collect_pads_peek), (gst_collect_pads_pop),
11632         (gst_collect_pads_available), (gst_collect_pads_read),
11633         (gst_collect_pads_flush), (gst_collect_pads_event),
11634         (gst_collect_pads_chain):
11635         * gst/base/gstcollectpads.h:
11636           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
11637           unimplemented functions as unimplemented. Add padding to
11638           GstCollectData. (#320766, #320423)
11639
11640 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11641
11642         * gst/gstmessage.c:
11643           Improve docs for DURATION message (usage of duration parameter)
11644           (#320113)
11645
11646 2005-11-20  Wim Taymans  <wim@fluendo.com>
11647
11648         * check/Makefile.am:
11649         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
11650         (main):
11651         * gst/Makefile.am:
11652         * gst/gst.h:
11653         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11654         (gst_segment_set_seek), (gst_segment_set_newsegment),
11655         (gst_segment_to_stream_time), (gst_segment_to_running_time),
11656         (gst_segment_clip):
11657         * gst/gstsegment.h:
11658         Added segment helper structure and methods. Not fully implemented
11659         yet.
11660         Added segment check.
11661
11662 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
11663
11664         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11665           Add a deserialisation test for fractions
11666         * examples/metadata/read-metadata.c: (message_loop),
11667         (make_pipeline), (main):
11668           Fix up metadata reading sample.
11669         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11670           Debug format fix
11671         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
11672           Don't try and fixate empty caps
11673         * gst/gst_private.h:
11674           Wrap in G_BEGIN_DECLS/G_END_DECLS
11675         * gst/gstvalue.c: (gst_value_collect_fraction),
11676         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
11677         (gst_value_transform_string_fraction),
11678         (gst_value_compare_fraction):
11679           Add some extra guards to ensure that we don't end up 
11680           with an invalid denominator of 0 in a gstfraction and
11681           that fractions always get reduced.
11682
11683 2005-11-20  Wim Taymans  <wim@fluendo.com>
11684
11685         * docs/gst/gstreamer-sections.txt:
11686         * gst/gstbuffer.h:
11687         * gst/gstelement.c:
11688         * gst/gstformat.c:
11689         * gst/gstformat.h:
11690         * gst/gstindex.h:
11691         * gst/gstquery.c:
11692         * gst/gstquery.h:
11693         * gst/gstvalue.c:
11694         Doc fixes.
11695
11696 2005-11-20  Wim Taymans  <wim@fluendo.com>
11697
11698         * docs/design/part-TODO.txt:
11699         * gst/gstcaps.h:
11700         Make a proper enum of the flag.
11701
11702 2005-11-19  Wim Taymans  <wim@fluendo.com>
11703
11704         * docs/design/part-TODO.txt:
11705         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
11706         (gst_format_to_quark), (gst_format_register):
11707         * gst/gstformat.h:
11708         * gst/gstquery.c: (_gst_query_initialize),
11709         (gst_query_type_get_name), (gst_query_type_to_quark),
11710         (gst_query_type_register):
11711         * gst/gstquery.h:
11712         Add type to quark and type to string conversions.
11713
11714 2005-11-19  Andy Wingo  <wingo@pobox.com>
11715
11716         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
11717         #320097.
11718
11719 2005-11-19  Wim Taymans  <wim@fluendo.com>
11720
11721         * docs/design/part-TODO.txt:
11722         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11723         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
11724         (gst_bin_handle_message_func):
11725         * gst/gstbin.h:
11726         Make message handling overridable.
11727
11728 2005-11-19  Andy Wingo  <wingo@pobox.com>
11729
11730         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
11731
11732         * gst/gstclock.h:
11733         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
11734         be a GstClockTime.
11735         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
11736         is a GstClockTime. Fixes #321710.
11737
11738         * gst/gstclock.h (GstClock): Remove offset property. Add
11739         internal_calibration and external_calibration. Fix padding. Pad
11740         also by GstClockTime so we don't run into problems.
11741
11742         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
11743         (gst_clock_get_rate_offset): Remove.
11744         (gst_clock_set_time_adjust): Remove. Fixes #321712.
11745
11746         * gst/gstutils.h:
11747         * gst/gstutils.c (g_static_rec_cond_wait)
11748         (g_static_rec_cond_timed_wait): Removed, no longer needed.
11749
11750         * gst/gstbin.c: Remove terrible continue_state prototype.
11751
11752         * gst/gstelement.h (gst_element_continue_state): Make public.
11753
11754         * gst/gstelement.h:
11755         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
11756         by continue_state. Fixes #319389.
11757
11758         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
11759         Really fixes #168438. However I don't see anywhere where the
11760         filter function is called... stupid GStreamer...
11761         
11762         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
11763         don't have a dispose function, so it won't get called when the
11764         object is unreffed, but oh well!
11765
11766         * gst/gstindex.c (gst_index_set_filter_full): New API function,
11767         allows a destroy function to be set so user_data can be freed.
11768         Fixes #168438.
11769         (gst_index_set_filter): Call gst_index_set_filter_full.
11770
11771         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
11772
11773         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
11774         string should produce an error, given the lack of a way to
11775         represent NULL strings. Fixes #165650.
11776         
11777         * gst/gstvalue.h: 
11778         * gst/gstvalue.c (gst_value_array_append_value) 
11779         (gst_value_array_prepend_value, gst_value_array_get_size) 
11780         (gst_value_array_get_value): New API, copied from
11781         gst_value_list_*, only operates on arrays.
11782         (gst_value_list_append_value, gst_value_list_prepend_value) 
11783         (gst_value_list_concat, gst_value_list_get_size) 
11784         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
11785
11786         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
11787         init_list, because it works on both.
11788         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
11789         (gst_value_copy_list_or_array): Renamed from copy_list.
11790         (gst_value_free_list_or_array): Renamed from free_list.
11791         (gst_value_collect_list_or_array): Renamed from collect_list.
11792         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
11793         (gst_value_list_or_array_peek_pointer): Renamed from
11794         list_peek_pointer.
11795         (_gst_value_array_value_table, _gst_value_list_value_table):
11796         Update value table functions.
11797         (gst_value_compare_list_or_array): Renamed from compare_list.
11798
11799         * gsttaglist.h: Whoops, foreach function returns void. Also fix
11800         some constness.
11801
11802         * gst/gsttaglist.c:
11803         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
11804         GstTagList*. Fixes #143472.
11805
11806         * gst/gststructure.h: Clarify what the foreach/map functions can
11807         or can't do to their arguments.
11808
11809 2005-11-18  Wim Taymans  <wim@fluendo.com>
11810
11811         * gst/gstclock.c: (gst_clock_set_calibration),
11812         (gst_clock_get_calibration):
11813         Doc and API fixes.
11814         Calibration can be set with internal time equal to current
11815         internal time too.
11816
11817 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
11818
11819         * gst/gsterror.c:
11820         * gst/gsterror.h:
11821           document
11822
11823 2005-11-18  Andy Wingo  <wingo@pobox.com>
11824
11825         * configure.ac: 
11826         * pkgconfig/gstreamer-net.pc.in:
11827         * pkgconfig/gstreamer-net-uninstalled.pc.in:
11828         * pkgconfig/Makefile.am: Add net pkgconfig files.
11829
11830 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
11831
11832         * gst/gstcaps.c:
11833         * gst/gstghostpad.c:
11834         * gst/gsttrace.c:
11835         * gst/gstvalue.c:
11836         * gst/gstvalue.h:
11837           docs fixes
11838
11839 2005-11-18  Andy Wingo  <wingo@pobox.com>
11840
11841         * gst/net/gstnetclientclock.c: Turn off debugging.
11842
11843         * check/net/gstnetclientclock.c (test_functioning): Assert that the
11844         times connverge somewhat. Can't make a real test.
11845
11846         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
11847         integer arithmetic. Return the minimum of the domain, which can be
11848         set as "internal" for gst_clock_set_calibration.
11849         (gst_net_client_clock_observe_times): Call _set_calibration.
11850         (gst_net_client_clock_new): Call _set_calibration instead of
11851         rate_offset.
11852
11853         * check/net/gstnetclientclock.c (test_functioning): Use the right
11854         adjustment api.
11855
11856         * gst/gstclock.h:
11857         * gst/gstclock.c (gst_clock_get_calibration) 
11858         (gst_clock_set_calibration): New functions, obsolete the ones I
11859         added yesterday. Doh. Precision issues mean we have to extrapolate
11860         from a point in the more recent past than 1970.
11861         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
11862         obsolete.
11863         (gst_clock_adjust_unlocked): Use the right calibration data.
11864
11865 2005-11-18  Edward Hervey  <edward@fluendo.com>
11866
11867         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
11868         Also reset the ->current_* values in READY->PAUSED
11869
11870 2005-11-18  Andy Wingo  <wingo@pobox.com>
11871
11872         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
11873         Whoops, check the right fd. Also add some debugging.
11874         (gst_net_client_clock_observe_times): Adjust for int64 offset.
11875         (do_linear_regression): Add a crapload of debugging. Subtract off
11876         the minimum values from the input series to discard unneeded bits.
11877         Use only int arithmetic. There is still double arithmetic when
11878         calculating the intercept that needs fixing. Return boolean to
11879         indicate success; FALSE would mean the domain or range is too
11880         great. Still needs fixes.
11881
11882 2005-11-18  Wim Taymans  <wim@fluendo.com>
11883
11884         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
11885         For the current position in stream time, we need to subtract
11886         accumulated time.
11887         
11888         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11889         Release lock before calling the callback function of async
11890         entries.
11891
11892 2005-11-18  Andy Wingo  <wingo@pobox.com>
11893
11894         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
11895         Port goes all the way to MAXUINT16.
11896
11897         * gst/net/gstnettimeprovider.c: Make the port range the same as
11898         for the kernel: 0 assigns, otherwise ports are less than
11899         MAXUINT16.
11900
11901         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
11902         port change.
11903
11904         * check/net/gstnetclientclock.c (test_functioning): Add the start
11905         of another test. 
11906
11907 2005-11-18  Wim Taymans  <wim@fluendo.com>
11908
11909         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11910         (gst_bin_remove_func), (bin_bus_handler):
11911         * gst/gstbin.h:
11912         Removing a clock provider from a bin, triggers a clock lost message
11913         so that a new clock will be selected.
11914         Adding a clock to a bin triggers a clock provider message.
11915         Make sure we reselect a clock when we received a clock lost message.
11916         Keep a reference to the element that provided the clock.
11917
11918 2005-11-18  Andy Wingo  <wingo@pobox.com>
11919
11920         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
11921         the clock initially so it produces values around the base time.
11922         (gst_net_client_clock_class_init): Typo fix.
11923         (gst_net_client_clock_thread): Add note on when the socket gets
11924         closed.
11925
11926 2005-11-17  Wim Taymans  <wim@fluendo.com>
11927
11928         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
11929         Free remote and local time arrays.
11930
11931 2005-11-17  Wim Taymans  <wim@fluendo.com>
11932
11933         * gst/net/gstnetclientclock.c: (do_linear_regression),
11934         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
11935         Fix compilation, uninitialized vars and a forgotten continue.
11936
11937 2005-11-17  Andy Wingo  <wingo@pobox.com>
11938
11939         * check/Makefile.am (check_PROGRAMS): 
11940         * check/net/gstnetclientclock.c: Add a most minimal test for the
11941         net client clock. More to come later.
11942
11943         * gst/net/gstnet.h: 
11944         * gst/net/Makefile.am: Add netclientclock.
11945
11946         * gst/net/gstnetclientclock.h:
11947         * gst/net/gstnetclientclock.c: New files, implement an untested
11948         GstClock that takes its time from a network time provider.
11949         Implements the algorithm in network-clock.scm.
11950
11951         * tests/network-clock.scm (*window-size*): Rename from
11952         *queue-length*.
11953         * tests/network-clock.scm (network-time): 
11954         * tests/network-clock-utils.scm (q-push): Update callers.
11955
11956 2005-11-17  Wim Taymans  <wim@fluendo.com>
11957
11958         * gst/gstbin.c: (gst_bin_provide_clock_func),
11959         (gst_bin_sort_iterator_new):
11960         And unref the child too..
11961
11962 2005-11-17  Wim Taymans  <wim@fluendo.com>
11963
11964         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11965         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
11966         Refactor the sort iterator so it can be used while holding the
11967         LOCK too.
11968         Make clock selection select a clock closest to the source.
11969
11970 2005-11-17  Michael Smith <msmith@fluendo.com>
11971
11972         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
11973         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
11974         * gst/gstclock.h:
11975           Anonymous structs are a gcc (and some other compilers) extension, so
11976           don't use them. Since this is only for ABI-compatibility, and our
11977           API/ABI freeze is over in a few days, this whole thing will only
11978           last a few days, so don't bother trying to think up a meaningful
11979           name for the struct.
11980
11981 2005-11-17  Andy Wingo  <wingo@pobox.com>
11982
11983         * gst/gstclock.h (GstClock): Add rate and offset properties,
11984         preserving ABI stability. Add rate/offset accessors. Will file bug
11985         for the freeze break.
11986
11987         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
11988         and offset, trying to keep precision and avoiding
11989         underflow/overflow.
11990         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
11991         functions. Make gst_clock_set_time_adjust obsolete.
11992         (gst_clock_set_time_adjust): Note that this function is obsolete.
11993         Will file bug soon.
11994
11995         * gst/base/gstbasetransform.h: Make the ABI-stability hack
11996         greppable by using GST_PADDING-1+1.
11997
11998 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
11999
12000         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12001
12002         * gst/gstmessage.c: (gst_message_parse_clock_lost):
12003           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
12004
12005         * gst/gstpadtemplate.h:
12006         * gst/gstpluginfeature.h:
12007           Don't use c++ style comments in headers (#321638).
12008
12009 2005-11-16  Andy Wingo  <wingo@pobox.com>
12010
12011         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
12012         buffer.
12013
12014         * check/net/gstnettimeprovider.c: Check to see that the time
12015         provider actually provides times. Works, yo!
12016
12017 2005-11-16  Wim Taymans  <wim@fluendo.com>
12018
12019         * check/Makefile.am:
12020         Enable more tests.
12021
12022         * check/elements/fakesrc.c: (GST_START_TEST):
12023         Set element to NULL before disposing it.
12024
12025 2005-11-16  Andy Wingo  <wingo@pobox.com>
12026
12027         * gst/net/Makefile.am:
12028         * gst/net/gstnet.h:
12029         * gst/net/gstnettimeprovider.c: 
12030         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
12031         provider, include it from gstnet.h, and add it to the build.
12032
12033         * gst/net/gstnettimepacket.h: 
12034         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
12035         sending and receiving.
12036
12037 2005-11-16  Wim Taymans  <wim@fluendo.com>
12038
12039         * check/Makefile.am:
12040         Enable valgrind check.
12041
12042         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
12043         (gst_fake_src_alloc_buffer):
12044         Fix memleak.
12045
12046 2005-11-16  Wim Taymans  <wim@fluendo.com>
12047
12048         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
12049         Call parent finalize too.
12050
12051 2005-11-16  Wim Taymans  <wim@fluendo.com>
12052
12053         * check/Makefile.am:
12054         Enable valgrind check that should work fine now.
12055
12056         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12057         * gst/gstqueue.c: (gst_queue_init):
12058         Fix memleaks in pad allocation.
12059
12060 2005-11-16  Andy Wingo  <wingo@pobox.com>
12061
12062         * gst/net/Makefile.am:
12063         * gst/net/gstnet.h: New part of core to hold network elements and
12064         objects. Put in core because it exposes API that applications want
12065         to use. The library is named libgstnet-tempname right now because
12066         of the existing libgstnet in gst-plugins-base. Solution is
12067         probably to rename the one in plugins-base; will file a bug for
12068         the freeze break.
12069
12070         * gst/net/gstnettimeprovider.c: 
12071         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
12072         get_time call over the network.
12073
12074         * configure.ac: 
12075         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
12076
12077         * check/Makefile.am:
12078         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
12079         get additions shortly.
12080
12081 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12082
12083         * gst/gstpad.c: (gst_pad_new_from_static_template):
12084         * gst/gstpad.h:
12085           add gst_pad_new_from_static_template functions
12086         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
12087         (gst_check_setup_sink_pad):
12088         * gst/elements/gsttee.c: (gst_tee_init):
12089           and use them
12090
12091 2005-11-16  Wim Taymans  <wim@fluendo.com>
12092
12093         * gst/gstpad.c: (gst_pad_pause_task):
12094         Removed warning, it's not really an error either.
12095
12096 2005-11-16  Wim Taymans  <wim@fluendo.com>
12097
12098         * gst/base/gstbasetransform.c:
12099         (gst_base_transform_prepare_output_buf),
12100         (gst_base_transform_event):
12101         Check if the caps are NULL, this can happen if the element
12102         is shutting down and the pad caps are set to NULL.
12103
12104 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12105
12106         * gst/elements/gsttee.c: (gst_tee_init):
12107           fix pad template leak in tee
12108
12109 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12110
12111         * gst/glib-compat.c: (g_value_dup_gst_object):
12112         * gst/glib-compat.h:
12113         * gst/gstpad.c: (gst_pad_set_property):
12114           use gst_object_ref when setting the pad template; this will
12115           trigger the pad template leaks on GLib 2.6 and the slaves
12116
12117 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12118
12119         * gst/glib-compat.c: (gst_flags_get_first_value):
12120         * gst/glib-compat.h:
12121         * gst/gstregistryxml.c:
12122           remove functions copied from GLib 2.6
12123
12124 2005-11-16  Michael Smith <msmith@fluendo.com>
12125
12126         * gst/Makefile.am:
12127           Don't link against VALGRIND_LIBS. That was always the wrong thing to
12128           do, but only breaks with newer valgrind versions. We're not a
12129           valgrind tool, we have no link-time dependencies on libcoregrind.
12130
12131 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12132
12133         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12134           some debug changes
12135         * gst/gstmessage.h:
12136           typo fixes
12137
12138 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12139
12140         * gst/base/gstbasesrc.c: (gst_base_src_init):
12141         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12142         * gst/gstqueue.c: (gst_queue_init):
12143         * gst/gstregistryxml.c: (load_feature):
12144           Revert all these unrefs, they don't even pass make check !
12145
12146 2005-11-15  Johan Dahlin  <johan@gnome.org>
12147
12148         * gst/base/gstbasesrc.c: (gst_base_src_init):
12149         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12150         * gst/gstqueue.c: (gst_queue_init): 
12151         Free pad templates, fixes a couple of leaks.
12152
12153 2005-11-15  Daniel Fischer  <dan at f3c dot com>
12154
12155         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12156
12157         * gst/gstpad.c: (gst_pad_get_property):
12158           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
12159           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
12160           (#321452)
12161
12162 2005-11-15  Wim Taymans  <wim@fluendo.com>
12163
12164         * gst/gstevent.c:
12165         Small doc update.
12166
12167 2005-11-15  Andy Wingo  <wingo@pobox.com>
12168
12169         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
12170
12171         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
12172         using GST_CLOCK_TIME_NONE to disable base time management.
12173         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
12174         time if it was NONE before.
12175         (gst_pipeline_change_state): Only munge the base time if
12176         stream_time != GST_CLOCK_TIME_NONE.
12177
12178         * check/gst/gstpipeline.c (test_base_time): Punt around the
12179         problem of the probe not being called, because that's not the
12180         issue I'm looking at. Add a check that setting stream_time to NONE
12181         disables base time management.
12182         
12183 2005-11-15  Wim Taymans  <wim@fluendo.com>
12184
12185         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12186         segment_stop == -1 at startup.
12187
12188         * gst/base/gstbasetransform.c: (gst_base_transform_event),
12189         (gst_base_transform_change_state):
12190         Init segment values at start.
12191
12192 2005-11-15  Wim Taymans  <wim@fluendo.com>
12193
12194         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12195         0 segment values are 0 in any format.
12196
12197         * gst/base/gstbasetransform.c: (gst_base_transform_event):
12198         * gst/base/gstbasetransform.h:
12199         Parse newsegment correctly in basetransform
12200
12201         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12202         Sync to clock using updated segment values.
12203
12204 2005-11-15  Andy Wingo  <wingo@pobox.com>
12205
12206         * check/gst/gstpipeline.c (test_base_time): Add check that the
12207         base time and stream time are reset correctly.
12208
12209 2005-11-15  Wim Taymans  <wim@fluendo.com>
12210
12211         * docs/design/part-TODO.txt:
12212         Some more TODO items.
12213
12214 2005-11-15  Andy Wingo  <wingo@pobox.com>
12215
12216         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
12217         error if the user selected "no clock" as the clocking method.
12218
12219         * check/gst/gstpipeline.c (test_base_time): New test for buffer
12220         timestamps with live capture.
12221
12222         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
12223         is 0 but we are a live source, timestamp the buffers using the
12224         element's clock.
12225
12226 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
12227
12228         * docs/gst/gstreamer-sections.txt:
12229         * gst/gsterror.c:
12230         * gst/gstghostpad.c:
12231         * gst/gstobject.h:
12232         * gst/gstxml.c:
12233           more section docs
12234
12235 2005-11-14  Wim Taymans  <wim@fluendo.com>
12236
12237         * common/gst.supp:
12238           add suppressions from Wim's Debian machine
12239
12240 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12241
12242         * common/gst.supp:
12243           add suppressions from Andy's AMD64 Ubuntu machine
12244
12245 2005-11-14  Andy Wingo  <wingo@pobox.com>
12246
12247         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
12248         STATE_LOCK not necessary. Fixes #311489.
12249
12250         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
12251         #305291.
12252
12253         * gst/gstindex.c (gst_index_add_object): Note in the docs that
12254         this function is not implemented.
12255
12256 2005-11-14  Julien MOUTTE  <julien@moutte.net>
12257
12258         * gst/base/gstbasetransform.c:
12259         (gst_base_transform_prepare_output_buf):
12260         Ref the source pad caps while we need them.
12261         Fixes (#321386)
12262
12263 2005-11-11  Wim Taymans  <wim@fluendo.com>
12264
12265         * docs/gst/gstreamer-sections.txt:
12266         Added some docs for GstCollectData.
12267
12268         * gst/base/gstadapter.c:
12269         Some small code example fix.
12270
12271         * gst/base/gstcollectpads.c:
12272         * gst/base/gstcollectpads.h:
12273         Document some more.
12274
12275 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12276
12277         * configure.ac: back to HEAD
12278
12279 === release 0.9.5 ===
12280
12281 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
12282
12283         * configure.ac:
12284           releasing 0.9.5, "Bike Lunch Day"
12285
12286 2005-11-11  Wim Taymans  <wim@fluendo.com>
12287
12288         * gst/gstbuffer.c: (_gst_buffer_copy):
12289         Copy more flags.
12290
12291         * gst/gstcaps.c: (gst_caps_is_equal):
12292         Fix some docs.
12293         Make _is_equal fast in the trivial cases.
12294
12295         * gst/gstminiobject.c:
12296         * gst/gstminiobject.h:
12297         More docs. Spifify .h file.
12298
12299         * gst/gstutils.c:
12300         Small doc update.
12301
12302 2005-11-11  Wim Taymans  <wim@fluendo.com>
12303
12304         * gst/base/gstbasetransform.c:
12305         (gst_base_transform_prepare_output_buf),
12306         (gst_base_transform_handle_buffer):
12307         Small cleanups.
12308         If we're processing a buffer and need to allocate an output
12309         buffer, we cannot accept a format change. If we did get a 
12310         format change, we have to alloc a buffer ourselves of the 
12311         right size.
12312
12313 2005-11-11  Wim Taymans  <wim@fluendo.com>
12314
12315         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
12316         While checking the flag for reentrancy in the gstcaps function
12317         is nice to detect recursive invocations, it also makes it 
12318         impossible to call getcaps from multiple threads, which must be
12319         possible. So, checking for recursive calls has to go.
12320
12321 2005-11-11  Michael Smith <msmith@fluendo.com>
12322
12323         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12324           Don't sync on buffers that fall partially outside our current
12325           segment. Prevents an assertion failure/abort playing some files.
12326
12327 2005-11-10  Andy Wingo  <wingo@pobox.com>
12328
12329         * check/gst/gstbin.c (test_message_state_changed_children): Style
12330         fix..
12331
12332         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
12333         gst_bus_poll with the signal watch. Ensures that poll and a signal
12334         watch see the same messages.
12335
12336         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
12337         a poll and a watch at the same time get the same messages.
12338
12339 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12340
12341         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
12342         * gst/gstcaps.c: (gst_caps_intersect):
12343           Don't call gst_caps_do_simplify - it doesn't respect order of caps
12344           and it's not needed.
12345
12346 2005-11-10  Wim Taymans  <wim@fluendo.com>
12347
12348         * docs/design/part-TODO.txt:
12349         Updated todo.
12350
12351 2005-11-10  Wim Taymans  <wim@fluendo.com>
12352
12353         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12354         * gst/base/gstbasesrc.c: (gst_base_src_wait),
12355         (gst_base_src_do_sync), (gst_base_src_get_range):
12356         Implement clock sync in base class.
12357
12358 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12359
12360         patch by: Tim-Philipp Müller <tim at centricular dot net>
12361
12362         * gst/gststructure.c: (gst_structure_parse_field),
12363         (gst_structure_from_string):
12364           Forward-port a 0.8 patch to handle escaped spaces in structure string,
12365           so that gst_parse_launch() can deal with spaces in filtered link
12366           caps (fixes #164479)
12367         * check/gst/capslist.h:
12368         * check/gst/gststructure.c: (GST_START_TEST):
12369           add unit tests for this change
12370
12371 2005-11-10  Wim Taymans  <wim@fluendo.com>
12372
12373         * docs/gst/gstreamer-sections.txt:
12374         * gst/gstelement.c:
12375         * gst/gstelement.h:
12376         Fix docs, move some STATE macros to private.
12377
12378 2005-11-10  Wim Taymans  <wim@fluendo.com>
12379
12380         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12381         Added check for bug #317341
12382
12383         * gst/gstbuffer.c:
12384         * gst/gstbuffer.h:
12385         Some more spiffifying.
12386
12387         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
12388         Call peer linkfunction if we are a source pad. Totally fixes
12389         #317341
12390
12391         * gst/gstpad.c:
12392         Update docs, source pads should call the peer linkfunction
12393         so they can atomically perform the pad link.
12394
12395 2005-11-09  Wim Taymans  <wim@fluendo.com>
12396
12397         * gst/gstbuffer.c:
12398         * gst/gstbuffer.h:
12399         Uber-spiffy-spiffify some more.
12400
12401 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
12402
12403         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
12404         * gst/elements/gstfilesink.c: (gst_file_sink_init):
12405         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12406         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
12407         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
12408         * gst/gstpad.c: (gst_pad_init):
12409           Use GST_DEBUG_FUNCPTR() more extensively.
12410
12411 2005-11-09  Wim Taymans  <wim@fluendo.com>
12412
12413         * gst/gstobject.c: (gst_object_class_init):
12414         * gst/gstobject.h:
12415         Documentation fixes.
12416
12417 2005-11-09  Edward Hervey  <edward@fluendo.com>
12418
12419         * gst/gsttypefindfactory.c:
12420         Fix docs.
12421         
12422 2005-11-09  Edward Hervey  <edward@fluendo.com>
12423
12424         * gst/base/gsttypefindhelper.c:
12425         * gst/gsttypefind.c:
12426         * gst/gsttypefind.h:
12427         Fix docs.
12428
12429 2005-11-09  Wim Taymans  <wim@fluendo.com>
12430
12431         * gst/gstiterator.c:
12432         Fix revision data.
12433
12434         * gst/gsttask.c:
12435         * gst/gsttask.h:
12436         Fix docs.
12437
12438 2005-11-09  Wim Taymans  <wim@fluendo.com>
12439
12440         * gst/gstevent.h:
12441         * gst/gsturi.h:
12442         Fix docs.
12443
12444 2005-11-09  Wim Taymans  <wim@fluendo.com>
12445
12446         * docs/gst/gstreamer-sections.txt:
12447         Moved the message async delivery private lock and cond
12448         to the private section.
12449
12450         * gst/gstmessage.c:
12451         * gst/gstmessage.h:
12452         Fixed docs.
12453
12454 2005-11-09  Edward Hervey  <edward@fluendo.com>
12455
12456         * docs/gst/gstreamer-sections.txt:
12457         * gst/gsturi.c:
12458         * gst/gsturi.h:
12459         Document GstURIHandler
12460
12461 2005-11-09  Wim Taymans  <wim@fluendo.com>
12462
12463         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
12464         (gst_iterator_find_custom):
12465         * gst/gstiterator.h:
12466         Fix iterator docs.
12467
12468 2005-11-09  Wim Taymans  <wim@fluendo.com>
12469
12470         * gst/gstbin.h:
12471         Document another field.
12472
12473         * gst/gststructure.c:
12474         * gst/gststructure.h:
12475         Document.
12476
12477 2005-11-09  Wim Taymans  <wim@fluendo.com>
12478
12479         * gst/gstbin.h:
12480         Documented structs.
12481
12482 2005-11-09  Wim Taymans  <wim@fluendo.com>
12483
12484         * docs/gst/gstreamer-sections.txt:
12485         Added some new macros.
12486
12487         * gst/gstclock.c:
12488         * gst/gstclock.h:
12489         * gst/gstobject.h:
12490         Docs updates.
12491
12492 2005-11-09  Wim Taymans  <wim@fluendo.com>
12493
12494         * docs/design/part-TODO.txt:
12495         Some more items for the TODO
12496
12497         * gst/gstcaps.c:
12498         * gst/gstcaps.h:
12499         Document GstCaps.
12500
12501 2005-11-09  Andy Wingo  <wingo@pobox.com>
12502
12503         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
12504         to work on something else now tho...
12505
12506         * gst/base/gstadapter.c: More adapter docs.
12507
12508         * gst/elements/gstfilesink.c (gst_file_sink_start) 
12509         (gst_file_sink_stop): New functions, replace the state change
12510         handler.
12511         (gst_file_sink_class_init): Hook up the start and stop functions.
12512         (gst_file_sink_base_init): Don't set the state change handler any
12513         more. It was a bit ugly too, being set from here...
12514         (gst_file_sink_get_property, gst_file_sink_set_property):
12515         Cleanups...
12516         (gst_file_sink_set_location): More robust check that doesn't call
12517         GST_STATE. Ugggggg.
12518
12519 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
12520
12521         * gst/base/gstbasetransform.c: (gst_base_transform_event):
12522           Hold STREAM_LOCK while pushing newsegment or tag events as well.
12523
12524 2005-11-08  Wim Taymans  <wim@fluendo.com>
12525
12526         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
12527         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12528         (gst_base_sink_chain), (gst_base_sink_change_state):
12529         * gst/base/gstbasesink.h:
12530         * gst/base/gstbasesrc.h:
12531         * gst/gstelement.h:
12532         * gst/gstevent.h:
12533         Avoid excessive typechecking in macros.
12534
12535         * gst/gstminiobject.c: (gst_mini_object_get_type),
12536         (gst_mini_object_init), (gst_mini_object_new),
12537         (gst_mini_object_free):
12538         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12539         (gst_object_finalize):
12540         Remove cruft code, optimize alloc_trace.
12541
12542 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12543
12544         * docs/faq/gst-uninstalled:
12545           fix up PS1 for systems that try to reset it
12546
12547 2005-11-07  Wim Taymans  <wim@fluendo.com>
12548
12549         * gst/base/gstbasesrc.c: (gst_base_src_init),
12550         (gst_base_src_get_range):
12551         Set the segment_end to -1 initially. Fixed typefind.
12552
12553 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
12554
12555         * gst/base/gstadapter.c:
12556           Debug category should be 'adapter', not 'GstAdapter'.
12557           
12558         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
12559         (gst_collectpads_class_init), (gst_collectpads_init),
12560         (gst_collectpads_peek), (gst_collectpads_pop),
12561         (gst_collectpads_event), (gst_collectpads_chain):
12562           Add debug category and some debugging output. Use boilerplate
12563           macros. Remove some extraneous words from docs.
12564
12565 2005-11-05  Andy Wingo  <wingo@pobox.com>
12566
12567         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
12568         macro.
12569
12570 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
12571
12572         * docs/gst/gstreamer-sections.txt:
12573         * gst/gstcaps.h:
12574         * gst/gstinfo.c:
12575         * gst/gstminiobject.h:
12576         * gst/gstobject.h:
12577         * gst/gstutils.h:
12578           more docs added
12579
12580 2005-11-04  Wim Taymans  <wim@fluendo.com>
12581
12582         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12583         Small update to stop at the configured segment_end
12584         position.
12585
12586 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
12587
12588         * gst/gstregistry.c:
12589         * gst/gstregistry.h:
12590           added missing docs
12591
12592 2005-11-04  Edward Hervey  <edward@fluendo.com>
12593
12594         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12595         Check if we are doing a segment seek and have arrived at the
12596         end of that segment.
12597
12598 2005-11-04  Wim Taymans  <wim@fluendo.com>
12599
12600         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
12601         Don't leak a mutex unlock in case of an error.
12602
12603         * gst/gstbus.h:
12604         Doc fixes.
12605
12606 2005-11-04  Wim Taymans  <wim@fluendo.com>
12607
12608         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
12609         (gst_bus_post):
12610         Get the context to wake up only once.
12611
12612 2005-11-03  Wim Taymans  <wim@fluendo.com>
12613
12614         * check/states/sinks.c: (GST_START_TEST):
12615         Uncomment fixed check.
12616
12617         * docs/design/part-TODO.txt:
12618         Updated TODO.
12619
12620         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12621         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12622         (gst_base_sink_get_position):
12623         If we are going to PLAYING, post the right pending state
12624         when we post the intermediate paused message.
12625
12626         * gst/gstelement.c: (gst_element_continue_state),
12627         (gst_element_set_state_func), (gst_element_change_state):
12628         Don't post state changes that were between the same state
12629         and were not ASYNC.
12630
12631 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
12632
12633         * docs/gst/gstreamer-sections.txt:
12634         * gst/gstcaps.h:
12635         * gst/gstinfo.c:
12636         * gst/gstminiobject.h:
12637         * gst/gstobject.h:
12638         * gst/gstutils.h:
12639           more docs and doc style fixes
12640
12641 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
12642
12643         * docs/gst/gstreamer-sections.txt:
12644         * gst/gstelement.c:
12645         * gst/gstminiobject.c:
12646         doc fixes
12647
12648 2005-11-03  Andy Wingo  <wingo@pobox.com>
12649
12650         * check/states/sinks.c (test_livesrc_sink): Add checks that the
12651         state-changed messages actually have the right order and the right
12652         values.
12653
12654 2005-11-03  Wim Taymans  <wim@fluendo.com>
12655
12656         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
12657         Added some more checks. Specifically the case where NO_PREROLL
12658         elements are in the pipeline.
12659
12660         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12661         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12662         (gst_base_sink_get_position):
12663         Post READY->PAUSED state change messages too.
12664         Fix bug where VOID was posted as pending state...
12665
12666         * gst/gstbin.c: (gst_bin_recalc_state):
12667         use _element_continue_state() to continue the state change.
12668
12669         * gst/gstelement.c: (gst_element_continue_state),
12670         (gst_element_commit_state), (gst_element_set_state_func),
12671         (gst_element_change_state), (gst_element_change_state_func):
12672         Lots of state change cleanups, assign the STATE_RETURN in
12673         a new continue_state() function that also propagates the
12674         last return value from a state change to the app.
12675         Update some debug statements with proper category.
12676
12677 2005-11-03  Wim Taymans  <wim@fluendo.com>
12678
12679         * docs/design/part-events.txt:
12680         * docs/design/part-gstpipeline.txt:
12681         * docs/design/part-messages.txt:
12682         * docs/design/part-overview.txt:
12683         * docs/design/part-seeking.txt:
12684         * docs/design/part-states.txt:
12685         * docs/design/part-trickmodes.txt:
12686         * docs/manual/advanced-position.xml:
12687         Small docs updates.
12688
12689         * gst/gstobject.h:
12690         People think !! is ugly, this looks better.
12691
12692         * gst/gstpad.c: (gst_pad_set_blocked_async):
12693         Remove !! since it's fixed elsewhere now.
12694
12695 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12696
12697         * gst/gstminiobject.h:
12698         * gst/gstobject.h:
12699           Add !! to _FLAG_IS_SET macros to make the result boolean.
12700
12701 2005-11-03  Edward Hervey  <edward@fluendo.com>
12702
12703         * gst/gstpad.c: (gst_pad_set_blocked_async):
12704         comparing a flag and a gboolean rarely returns coherent results...
12705         Added two characters (!!) to make that work correctly.
12706         
12707 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12708
12709         * gst/gstbus.c: (gst_bus_class_init):
12710           Fix some typos.
12711           
12712         * gst/gstqueue.c: (gst_queue_loop):
12713           Don't assume a miniobject that isn't a buffer is an
12714           event (it could be that there is a refcounting
12715           problem somewhere and the pointer is stale and
12716           refers to an already destroyed miniobject).
12717
12718 2005-11-03  Julien MOUTTE  <julien@moutte.net>
12719
12720         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
12721
12722 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12723
12724         * docs/manual/advanced-position.xml:
12725           Update seek example and explanations to current 0.9 API.
12726
12727         * gst/elements/gsttypefindelement.c:
12728         (gst_type_find_element_activate):
12729           Remove FIXME comment now that the found caps
12730           are unreffed.
12731
12732 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12733
12734         * gst/gstregistryxml.c: (load_feature):
12735           Add another GST_STR_NULL instance
12736
12737 2005-11-02  Edward Hervey  <edward@fluendo.com>
12738
12739         * gst/gstpad.c: (handle_pad_block):
12740         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
12741         
12742 2005-11-02  Wim Taymans  <wim@fluendo.com>
12743
12744         * gst/gstbin.c:
12745         Fix typo in docs.
12746
12747         * gst/gstelement.c: (gst_element_commit_state):
12748         Remove unused value.
12749
12750         * gst/gstiterator.c:
12751         Mention that the returned element is reffed in the docs.
12752
12753 2005-11-02  Wim Taymans  <wim@fluendo.com>
12754
12755         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
12756         (gst_pad_push), (gst_pad_push_event):
12757         Unlock blocked pads when they are flushed.
12758
12759 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12760
12761         * docs/README:
12762         * docs/gst/gstreamer-sections.txt:
12763         * gst/gstbin.c:
12764           doc updates
12765         * gst/gstregistry.c: (gst_registry_scan_path_level):
12766           fix for a nasty little missed situation where an installed plug-in
12767           which was in the cache did not get overridden by an uninstalled one
12768           which was earlier in the plugin path because the newly created plugin
12769           for the uninstalled one (not in the registry) didn't get its
12770           ->registered set to TRUE
12771
12772 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
12773
12774         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
12775         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
12776         (gst_collectpads_is_active), (gst_collectpads_collect),
12777         (gst_collectpads_collect_range), (gst_collectpads_start),
12778         (gst_collectpads_stop), (gst_collectpads_peek),
12779         (gst_collectpads_pop), (gst_collectpads_available),
12780         (gst_collectpads_read), (gst_collectpads_flush):
12781           Guard public API with assertions.
12782         
12783         * gst/gstpad.c:
12784           Fix docs for gst_pad_set_link_function().
12785
12786 2005-11-02  Johan Dahlin  <johan@gnome.org>
12787
12788         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
12789         Unref found_caps after we used it.
12790
12791 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
12792
12793         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
12794           Don't try to ref NULL.
12795
12796 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12797
12798         * win32/common/config.h.in:
12799           provide a GST_FUNCTION that just gives a string for now
12800
12801 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12802
12803         * win32/common/gstenumtypes.c: (register_gst_object_flags),
12804         (gst_object_flags_get_type), (register_gst_bin_flags),
12805         (gst_bin_flags_get_type), (register_gst_buffer_flag),
12806         (gst_buffer_flag_get_type), (register_gst_bus_flags),
12807         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12808         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
12809         (gst_clock_return_get_type), (register_gst_clock_entry_type),
12810         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12811         (gst_clock_flags_get_type), (register_gst_state),
12812         (gst_state_get_type), (register_gst_state_change_return),
12813         (gst_state_change_return_get_type), (register_gst_state_change),
12814         (gst_state_change_get_type), (register_gst_element_flags),
12815         (gst_element_flags_get_type), (register_gst_core_error),
12816         (gst_core_error_get_type), (register_gst_library_error),
12817         (gst_library_error_get_type), (register_gst_resource_error),
12818         (gst_resource_error_get_type), (register_gst_stream_error),
12819         (gst_stream_error_get_type), (register_gst_event_type),
12820         (gst_event_type_get_type), (register_gst_seek_type),
12821         (gst_seek_type_get_type), (register_gst_seek_flags),
12822         (gst_seek_flags_get_type), (register_gst_format),
12823         (gst_format_get_type), (register_gst_index_certainty),
12824         (gst_index_certainty_get_type), (register_gst_index_entry_type),
12825         (gst_index_entry_type_get_type),
12826         (register_gst_index_lookup_method),
12827         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12828         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12829         (gst_index_resolver_method_get_type), (register_gst_index_flags),
12830         (gst_index_flags_get_type), (register_gst_debug_level),
12831         (gst_debug_level_get_type), (register_gst_debug_color_flags),
12832         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12833         (gst_iterator_result_get_type), (register_gst_iterator_item),
12834         (gst_iterator_item_get_type), (register_gst_message_type),
12835         (gst_message_type_get_type), (register_gst_mini_object_flags),
12836         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12837         (gst_pad_link_return_get_type), (register_gst_flow_return),
12838         (gst_flow_return_get_type), (register_gst_activate_mode),
12839         (gst_activate_mode_get_type), (register_gst_pad_direction),
12840         (gst_pad_direction_get_type), (register_gst_pad_flags),
12841         (gst_pad_flags_get_type), (register_gst_pad_presence),
12842         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12843         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12844         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12845         (gst_plugin_error_get_type), (register_gst_plugin_flags),
12846         (gst_plugin_flags_get_type), (register_gst_rank),
12847         (gst_rank_get_type), (register_gst_query_type),
12848         (gst_query_type_get_type), (register_gst_tag_merge_mode),
12849         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12850         (gst_tag_flag_get_type), (register_gst_task_state),
12851         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12852         (gst_alloc_trace_flags_get_type),
12853         (register_gst_type_find_probability),
12854         (gst_type_find_probability_get_type), (register_gst_uri_type),
12855         (gst_uri_type_get_type), (register_gst_parse_error),
12856         (gst_parse_error_get_type):
12857         * win32/common/gstversion.h:
12858           update win32 copies
12859
12860 2005-11-01  Luca Ognibene  <luogni@tin.it>
12861
12862         * gst/gst.c:
12863           fix docs. popt is dead, long live GOption.
12864
12865 2005-10-31  Wim Taymans  <wim@fluendo.com>
12866
12867         * gst/gstbuffer.h:
12868         Small doc fix.
12869
12870 2005-10-31  Andy Wingo  <wingo@pobox.com>
12871
12872         * Boo!
12873
12874         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
12875
12876         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
12877         need to serialize property notifications on GLib 2.8. GLib 2.6 has
12878         the possibility of deadlocks here if code calling notify() or
12879         set() has a lock that can be taken in another notify handler (ABBA
12880         with class lock and e.g. python GIL state lock).
12881
12882 2005-10-28  Julien MOUTTE  <julien@moutte.net>
12883
12884         * gst/gstbus.c: Doc updates.
12885
12886 2005-10-28  Wim Taymans  <wim@fluendo.com>
12887
12888         * docs/design/part-TODO.txt:
12889         * gst/gstiterator.c:
12890         * gst/gstsystemclock.c:
12891         * gst/gstsystemclock.h:
12892         Doc updates.
12893
12894 2005-10-28  Edward Hervey  <edward@fluendo.com>
12895
12896         * docs/gst/gstreamer-docs.sgml:
12897         * docs/gst/gstreamer-sections.txt:
12898         the GstURIType documentation page is private, it only defines GstURIType
12899         which should be defined in the GstURIHandler page
12900         
12901 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12902
12903         * gst/gstbin.c: (gst_bin_class_init):
12904         * gst/gstbin.h:
12905         * gst/gstutils.c:
12906         Documentation updates.
12907
12908 2005-10-28  Wim Taymans  <wim@fluendo.com>
12909
12910         * docs/gst/gstreamer-sections.txt:
12911         * gst/gstclock.c:
12912         * gst/gstclock.h:
12913         Documented the clocks.
12914
12915 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
12916
12917         * docs/gst/gstreamer-sections.txt:
12918           move some macros to private sections
12919         * gst/gstminiobject.c:
12920         * gst/gstminiobject.h:
12921           add descriptions provided by ds and some more
12922         * gst/gstpad.h:
12923           mark macro as to be removed
12924
12925 2005-10-28  Wim Taymans  <wim@fluendo.com>
12926
12927         * docs/design/part-TODO.txt:
12928         Add an item to TODO.
12929
12930         * gst/gstiterator.c: (gst_iterator_fold),
12931         (gst_iterator_find_custom):
12932         * gst/gstiterator.h:
12933         Add iterator docs.
12934
12935 2005-10-28  Wim Taymans  <wim@fluendo.com>
12936
12937         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12938         (gst_base_transform_init):
12939         Don't leak class.
12940
12941         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
12942         An EOS event marks the queue as completely filled.
12943
12944 2005-10-27  Wim Taymans  <wim@fluendo.com>
12945
12946         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12947         (gst_base_sink_do_sync), (gst_base_sink_get_position):
12948         Some more debugging.
12949
12950         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
12951         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
12952         (gst_base_transform_event), (gst_base_transform_getrange),
12953         (gst_base_transform_chain):
12954         * gst/base/gstbasetransform.h:
12955         Fix debugging,
12956         Protect transform and concurrent buffer alloc with a new lock.
12957         Try not to break ABI/API.
12958
12959 2005-10-27  Wim Taymans  <wim@fluendo.com>
12960
12961         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12962         (gst_base_src_init), (gst_base_src_query),
12963         (gst_base_src_default_newsegment),
12964         (gst_base_src_configure_segment), (gst_base_src_do_seek),
12965         (gst_base_src_send_event), (gst_base_src_event_handler),
12966         (gst_base_src_pad_get_range), (gst_base_src_loop),
12967         (gst_base_src_unlock), (gst_base_src_default_negotiate),
12968         (gst_base_src_start), (gst_base_src_deactivate),
12969         (gst_base_src_activate_push), (gst_base_src_change_state):
12970         Move some stuff around and cleanup things.
12971
12972 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
12973
12974         * gst/base/gstbasesrc.c: (gst_base_src_query):
12975           Add missing break statements.
12976
12977 2005-10-27  Wim Taymans  <wim@fluendo.com>
12978
12979         * check/gst/gstbin.c: (GST_START_TEST):
12980         An extra refcount is taken in basesrc.
12981
12982         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
12983         (gst_base_src_get_range), (gst_base_src_pad_get_range),
12984         (gst_base_src_loop):
12985         Small cleanups, check for flushing after being unlocked from the 
12986         LIVE_LOCK. take refcounts correctly (not yet everywhere).
12987         Don't send out EOS when going to READY.
12988
12989 2005-10-27  Wim Taymans  <wim@fluendo.com>
12990
12991         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12992         (gst_base_sink_get_position):
12993         Some more debug.
12994
12995         * gst/gstbin.c: (message_check), (bin_replace_message),
12996         (bin_remove_messages), (is_eos), (gst_bin_add_func),
12997         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12998         (bin_query_duration_init), (bin_query_duration_fold),
12999         (bin_query_duration_done), (bin_query_generic_fold),
13000         (gst_bin_query):
13001         * tools/gst-launch.c: (main):
13002         Remove old option.
13003
13004 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
13005
13006         * examples/controller/audio-example.c: (main):
13007         * examples/queue/queue.c: (event_loop):
13008         * gst/base/gstbasetransform.h:
13009         * gst/gstelement.c: (gst_element_send_event):
13010         * gst/gstevent.h:
13011         * gst/gstpad.c: (gst_pad_send_event):
13012           fixing examples
13013           fixing docs typos
13014           changing log priority in error situations
13015
13016 2005-10-25  Wim Taymans  <wim@fluendo.com>
13017
13018         * gst/gstbin.c: (message_check), (bin_replace_message),
13019         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13020         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13021         (bin_query_duration_init), (bin_query_duration_fold),
13022         (bin_query_duration_done), (bin_query_generic_fold),
13023         (gst_bin_query):
13024         Some doc and debug updates.
13025         Cache previously requested query DURATION for speed. invalidate
13026         cached duration if element posts a DURATION message.
13027
13028 2005-10-25  Wim Taymans  <wim@fluendo.com>
13029
13030         * docs/design/part-TODO.txt:
13031         Update TODO.
13032
13033         * gst/gstbin.c: (message_check), (bin_replace_message),
13034         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13035         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13036         (bin_query_duration_init), (bin_query_duration_fold),
13037         (bin_query_duration_done), (bin_query_generic_fold),
13038         (gst_bin_query):
13039         Handle SEGMENT_START/DONE messages correctly.
13040         More evolved query algorithm that handles duration queries
13041         correctly.
13042
13043         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
13044         (gst_element_get_state_func), (gst_element_abort_state),
13045         (gst_element_commit_state), (gst_element_lost_state):
13046         Some more debugging.
13047
13048         * gst/gstmessage.h:
13049         Added doc.
13050
13051 2005-10-25  Wim Taymans  <wim@fluendo.com>
13052
13053         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13054         Don't use invalid stream_time.
13055
13056         * gst/gstevent.c: (gst_event_new_newsegment):
13057         stream_time in newsegment cannot be undefined.
13058
13059 2005-10-24  Wim Taymans  <wim@fluendo.com>
13060
13061         * gst/gstbus.c:
13062         Doc fix.
13063
13064         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13065         (gst_queue_loop):
13066         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
13067
13068 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
13069
13070         * docs/libs/tmpl/gstdparam.sgml:
13071         * docs/libs/tmpl/gstdplinint.sgml:
13072         * docs/libs/tmpl/gstdpman.sgml:
13073         * docs/libs/tmpl/gstdpsmooth.sgml:
13074         * docs/libs/tmpl/gstunitconvert.sgml:
13075           these are obsolete
13076
13077 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13078
13079         * configure.ac:
13080           back to HEAD
13081
13082 === release 0.9.4 ===
13083
13084 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13085
13086         * configure.ac:
13087           releasing 0.9.4, "Tyrannosaurus Rex"
13088
13089 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
13090
13091         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13092         (gst_file_sink_get_current_offset):
13093           Use fseeko() and ftello() if available. When falling back on
13094           lseek() to get the current offset, fflush() first to make sure
13095           everything is up-to-date and we get the right offset.
13096
13097 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13098
13099         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13100         * gst/base/gstbasesrc.c: (gst_base_src_loop):
13101         * gst/gsterror.c: (_gst_stream_errors_init):
13102         * gst/gsterror.h:
13103         * gst/gstqueue.c: (gst_queue_loop):
13104         * po/POTFILES.in:
13105           remove prematurely added error category and clean up the instances
13106
13107 2005-10-21  Wim Taymans  <wim@fluendo.com>
13108
13109         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13110         (gst_base_sink_get_position), (gst_base_sink_query),
13111         (gst_base_sink_change_state):
13112         Simply set the right flag when going to playing, that's all
13113         we need to do instead of calling a function inside the object
13114         lock (that could take the lock as well and deadlock)
13115
13116 2005-10-21  Wim Taymans  <wim@fluendo.com>
13117
13118         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
13119         (gst_base_src_loop):
13120         Don't warn, the peer element knows what to do best when
13121         the seek failed, it might try something else.
13122
13123 2005-10-21  Wim Taymans  <wim@fluendo.com>
13124
13125         * gst/base/gstbasesrc.c: (gst_base_src_init),
13126         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13127         Fix seeking.
13128
13129 2005-10-21  Wim Taymans  <wim@fluendo.com>
13130
13131         * docs/design/part-segments.txt:
13132         More docs.
13133
13134         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13135         Correctly set caps, even on the subbufer.
13136
13137 2005-10-21  Wim Taymans  <wim@fluendo.com>
13138
13139         * docs/gst/gstreamer-docs.sgml:
13140         * docs/gst/gstreamer-sections.txt:
13141         * gst/gstelement.h:
13142         * gst/gstevent.c:
13143         * gst/gstevent.h:
13144         * gst/gstmessage.h:
13145         * gst/gstpad.h:
13146         * gst/gstparse.h:
13147         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
13148         * gst/gsttask.h:
13149         * gst/gstutils.c:
13150         * gst/gstutils.h:
13151         And 2% more doc coverage.
13152
13153 2005-10-21  Andy Wingo  <wingo@pobox.com>
13154
13155         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
13156         position reporting.
13157
13158 2005-10-20  Wim Taymans  <wim@fluendo.com>
13159
13160         * gst/gsterror.c: (gst_error_get_message):
13161         * gst/gstparse.h:
13162         * gst/gstquery.h:
13163         * gst/gststructure.c:
13164         * gst/gsttrace.c:
13165         * gst/gstutils.c:
13166         More docs.
13167
13168 2005-10-20  Wim Taymans  <wim@fluendo.com>
13169
13170         * gst/gstbuffer.h:
13171         * gst/gstpad.c:
13172         * gst/gstparse.c:
13173         Another 1% more coverage.
13174
13175 2005-10-20  Wim Taymans  <wim@fluendo.com>
13176
13177         * docs/gst/gstreamer-sections.txt:
13178         * gst/gstelement.c: (gst_element_get_state_func),
13179         (gst_element_abort_state), (gst_element_commit_state),
13180         (gst_element_lost_state):
13181         * gst/gstevent.h:
13182         * gst/gstquery.c: (gst_query_set_position),
13183         (gst_query_parse_position), (gst_query_set_duration),
13184         (gst_query_parse_duration), (gst_query_new_convert):
13185         * gst/gstutils.c:
13186         Yay! 1% more docs coverage.
13187
13188 2005-10-20  Wim Taymans  <wim@fluendo.com>
13189
13190         * gst/gstpad.h:
13191         * gst/gstquery.c: (gst_query_set_position),
13192         (gst_query_parse_position), (gst_query_set_duration),
13193         (gst_query_parse_duration), (gst_query_new_convert):
13194         * gst/gstquery.h:
13195         * gst/gstutils.c: (gst_element_query_convert):
13196         * gst/gstutils.h:
13197         Docs and consistency fixes.
13198
13199 2005-10-20  Wim Taymans  <wim@fluendo.com>
13200
13201         * gst/gsttask.c:
13202         * gst/gsttask.h:
13203         More docs.
13204
13205 2005-10-20  Wim Taymans  <wim@fluendo.com>
13206
13207         * gst/gstbin.c: (message_check), (bin_replace_message),
13208         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13209         (update_degree), (gst_bin_sort_iterator_next),
13210         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
13211         Reworked the message handling a bit, cache the messages instead of
13212         only the senders. alows us to do more in the future.
13213
13214 2005-10-20  Wim Taymans  <wim@fluendo.com>
13215
13216         * docs/design/part-TODO.txt:
13217         Update TODO
13218
13219         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13220         (gst_base_sink_query):
13221         Don't use clock time to report position when in EOS.
13222
13223 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
13224
13225         * tools/gst-inspect.c: (print_interfaces),
13226         (print_element_properties_info), (print_element_info):
13227           Fix interface output with gst-inspect -a; don't print
13228           newlines after double/float properties.
13229
13230 2005-10-20  Wim Taymans  <wim@fluendo.com>
13231
13232         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13233         (gst_base_sink_query):
13234         Speed up current position calculation.
13235
13236         * gst/base/gstbasesrc.c: (gst_base_src_query),
13237         (gst_base_src_default_newsegment):
13238         Correctly set stream position in newsegment.
13239
13240         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
13241         (update_degree), (gst_bin_sort_iterator_next),
13242         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
13243         * gst/gstmessage.c: (gst_message_new_custom):
13244         Clean up debugging info
13245
13246         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13247         (gst_queue_loop), (gst_queue_handle_src_query):
13248         Pause task faster.
13249
13250 2005-10-19  Wim Taymans  <wim@fluendo.com>
13251
13252         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13253         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13254         Fix query handling again.
13255
13256 2005-10-19  Wim Taymans  <wim@fluendo.com>
13257
13258         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13259         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13260         * gst/base/gstbasesrc.c: (gst_base_src_query):
13261         * gst/elements/gstfilesink.c: (gst_file_sink_query):
13262         * gst/elements/gsttypefindelement.c:
13263         (gst_type_find_handle_src_query), (find_element_get_length),
13264         (gst_type_find_element_activate):
13265         API change fix.
13266
13267         * gst/gstquery.c: (gst_query_new_position),
13268         (gst_query_set_position), (gst_query_parse_position),
13269         (gst_query_new_duration), (gst_query_set_duration),
13270         (gst_query_parse_duration), (gst_query_set_segment),
13271         (gst_query_parse_segment):
13272         * gst/gstquery.h:
13273         Bundling query position/duration is not a good idea since duration
13274         does not change much and we don't want to recalculate it for every
13275         position query, so they are separated again..
13276         Base value in segment query is not needed.
13277
13278         * gst/gstqueue.c: (gst_queue_handle_src_query):
13279         * gst/gstutils.c: (gst_element_query_position),
13280         (gst_element_query_duration), (gst_pad_query_position),
13281         (gst_pad_query_duration):
13282         * gst/gstutils.h:
13283         Updates for query API change.
13284         Added some docs here and there.
13285
13286 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13287
13288         * check/gst/gstbin.c: (GST_START_TEST):
13289         * check/gst/gstghostpad.c: (GST_START_TEST):
13290         * check/pipelines/cleanup.c: (GST_START_TEST):
13291           wait on thread to die so we can check refcount correctly
13292
13293 2005-10-18  Wim Taymans  <wim@fluendo.com>
13294
13295         * check/pipelines/stress.c: (GST_START_TEST):
13296         Make check a little more time consuming.
13297
13298 2005-10-18  Wim Taymans  <wim@fluendo.com>
13299
13300         * check/Makefile.am:
13301         * check/pipelines/stress.c: (GST_START_TEST),
13302         (simple_launch_lines_suite), (main):
13303         Small state change torture test.
13304
13305         * docs/design/part-states.txt:
13306         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13307         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
13308         (gst_base_sink_change_state):
13309         Never take state lock from streaming thread, clean up ugly
13310         hacks. Unfortunatly core does not yet support nice ways to
13311         async commit state.
13312         
13313         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
13314         (bin_bus_handler):
13315         Start state recalc if a STATE_DIRTY message is posted, but only
13316         on the toplevel bin.
13317
13318         * gst/gstelement.c: (gst_element_sync_state_with_parent),
13319         (gst_element_get_state_func), (gst_element_abort_state),
13320         (gst_element_commit_state), (gst_element_lost_state),
13321         (gst_element_set_state_func), (gst_element_change_state):
13322         * gst/gstelement.h:
13323         State variables are now protected with the LOCK, the state
13324         lock is only used to serialize _set_state().
13325
13326 2005-10-18  Wim Taymans  <wim@fluendo.com>
13327
13328         * check/gst/gstbin.c: (GST_START_TEST):
13329         * check/gst/gstmessage.c: (GST_START_TEST):
13330         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13331         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
13332         (bin_bus_handler):
13333         * gst/gstelement.c: (gst_element_abort_state),
13334         (gst_element_commit_state), (gst_element_lost_state):
13335         * gst/gstmessage.c: (gst_message_new_state_changed),
13336         (gst_message_new_state_dirty), (gst_message_new_segment_start),
13337         (gst_message_new_segment_done), (gst_message_new_duration),
13338         (gst_message_parse_state_changed),
13339         (gst_message_parse_segment_start),
13340         (gst_message_parse_segment_done), (gst_message_parse_duration):
13341         * gst/gstmessage.h:
13342         * tools/gst-launch.c: (event_loop):
13343         Seriously, this is better than a previous commit as we only need
13344         to notify the fact that an element changed state in a streaming
13345         thread, marking the state of the parents dirty, hence the 
13346         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
13347         message.
13348
13349 2005-10-18  Wim Taymans  <wim@fluendo.com>
13350
13351         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
13352         (gst_bin_recalc_func):
13353         * gst/gstelement.c: (gst_element_set_clock),
13354         (gst_element_abort_state), (gst_element_lost_state):
13355         Cleanups, prepare for state change fixes.
13356
13357 2005-10-18  Wim Taymans  <wim@fluendo.com>
13358
13359         * gst/gstbin.h:
13360         * gst/gstelement.c: (gst_element_class_init),
13361         (gst_element_set_state), (gst_element_set_state_func):
13362         * gst/gstelement.h:
13363         Pending ABI changes.
13364         GThreadPool in GstBinClass to monitor async state changes.
13365         state_cookie in GstElement to detect concurrent gst/set state.
13366         set_state is now virtual too in case a very complicated element
13367         has to be constructed.
13368
13369 2005-10-18  Wim Taymans  <wim@fluendo.com>
13370
13371         * check/gst/gstbin.c: (GST_START_TEST):
13372         * check/gst/gstmessage.c: (GST_START_TEST):
13373         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13374         * gst/gstbin.c: (bin_bus_handler):
13375         * gst/gstelement.c: (gst_element_commit_state),
13376         (gst_element_lost_state):
13377         * gst/gstmessage.c: (gst_message_new_state_changed),
13378         (gst_message_new_segment_start), (gst_message_new_segment_done),
13379         (gst_message_new_duration), (gst_message_parse_state_changed),
13380         (gst_message_parse_segment_start),
13381         (gst_message_parse_segment_done), (gst_message_parse_duration):
13382         * gst/gstmessage.h:
13383         * tools/gst-launch.c: (event_loop):
13384         Make messages future proof.
13385         state-change gets a flag if it was a message comming from the
13386         streaming thread.
13387         segment-start/stop can also be specified in other formats.
13388         A message to notify an app that a pipeline changed playback 
13389         duration.
13390         Also fix a GstMessage leak in -launch
13391
13392 2005-10-18  Andy Wingo  <wingo@pobox.com>
13393
13394         * gst/gstelement.c (gst_element_dispose): More helpful message.
13395
13396 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13397
13398         reviewed by: <delete if not using a buddy>
13399
13400         * common/gtk-doc.mak:
13401
13402 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13403
13404         * gst/gstregistry.c: (gst_registry_scan_path_level):
13405           unref a plug-in we get that was already initialized
13406
13407 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
13408
13409         * docs/gst/gstreamer-sections.txt:
13410         * docs/libs/gstreamer-libs-sections.txt:
13411         * gst/gstelement.h:
13412           add new api entries
13413           hide internal macro
13414
13415 2005-10-17  Andy Wingo  <wingo@pobox.com>
13416
13417         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
13418         cleanup.
13419
13420         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
13421
13422         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
13423
13424         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
13425         (gst_element_get_state_func): Better debug message.
13426         (gst_element_commit_state): s/INFO/DEBUG/.
13427         (gst_element_lost_state, gst_element_change_state): 
13428
13429         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
13430         (gst_message_new_custom): s/INFO/LOG/.
13431
13432 2005-10-17  Michael Smith <msmith@fluendo.com>
13433
13434         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13435           Check if end time is valid using end time, not start time.
13436
13437 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
13438
13439         * check/gst-libs/controller.c: (GST_START_TEST),
13440         (gst_controller_suite):
13441         * libs/gst/controller/gstcontroller.c:
13442         (gst_controlled_property_set_interpolation_mode):
13443         * libs/gst/controller/gstcontroller.h:
13444         * libs/gst/controller/gstinterpolation.c:
13445         * testsuite/controller/.cvsignore:
13446         * testsuite/controller/Makefile.am:
13447         * testsuite/controller/interpolator.c:
13448           merge controller testsuites
13449           fix broken tests
13450           remove mem-chunk from docs
13451
13452 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
13453
13454         * gst/gstmemchunk.c:
13455         * gst/gstmemchunk.h:
13456         * gst/gsttrashstack.c:
13457         * gst/gsttrashstack.h:
13458           out.  get out.  you're fired.  to the Attic !
13459
13460 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
13461
13462         * gst/gstcaps.c: (gst_caps_intersect):
13463           fix signedness issues in a (hopefully) correct way
13464         * gst/gstelement.c: (gst_element_pads_activate):
13465           some debugging
13466         * gst/gstobject.c: (gst_object_set_parent):
13467           some debugging
13468
13469 2005-10-17  Julien MOUTTE  <julien@moutte.net>
13470
13471         * gst/gstvalue.h: Fix prototypes.
13472
13473 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13474
13475         * docs/gst/gstreamer-sections.txt:
13476         * gst/gst.c: (gst_version_string):
13477         * gst/gst.h:
13478         * gst/gstversion.h.in:
13479         * win32/common/libgstreamer.def:
13480           add gst_version_string ()
13481
13482 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13483
13484         * configure.ac:
13485           clean up further
13486         * gst/gst.c: (init_post):
13487         * win32/common/config.h.in:
13488           it's PLUGINDIR now
13489         * gst/gstcaps.c: (gst_caps_intersect):
13490           use gint64, the range could be bigger than a guint
13491
13492 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13493
13494         * gst/gstclock.h:
13495           document potential problem in 2038
13496
13497 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13498
13499         * gst/gstcaps.c: (gst_caps_intersect):
13500           Fix guint j diving under 0
13501
13502 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13503
13504         * configure.ac:
13505         * win32/common/config.h:
13506         * win32/common/config.h.in:
13507           check for process.h, declares getpid() on Windows
13508         * gst/gstinfo.c:
13509           include process.h if we have it
13510         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
13511         * gst/gstmemchunk.h:
13512           fix signedness issues
13513         * win32/common/libgstreamer.def:
13514           fix get_type's
13515
13516 2005-10-16  Julien MOUTTE  <julien@moutte.net>
13517
13518         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
13519         fix. Because of unsigned ints, caps intersection was going nuts and
13520         trying to access structures with G_MAXUINT index. That fixes
13521         videotestsrc ! ffmpegcolorspace ! fakesink
13522         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
13523         consistency.
13524
13525 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13526
13527         * configure.ac:
13528           use the gettext macro
13529         * gst/elements/gstelements.c:
13530         * gst/gst.c:
13531         * gst/indexers/gstindexers.c:
13532           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
13533         * win32/common/config.h:
13534           updated config.h
13535         * win32/common/config.h.in:
13536           add the template to generate config.h
13537         * win32/common/gstenumtypes.c:
13538         * win32/common/gstversion.h:
13539           updated copies
13540
13541 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13542
13543         * gst/gst.c: (gst_version):
13544         * gst/gstversion.h.in:
13545           add the nano
13546
13547 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
13548
13549         * gst/gstevent.h:
13550           Oops, add missing closing bracket.
13551
13552 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13553
13554         * configure.ac:
13555           use common m4's for argument checking
13556
13557 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
13558
13559         * docs/gst/gstreamer-sections.txt:
13560         * gst/gstevent.h:
13561           Add GST_EVENT_TYPE_NAME() macro.
13562
13563 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13564
13565         * gst/gstinfo.c:
13566         * gst/gstpluginfeature.c:
13567         * gst/gsttask.c:
13568           privatize more symbols
13569
13570 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13571
13572         * configure.ac:
13573           add srcdir, builddir includes to GST_ALL_CFLAGS, since
13574           everything that uses GStreamer API should have the includes
13575
13576 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13577
13578         * docs/gst/gstreamer-sections.txt:
13579         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13580         * gst/gstvalue.h:
13581           give each value a _get_type, removes the DATA exports
13582
13583 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13584
13585         * gst/gst.c:
13586         * gst/gst.h:
13587           remove _gst_registry_auto_load, not used anymore
13588         * gst/gstbin.c: (gst_bin_get_type):
13589         * gst/gstbin.h:
13590         * gst/gstelement.c: (gst_element_get_type):
13591         * gst/gstelement.h:
13592         * gst/gstobject.c: (gst_object_get_type):
13593         * gst/gstobject.h:
13594         * gst/gstpad.c: (gst_pad_get_type):
13595         * gst/gstpad.h:
13596           make _get_type functions similar, fixes data export from library
13597
13598 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13599
13600         * configure.ac:
13601           correctly make conditionals
13602         * gst/elements/Makefile.am:
13603         * gst/elements/gstelements.c:
13604           fix typo causing fdsrc not to build
13605
13606 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13607
13608         * testsuite/Makefile.am:
13609         * testsuite/bytestream/.cvsignore:
13610         * testsuite/bytestream/Makefile.am:
13611         * testsuite/bytestream/filepadsink.c:
13612         * testsuite/bytestream/gstbstest.c:
13613         * testsuite/bytestream/test1.c:
13614         * testsuite/bytestream/testfile1:
13615         * testsuite/caps/normalisation.c:
13616         * testsuite/caps/random.c: (main):
13617         * testsuite/cleanup/.cvsignore:
13618         * testsuite/cleanup/Makefile.am:
13619         * testsuite/cleanup/cleanup1.c:
13620         * testsuite/cleanup/cleanup2.c:
13621         * testsuite/cleanup/cleanup3.c:
13622         * testsuite/cleanup/cleanup4.c:
13623         * testsuite/cleanup/cleanup5.c:
13624         * testsuite/controller/interpolator.c:
13625         * testsuite/debug/printf_extension.c: (main):
13626         * testsuite/elements/tee.c:
13627         * testsuite/negotiation/.cvsignore:
13628         * testsuite/negotiation/Makefile.am:
13629         * testsuite/negotiation/pad_link.c:
13630         * testsuite/pad/Makefile.am:
13631         * testsuite/pad/chainnopull.c:
13632         * testsuite/pad/getnopush.c:
13633         * testsuite/pad/link.c:
13634         * testsuite/refcounting/sched.c: (create_pipeline):
13635         * testsuite/registry/Makefile.am:
13636         * testsuite/registry/gst-print-formats.c:
13637         * testsuite/schedulers/.cvsignore:
13638         * testsuite/schedulers/142183-2.c:
13639         * testsuite/schedulers/142183.c:
13640         * testsuite/schedulers/143777-2.c:
13641         * testsuite/schedulers/143777.c:
13642         * testsuite/schedulers/147713.c:
13643         * testsuite/schedulers/147819.c:
13644         * testsuite/schedulers/147894-2.c:
13645         * testsuite/schedulers/147894.c:
13646         * testsuite/schedulers/Makefile.am:
13647         * testsuite/schedulers/group_link.c:
13648         * testsuite/schedulers/queue_link.c:
13649         * testsuite/schedulers/relink.c:
13650         * testsuite/schedulers/unlink.c:
13651         * testsuite/schedulers/unref.c:
13652         * testsuite/schedulers/useless_iteration.c:
13653         * testsuite/states/bin.c:
13654           clean out/remove some stuff from the testsuite directories
13655
13656 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13657
13658         * configure.ac:
13659           check for some headers
13660         * gst/elements/Makefile.am:
13661         * gst/elements/gstelements.c:
13662           don't compile fdsrc without sys/socket.h
13663         * gst/indexers/Makefile.am:
13664         * gst/indexers/gstindexers.c: (plugin_init):
13665           don't compile fileindex without mmap
13666
13667 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13668
13669         * configure.ac:
13670           reorganize
13671           clean up
13672           document more
13673           remove cruft
13674         * check/Makefile.am:
13675         * docs/gst/Makefile.am:
13676         * examples/helloworld/Makefile.am:
13677         * gst/Makefile.am:
13678         * gst/base/Makefile.am:
13679         * gst/check/Makefile.am:
13680         * gst/elements/Makefile.am:
13681         * gst/indexers/Makefile.am:
13682         * gst/parse/Makefile.am:
13683         * libs/gst/controller/Makefile.am:
13684         * libs/gst/dataprotocol/Makefile.am:
13685         * examples/helloworld/helloworld.c: (event_loop):
13686           compile fixes, though it's not being compiled currently
13687
13688 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13689
13690         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
13691           Add some simple tests for the new taglist date API.
13692
13693 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13694
13695         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
13696         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
13697           Beautify 'last-message' output: print 'none' for buffer timestamps
13698           and durations if none is set; improve alignment with next messages.
13699
13700 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13701
13702         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
13703         * gst/gstpluginfeature.h:
13704         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
13705         * gst/gstregistry.h:
13706         * docs/gst/gstreamer-sections.txt:
13707           Add new API to check plugin feature version requirements.
13708
13709         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
13710           Some basic tests for the above.         
13711
13712 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13713
13714         * gst/gststructure.c: (gst_structure_to_string):
13715           guard against NULL printf - happens when for example
13716           a message structure with GstClock gets serialized
13717
13718 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
13719
13720         * gst/base/gstcollectpads.c: (gst_collectpads_event):
13721           Fix presumable copy'n'pasto.
13722
13723 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13724
13725         * gst/elements/gstfakesrc.h:
13726         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
13727         * gst/elements/gsttypefindelement.c:
13728           fix some signedness
13729         * gst/elements/gstfilesink.c: (gst_file_sink_render):
13730           I wonder if this could actually write +2GB files before
13731
13732 2005-10-13  Andy Wingo  <wingo@pobox.com>
13733
13734         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
13735         Fix Timmeke Waymans bug.
13736         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
13737         string of the proper length to gst_caps_from_string. There's a
13738         potential for, before this fix, that this could cause someone
13739         connecting over the network to cause a segfault if the payload is
13740         not NUL-terminated.
13741
13742 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
13743
13744         * docs/design/draft-push-pull.txt:
13745         * docs/design/part-overview.txt:
13746         * docs/random/TODO-pre-0.9:
13747         * docs/random/old/ChangeLog.gstreamer:
13748         * gst/base/gstpushsrc.c:
13749         * gst/gstclock.c:
13750           fixed typos
13751
13752 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13753
13754         * gst/glib-compat.c: (gst_flags_get_first_value):
13755         * gst/glib-compat.h:
13756         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
13757         (gst_value_compare_double), (gst_value_serialize_flags):
13758           GLib 2.6 g_flags_get_first_value has a bug that triggers an
13759           infinite loop
13760
13761 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13762
13763         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13764         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13765           fix up debugging
13766         * tools/gst-launch.c: (event_loop):
13767           print out clock nicely
13768
13769 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
13770
13771         * docs/gst/gstreamer-sections.txt:
13772         * gst/gsttaglist.h:
13773         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
13774         (gst_tag_list_get_date_index):
13775           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
13776           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
13777
13778 2005-10-13  Julien MOUTTE  <julien@moutte.net>
13779
13780         * gst/base/gstcollectpads.c: (gst_collectpads_event),
13781         (gst_collectpads_chain):
13782         * gst/base/gstcollectpads.h: Handle newsegment and store informations
13783         in CollectData.
13784
13785 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
13786
13787         * docs/gst/gstreamer-sections.txt:
13788         * gst/gst.c:
13789         * gst/gsterror.h:
13790         * tools/gst-inspect.c: (main):
13791         * tools/gst-launch.c: (main):
13792         * tools/gst-run.c: (main):
13793         * tools/gst-xmlinspect.c: (main):
13794           fix GOption context leaks
13795           doc fixes
13796
13797 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13798
13799         * gst/gstbus.c:
13800           use HAVE_UNISTD_H
13801         * win32/common/config.h:
13802           update config
13803         * win32/vs6/grammar.dsp:
13804         * win32/vs6/libgstelements.dsp:
13805         * win32/vs6/libgstreamer.dsp:
13806           update vs6 files
13807
13808 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13809
13810         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13811         * gst/base/gstbasesrc.c: (gst_base_src_query):
13812           fix more guint64<->gdouble conversions
13813
13814 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13815
13816         * Makefile.am:
13817           add win32-update target
13818         * win32/common/gstconfig.h:
13819         * win32/common/gstenumtypes.c:
13820         * win32/common/gstenumtypes.h:
13821         * win32/common/gstversion.h:
13822           add files that visual studio can't generate
13823
13824 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13825
13826         * Makefile.am:
13827           add a win32-update target
13828         * configure.ac:
13829
13830 2005-10-12  Wim Taymans  <wim@fluendo.com>
13831
13832         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13833         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
13834         * gst/gstelement.c: (gst_element_commit_state),
13835         (gst_element_set_state):
13836         Protect flags with proper lock.
13837         unref provided cached clock in dispose.
13838
13839 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
13840
13841         * gst/gst.c:
13842         * gst/gstminiobject.h:
13843         * gst/gstpad.h:
13844         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
13845           removed unused flags from miniobject
13846           doc fixes
13847
13848 2005-10-12  Wim Taymans  <wim@fluendo.com>
13849
13850         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13851         (gst_file_sink_event), (gst_file_sink_render):
13852         Flush before seeking.
13853
13854 2005-10-12  Andy Wingo  <wingo@pobox.com>
13855
13856         * gst/gst.c (gst_init_check): Ignore unknown options, as has
13857         always been the case.
13858
13859 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
13860
13861         * check/gst/gstbin.c: (GST_START_TEST):
13862         * docs/gst/gstreamer-sections.txt:
13863         * gst/base/gstbasesink.c: (gst_base_sink_init):
13864         * gst/base/gstbasesrc.c: (gst_base_src_init),
13865         (gst_base_src_get_range), (gst_base_src_check_get_range),
13866         (gst_base_src_start), (gst_base_src_stop):
13867         * gst/base/gstbasesrc.h:
13868         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
13869         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13870         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
13871         (bin_bus_handler):
13872         * gst/gstbin.h:
13873         * gst/gstbuffer.h:
13874         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
13875         * gst/gstbus.h:
13876         * gst/gstelement.c: (gst_element_is_locked_state),
13877         (gst_element_set_locked_state), (gst_element_commit_state),
13878         (gst_element_set_state):
13879         * gst/gstelement.h:
13880         * gst/gstindex.c: (gst_index_init):
13881         * gst/gstindex.h:
13882         * gst/gstminiobject.h:
13883         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
13884         (gst_object_set_parent):
13885         * gst/gstobject.h:
13886         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
13887         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
13888         * gst/gstpad.h:
13889         * gst/gstpadtemplate.h:
13890         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
13891         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
13892         * gst/gstpipeline.h:
13893         * gst/indexers/gstfileindex.c: (gst_file_index_load),
13894         (gst_file_index_commit):
13895         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
13896         * testsuite/pad/link.c: (gst_test_src_init),
13897         (gst_test_filter_init), (gst_test_sink_init):
13898         * testsuite/states/locked.c: (main):
13899           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
13900           moved bitshift from macro to enum definition
13901
13902 2005-10-12  Wim Taymans  <wim@fluendo.com>
13903
13904         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
13905         * gst/elements/gstfilesink.c: (gst_file_sink_event),
13906         (gst_file_sink_render):
13907         Some more debugging info.
13908
13909 2005-10-12  Wim Taymans  <wim@fluendo.com>
13910
13911         * docs/design/part-states.txt:
13912         * tools/gst-launch.c: (main):
13913         Some doc updates.
13914         Revert non-intentional change.
13915
13916 2005-10-12  Wim Taymans  <wim@fluendo.com>
13917
13918         * check/gst/gstbin.c: (GST_START_TEST):
13919         * check/gst/gstelement.c: (GST_START_TEST):
13920         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
13921         * check/gst/gstghostpad.c: (GST_START_TEST):
13922         * check/gst/gstpipeline.c: (GST_START_TEST):
13923         * check/pipelines/simple_launch_lines.c: (run_pipeline):
13924         * check/states/sinks.c: (GST_START_TEST):
13925         * gst/elements/gsttypefindelement.c: (stop_typefinding):
13926         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13927         (gst_bin_remove_func), (gst_bin_get_state_func),
13928         (gst_bin_recalc_state), (gst_bin_change_state_func),
13929         (bin_bus_handler):
13930         * gst/gstelement.c: (gst_element_get_state_func),
13931         (gst_element_get_state), (gst_element_abort_state),
13932         (gst_element_commit_state), (gst_element_set_state),
13933         (gst_element_change_state), (gst_element_change_state_func):
13934         * gst/gstelement.h:
13935         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
13936         (gst_pipeline_provide_clock_func):
13937         * gst/gstutils.c: (gst_element_link_pads_filtered):
13938         * tools/gst-launch.c: (main):
13939         * tools/gst-typefind.c: (main):
13940         Use GstClockTime in _get_state() instead of GTimeVal.
13941         Remove old code in gstutils.c
13942
13943 2005-10-12  Andy Wingo  <wingo@pobox.com>
13944
13945         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
13946         removed.
13947
13948         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
13949         there is no task. Shouldn't affect any code, as nothing in our
13950         plugins checks this return value.
13951         (gst_pad_stop_task): Also take the stream lock if the pad has no
13952         task. Docs updated.
13953
13954 2005-10-12  Wim Taymans  <wim@fluendo.com>
13955
13956         * gst/gstpad.c: (pre_activate), (post_activate),
13957         (gst_pad_activate_pull), (gst_pad_activate_push):
13958         Cleanup activation code. Reset old state if
13959         activation failed.
13960
13961 2005-10-12  Wim Taymans  <wim@fluendo.com>
13962
13963         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13964         (gst_base_sink_change_state):
13965         No need to prerol after receiving EOS.
13966
13967         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13968         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
13969         * gst/elements/gstidentity.c: (gst_identity_event):
13970         Print events more verbosely.
13971
13972 2005-10-12  Wim Taymans  <wim@fluendo.com>
13973
13974         * check/Makefile.am:
13975         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
13976         * check/states/sinks2.c:
13977         Moved sinks2 testcode in sinks check.
13978
13979         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13980         (gst_bin_remove_func), (gst_bin_recalc_state),
13981         (gst_bin_change_state_func), (bin_bus_handler):
13982         Fix potential race condition when _get_state() iterated over an
13983         ASYNC element right before it posted a state completion.
13984
13985         * gst/gstclock.h:
13986         Do proper cast here.
13987
13988         * gst/gstevent.c: (gst_event_new_newsegment),
13989         (gst_event_parse_newsegment):
13990         A playback rate of 0.0 is not allowed.
13991
13992 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13993
13994         * win32/common/config.h:
13995         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
13996         (_trewinddir), (_ttelldir), (_tseekdir):
13997         * win32/common/dirent.h:
13998         * win32/common/gtchar.h:
13999         * win32/common/libgstbase.def:
14000         * win32/common/libgstreamer.def:
14001         * win32/vs6/grammar.dsp:
14002         * win32/vs6/gst_inspect.dsp:
14003         * win32/vs6/gst_launch.dsp:
14004         * win32/vs6/gstreamer.dsw:
14005         * win32/vs6/libgstbase.dsp:
14006         * win32/vs6/libgstelements.dsp:
14007         * win32/vs6/libgstreamer.dsp:
14008           Visual Studio 6 project files, and a new common directory.
14009           Phear.
14010
14011 2005-10-11  Wim Taymans  <wim@fluendo.com>
14012
14013         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14014         (gst_base_sink_do_sync), (gst_base_sink_query),
14015         (gst_base_sink_change_state):
14016         * gst/base/gstbasesink.h:
14017         Correctly parse newsegment info.
14018
14019 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14020
14021         * gst/gst.c: (init_post):
14022           split plugin paths correctly
14023
14024 2005-10-11  Wim Taymans  <wim@fluendo.com>
14025
14026         * check/gst/gstevent.c: (GST_START_TEST):
14027         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14028         (gst_base_sink_change_state):
14029         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
14030         * gst/base/gstbasetransform.c: (gst_base_transform_event):
14031         * gst/elements/gstfilesink.c: (gst_file_sink_event):
14032         * gst/gstevent.c: (gst_event_new_newsegment),
14033         (gst_event_parse_newsegment):
14034         * gst/gstevent.h:
14035         Added extra flag to newsegment for future API freeze.
14036         Updated check and base elements.
14037
14038 2005-10-11  Julien MOUTTE  <julien@moutte.net>
14039
14040         * gst/base/gstcollectpads.c: (gst_collectpads_init),
14041         (gst_collectpads_add_pad), (gst_collectpads_pop),
14042         (gst_collectpads_event), (gst_collectpads_chain):
14043         * gst/base/gstcollectpads.h: Handle EOS correctly.
14044
14045 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14046
14047         * tools/gst-launch.c: (main):
14048           more null protecting
14049
14050 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14051
14052         * gst/gst-i18n-lib.h:
14053           check for ENABLE_NLS, not GETTEXT_PACKAGE
14054         * gst/gstregistry.c: (gst_registry_add_plugin),
14055         (gst_registry_scan_path_level),
14056         (_gst_registry_remove_cache_plugins):
14057           protect possibly NULL strings
14058         * gst/parse/types.h:
14059           config.h already included before
14060         * tools/gst-inspect.c: (main):
14061           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
14062           check for ENABLE_NLS, not GETTEXT_PACKAGE
14063         * tools/gst-launch.c: (main):
14064           check for ENABLE_NLS, not GETTEXT_PACKAGE
14065
14066 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14067
14068         * configure.ac:
14069           if we don't have glib, fail before testing 2.8
14070         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
14071           fix a leak, should fix plugins-base testsuite
14072
14073 2005-10-11  Andy Wingo  <wingo@pobox.com>
14074
14075         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
14076         take the mode we're going to as an arg. Go head and set the mode
14077         and flushing flags now, so that if the activate function starts a
14078         thread all the flags will be in the right state.
14079         (post_activate): Renamed also. Just handle making sure streaming
14080         finishes for the deactivation case, and setting the deactivated
14081         mode.
14082         (gst_pad_set_active): Complain loudly if deactivation fails.
14083         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
14084         (gst_pad_activate_push): Adapt to pre/post_activate changes,
14085         remove the terrible hack.
14086
14087 2005-10-11  Wim Taymans  <wim@fluendo.com>
14088
14089         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14090         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
14091         (gst_bin_recalc_state), (gst_bin_change_state_func),
14092         (gst_bin_dispose), (bin_bus_handler):
14093         * gst/gstbin.h:
14094         Prepare to make current EOS message queue more generic.
14095         Fix some typos.
14096
14097         * gst/gstevent.c: (gst_event_new_newsegment),
14098         (gst_event_parse_newsegment):
14099         * gst/gstevent.h:
14100         Rename base to stream_time.
14101
14102         * gst/gstmessage.h:
14103         Fix typo in docs.
14104
14105 2005-10-11  Wim Taymans  <wim@fluendo.com>
14106
14107         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14108         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
14109         (gst_bin_change_state_func), (bin_bus_handler):
14110         * gst/gstbin.h:
14111         Work on proper clock selection.
14112
14113 2005-10-11  Edward Hervey  <edward@fluendo.com>
14114
14115         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
14116         * libs/gst/controller/gstcontroller.h:
14117         Added GList* version of _remove_properties() in order to be able to wrap
14118         it in bindings.
14119
14120 2005-10-11  Wim Taymans  <wim@fluendo.com>
14121
14122         * docs/design/part-states.txt:
14123         Some more docs.
14124
14125         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
14126         (gst_bin_change_state_func), (bin_bus_handler):
14127         Doc updates. Don't distribute the same clock over and over again.
14128
14129         * gst/gstclock.c:
14130         * gst/gstclock.h:
14131         Doc updates.
14132
14133         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
14134         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
14135         (gst_pad_send_event):
14136         * gst/gstpad.h:
14137         Make probe emission threadsafe again.
14138         Register quarks and move _get_name() from utils.
14139         Doc updates.
14140
14141         * gst/gstpipeline.c: (gst_pipeline_class_init),
14142         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14143         Only redistribute the clock of it changed.
14144
14145         * gst/gstsystemclock.h:
14146         Doc updates. 
14147
14148         * gst/gstutils.c:
14149         * gst/gstutils.h:
14150         Moved the _flow_get_name() to GstPad.
14151
14152 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14153
14154         * check/gst-libs/gdp.c: (GST_START_TEST):
14155         * check/gst/gstcaps.c: (GST_START_TEST):
14156         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
14157         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
14158         (gst_dp_packet_from_caps):
14159           fix more valgrind warnings before turning up the heat
14160
14161 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14162
14163         * gst/parse/grammar.y:
14164           some cleanup before the hacking
14165
14166 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14167
14168         * gst/base/gstbasesrc.c: (gst_base_src_query):
14169           use conversions
14170         * gst/gstutils.c: (gst_guint64_to_gdouble),
14171         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
14172         * gst/gstutils.h:
14173           externalize, basesrc uses it
14174           obviously the implementation needs testing
14175
14176 2005-10-10  Wim Taymans  <wim@fluendo.com>
14177
14178         * tests/sched/Makefile.am:
14179         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
14180         (make_pipeline3), (make_pipeline4), (print_elem), (main):
14181
14182 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14183
14184         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
14185           apparently converting from guint64 to double is not implemented
14186           on MSVC
14187
14188 2005-10-10  Wim Taymans  <wim@fluendo.com>
14189
14190         * check/Makefile.am:
14191         * check/generic/states.c: (GST_START_TEST):
14192         * check/gst/gstbin.c: (GST_START_TEST):
14193         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14194         * check/states/sinks.c: (GST_START_TEST):
14195         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
14196         (main):
14197         Check fixes, use API as stated in design docs, remove hacks.
14198
14199         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14200         (gst_base_sink_change_state):
14201         Catch stopping our task while we're shutting down.
14202
14203         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
14204         (gst_bin_remove_func), (gst_bin_get_state_func),
14205         (gst_bin_recalc_state), (gst_bin_change_state_func),
14206         (bin_bus_handler):
14207         * gst/gstbin.h:
14208         * gst/gstelement.c: (gst_element_init),
14209         (gst_element_get_state_func), (gst_element_abort_state),
14210         (gst_element_commit_state), (gst_element_lost_state),
14211         (gst_element_set_state), (gst_element_change_state),
14212         (gst_element_change_state_func):
14213         * gst/gstelement.h:
14214         New state change algorithm (see #318116)
14215
14216         * gst/gstpipeline.c: (gst_pipeline_class_init),
14217         (gst_pipeline_init), (gst_pipeline_set_property),
14218         (gst_pipeline_get_property), (do_pipeline_seek),
14219         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14220         * gst/gstpipeline.h:
14221         Remove crude state change hacks.
14222
14223         * gst/gstutils.h:
14224         Remove crude hacks.
14225
14226         * tools/gst-launch.c: (main):
14227         Fixes for state change. Needs some more work to fully use the
14228         new stuff.
14229
14230 2005-10-10  Andy Wingo  <wingo@pobox.com>
14231
14232         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
14233
14234         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
14235         this flag, but it's not even in GLib 2.6. Odd. Hack around the
14236         issue.
14237
14238 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14239
14240         * gst/gstiterator.c: (gst_iterator_new):
14241           Fix my previous commit: GTypes passed to gst_iterator_new()
14242           can be fundamental types.
14243
14244 2005-10-10  Wim Taymans  <wim@fluendo.com>
14245
14246         * gst/gstelement.c: (gst_element_iterate_pad_list),
14247         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
14248         (gst_element_iterate_sink_pads):
14249         Use src/sink pads lists for the respective iterators instead
14250         of filtering.
14251
14252 2005-10-10  Andy Wingo  <wingo@pobox.com>
14253
14254         Merged in popt removal + GOption addition patch from Ronald, bug
14255         #169772.
14256
14257         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
14258         GstElement macros around, remove popt-related symbols, add goption
14259         stuff.
14260
14261         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
14262         
14263         * docs/gst/Makefile.am:
14264         * docs/libs/Makefile.am: No POPT_CFLAGS.
14265         
14266         * examples/manual/Makefile.am:
14267         * docs/manual/basics-init.xml: Doc updates with an example.
14268         
14269         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
14270         (gst_init), (parse_one_option), (parse_goption_arg):
14271         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
14272         bit of hand merging and debugging to get the GOption stuff working
14273         tho.
14274         
14275         * tests/Makefile.am:
14276         * tools/Makefile.am:
14277         * tools/gst-inspect.c: (main):
14278         * tools/gst-launch.c: (main):
14279         * tools/gst-run.c: (main):
14280         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
14281
14282 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14283
14284         * gst/gstiterator.c: (gst_iterator_new):
14285           Add assertions to make sure passed GType is likely to really
14286           be a GType (as the compiler won't catch it if the size and
14287           GType arguments get mixed up, see #318447).
14288
14289 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
14290
14291         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14292
14293         * gst/gstbin.c: (gst_bin_iterate_sorted):
14294           Pass GType and size arguments to gst_iterator_new() in the right
14295           order (maybe we should make _new() take the GType as first argument
14296           just like _new_list()?) (#318447).
14297           
14298
14299 2005-10-10  Wim Taymans  <wim@fluendo.com>
14300
14301         * gst/gstelement.c: (gst_element_finalize):
14302         And free the GStaticRecMutex too
14303
14304 2005-10-10  Andy Wingo  <wingo@pobox.com>
14305
14306         * gst/gstelement.c (gst_element_init, gst_element_finalize):
14307         Allocate and free the mutex properly.
14308
14309         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
14310         New macros.
14311         (GstElement): The state_lock is now recursive. Rebuild your
14312         plugins, suckers. Old macros adapted.
14313
14314         * docs/gst/gstreamer-sections.txt: Doc updates.
14315
14316         * gst/gstutils.h:
14317         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
14318         (g_static_rec_cond_wait): Ported from state changes patch, while
14319         we wait on bug #317802 to be solved in a well-distributed GLib.
14320
14321         * gst/gstelement.c (gst_element_change_state_func): Renamed from
14322         gst_element_change_state, variable name changes.
14323         (gst_element_change_state): Split out of gst_element_set_state in
14324         preparation for the state change merge. Doesn't pay attention to
14325         the 'transition' argument.
14326         (gst_element_set_state): Updates, hopefully purely cosmetic.
14327         (gst_element_sync_state_with_parent): MT-safety. Ported from the
14328         state change patch.
14329         (gst_element_get_state_func): Renamed from get_state, cosmetic
14330         changes.
14331
14332 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14333
14334         * gst/elements/gstelements.c:
14335         * win32/GStreamer.vcproj:
14336         * win32/config.h:
14337         * win32/dirent.c: (_tseekdir):
14338         * win32/gst-inspect.vcproj:
14339         * win32/gst-launch.vcproj:
14340         * win32/gstconfig.h:
14341         * win32/gstelements.vcproj:
14342         * win32/gstenumtypes.c: (gst_object_flags_get_type):
14343         * win32/gstreamer.def:
14344         * win32/msvc71.sln:
14345           updates for the win32 build (patch from Sebastien Moutte)
14346
14347 2005-10-10  Andy Wingo  <wingo@pobox.com>
14348
14349         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
14350         gst_bin_get_state, cleaned up (but no logic changes).
14351         (bin_element_is_sink): Comment updates.
14352         (sink_iterator_filter): Remove needless cast.
14353         (gst_bin_iterate_sinks): Doc update.
14354         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
14355         cleaned up (but no logic changes).
14356
14357         * check/states/sinks.c (test_src_sink): Cleanups from the state
14358         change patch.
14359         (test_livesrc_sink): Sync on the state.
14360
14361         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
14362         the state change patch.
14363
14364         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
14365         change patch.
14366
14367         * check/gst/gstbin.c: Merge in some style fixes and additional
14368         checks from Wim's state change patch.
14369
14370 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14371
14372         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14373         (gst_type_find_helper):
14374           Check whether we have the requested data already in our list of
14375           cached buffers before pulling a new buffer; also make the buffer
14376           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
14377
14378 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14379
14380         * gst/gstcaps.c:
14381         * gst/gstevent.c:
14382           doc updates
14383         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14384           don't use long long, it's not portable.  Replacing with
14385           gint64 seems to work; let's hope no skeletons fall out of the closet.
14386
14387 2005-10-10  Andy Wingo  <wingo@pobox.com>
14388
14389         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
14390
14391 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
14392
14393         * docs/gst/gstreamer-sections.txt:
14394         * gst/gstevent.c:
14395         * gst/gstevent.h:
14396         * gst/gstinfo.c:
14397         * gst/gstinfo.h:
14398         * gst/gstmessage.c: (gst_message_parse_state_changed):
14399         * gst/gstpad.c:
14400         * gst/gstpad.h:
14401           more docs, fix compilation
14402
14403 2005-10-09  Philippe Khalaf <burger@speedy.org>
14404         * gst/gstmessage.c:
14405           Fixed a few forgotten variables on previous commit
14406
14407 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
14408
14409         * gst/base/gsttypefindhelper.c: (helper_find_peek):
14410           Fix evil typefind crasher: getrange() might return a short
14411           buffer at the end of a file, but gst_type_find_peek() must
14412           either return the full data as requested or NULL, but
14413           never a short buffer.
14414
14415 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14416
14417         * gst/gstmessage.c: (gst_message_new_state_changed),
14418         (gst_message_parse_state_changed):
14419         * gst/gstmessage.h:
14420           don't use "new", it's a C++ keyword
14421
14422 2005-10-08  Wim Taymans  <wim@fluendo.com>
14423
14424         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
14425         * gst/gstelement.c: (gst_element_post_message):
14426         * gst/gstpipeline.c: (gst_pipeline_change_state):
14427         Small docs and debug updates.
14428
14429 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
14430
14431         * docs/gst/gstreamer-sections.txt:
14432         * gst/gstelementfactory.c:
14433         * gst/gstevent.c:
14434         * gst/gsttaglist.c:
14435           more docs
14436
14437 2005-10-08  Wim Taymans  <wim@fluendo.com>
14438
14439         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
14440         (gst_bin_dispose), (bin_bus_handler):
14441         Fix typos, add comments.
14442         Clear EOS list when going to PAUSED from any direction and do it
14443         in a threadsafe way.
14444         Get base time in a threadsafe way too.
14445         Fix confusing debug in the change_state function.
14446         Various other small cleanups.
14447         
14448         * gst/gstelement.c: (gst_element_post_message):
14449         Fix very verbose bus posting code.
14450
14451         * gst/gstpipeline.c: (gst_pipeline_class_init),
14452         (gst_pipeline_set_property), (gst_pipeline_get_property),
14453         (gst_pipeline_change_state):
14454         Small ARG_ -> PROP_ cleanup
14455
14456 2005-10-08  Wim Taymans  <wim@fluendo.com>
14457
14458         * gst/gstbin.c: (is_eos), (bin_bus_handler):
14459         Do a less CPU demanding EOS check because we can.
14460
14461 2005-10-08  Wim Taymans  <wim@fluendo.com>
14462
14463         * libs/gst/dataprotocol/dataprotocol.c:
14464         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14465         (gst_dp_packet_from_event):
14466         * libs/gst/dataprotocol/dataprotocol.h:
14467         * libs/gst/dataprotocol/dp-private.h:
14468         It's about time we bump the version number.
14469         Since event types don't fit in the guint8 anymore describing
14470         the payload type, make payload type 16 bits wide.
14471
14472 2005-10-08  Wim Taymans  <wim@fluendo.com>
14473
14474         * docs/design/part-TODO.txt:
14475         * docs/design/part-clocks.txt:
14476         * docs/design/part-events.txt:
14477         * docs/design/part-gstbin.txt:
14478         * docs/design/part-gstelement.txt:
14479         * docs/design/part-gstpipeline.txt:
14480         * docs/design/part-live-source.txt:
14481         * docs/design/part-messages.txt:
14482         * docs/design/part-overview.txt:
14483         * docs/design/part-states.txt:
14484         Many doc updates.
14485
14486 2005-10-08  Wim Taymans  <wim@fluendo.com>
14487
14488         * gst/gstevent.c:
14489         * gst/gstevent.h:
14490         Fix event quark registration.
14491         Add some space between events so we can insert them in the
14492         right groups.
14493
14494 2005-10-08  Wim Taymans  <wim@fluendo.com>
14495
14496         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14497         (gst_base_sink_handle_buffer):
14498         Better log message.
14499
14500         * gst/gstbus.h:
14501         * gst/gstelement.h:
14502         More docs.
14503
14504         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
14505         (gst_queue_set_property), (gst_queue_get_property):
14506         * gst/gstqueue.h:
14507         Remove old unused properties.
14508
14509 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
14510         * docs/gst/gstreamer-sections.txt:
14511         * gst/gstmessage.c:
14512         * gst/gstmessage.h:
14513         * gst/gstminiobject.c:
14514         * gst/gstminiobject.h:
14515         * gst/gstobject.h:
14516         * gst/gstpad.h:
14517         * gst/gstutils.h:
14518           lots of new docs and doc fixes
14519
14520 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14521
14522         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
14523         * gst/gstplugin.h:
14524         * gst/gstregistry.c: (gst_registry_lookup_locked),
14525         (gst_registry_scan_path_level):
14526         * gst/gstregistryxml.c: (load_plugin):
14527           Only ever load one plugin for a given plugin basename.
14528           This ensures correct overriding of GST_PLUGIN_PATH over
14529           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
14530           system installed plugins.
14531
14532 2005-10-08  Wim Taymans  <wim@fluendo.com>
14533
14534         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14535         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
14536         Prepare for doing QOS.
14537
14538 2005-10-08  Wim Taymans  <wim@fluendo.com>
14539
14540         * check/gst/gstbin.c: (GST_START_TEST):
14541         * check/pipelines/cleanup.c: (GST_START_TEST):
14542         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14543         Allow new clock message too.
14544
14545 2005-10-08  Wim Taymans  <wim@fluendo.com>
14546
14547         * gst/gstmessage.c: (gst_message_new_error),
14548         (gst_message_new_warning), (gst_message_new_tag),
14549         (gst_message_new_state_changed), (gst_message_new_clock_provide),
14550         (gst_message_new_clock_lost), (gst_message_new_new_clock),
14551         (gst_message_new_segment_start), (gst_message_new_segment_done),
14552         (gst_message_parse_state_changed),
14553         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
14554         (gst_message_parse_new_clock):
14555         * gst/gstmessage.h:
14556         Also carry the clock in question.
14557
14558 2005-10-08  Wim Taymans  <wim@fluendo.com>
14559
14560         * gst/gstmessage.c: (gst_message_new_custom),
14561         (gst_message_new_eos), (gst_message_new_error),
14562         (gst_message_new_warning), (gst_message_new_tag),
14563         (gst_message_new_state_changed), (gst_message_new_clock_provide),
14564         (gst_message_new_new_clock), (gst_message_new_segment_start),
14565         (gst_message_new_segment_done), (gst_message_parse_state_changed),
14566         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
14567         * gst/gstmessage.h:
14568         Clean up.
14569         Added clock related messages.
14570
14571         * gst/gstpipeline.c: (gst_pipeline_change_state):
14572         Post message when the clock changed.
14573
14574         * tools/gst-launch.c: (event_loop):
14575         Print new clock.
14576
14577 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
14578
14579         * tools/gst-inspect.c: (print_element_properties_info):
14580           Can't pass NULL strings to g_print() on windows.
14581
14582 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14583
14584         * docs/Makefile.am:
14585         * docs/gst/Makefile.am:
14586         * docs/gst/gstreamer-docs.sgml:
14587         * docs/gst/running.xml:
14588         * docs/version.entities.in:
14589           add a chapter on running GStreamer.
14590           document GST_DEBUG and GST_PLUGIN* env vars
14591
14592 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14593
14594         * Makefile.am:
14595           remove include dir
14596         * configure.ac:
14597           remove PLUGINS_BUILDDIR stuff
14598         * gst/gst.c: (init_post):
14599           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
14600         * idiottest.mak:
14601           remove, it was condescending and not needed
14602
14603 2005-10-08  Wim Taymans  <wim@fluendo.com>
14604
14605         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
14606         (gst_base_sink_handle_object), (gst_base_sink_event),
14607         (gst_base_sink_wait), (gst_base_sink_handle_event),
14608         (gst_base_sink_change_state):
14609         * gst/base/gstbasesink.h:
14610         Repost EOS message while going to PLAYING if still EOS.
14611         Make sure that when receiving a FLUSH_START we don't attempt
14612         to sync on the clock anymore.
14613
14614 2005-10-08  Wim Taymans  <wim@fluendo.com>
14615
14616         * tools/gst-launch.c: (event_loop):
14617         Better message printout.
14618
14619 2005-10-08  Wim Taymans  <wim@fluendo.com>
14620
14621         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
14622         (gst_bin_child_proxy_get_children_count):
14623         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14624         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
14625         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
14626         (gst_child_proxy_set_valist):
14627         * gst/parse/grammar.y:
14628         Make ChildProxy threadsafe and fix mem leaks.
14629
14630 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14631
14632         * gst/gst.c: (init_post):
14633           debug the GST_PLUGIN_ env vars
14634
14635 2005-10-08  Wim Taymans  <wim@fluendo.com>
14636
14637         * check/gst/gstbin.c: (GST_START_TEST):
14638         * check/gst/gstmessage.c: (GST_START_TEST):
14639         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14640         * gst/gstelement.c: (gst_element_commit_state),
14641         (gst_element_lost_state):
14642         * gst/gstmessage.c: (gst_message_new_state_changed),
14643         (gst_message_parse_state_changed):
14644         * gst/gstmessage.h:
14645         * tools/gst-launch.c: (event_loop):
14646         Added extra field to STATE_CHANGE message with the pending
14647         state, which will be different from the new state soon.
14648
14649 2005-10-08  Wim Taymans  <wim@fluendo.com>
14650
14651         * gst/gstbus.c: (gst_bus_pop):
14652         * gst/gstclock.c:
14653         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14654         Small cleanups and doc updates.
14655
14656 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14657
14658         * gst/gst.c: (init_pre):
14659         * gst/gstbin.c: (gst_bin_add_func):
14660           log distributing clocks and base time
14661         * gst/gstregistry.c: (gst_registry_add_plugin),
14662         (gst_registry_scan_path_level), (gst_registry_scan_path):
14663           clean up the debugging output a little
14664         * gst/gstutils.c: (gst_element_state_get_name):
14665           warn about a memleak (I've actually seen this be used, though
14666           it was probably a bug)
14667
14668 2005-10-07  Wim Taymans  <wim@fluendo.com>
14669
14670         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14671         (gst_base_src_init), (gst_base_src_default_newsegment),
14672         (gst_base_src_newsegment), (gst_base_src_do_seek),
14673         (gst_base_src_loop), (gst_base_src_start):
14674         * gst/base/gstbasesrc.h:
14675         Make the newsegment event customizable by subclasses.
14676
14677 2005-10-07  Wim Taymans  <wim@fluendo.com>
14678
14679         * gst/gstevent.c: (gst_event_new_buffersize),
14680         (gst_event_parse_buffersize):
14681         * gst/gstevent.h:
14682         New event for future idea.
14683
14684 2005-10-07  Andy Wingo  <wingo@pobox.com>
14685
14686         * gst/gstelement.c (gst_element_post_message): Doc update.
14687
14688         * docs/gst/gstreamer-sections.txt: Update.
14689
14690         * gst/gstmessage.c (gst_message_new_application): Made into a
14691         function like honest API calls.
14692         (gst_message_new_element): New message type.
14693
14694         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
14695
14696         * check/elements/fakesrc.c (test_no_preroll): New check, checks
14697         that setting a live fakesrc to PAUSED returns NO_PREROLL both
14698         times.
14699
14700         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
14701         NO_PREROLL from gst_element_change_state to fall through.
14702
14703 2005-10-07  Wim Taymans  <wim@fluendo.com>
14704
14705         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
14706         (gst_ghost_pad_do_activate_push):
14707         Activating a ghostpad with no internal pad in push mode
14708         is ok.
14709
14710 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14711
14712         * gst/gstobject.h:
14713           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
14714           Fixes compilation on Windows.
14715
14716 2005-10-07  Michael Smith <msmith@fluendo.com>
14717
14718         * tools/gst-inspect.c:
14719           Print out feature and plugin count at the end when printing out
14720           all features.
14721
14722 2005-10-04  Michael Smith <msmith@fluendo.com>
14723
14724         * gst/gsterror.c: (_gst_stream_errors_init):
14725           Add another error string used in a few existing plugins.
14726
14727         * gst/gstplugin.c:
14728         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14729         * tools/gst-inspect.c: (print_element_info):
14730           When a feature disappears from a plugin (and the feature exists in
14731           the cached registry file), things went horribly wrong. This isn't a
14732           complete fix, we should actually be removing the 'missing' features
14733           from the features list when we load the actual plugin. That's not
14734           yet implemented. 
14735
14736 2005-10-04  Johan Dahlin  <johan@gnome.org>
14737
14738         * check/gst/gstiterator.c: (GST_START_TEST):
14739         * gst/gstbin.c: (gst_bin_iterate_elements),
14740         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
14741         * gst/gstelement.c: (gst_element_iterate_pads):
14742         * gst/gstformat.c: (gst_format_iterate_definitions):
14743         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
14744         (gst_iterator_new_list), (gst_iterator_filter):
14745         * gst/gstiterator.h:
14746         * gst/gstquery.c: (gst_query_type_iterate_definitions):
14747         Add a GType to GstIterator, update callsites and tests.
14748
14749 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14750
14751         * gst/gstpad.c: (gst_pad_event_default_dispatch):
14752           give events a chance to be handled by event probes when the pad
14753           is not linked
14754
14755 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14756
14757         * gst/gstevent.c: (gst_event_type_get_name),
14758         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
14759         * gst/gstevent.h:
14760           add string representations for event types
14761
14762 2005-10-06  Wim Taymans  <wim@fluendo.com>
14763
14764         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
14765         Don't use NULL pointers.
14766
14767 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14768
14769         * gst/gst_private.h:
14770         * gst/gstbus.c:
14771         * gst/gstelement.c:
14772         * gst/gstinfo.c:
14773         * gst/gstpluginfeature.c:
14774           widen the debug category in output to fit the biggest one we have
14775           add a bus category and use it
14776           play with the colors
14777           fix up some categories
14778
14779 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14780
14781         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
14782           add push activation of sink ghost pads.
14783           Andye, please verify
14784
14785 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14786
14787         * gst/gstutils.c: (gst_element_link_pads):
14788           fix a bug in the case where neither element has a pad
14789         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14790           add a test for that case
14791
14792 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14793
14794         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
14795           emit have-data before checking for peers.  This allows
14796           for probe handlers to connect elements.  This helps autopluggers.
14797         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
14798         (gst_pad_suite):
14799           add six checks, linked/unlinked with no/true/false probe
14800
14801 2005-10-04  Wim Taymans  <wim@fluendo.com>
14802
14803         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
14804         (gst_fake_sink_event), (gst_fake_sink_preroll),
14805         (gst_fake_sink_render), (gst_fake_sink_change_state):
14806         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
14807         (gst_fake_src_get_property), (gst_fake_src_create),
14808         (gst_fake_src_stop):
14809         * gst/elements/gstidentity.c: (gst_identity_stop):
14810         Protect last_message with lock.
14811
14812 2005-10-04  Edward Hervey  <edward@fluendo.com>
14813
14814         * gst/gstformat.h: 
14815         Added precision in the comments for GST_FORMAT_DEFAULT
14816
14817 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
14818
14819         * tools/gst-launch.c: (main):
14820           Don't try to run erroneous pipelines.
14821
14822 2005-10-04  Julien MOUTTE  <julien@moutte.net>
14823
14824         * gst/gstbus.c: We don't need this header.
14825
14826 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14827
14828         * configure.ac:
14829           back to development
14830
14831 === release 0.9.3 ===
14832
14833 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14834
14835         * README:
14836         * configure.ac:
14837           Releasing 0.9.3, "Unregistered"
14838
14839 2005-10-03  Andy Wingo  <wingo@pobox.com>
14840
14841         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
14842         whereby calling a pad's activatepush() function can start a thread
14843         that starts to push or pull before the pad gets the FLUSHING flag
14844         unset. Hack around it by holding the stream lock until the flag is
14845         set. Need to replace this with a proper solution. Together with
14846         the ghost pad fixes, this fixes mp3 playing/tagreading.
14847
14848         * docs/design/part-gstghostpad.txt: Add a note about activation of
14849         proxy pads outside of ghost pads.
14850
14851         * gst/gstghostpad.c: Implement the ghost pad activation design.
14852
14853 2005-10-02  Andy Wingo  <wingo@pobox.com>
14854
14855         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
14856         It is volatile, after all.
14857
14858         * docs/design/part-gstghostpad.txt: Flesh out activation with
14859         ghost pads.
14860
14861         * gst/base/gstbasesrc.c (gst_base_src_init): Use
14862         GST_DEBUG_FUNCPTR.
14863
14864 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
14865
14866         * configure.ac:
14867           Fix (unused) AM_CONDITIONAL tests.
14868
14869 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
14870
14871         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14872
14873         * gst/gstutils.c: (gst_pad_query_convert):
14874           Add assertion that makes sure src_val is >=0, just like
14875           gst_query_new_convert() has. (#315895)
14876
14877 2005-09-30  Edward Hervey  <edward@fluendo.com>
14878
14879         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
14880         Let's not iterate pads we're not interested in, it avoids getting 
14881         sky-high refcounts on sinkpad.
14882
14883 2005-09-30  Wim Taymans  <wim@fluendo.com>
14884
14885         * gst/gstelement.c: (gst_element_set_state),
14886         (gst_element_change_state):
14887         Small tweak, element in ASYNC remains ASYNC.
14888
14889 2005-09-30  Wim Taymans  <wim@fluendo.com>
14890
14891         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14892         Only error is an error.
14893
14894         * gst/gstbin.c: (gst_bin_change_state):
14895         Better debugging.
14896
14897         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
14898         Also call pad_block in pad alloc.
14899
14900         * gst/gstutils.c: (gst_flow_get_name):
14901         Better debugging.
14902
14903 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
14904
14905         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14906         (gst_base_src_get_range):
14907           Fix documentation typos. Add some more debug info.
14908
14909 2005-09-29  David Schleef  <ds@schleef.org>
14910
14911         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
14912           more end-user friendly.
14913         * tools/gst-inspect.c: (main): Check if command-line argument is
14914           a file and attempt to load that file as a plugin.
14915
14916 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14917
14918         * check/gst/gstbin.c:
14919         * check/states/sinks.c:
14920           fix tests for the new warning
14921         * check/gst/gstpipeline.c:
14922           add a test for pipeline and bus interaction
14923         * gst/gstelement.c:
14924           elements should be NULL if they get disposed; add a warning if not
14925
14926 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14927
14928         * gst/gstobject.c:
14929           for 2.6 refcounting, make debug log more correct by printing
14930           the actual refcounts at the time of swap (Wim)
14931
14932 2005-09-29  Andy Wingo  <wingo@pobox.com>
14933
14934         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
14935         removes signal watches previously added via
14936         gst_bus_add_signal_watch.
14937         (gst_bus_add_signal_watch): Don't return the source id, just store
14938         it on the bus if there wasn't an id already.
14939
14940         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
14941         add_signal_watch and remove_signal_watch.
14942
14943 2005-09-29  Edward Hervey  <edward@fluendo.com>
14944
14945         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
14946         Better if we actually iterate the list :)
14947
14948 2005-09-29  Wim Taymans  <wim@fluendo.com>
14949
14950         * check/gst/gstbin.c: (GST_START_TEST):
14951         Change for new bus API.
14952
14953         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
14954         (send_messages), (GST_START_TEST), (gstbus_suite):
14955         Change for new bus signal API.
14956
14957         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
14958         (gst_bus_source_prepare), (gst_bus_source_check),
14959         (gst_bus_create_watch), (gst_bus_add_watch_full),
14960         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
14961         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
14962         * gst/gstbus.h:
14963         Remove support for multiple GSources operating on different
14964         message types as it is too complex and unneeded when using
14965         signals.
14966         Added support for receiving signals from the bus.
14967
14968 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14969
14970         * docs/libs/tmpl/gstdataprotocol.sgml:
14971         * docs/manual/advanced-dataaccess.xml:
14972         * gst/elements/gstcapsfilter.c:
14973         * gst/gstutils.c:
14974           rename filter-caps to caps property
14975
14976 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
14977
14978         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14979           More robust fraction string parsing.
14980
14981         * docs/pwg/appendix-porting.xml:
14982           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
14983
14984 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
14985
14986         * gst/gstcaps.c: (gst_caps_do_simplify):
14987           Thou shalt not free a structure and then continue using it
14988           in the next loop iteration.
14989
14990         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
14991         (gst_caps_suite):
14992           Add test case for caps simplification.
14993
14994 2005-09-29  Wim Taymans  <wim@fluendo.com>
14995
14996         * check/gst/gstbin.c: (GST_START_TEST):
14997         Oops.
14998
14999 2005-09-29  Wim Taymans  <wim@fluendo.com>
15000
15001         * check/gst/gstbin.c: (GST_START_TEST):
15002         Add bus to bin.
15003
15004         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
15005         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15006         (find_element), (gst_bin_sort_iterator_next),
15007         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15008         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15009         (gst_bin_change_state), (gst_bin_dispose):
15010         A bin does not have a bus, it gets the bus from the parent.
15011
15012         * gst/gstelement.c: (gst_element_requires_clock),
15013         (gst_element_provides_clock), (gst_element_is_indexable),
15014         (gst_element_is_locked_state), (gst_element_change_state),
15015         (gst_element_set_bus_func):
15016         Small cleanups.
15017
15018         * gst/gstpipeline.c: (gst_pipeline_class_init),
15019         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
15020         The pipeline provides a bus.
15021
15022 2005-09-28  Johan Dahlin  <johan@gnome.org>
15023
15024         * gst/gstmessage.c (gst_message_parse_state_changed): Use
15025         gst_structure_get_enum instead of gst_structure_get_int
15026
15027         * gst/gststructure.c (gst_structure_get_enum): Impl.
15028
15029         * gst/gststructure.h (gst_structure_get_enum): Add
15030
15031         * docs/gst/gstreamer-sections.txt: Ditto
15032
15033         * gst/gstmessage.c (gst_message_new_state_changed): Use
15034         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
15035         which does introspection.
15036         Reviewed by Christian Schaller
15037
15038 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
15039
15040         * gst/gstinfo.c: (gst_debug_log_default):
15041           don't do dummy g_strdup()s
15042         * libs/gst/controller/gstcontroller.c:
15043         (on_object_controlled_property_changed),
15044         (gst_controlled_property_new), (gst_controller_new_valist),
15045         (gst_controller_new_list),
15046         (gst_controller_remove_properties_valist), (gst_controller_set),
15047         (gst_controller_get), (gst_controller_sync_values),
15048         (gst_controller_get_value_array), (_gst_controller_class_init),
15049         (gst_controller_get_type):
15050         * libs/gst/controller/gstcontroller.h:
15051         * libs/gst/controller/gstinterpolation.c:
15052         (gst_controlled_property_find_timed_value_node):
15053           convert // to /**/ comments
15054
15055 2005-09-28  Wim Taymans  <wim@fluendo.com>
15056
15057         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
15058         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
15059         (gst_bus_sync_signal_handler):
15060         * gst/gstbus.h:
15061         Added async-message and sync-message signals to the bus.
15062         Added helper BusFunc to emit signals for all posted messages.
15063
15064         * gst/gstmessage.c: (gst_message_type_get_name),
15065         (gst_message_type_to_quark), (gst_message_get_type):
15066         * gst/gstmessage.h:
15067         Register quarks for message names.
15068
15069 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
15070
15071         * docs/libs/gstreamer-libs-sections.txt:
15072         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
15073         (gst_controller_new_list):
15074         * libs/gst/controller/gstcontroller.h:
15075           added another constructor for language bindings
15076
15077 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15078
15079         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15080           add another check
15081         * gst/gstbus.c:
15082           add some doc
15083         * gst/gstinfo.c: (_gst_debug_init):
15084           slightly more readable color for refcount debugging
15085
15086 2005-09-28  Wim Taymans  <wim@fluendo.com>
15087
15088         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15089         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15090         (find_element), (gst_bin_sort_iterator_next),
15091         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15092         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15093         (gst_bin_change_state), (gst_bin_dispose):
15094         Small doc fixes. get_clock -> provide_clock.
15095
15096         * gst/gstelement.c: (gst_element_class_init),
15097         (gst_element_provides_clock), (gst_element_provide_clock),
15098         (gst_element_get_clock), (gst_element_commit_state),
15099         (gst_element_lost_state):
15100         * gst/gstelement.h:
15101         Make get/set_clock() symetric. Add provide_clock vmethod since
15102         that is actually what this function does.
15103
15104         * gst/gstpipeline.c: (gst_pipeline_class_init),
15105         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
15106         (gst_pipeline_get_clock):
15107         get_clock -> provide_clock.
15108
15109 2005-09-28  Andy Wingo  <wingo@pobox.com>
15110
15111         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
15112         lieu of real docs...
15113
15114         * gst/elements/gstfdsrc.c: Cleaned up a bit.
15115
15116 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
15117
15118         * gst/elements/gstcapsfilter.c:
15119         * gst/elements/gstfakesink.c:
15120         * gst/elements/gstfakesrc.c:
15121         * gst/elements/gstfdsink.c:
15122         * gst/elements/gstfdsrc.c:
15123         * gst/elements/gstfilesink.c:
15124         * gst/elements/gstfilesrc.c:
15125         * gst/elements/gstidentity.c:
15126         * gst/elements/gsttee.c:
15127         * gst/elements/gsttypefindelement.c:
15128           Make element details static.
15129
15130 2005-09-28  Wim Taymans  <wim@fluendo.com>
15131
15132         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15133         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15134         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15135         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15136         (gst_bin_change_state), (gst_bin_dispose):
15137         Some documentation updates.
15138         Clean up dispose handlers.
15139
15140         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
15141         * gst/gstpad.c: (gst_pad_dispose):
15142         Clean up dispose handler.
15143
15144         * gst/gstpipeline.c: (gst_pipeline_change_state):
15145         Removed spurious UNLOCK.
15146
15147 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
15148
15149         * docs/gst/gstreamer-sections.txt:
15150         * gst/base/gstbasesrc.h:
15151         * gst/gstelement.h:
15152         * gst/gstevent.h:
15153         * gst/gstobject.h:
15154         * gst/gstpad.h:
15155         * gst/gstpipeline.c:
15156         * gst/gstpipeline.h:
15157         * gst/gstutils.h:
15158         * gst/gstxml.h:
15159           added two new functions to the docs
15160                 documents all undocumented GstXXXFlags
15161                 completed some incomplete docs 
15162
15163 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15164
15165         * gst/gstbin.c: (gst_bin_dispose):
15166         * gst/gstelement.c: (gst_element_dispose):
15167           remove now useless and leaky resurrection code in dispose
15168         * gst/base/gstbasesrc.c: (gst_base_src_init):
15169         * gst/gstelementfactory.c: (gst_element_factory_create):
15170         * gst/gstobject.c: (gst_object_set_parent):
15171           add some debugging
15172
15173 2005-09-27  Wim Taymans  <wim@fluendo.com>
15174
15175         * docs/design/part-TODO.txt:
15176         Update TODO.
15177
15178         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15179         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15180         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15181         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15182         (gst_bin_change_state):
15183         * gst/gstelement.h:
15184         Remove element variable, we keep element info in the iterator now.
15185
15186 2005-09-27  Andy Wingo  <wingo@pobox.com>
15187
15188         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
15189         values.
15190
15191 2005-09-27  Wim Taymans  <wim@fluendo.com>
15192
15193         * check/gst/gstbin.c: (GST_START_TEST):
15194         Enable check that works now.
15195
15196         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15197         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15198         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15199         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15200         (gst_bin_change_state):
15201         * gst/gstbin.h:
15202         Redid the state change algorithm using a topological sort algo.
15203         Handles all cases correctly.
15204         Exposed iterator for state change order.
15205
15206         * gst/gstelement.h:
15207         Temp storage for state changes. Need to get rid of this soon.
15208
15209 2005-09-27  Wim Taymans  <wim@fluendo.com>
15210
15211         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
15212         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
15213         (link_fold_func), (gst_pad_proxy_setcaps):
15214         Leak fixes, the fold functions need to unref the passed object and
15215         _get_parent_*() returns ref to parent.
15216
15217 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15218
15219         * check/gst/gstbuffer.c: (test_make_writable):
15220           Plug leak in test case and fix 'make check-valgrind'
15221
15222 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15223
15224         * gst/gstbuffer.c: (gst_subbuffer_init):
15225           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
15226           works correctly in all circumstances (we could have just copied
15227           the parent buffer's readonly flag, but conceptually it seems
15228           cleaner to mark all subbuffers as read-only). (based on patch
15229           by Alessandro Decina, #314710).
15230         
15231         * check/gst/gstbuffer.c: (create_read_only_buffer),
15232         (test_make_writable), (test_subbuffer_make_writable),
15233         (gst_test_suite):
15234           Add some tests for gst_buffer_make_writable().
15235
15236 2005-09-27  Wim Taymans  <wim@fluendo.com>
15237
15238         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
15239         use gst_object_has_ancestor().
15240
15241         * gst/gstobject.c: (gst_object_has_ancestor):
15242         * gst/gstobject.h:
15243         gst_object_has_ancestor() copied from gstbin.c as it is a
15244         useful function.
15245
15246         * tests/instantiate/create.c: (create_all_elements):
15247         * tests/lat.c: (handoff_src), (handoff_sink):
15248         * tests/sched/runxml.c: (main):
15249         * tests/seeking/seeking1.c: (main):
15250         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15251         (main):
15252         Fix compilation of some tests.
15253
15254 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15255
15256         * gst/gsterror.h:
15257           Remove comment. GST_TYPE_G_ERROR is here to stay,
15258           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
15259           (#316961, #300610).
15260
15261 2005-09-26  Wim Taymans  <wim@fluendo.com>
15262
15263         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15264         Added check that shows error in state change order.
15265
15266 2005-09-26  Wim Taymans  <wim@fluendo.com>
15267
15268         * gst/gstbin.c: (gst_bin_change_state):
15269         Make state change function use 3 queues again, we were
15270         adding elements in the wrong order.
15271
15272         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
15273         Some debug info,
15274
15275         * gst/gstpad.c: (gst_pad_dispose):
15276         Added some debug info first.
15277
15278 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
15279
15280         * docs/design/draft-push-pull.txt:
15281         * docs/design/part-events.txt:
15282         * docs/design/part-overview.txt:
15283         * docs/design/part-scheduling.txt:
15284           Replace all _pull_region() with _pull_range()
15285           
15286 2005-09-26  Andy Wingo  <wingo@pobox.com>
15287
15288         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
15289
15290         * check/gst-libs/controller.c: Update for controller api change.
15291
15292         * configure.ac: 
15293         * tests/Makefile.am:
15294         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
15295         over by GLib bug 118439.
15296         
15297         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
15298         routines to a function.
15299
15300         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
15301
15302         * libs/gst/controller/gsthelper.c:
15303         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
15304         (gst_object_sync_values): Renamed from sink_values. Ugh.
15305
15306         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
15307
15308         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
15309         Renamed from controller_key, as it is exported.
15310
15311         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
15312
15313 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
15314
15315         * gst/Makefile.am:
15316         * gst/gst.h:
15317         * gst/gstpad.h:
15318         * gst/gstpadtemplate.h:
15319         * gst/gstquery.c:
15320         * gst/gstquery.h:
15321         * gst/gstqueryutils.c:
15322         * gst/gstqueryutils.h:
15323           remove queryutils headers after moving the two used functions
15324           to gstquery.  also fixes build problem for gstsiddec
15325
15326 2005-09-26  Michael Smith <msmith@fluendo.com>
15327
15328         * tools/gst-launch.1.in:
15329         Correct documentation in manpage of debug syntax
15330
15331 2005-09-26  Wim Taymans  <wim@fluendo.com>
15332
15333         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15334         (gst_base_src_is_seekable), (gst_base_src_change_state):
15335         Some more debugging info.
15336
15337 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15338
15339         * docs/gst/gstreamer-sections.txt:
15340         * gst/base/gstbasetransform.h:
15341         * gst/gstindex.h:
15342           added more docs
15343
15344 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15345
15346         * docs/gst/.cvsignore:
15347         * docs/gst/tmpl/.cvsignore:
15348         * docs/gst/tmpl/gstpipeline.sgml:
15349         * docs/gst/tmpl/gstplugin.sgml:
15350         * gst/gstpipeline.c:
15351         * gst/gstplugin.c:
15352         * gst/gstplugin.h:
15353           inlined the last two docs files
15354           removed the tmpl directory from cvs (no more conflicts here!)
15355
15356 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15357
15358         * docs/gst/gstreamer-sections.txt:
15359         * docs/gst/tmpl/.cvsignore:
15360         * docs/gst/tmpl/gstpad.sgml:
15361         * docs/gst/tmpl/gstpadtemplate.sgml:
15362         * gst/Makefile.am:
15363         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
15364         (gst_pad_finalize), (gst_pad_set_pad_template):
15365         * gst/gstpad.h:
15366         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
15367         (gst_pad_template_class_init), (gst_pad_template_init),
15368         (gst_pad_template_dispose), (name_is_valid),
15369         (gst_static_pad_template_get), (gst_pad_template_new),
15370         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
15371         (gst_pad_template_pad_created):
15372         * gst/gstpadtemplate.h:
15373           inlined two more docs
15374           factored gstpadtemplate out of gstpad
15375
15376 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
15377
15378         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15379         (test_children_state_change_order_semi_sink):
15380           Fix test case: we can't rely on a fixed state change order when
15381           going from READY => PAUSED because the sink might commit its 
15382           new state first when the first buffer created by the source 
15383           reaches the sink before the source has finished its change state.
15384           (Test case still fails at times, see #316856, comment 5 onwards)
15385
15386 2005-09-24  Wim Taymans  <wim@fluendo.com>
15387
15388         * docs/design/part-events.txt:
15389         * docs/design/part-gstbus.txt:
15390         * docs/design/part-gstpipeline.txt:
15391         * docs/design/part-messages.txt:
15392         * docs/design/part-overview.txt:
15393         * docs/design/part-segments.txt:
15394         * gst/gstbin.c:
15395         * gst/gstbuffer.c:
15396         * gst/gstclock.c:
15397         * gst/gstelement.c:
15398         * gst/gstevent.c:
15399         * gst/gstfilter.c:
15400         * gst/gstiterator.c:
15401         Various documentation updates.
15402
15403 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15404
15405         * gst/gstclock.h:
15406           Well, that's embarassing.  Luckily we weren't using
15407           GST_CLOCK_DIFF anywhere.
15408
15409 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15410
15411         * common/gtk-doc.mak:
15412           don't fail on building XML, FC4 slave shows a bunch of doc
15413           missing bits that I don't get
15414         * gst/gstpad.c:
15415         * gst/gstpipeline.c:
15416         * gst/gststructure.c:
15417           some doc updates
15418
15419 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
15420
15421         * docs/design/part-gstbin.txt:
15422         * docs/design/part-gstbus.txt:
15423         * gst/gstbus.c:
15424           Add blurb about how the bus goes into flushing mode and
15425           drops all messages when its bin goes from READY into NULL 
15426           state.
15427
15428 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15429
15430         * docs/gst/gstreamer-sections.txt:
15431         * gst/gststructure.c: (gst_structure_get_clock_time):
15432         * gst/gststructure.h:
15433           add a method to get a GstClockTime out of a structure
15434
15435 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
15436
15437         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15438         (test_children_state_change_order_semi_sink), (gst_bin_suite):
15439           Added test to check state change order in bins (can still be made
15440           to fail here under heavy disk load; bails out with 'Push on pad
15441           fakesink:sink0, but it was not activated in push mode').
15442
15443         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
15444           Fix state change order when there is only a semi sink (#316856)
15445
15446         * gst/gstbus.c: (gst_bus_class_init):
15447           Use _class_peek_parent(), not _class_ref(); fix docs to say
15448           'default main context' instead of 'mainloop' where that is
15449           what's meant.
15450
15451         * gst/gstelement.c: (gst_element_commit_state),
15452         (gst_element_set_state):
15453           Fix typos in debug messages
15454
15455 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15456
15457         * docs/README:
15458         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
15459         * gst/gstpluginfeature.c:
15460         * gst/gstutils.c:
15461           various doc updates
15462         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15463           change an assert into an error until it gets fixed properly
15464
15465 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
15466
15467         * docs/gst/gstreamer-sections.txt:
15468         * docs/gst/tmpl/.cvsignore:
15469         * docs/gst/tmpl/gstelement.sgml:
15470         * docs/gst/tmpl/gstinfo.sgml:
15471         * docs/gst/tmpl/gstobject.sgml:
15472         * gst/gstelement.c:
15473         * gst/gstelement.h:
15474         * gst/gstinfo.c:
15475         * gst/gstinfo.h:
15476         * gst/gstobject.c: (gst_object_class_init):
15477         * gst/gstobject.h:
15478           inlined 3 more biiiig doc files and added some missing docs on the fly
15479
15480 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15481
15482         * check/gst/.cvsignore:
15483         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
15484         * gst/gstregistryxml.c: (load_plugin),
15485         (gst_registry_xml_save_plugin):
15486           put back source in registry.  add checks for find_plugin.
15487         * testsuite/states/bin.c: (assert_state), (empty_bin),
15488         (test_adding_one_element), (main):
15489         * testsuite/states/locked.c: (main):
15490           some compile/run fixes
15491
15492 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15493
15494         * check/gst/gstvalue.c: (GST_START_TEST):
15495           fix leaks in the test itself
15496
15497 2005-09-22  Wim Taymans  <wim@fluendo.com>
15498
15499         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15500         (gst_base_sink_send_event), (gst_base_sink_peer_query),
15501         (gst_base_sink_query):
15502         Prepare for more accurate position reporting and query
15503         handling.
15504
15505         * gst/gstelement.c: (gst_element_send_event),
15506         (gst_element_set_state):
15507         Add some comment.
15508
15509 2005-09-22  Wim Taymans  <wim@fluendo.com>
15510
15511         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
15512         (gst_query_parse_segment):
15513         * gst/gstquery.h:
15514         More documentation.
15515         Add segment query for future use.
15516
15517 2005-09-22  Wim Taymans  <wim@fluendo.com>
15518
15519         * gst/gstbin.c: (gst_bin_add_func):
15520         Some more debug info.
15521
15522         * gst/gstelement.c: (gst_element_send_event):
15523         Simplify send_event
15524
15525         * gst/gstelement.h:
15526         Don't know how flags got broken.
15527
15528         * gst/gstquery.h:
15529         Added new query.
15530
15531 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
15532
15533         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
15534           Add simplistic test suite for GST_TYPE_DATE serialisation and
15535           deserialisation.
15536
15537 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
15538
15539         * docs/gst/gstreamer-sections.txt:
15540         * gst/gststructure.c: (gst_structure_set_valist),
15541         (gst_structure_get_date):
15542         * gst/gststructure.h:
15543         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
15544         (gst_date_copy), (gst_value_compare_date),
15545         (gst_value_serialize_date), (gst_value_deserialize_date),
15546         (gst_value_transform_date_string),
15547         (gst_value_transform_string_date), (_gst_value_initialize):
15548         * gst/gstvalue.h:
15549           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
15550           bunch of utility functions along with a hack that checks that
15551           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
15552           is required. Part of the grand scheme in #170777.
15553
15554 2005-09-22  Andy Wingo  <wingo@pobox.com>
15555
15556         * gst/gstconfig.h.in: Psych out gtk-doc.
15557
15558         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
15559
15560         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
15561
15562         * tools/gst-inspect.c (print_element_list): Plug some
15563         inconsequential leaks.
15564
15565         * gst/gstregistry.c (gst_registry_get_default): Doc.
15566
15567         * check/gst/gstplugin.c: 
15568         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
15569         * gst/gstelementfactory.c (gst_element_factory_create): 
15570         * gst/gstindexfactory.c (gst_index_factory_create): Update for
15571         refcount changes.
15572
15573         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
15574         (gst_plugin_feature_load): Doc, don't eat refs.
15575
15576         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
15577         (gst_plugin_list_free): Doc.
15578         (gst_plugin_load_file): Doc updates.
15579
15580         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
15581         accessors returning refcounted objects, return a ref.
15582
15583         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
15584         accessor for caps. IDEMPOTENCE. Oh yes.
15585
15586 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
15587
15588         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15589
15590         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15591         (_gst_debug_register_funcptr):
15592           Add mutex to serialise access to the hash table with
15593           the function pointer => function name string mapping;
15594           make that hash table static scope (#316809).
15595
15596         * gst/registries/.cvsignore:
15597           Remove left-over file.
15598
15599 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
15600
15601         * docs/pwg/appendix-porting.xml:
15602           And something about newsegment events and caps-on-buffers to
15603           the porting guide (feel free to improve).
15604
15605 2005-09-21  Andy Wingo  <wingo@pobox.com>
15606
15607         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
15608         data and event probes on the same pad.
15609         (test_buffer_probe_once): Test that removing probes from within
15610         the probe functions works.
15611
15612 2005-09-21  Andy Wingo  <wingo@pobox.com>
15613
15614         * check/gst/gstutils.c: New file.
15615         (test_buffer_probe_n_times): A simple buffer probe test. More to
15616         come, foolios.
15617
15618         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
15619         have-data::buffer, not have-data.
15620         (gst_pad_add_event_probe): Likewise for have-data::event.
15621         (gst_pad_add_data_probe): More docs. The part about 'resolving the
15622         peer' isn't quite right yet though.
15623         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
15624         (gst_pad_remove_data_probe): Change to take the guint handler_id
15625         as their arg, not the function+data, which is more glib-like.
15626
15627         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
15628         the signal emission to indicate if the data is a buffer or an
15629         event.
15630         (gst_pad_get_type): Initialize buffer and event quarks.
15631         (gst_pad_class_init): have-data is now a detailed signal, yes it
15632         is.
15633
15634 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
15635
15636         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
15637         * gst/gstutils.c: (gst_util_set_value_from_string),
15638         (gst_util_set_object_arg):
15639           Don't put functional code in g_return_if_fail() or
15640           g_return_val_if_fail() statements, otherwise things will 
15641           break when G_DISABLE_CHECKS is defined during compilation.
15642
15643 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15644
15645         * docs/gst/tmpl/.cvsignore:
15646         * docs/gst/tmpl/gstvalue.sgml:
15647         * gst/gstvalue.c:
15648         * gst/gstvalue.h:
15649           inlied another one and added  some obvious docs
15650
15651 2005-09-21  Wim Taymans  <wim@fluendo.com>
15652
15653         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15654         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
15655         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
15656         (gst_fdsrc_get_property), (gst_fdsrc_create):
15657         * gst/elements/gstfdsrc.h:
15658         Properly implement fdsrc. Removed signal and timeout,
15659         better implemented somewhere else.
15660
15661 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15662
15663         * docs/gst/tmpl/.cvsignore:
15664         * docs/gst/tmpl/gstimplementsinterface.sgml:
15665         * gst/gstinterface.c:
15666           inlined more docs
15667
15668 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15669
15670         * docs/gst/gstreamer-sections.txt:
15671         * docs/gst/tmpl/.cvsignore:
15672         * docs/gst/tmpl/gstenumtypes.sgml:
15673           remove obsolete doc file
15674
15675 2005-09-21  David Schleef  <ds@schleef.org>
15676
15677         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
15678         little beer, fix a little leak.
15679
15680 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15681
15682         * docs/gst/gstreamer-docs.sgml:
15683         * docs/gst/gstreamer-sections.txt:
15684         * docs/gst/tmpl/.cvsignore:
15685         * gst/Makefile.am:
15686         * gst/gst.h:
15687         * gst/gstbin.c:
15688         * gst/gstelement.h:
15689         * gst/gstindex.c: (gst_index_class_init):
15690         * gst/gstindex.h:
15691         * gst/gstindexfactory.c: (gst_index_factory_get_type),
15692         (gst_index_factory_class_init), (gst_index_factory_init),
15693         (gst_index_factory_finalize), (gst_index_factory_new),
15694         (gst_index_factory_destroy), (gst_index_factory_find),
15695         (gst_index_factory_create), (gst_index_factory_make):
15696         * gst/gstindexfactory.h:
15697         * gst/gstpluginfeature.c:
15698         * gst/gstpluginfeature.h:
15699         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15700           more docs inlined, splitted gstindex.{c,h}
15701
15702 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15703
15704         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15705           fix a leak
15706
15707 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
15708
15709         * gst/elements/gstfilesink.c: (gst_file_sink_init):
15710           Set sync to FALSE by default.
15711
15712 2005-09-20  Wim Taymans  <wim@fluendo.com>
15713
15714         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15715         (gst_base_sink_init):
15716         Make sync property settable from subclass.
15717
15718         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
15719         (gst_fake_sink_change_state):
15720         Set sync to FALSE by default.
15721
15722 2005-09-20  Wim Taymans  <wim@fluendo.com>
15723
15724         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
15725         * tools/gst-launch.c: (main):
15726         The timeout handler should have lower priority than the source
15727         so we don't timeout before popping a message with 0 timeout.
15728         Dump error messages after failed state change.
15729
15730 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
15731
15732         * tools/gst-inspect.c: (print_element_properties_info):
15733           Fix two typos.
15734
15735 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15736
15737         * check/gst/gstevent.c:
15738         * gst/elements/gstfakesink.c:
15739         * gst/elements/gstfakesink.h:
15740           remove the sync property from fakesink.
15741           has the side effect of setting sync TRUE
15742           for fakesink, which is a change.  Anyone who knows how
15743           to fix this nicely in a GObject-y way, feel free.
15744
15745 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15746
15747         * docs/gst/gstreamer-docs.sgml:
15748           remove probe refsection
15749
15750 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15751
15752         * check/Makefile.am:
15753           disable valgrinding the controller test again
15754         * docs/gst/gstreamer-sections.txt:
15755           update for api-changes
15756
15757 2005-09-20  Wim Taymans  <wim@fluendo.com>
15758
15759         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15760         (gst_base_sink_set_property), (gst_base_sink_get_property),
15761         (gst_base_sink_do_sync):
15762         * gst/base/gstbasesink.h:
15763         Added sync property to basesink to disable clock sync.
15764
15765 2005-09-20  Andy Wingo  <wingo@pobox.com>
15766
15767         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
15768         eating the caller's refcount.
15769
15770         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
15771         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
15772         refcount.
15773
15774         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
15775         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
15776         of GLib 2.8 public, so we can know which refcount to check in
15777         tests.
15778
15779         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
15780         (gst_object_init): Only set the gst refcount if we're going ahead
15781         with the refcount hack.
15782
15783 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15784
15785         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15786         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15787           more leaks plumbed, added more debug-logging
15788         * gst/gstmacros.h:
15789           whitespace fix
15790
15791 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15792
15793         * gst/gstmessage.c:
15794           remove include of gstmemchunk.h
15795
15796 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15797
15798         * gst/gstclock.c: (_gst_clock_id_free):
15799           Commit from the Political Party For More Atomic CVS Commits,
15800           so that people don't waste too much of their day fishing
15801           out obvious leaks out of massive commits.
15802           Oh, and fix a pretty damn obvious leak in the memchunk
15803           removal code.
15804
15805 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15806
15807         * check/Makefile.am:
15808         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15809           plug mem-leak, re-add to valgrindable tests
15810
15811 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15812
15813         * gst/gstplugin.h:
15814           unbreak the build for those who have chronic arthritis
15815           and typing "make check" is just too taxing on the hands
15816
15817 2005-09-20  Andy Wingo  <wingo@pobox.com>
15818
15819         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
15820         really want it out, you should fix plugins at the same time.
15821
15822 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
15823
15824         * configure.ac:
15825         * docs/gst/gstreamer-sections.txt:
15826         * gst/gstobject.c:
15827           added missing symbols to api docs
15828           disable ref-count hack if we have glib >= 2.8
15829
15830 2005-09-19  David Schleef  <ds@schleef.org>
15831
15832         * docs/gst/Makefile.am: Ignore a few more internal headers
15833         * docs/gst/gstreamer-docs.sgml: Remove old sections
15834         * docs/gst/gstreamer-sections.txt: Remove old sections
15835         * docs/gst/tmpl/gstobject.sgml: update
15836         * docs/gst/tmpl/gstplugin.sgml: update
15837         * docs/gst/tmpl/gstpluginfeature.sgml: update
15838         * docs/random/ds/0.9-suggested-changes: update.
15839         * gst/Makefile.am: remove memchunk and trashstack, since they're
15840           not used.
15841         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
15842         * gst/gst.h: don't include some headers
15843         * gst/gstchildproxy.c: add gstmarshal.h
15844         * gst/gstclock.c: Don't use memchunks
15845         * gst/gstminiobject.c: Add some docs
15846         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
15847         * gst/gstobject.h: same
15848         * gst/gstplugin.c: include gstmacros.h
15849         * gst/gstplugin.h: don't include gstmacros.h, since it's private
15850         * gst/gstquery.c: don't use memchunks
15851         * gst/gstregistry.c: rename gst_registry_deinit()
15852         * gst/gstregistry.h: same
15853
15854 2005-09-19  David Schleef  <ds@schleef.org>
15855
15856         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
15857         * docs/libs/gstreamer-libs-sections.txt:
15858         * docs/libs/tmpl/gstgetbits.sgml:
15859         * docs/libs/tmpl/gstputbits.sgml:
15860
15861 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
15862
15863         * win32/gstenumtypes.c:
15864         * win32/gstenumtypes.h:
15865           Update.
15866
15867 2005-09-19  Wim Taymans  <wim@fluendo.com>
15868
15869         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
15870         Automatically PAUSE and RESUME a pipeline when a flushing seek
15871         is performed.
15872
15873 2005-09-19  Andy Wingo  <wingo@pobox.com>
15874
15875         * gst/gstregistry.h: Spacing fixen.
15876
15877 2005-09-19  Wim Taymans  <wim@fluendo.com>
15878
15879         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
15880         Handle state change failure more correctly.
15881
15882 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15883
15884         * check/Makefile.am:
15885         * check/pipelines/cleanup.c: (run_pipeline):
15886         * check/pipelines/simple_launch_lines.c: (run_pipeline),
15887         (GST_START_TEST):
15888           enable cleanup again after fixing the leak
15889         * docs/README:
15890           some more info on docs
15891
15892 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15893
15894         * check/Makefile.am:
15895           re-enable tests now that leaks are plugged
15896         * check/gst/gst.c:
15897         * check/gst/gstbin.c:
15898         * check/gst/gstpipeline.c:
15899           add some more tests while fixing leaks
15900         * common/check.mak:
15901           make sure binaries are uptodate when valgrinding/gdbing
15902         * gst/gst.c:
15903         * gst/gstelementfactory.c:
15904           remove a ref too many, and add a FIXME for when we get
15905           round to disposing of classes
15906         * gst/gstplugin.c:
15907           fix the refcounting when loading a plugin from a file and
15908           the code pretends that the pointer is the same even though
15909           of course it can change
15910         * gst/gstpluginfeature.c:
15911           unref plugins marked cached (a bit confusing as a name)
15912           as the docs state should be done
15913           various doc additions to explain refcounting
15914         * gst/gstregistry.c:
15915         * gst/gstregistryxml.c:
15916           debugging
15917
15918 2005-09-19  Wim Taymans  <wim@fluendo.com>
15919
15920         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
15921         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15922         (send_messages), (GST_START_TEST), (gstbus_suite):
15923         * check/gst/gstpipeline.c: (GST_START_TEST):
15924         * check/pipelines/cleanup.c: (run_pipeline):
15925         * check/pipelines/simple_launch_lines.c: (run_pipeline),
15926         (GST_START_TEST):
15927         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
15928         (gst_bus_source_check), (gst_bus_source_dispatch),
15929         (gst_bus_create_watch), (gst_bus_add_watch_full),
15930         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
15931         * gst/gstbus.h:
15932         * tools/gst-launch.c: (event_loop):
15933         * tools/gst-md5sum.c: (event_loop):
15934         GstBusHandler -> GstBusFunc, return value has the same meaning as
15935         any other GSource (FALSE == remove source).
15936         _add_watch() and _add_watch_full() now take a MessageType mask to
15937         only handle specific types of messages.
15938         _poll() returns the GstMessage instead of the message type to avoid
15939         race conditions.
15940         _have_pending() takes a MessageType mask now too.
15941         Added testsuite for multiple bus watches.
15942         Fix testsuites and applications for new bus API.
15943
15944 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15945
15946         * check/Makefile.am:
15947           mark a bunch of the tests as to fix until we fix them
15948
15949 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15950
15951         * common/check.mak:
15952           use GST_PLUGIN settings for valgrind tests as well, so we're
15953           valgrinding the correct thing
15954         * gst/gst.c: (init_post):
15955           plug another leak
15956
15957 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15958
15959         * gst/gst.c: (init_post), (gst_deinit):
15960         * gst/gstelementfactory.c: (gst_element_factory_class_init),
15961         (gst_element_factory_finalize), (gst_element_factory_cleanup):
15962         * gst/gstindex.c: (gst_index_factory_class_init),
15963         (gst_index_factory_finalize):
15964         * gst/gstobject.c: (gst_object_dispose):
15965         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15966         (gst_plugin_load_file), (gst_plugin_desc_free):
15967         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
15968         (gst_plugin_feature_finalize):
15969         * gst/gstregistry.c: (gst_registry_class_init),
15970         (gst_registry_init), (gst_registry_finalize),
15971         (gst_registry_get_default), (gst_registry_deinit):
15972         * gst/gstregistry.h:
15973         * gst/gstregistryxml.c: (load_feature), (load_plugin):
15974           various cleanups and memleak plugging.  make valgrind is happy now.
15975
15976 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15977
15978         * common/check.mak:
15979           add a check-valgrind target
15980
15981 2005-09-18  David Schleef  <ds@schleef.org>
15982
15983         * tools/gst-inspect.c: Revert the GOption code.
15984
15985 2005-09-17  David Schleef  <ds@schleef.org>
15986
15987         * check/Makefile.am: Fix environment variables.
15988         * check/gst/gstplugin.c: Fix for API changes.
15989         * tools/gst-inspect.c: Fix for API changes.
15990         * tools/gst-xmlinspect.c: Fix for API changes.
15991         * gst/gstelementfactory.c:
15992         * gst/gstplugin.c:
15993         * gst/gstplugin.h:
15994         * gst/gstpluginfeature.c:
15995         * gst/gstpluginfeature.h:
15996         * gst/gstregistry.c:
15997         * gst/gstregistry.h:
15998         * gst/gstregistryxml.c:
15999         * gst/gsttypefind.c:
16000         * gst/gsttypefindfactory.c:
16001         * gst/indexers/gstfileindex.c:
16002         * gst/indexers/gstmemindex.c:
16003         * gst/schedulers/Makefile.am:
16004           Change registry to keep track of both plugins and features,
16005           removing the feature tracking from plugins themselves.
16006
16007 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16008
16009         * check/Makefile.am:
16010         * tools/gst-register.1.in:
16011           remove gst-register
16012
16013 2005-09-15  David Schleef  <ds@schleef.org>
16014
16015         * check/gst/gstplugin.c:
16016         * gst/gstelementfactory.c:
16017         * gst/gstplugin.c:
16018         * gst/gstpluginfeature.c:
16019         * gst/gstregistry.c:
16020           Getting tired of debugging.  Disabled all the unreffing of
16021           plugins and features, which fixes the segfaults, but of
16022           course leaks like crazy.  At least playbin works.
16023
16024 2005-09-15  David Schleef  <ds@schleef.org>
16025
16026         * check/gst/gstplugin.c: (register_check_elements),
16027         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
16028         More testing
16029         * gst/elements/gsttypefindelement.c: Fix refcounting.
16030         * gst/gsttypefind.c:
16031         * gst/gsttypefindfactory.c:
16032         * gst/gsttypefindfactory.h:
16033
16034 2005-09-15  David Schleef  <ds@schleef.org>
16035
16036         * gst/gstindex.c: get refcounting correct.
16037         * gst/gstregistry.c: Handle the case where a feature/plugin is
16038           not found.
16039
16040 2005-09-15  David Schleef  <ds@schleef.org>
16041
16042         * check/Makefile.am:
16043         * check/gst/gstplugin.c: Add test
16044         * gst/gstplugin.c: Fix problems noticed by testsuite
16045         * gst/gstplugin.h:
16046         * gst/gstregistry.c: 
16047         * gst/gstregistry.h:
16048
16049 2005-09-15  David Schleef  <ds@schleef.org>
16050
16051         * gst/gstplugin.c: Implement semi-decent recounting and locking
16052           in plugins and plugin features.
16053         * gst/gstplugin.h:
16054         * gst/gstpluginfeature.c:
16055         * gst/gstpluginfeature.h:
16056         * gst/gstregistry.c:
16057
16058 2005-09-15  Michael Smith <msmith@fluendo.com>
16059
16060         * gst/gstregistry.c: (gst_registry_get_feature_list):
16061           Implement this. Makes oggdemux work; decodebin still broken.
16062
16063 2005-09-14  David Schleef  <ds@schleef.org>
16064
16065         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
16066           #316076)
16067         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
16068         * gst/check/Makefile.am:
16069         * libs/gst/controller/Makefile.am:
16070         * libs/gst/dataprotocol/Makefile.am:
16071
16072 2005-09-14  David Schleef  <ds@schleef.org>
16073
16074         * configure.ac: Remove getbits library.  Nothing uses it, and
16075           it should be in something like liboil if someone did want
16076           to use it.
16077         * libs/gst/Makefile.am:
16078         * libs/gst/getbits/Makefile.am:
16079         * libs/gst/getbits/gbtest.c:
16080         * libs/gst/getbits/getbits.c:
16081         * libs/gst/getbits/getbits.h:
16082         * libs/gst/getbits/gstgetbits_generic.c:
16083         * libs/gst/getbits/gstgetbits_i386.s:
16084         * libs/gst/getbits/gstgetbits_inl.h:
16085
16086 2005-09-14  David Schleef  <ds@schleef.org>
16087
16088         * gst/Makefile.am: Dist glib-compat.h
16089
16090 2005-09-14  David Schleef  <ds@schleef.org>
16091
16092         * configure.ac: Remove gst/registries, since it's no longer used.
16093         * gst/registries/Makefile.am:
16094         * gst/registries/gstlibxmlregistry.c:
16095         * gst/registries/gstlibxmlregistry.h:
16096         * gst/registries/gstxmlregistry.c:
16097         * gst/registries/gstxmlregistry.h:
16098         * gst/registries/registrytest.c:
16099
16100 2005-09-14  David Schleef  <ds@schleef.org>
16101
16102         * gst/glib-compat.h:
16103         * gst/gstregistryxml.c:
16104           Convergence is near.  Seriously.
16105
16106 2005-09-14  David Schleef  <ds@schleef.org>
16107
16108         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16109         * gst/glib-compat.h:
16110           Attempt #4 to appease the buildbots.
16111
16112 2005-09-14  David Schleef  <ds@schleef.org>
16113
16114         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16115           Attempt #3.
16116
16117 2005-09-14  David Schleef  <ds@schleef.org>
16118
16119         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16120         Attempt #2.
16121
16122 2005-09-14  David Schleef  <ds@schleef.org>
16123
16124         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
16125           the new functions.
16126
16127 2005-09-14  David Schleef  <ds@schleef.org>
16128
16129         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16130         * gst/glib-compat.h: Add some functions that are in newer versions
16131           of glib than we care to require.
16132         * gst/gstregistryxml.c: Use them.
16133
16134 2005-09-14  David Schleef  <ds@schleef.org>
16135
16136         * po/POTFILES.in: remove gst-register.c
16137
16138 2005-09-14  David Schleef  <ds@schleef.org>
16139
16140         * docs/gst/gstreamer-docs.sgml:
16141         * docs/gst/gstreamer-sections.txt:
16142         * docs/gst/gstreamer.types:
16143         * docs/gst/tmpl/gstelement.sgml:
16144         * docs/gst/tmpl/gstplugin.sgml:
16145         * docs/gst/tmpl/gstpluginfeature.sgml:
16146           Documentation updates for registry changes.
16147
16148 2005-09-14  David Schleef  <ds@schleef.org>
16149
16150         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
16151           because we don't require glib-2.8.
16152
16153 2005-09-14  David Schleef  <ds@schleef.org>
16154
16155         * gst/gstregistryxml.c: Added.  Essentially moved out of the
16156           registries directory.
16157
16158 2005-09-14  David Schleef  <ds@schleef.org>
16159
16160         * check/Makefile.am:
16161         * check/generic/states.c:
16162         * gst/Makefile.am:
16163         * gst/gst.c:
16164         * gst/gst.h:
16165         * gst/gst_private.h:
16166         * gst/gstelementfactory.c:
16167         * gst/gstindex.c:
16168         * gst/gstinfo.c:
16169         * gst/gstplugin.c:
16170         * gst/gstplugin.h:
16171         * gst/gstpluginfeature.c:
16172         * gst/gstpluginfeature.h:
16173         * gst/gstregistry.c:
16174         * gst/gstregistry.h:
16175         * gst/gstregistrypool.c: remove
16176         * gst/gstregistrypool.h: remove
16177         * gst/gsttypefind.c:
16178         * gst/gsttypefindfactory.c:
16179         * gst/gsturi.c:
16180         * tools/Makefile.am:
16181         * tools/gst-compprep.c:
16182         * tools/gst-inspect.c:
16183         * tools/gst-register.c: remove
16184         * tools/gst-xmlinspect.c:
16185           Registry rewrite.  Changes registry from being a file created
16186           by a tool into a simple cache file created automatically by 
16187           libgstreamer.  Removed gst-register (because it's no longer
16188           needed).  Remove registry pools, because we only have one
16189           registry implementation (XML).  Fix up other subsystems as
16190           necessary.
16191
16192 2005-09-13  Michael Smith <msmith@fluendo.com>
16193
16194         * gst/gstconfig.h.in:
16195           Don't Use windows linking attributes for MinGW. Fixes #316157
16196
16197 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16198
16199         * gst/gstutils.c: (set_state_async_thread_func),
16200         (gst_element_set_state_async):
16201           Apparently people think it's better if this function doesn't
16202           try to set the state to whatever state was asked for on the first
16203           call to this function for any object.  Seriously.
16204
16205 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16206
16207         * check/gst/gstpipeline.c: (GST_START_TEST):
16208         * docs/gst/gstreamer-sections.txt:
16209         * gst/gstutils.c: (set_state_async_thread_func),
16210         (gst_element_set_state_async):
16211         * gst/gstutils.h:
16212           add a "gst_element_set_state_async" method that
16213           sets the state and starts a thread to make sure the state
16214           change completes as best as it can
16215
16216 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16217
16218         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16219           codify design+behaviour in testsuite after discussion
16220
16221 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16222
16223         * docs/gst/tmpl/gstelement.sgml:
16224         * docs/manual/appendix-quotes.xml:
16225           add a quote
16226         * gst/gstelement.c: (gst_element_set_state):
16227           add some debug
16228
16229 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
16230
16231         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16232         (gst_base_transform_prepare_output_buf),
16233         (gst_base_transform_handle_buffer):
16234         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
16235         (gst_capsfilter_prepare_buf):
16236           Remove the requirement for sub-classes to call the parent
16237           implementation of prepare_output_buffer with a wrapper function.
16238           
16239         * gst/gsttaglist.h:
16240         * gst/gsttagsetter.h:
16241           Fix #define wrapper
16242
16243 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
16244
16245         * docs/gst/gstreamer-sections.txt:
16246           more doc cleanups
16247
16248 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16249
16250         * docs/gst/gstreamer-sections.txt:
16251         * docs/gst/tmpl/gstelement.sgml:
16252         * docs/gst/tmpl/gstplugin.sgml:
16253         * gst/gstminiobject.c:
16254         * gst/gstvalue.h:
16255           docs now stop throwing warnings
16256
16257 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16258
16259         * docs/gst/gstreamer-sections.txt:
16260         * docs/gst/gstreamer.types:
16261         * docs/gst/tmpl/gstpad.sgml:
16262         * docs/gst/tmpl/gsttypes.sgml:
16263         * gst/base/gstadapter.h:
16264         * gst/base/gstbasesink.h:
16265         * gst/base/gstbasesrc.h:
16266         * gst/gstbin.h:
16267         * gst/gstbuffer.h:
16268         * gst/gstbus.h:
16269         * gst/gstcaps.h:
16270         * gst/gstclock.h:
16271         * gst/gstelement.h:
16272         * gst/gstevent.h:
16273         * gst/gstmessage.h:
16274         * gst/gstpad.h:
16275         * gst/gststructure.c:
16276         * gst/registries/gstlibxmlregistry.h:
16277           various documentation fixes
16278
16279 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16280
16281         * docs/gst/gstreamer-sections.txt:
16282         * docs/gst/tmpl/gstvalue.sgml:
16283           rearrange gstvalue section
16284         * gst/gstutils.c: (gst_element_state_get_name):
16285           NONE -> VOID
16286         * gst/gstvalue.c: (_gst_value_initialize):
16287         * gst/gstvalue.h:
16288           doc updates
16289
16290 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
16291
16292         * check/gst-libs/controller.c:
16293           Header include fix.
16294         * gst/base/gstbasetransform.c:
16295         (gst_base_transform_default_prepare_buf),
16296         (gst_base_transform_handle_buffer):
16297         * gst/base/gstbasetransform.h:
16298           Some more basetransform changes and fixes to enable sub-classes
16299           that modify buffer metadata only.
16300         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16301         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
16302         (gst_capsfilter_prepare_buf):
16303           If the output pad has fixed allowed caps and input buffers 
16304           don't have any, set the fixed caps on outgoing buffers.
16305
16306 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
16307         * check/elements/identity.c: (GST_START_TEST):
16308           Make the error a little clearer when the test fails because
16309           identity made a copy of the buffer.
16310         * docs/gst/gstreamer-sections.txt:
16311           New symbols in gstbasetransform.h
16312         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16313         (gst_base_transform_init), (gst_base_transform_transform_size),
16314         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16315         (gst_base_transform_default_prepare_buf),
16316         (gst_base_transform_get_unit_size),
16317         (gst_base_transform_buffer_alloc),
16318         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16319         (gst_base_transform_change_state),
16320         (gst_base_transform_set_passthrough),
16321         (gst_base_transform_set_in_place),
16322         (gst_base_transform_is_in_place):
16323         * gst/base/gstbasetransform.h:
16324           Change BaseTransform to separate in_place operate from same_caps
16325           output. in_place implies that the element can perform the transform
16326           on incoming buffers in-place, even if the caps on the output are
16327           different.
16328           Sub-class elements can now implement special buffer allocation
16329           methods for outgoing buffers if they wish to.
16330           Big documentation addition.
16331         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
16332         * gst/elements/gstelements.c:
16333           Changes for basetransform modifications.
16334         * gst/elements/Makefile.am:
16335         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
16336           Compile fix. Extra debug output.
16337
16338 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16339
16340         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
16341         (gst_pad_suite):
16342           add tests for valid pad naming
16343         * gst/check/gstcheck.c: (gst_check_log_message_func),
16344         (gst_check_log_critical_func):
16345           add ASSERT_WARNING
16346           remove printing of code, it is fragile when the code contains
16347           % and the line number is enough info
16348         * gst/check/gstcheck.h:
16349         * gst/gstpad.c: (gst_pad_template_new):
16350           fix memleaks
16351
16352 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16353
16354         * configure.ac:
16355           say what CHECK flags we use
16356         * docs/libs/gstreamer-libs.types:
16357         * libs/gst/controller/Makefile.am:
16358         * libs/gst/controller/gst-controller.c:
16359         * libs/gst/controller/gst-controller.h:
16360         * libs/gst/controller/gst-helper.c:
16361         * libs/gst/controller/gst-interpolation.c:
16362         * libs/gst/controller/gstcontroller.c:
16363         * libs/gst/controller/gsthelper.c:
16364         * libs/gst/controller/gstinterpolation.c:
16365         * tools/gst-inspect.c: (print_plugin_info):
16366           we don't use dashes in header names
16367
16368 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16369
16370         * check/Makefile.am:
16371         * check/gst/.cvsignore:
16372         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
16373         (gst_pipeline_suite), (main):
16374           adding a test for pipelines and state changes
16375         * gst/gstutils.c: (get_state_func):
16376           add some debugging
16377         * gstreamer.spec.in:
16378           fix up spec file
16379
16380 2005-09-08  Michael Smith <msmith@fluendo.com>
16381
16382         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
16383         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
16384         (gst_file_src_is_seekable), (gst_file_src_get_size),
16385         (gst_file_src_start):
16386         * gst/elements/gstfilesrc.h:
16387           Various fixes for unseekable, unmmapable, and non-normal files, so
16388           that fallback to read() rather than mmap() works.
16389         * gst/gstevent.c: (gst_event_new_newsegment):
16390           Allow newsegment events with segment_start == segment_end, as will
16391           correctly happen if you use filesrc on a zero-size file, for
16392           example.
16393
16394 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
16395
16396         * gst/gstplugin.c: (gst_plugin_load_file):
16397           Call g_module_close when we don't load the module
16398
16399         * gst/registries/gstlibxmlregistry.c:
16400         (gst_xml_registry_get_property):
16401           Port leak fix from 0.8
16402
16403 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16404
16405         * docs/gst/gstreamer-docs.sgml:
16406         * docs/gst/tmpl/.cvsignore:
16407         * docs/gst/tmpl/gsttrace.sgml:
16408         * docs/gst/tmpl/gsttrashstack.sgml:
16409         * gst/Makefile.am:
16410         * gst/gst.h:
16411         * gst/gstelement.h:
16412         * gst/gstevent.h:
16413         * gst/gstmessage.c:
16414         * gst/gstmessage.h:
16415         * gst/gsttag.c:
16416         * gst/gsttag.h:
16417         * gst/gsttaginterface.c:
16418         * gst/gsttaginterface.h:
16419         * gst/gsttaglist.c:
16420         * gst/gsttaglist.h:
16421         * gst/gsttagsetter.c:
16422         * gst/gsttagsetter.h:
16423         * gst/gsttrace.c:
16424         * gst/gsttrace.h:
16425         * gst/gsttrashstack.c:
16426           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
16427           inlined docs for gsttrace, gsttrashstack
16428
16429 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16430
16431         * gst/Makefile.am:
16432         * gst/elements/gstbufferstore.h:
16433         * gst/elements/gsttypefindelement.c:
16434         * gst/elements/gsttypefindelement.h:
16435         * gst/gst.h:
16436         * gst/gsttypefind.c:
16437         * gst/gsttypefind.h:
16438         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
16439         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
16440         (gst_type_find_factory_dispose),
16441         (gst_type_find_factory_unload_thyself),
16442         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
16443         (gst_type_find_factory_get_caps),
16444         (gst_type_find_factory_get_extensions),
16445         (gst_type_find_factory_call_function):
16446         * gst/gsttypefindfactory.h:
16447         * gst/registries/gstlibxmlregistry.c:
16448         * gst/registries/gstxmlregistry.c:
16449           splitted gsttypefind into gsttypefind, gsttypefindfactory
16450
16451 2005-09-07  Andy Wingo  <wingo@pobox.com>
16452
16453         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
16454         condition whereby the pad's task function is entered before the
16455         pad_mode variable was set.
16456
16457 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
16458
16459         * gst/gstpad.c: (gst_pad_alloc_buffer):
16460           Catch misbehaving pad_alloc functions that don't
16461           set up caps and do it for them.
16462
16463 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16464
16465         * check/pipelines/simple_launch_lines.c: (run_pipeline):
16466           test for pipe!=NULL
16467         * docs/gst/tmpl/.cvsignore:
16468         * docs/gst/tmpl/gstmemchunk.sgml:
16469         * docs/gst/tmpl/gstparse.sgml:
16470         * docs/gst/tmpl/gsttaglist.sgml:
16471         * docs/gst/tmpl/gsttagsetter.sgml:
16472         * docs/gst/tmpl/gsttypefind.sgml:
16473         * docs/gst/tmpl/gsttypefindfactory.sgml:
16474         * gst/gstmemchunk.c:
16475         * gst/gstparse.c:
16476         * gst/gsttag.c:
16477         * gst/gsttaginterface.c:
16478         * gst/gsttypefind.c:
16479         * gst/gsttypefind.h:
16480           inlined more docs
16481
16482 === release 0.9.2 ===
16483
16484 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16485
16486         * NEWS:
16487         * RELEASE:
16488         * configure.ac:
16489           releasing 0.9.2, "South"
16490
16491 2005-09-05  Andy Wingo  <wingo@pobox.com>
16492
16493         * gst/registries/gstxmlregistry.h:
16494         * gst/registries/gstxmlregistry.c: Um... resurrect...
16495         
16496         * gst/registries/gstxmlregistry.h:
16497         * gst/registries/gstxmlregistry.c: and update to newer API.
16498         Incidentally they should be a bit faster now that they don't have
16499         to parse the caps.
16500         
16501 2005-09-05  Andy Wingo  <wingo@pobox.com>
16502
16503         * gst/registries/gstxmlregistry.h:
16504         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
16505         replaced by the libxml registry a while back
16506
16507 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16508
16509         * docs/gst/tmpl/gstplugin.sgml:
16510         * gst/elements/gstelements.c:
16511         * gst/gst.c:
16512         * gst/gstplugin.c: (gst_plugin_register_func),
16513         (gst_plugin_desc_copy), (gst_plugin_desc_free),
16514         (gst_plugin_get_source):
16515         * gst/gstplugin.h:
16516         * gst/registries/gstlibxmlregistry.c: (load_plugin),
16517         (gst_xml_registry_save_plugin):
16518         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
16519         (gst_xml_registry_save_plugin):
16520         * tools/gst-inspect.c: (print_plugin_info):
16521           add a "source" plugin description field, to represent the source
16522           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
16523           will set it to PACKAGE, which is automake's idea of the name of
16524           the source project.
16525
16526 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16527
16528         * Makefile.am:
16529         * autogen.sh:
16530         * configure.ac:
16531         * docs/Makefile.am:
16532         * docs/faq/Makefile.am:
16533         * docs/gst/tmpl/gstelement.sgml:
16534         * docs/gst/tmpl/gsttypes.sgml:
16535         * docs/htmlinstall.mak:
16536         * docs/manual/Makefile.am:
16537         * docs/pwg/Makefile.am:
16538           reorganize doc build a little
16539           split out docbook and gtk-doc stuff
16540           have two separate --enable's and enable them through autogen
16541           but disable by default in configure (to be similar to other
16542           projects)
16543         * gstreamer.spec.in:
16544           clean up docs install
16545         * po/af.po:
16546         * po/az.po:
16547         * po/ca.po:
16548         * po/cs.po:
16549         * po/de.po:
16550         * po/en_GB.po:
16551         * po/fr.po:
16552         * po/it.po:
16553         * po/nb.po:
16554         * po/nl.po:
16555         * po/ru.po:
16556         * po/sq.po:
16557         * po/sr.po:
16558         * po/sv.po:
16559         * po/tr.po:
16560         * po/uk.po:
16561         * po/vi.po:
16562           translation updates
16563
16564 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
16565
16566         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
16567           Add comment.
16568           
16569         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16570         (gst_fake_sink_change_state):
16571           Make state change function thread-safe.
16572           
16573         * gst/gstpad.c: (gst_pad_alloc_buffer):
16574           Set offset on generic buffer allocated by fallback.
16575
16576 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
16577
16578         * docs/gst/gstreamer-sections.txt:
16579         * docs/gst/tmpl/gstelement.sgml:
16580         * gst/gstpad.c:
16581         * libs/gst/controller/gst-controller.c:
16582         (gst_controlled_property_set_interpolation_mode),
16583         (gst_controlled_property_new),
16584         (gst_controller_find_controlled_property):
16585          run the wingo-magic script against the docs
16586
16587 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
16588
16589         * docs/gst/gstreamer-docs.sgml:
16590         * docs/gst/gstreamer-sections.txt:
16591         * docs/gst/tmpl/.cvsignore:
16592         * docs/gst/tmpl/gstelementdetails.sgml:
16593         * docs/gst/tmpl/gstelementfactory.sgml:
16594         * gst/gst.c:
16595         * gst/gstbus.c:
16596         * gst/gstelementfactory.c:
16597         * gst/gstelementfactory.h:
16598           merged elementdetails docs into elementfactory docs
16599           inlined both
16600
16601 2005-09-02  Andy Wingo  <wingo@pobox.com>
16602
16603         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
16604         consider this enum an enum and not a flags.
16605
16606 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
16607
16608         * docs/gst/gstreamer-docs.sgml:
16609         * docs/gst/tmpl/.cvsignore:
16610         * docs/gst/tmpl/gstghostpad.sgml:
16611         * docs/gst/tmpl/gstiterator.sgml:
16612         * docs/gst/tmpl/gstmacros.sgml:
16613         * docs/gst/tmpl/gstrealpad.sgml:
16614         * docs/gst/tmpl/gstregistry.sgml:
16615         * docs/gst/tmpl/gstregistrypool.sgml:
16616         * docs/gst/tmpl/gststructure.sgml:
16617         * docs/gst/tmpl/gstsystemclock.sgml:
16618         * docs/gst/tmpl/gsttrace.sgml:
16619         * gst/gstghostpad.c:
16620         * gst/gstmacros.h:
16621         * gst/gstmemchunk.c:
16622         * gst/gstmemchunk.h:
16623         * gst/gstqueue.c:
16624         * gst/gstregistry.c:
16625         * gst/gstregistrypool.c:
16626         * gst/gststructure.c:
16627         * gst/gstsystemclock.c:
16628           more docs inlined
16629
16630 2005-09-02  Andy Wingo  <wingo@pobox.com>
16631
16632         * gst/gstelement.h (GstState): Renamed from GstElementState,
16633         changed to be a normal enum instead of flags.
16634         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
16635         munged to be GST_STATE_CHANGE_*.
16636         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
16637         work with the new state representation.
16638         (GstStateChange): New enumeration of possible state transitions.
16639         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
16640         (GstElementClass::change_state): Pass the GstStateChange along as
16641         an argument. Helps language bindings, so they don't have to use
16642         tricky lock-needing macros like GST_STATE_CHANGE ().
16643
16644         * scripts/update-states (file): New script. Run it on a file to
16645         update it for state naming and API changes. Updates files in
16646         place.
16647
16648         * All files updated for the new API.
16649
16650 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16651
16652         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
16653         * gst/gstutils.c: (gst_util_set_value_from_string),
16654         (gst_util_set_object_arg):
16655           fix a bunch of unchecked return values
16656         * tools/gst-complete.c: (main):
16657         * gstreamer.spec.in:
16658           clean up a little
16659
16660 2005-09-01  Wim Taymans  <wim@fluendo.com>
16661
16662         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16663         (gst_base_sink_event), (gst_base_sink_do_sync),
16664         (gst_base_sink_handle_event):
16665         * gst/base/gstbasesink.h:
16666         Handle newsegments more correctly.
16667
16668         * gst/gstbus.c:
16669         Fix docs.
16670
16671         * gst/gstevent.c: (gst_event_new_newsegment):
16672         A newsegment cannot have a start_time of -1
16673
16674 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
16675
16676         * win32/gstenumtypes.c:
16677         * win32/gstenumtypes.h:
16678           Update
16679
16680 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
16681
16682         * libs/gst/controller/gst-controller.c:
16683         (gst_controlled_property_set_interpolation_mode),
16684         (gst_controlled_property_new):
16685          fixed boolean again
16686
16687 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
16688
16689         * docs/faq/gst-uninstalled:
16690           add -good
16691         * gst/gstevent.c:
16692         * gst/gstevent.h:
16693           remove wrong docs
16694         * gst/gstutils.c: (gst_element_link_filtered):
16695         * gst/gstutils.h:
16696           add gst_element_link_filtered
16697
16698 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
16699
16700         * docs/gst/gstreamer-docs.sgml:
16701         * docs/gst/gstreamer-sections.txt:
16702         * docs/gst/tmpl/.cvsignore:
16703         * docs/gst/tmpl/gsterror.sgml:
16704         * docs/gst/tmpl/gstfilter.sgml:
16705         * docs/gst/tmpl/gsturihandler.sgml:
16706         * docs/gst/tmpl/gsturitype.sgml:
16707         * docs/gst/tmpl/gstutils.sgml:
16708         * docs/gst/tmpl/gstxml.sgml:
16709         * gst/gsterror.c:
16710         * gst/gsterror.h:
16711         * gst/gstfilter.c:
16712         * gst/gsturi.c:
16713         * gst/gsturitype.c:
16714         * gst/gstutils.c:
16715         * gst/gstxml.c:
16716           inlined more docs, fixed double id-ref
16717
16718 2005-08-31  Wim Taymans  <wim@fluendo.com>
16719
16720         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16721         (gst_base_transform_handle_buffer):
16722         Passthrough elements don't need the caps as they don't care.
16723
16724 2005-08-31  Wim Taymans  <wim@fluendo.com>
16725
16726         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16727         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
16728         Don't leak refcounts on buffers.
16729
16730 2005-08-31  Wim Taymans  <wim@fluendo.com>
16731
16732         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
16733         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16734         (gst_base_transform_chain), (gst_base_transform_change_state):
16735         * gst/base/gstbasetransform.h:
16736         Handle the case where we are not negotiated more gracefully.
16737
16738 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
16739
16740         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
16741         (gst_file_src_map_region):
16742           Set READONLY flag on mmap'ed buffers, otherwise
16743           gst_buffer_make_writable() won't work properly (#314708).
16744
16745 2005-08-31  Wim Taymans  <wim@fluendo.com>
16746
16747         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
16748         passthrough elements can even do inplace on non writable
16749         buffers (as they don't touch them).
16750
16751 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
16752
16753         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
16754         (gst_test_mono_source_set_property),
16755         (gst_test_mono_source_class_init), (GST_START_TEST),
16756         (gst_controller_suite):
16757           more tests (hehe I have the most)
16758         * gst/gstbus.c:
16759           describe popping messages whenusing mulltiple sources
16760         * libs/gst/controller/gst-controller.c:
16761         (gst_controlled_property_set_interpolation_mode),
16762         (gst_controlled_property_new):
16763         * libs/gst/controller/gst-controller.h:
16764         * libs/gst/controller/gst-interpolation.c:
16765           implement boolean properties
16766
16767 2005-08-31  Wim Taymans  <wim@fluendo.com>
16768
16769         * gst/gstminiobject.c: (gst_mini_object_ref):
16770         Cannot assert that the refcount has to be positive
16771         since a disposed object can be resurrected.
16772
16773 2005-08-31  Wim Taymans  <wim@fluendo.com>
16774
16775         * gst/gstpad.c: (gst_pad_init):
16776         Revert change, need to first fix badly behaving 
16777         apps.
16778
16779 2005-08-30  Wim Taymans  <wim@fluendo.com>
16780
16781         * check/elements/fakesrc.c: (setup_fakesrc):
16782         * check/elements/identity.c: (setup_identity):
16783         Activate pads before using them.
16784
16785 2005-08-30  Wim Taymans  <wim@fluendo.com>
16786
16787         * gst/base/gstadapter.c: (gst_adapter_flush):
16788         Flushing out 0 bytes is ok for this function.
16789
16790         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16791         no newsegment gives a warning and sets the start/stop to 
16792         invalid.
16793
16794         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
16795         (gst_base_transform_set_passthrough):
16796         Some debug info.
16797
16798         * gst/gstminiobject.c: (gst_mini_object_ref):
16799         Check refcount here too.
16800
16801         * gst/gstpad.c: (gst_pad_init):
16802         Pads are initially flushing and refusing data.
16803
16804         * gst/gstutils.c: (gst_element_link_pads_filtered):
16805         When adding a capsfilter element make sure it has the
16806         same state as the parent bin.
16807
16808 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16809
16810         * docs/gst/tmpl/.cvsignore:
16811         * docs/gst/tmpl/gstformat.sgml:
16812         * docs/gst/tmpl/gstversion.sgml:
16813         * gst/gstbus.h:
16814         * gst/gstformat.c:
16815         * gst/gstformat.h:
16816         * gst/gstversion.h.in:
16817           more docs and two more inlined
16818
16819 2005-08-30  Wim Taymans  <wim@fluendo.com>
16820
16821         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
16822         Don't sync to clock.
16823
16824 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16825
16826         * docs/gst/gstreamer-sections.txt:
16827           ultral33t func10ns deserve to appear in the docs actually
16828         * docs/gst/tmpl/.cvsignore:
16829         * docs/gst/tmpl/gstcompat.sgml:
16830         * docs/gst/tmpl/gstconfig.sgml:
16831         * gst/check/gstcheck.c:
16832         * gst/gstcompat.h:
16833         * gst/gstconfig.h.in:
16834           inlined more docs
16835
16836 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16837
16838         * docs/gst/tmpl/.cvsignore:
16839         * docs/gst/tmpl/gstquery.sgml:
16840         * docs/gst/tmpl/gstutils.sgml:
16841         * gst/gstquery.c:
16842         * gst/gstquery.h:
16843           inlined and extended docs
16844
16845 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16846
16847         * check/gst-libs/controller.c: (GST_START_TEST),
16848         (gst_controller_suite):
16849           more tests
16850         * docs/gst/tmpl/gstutils.sgml:
16851         * docs/libs/gstreamer-libs-sections.txt:
16852         * docs/libs/tmpl/gstdataprotocol.sgml:
16853           include path fixes
16854         * examples/controller/audio-example.c: (main):
16855           controller example works now
16856         * gst/gstclock.h:
16857           doc fixes
16858         * tools/gst-inspect.c: (print_element_properties_info):
16859           show param spec flags
16860
16861 2005-08-29  Andy Wingo  <wingo@pobox.com>
16862
16863         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
16864
16865 2005-08-28  Andy Wingo  <wingo@pobox.com>
16866
16867         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
16868         as having two arguments instead of just one. Allows superclasses
16869         to access information on subclasses -- see the terrible for() loop
16870         in gtype.c:g_type_create_instance for the reason why. All callers
16871         changed.
16872
16873 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
16874
16875         * docs/design/part-messages.txt:
16876           update info
16877         * docs/gst/tmpl/.cvsignore:
16878         * docs/gst/tmpl/gstcaps.sgml:
16879         * docs/gst/tmpl/gstclock.sgml:
16880         * gst/gstbus.c:
16881         * gst/gstcaps.c:
16882         * gst/gstcaps.h:
16883         * gst/gstclock.c:
16884         * gst/gstclock.h:
16885         * gst/gstmessage.c:
16886           added descriptions for bus and message
16887           inline caps and clock docs
16888
16889 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
16890
16891         * gst/gstmessage.c:
16892         * gst/gstmessage.h:
16893           doc fixes
16894
16895 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
16896
16897         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
16898           fix div-by-zero
16899
16900 2005-08-26  Andy Wingo  <wingo@pobox.com>
16901
16902         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
16903         element_set_state's return val.
16904         (test_2_elements): Add test that's been disabled for months.
16905
16906         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
16907         can-activate-pull properties.
16908
16909         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
16910         can-activate-pull properties. Implement is_seekable so fakesrc can
16911         operate in pull mode.
16912
16913         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
16914         properties.
16915         (gst_base_sink_activate, gst_base_sink_activate_pull)
16916         (gst_base_sink_activate_push): Make activation mode choosing work.
16917         Cleanups.
16918         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
16919         is right. Make pull mode work. Post an eos before pausing in pull
16920         mode.
16921         (gst_base_sink_change_state): Pay attention to the core's
16922         change_state() return val.
16923         
16924         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
16925         has-getrange properties. Cleanups.
16926         
16927         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
16928         has_getrange and replace with can_activate_pull and
16929         can_activate_push.
16930
16931         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
16932         locking comments. Remove has_loop, has_chain and replace with
16933         can_activate_pull and can_activate_push.
16934
16935 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
16936
16937         * configure.ac:
16938         * examples/Makefile.am:
16939         * examples/metadata/Makefile.am:
16940         * examples/metadata/read-metadata.c: (message_loop),
16941         (have_pad_handler), (make_pipeline), (print_tag), (main):
16942           Add metadata reading example that loops over a list of filenames,
16943           dumping any tags found.
16944
16945         * gst/gstbus.c: (gst_bus_dispose):
16946         * gst/gstelement.c: (gst_element_dispose):
16947           Release a few potentially-held references in dispose.
16948
16949 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
16950
16951         * docs/gst/tmpl/gstminiobject.sgml:
16952           do *not* add tmpl/*.sgml files to CVS!
16953
16954 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
16955
16956         * libs/gst/bytestream/.cvsignore:
16957         * libs/gst/bytestream/Makefile.am:
16958         * libs/gst/bytestream/adapter.c:
16959         * libs/gst/bytestream/adapter.h:
16960         * libs/gst/bytestream/bytestream.c:
16961         * libs/gst/bytestream/bytestream.h:
16962         * libs/gst/bytestream/filepad.c:
16963         * libs/gst/bytestream/filepad.h:
16964           removing obsolete files
16965
16966 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
16967
16968         * docs/gst/gstreamer-docs.sgml:
16969         * docs/libs/gstreamer-libs-docs.sgml:
16970           disabed additional index entries again, as this makes docs-gen just
16971           slow and they aren't useful yet
16972         * docs/libs/gstreamer-libs-sections.txt:
16973           little -section.txt cleanup for libs
16974
16975 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
16976
16977         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16978         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
16979           fix up some debugging
16980         (gst_base_transform_get_unit_size),
16981         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
16982         (gst_base_transform_handle_buffer):
16983         * gst/base/gstbasetransform.h:
16984           handle and store timed NEWSEGMENT events so that subclasses that
16985           calculate time by counting samples have a segment_start time they
16986           need to add to their timestamps - see audioresample
16987
16988 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
16989
16990         * gst/gstbin.h:
16991           removed ';' from the end of macro defs
16992         * docs/gst/gstreamer-docs.sgml:
16993         * docs/gst/gstreamer-sections.txt:
16994         * docs/gst/tmpl/.cvsignore:
16995         * gst/gstbus.h:
16996         * gst/gstelement.c: (gst_element_class_init),
16997         (gst_element_set_state), (activate_pads),
16998         (gst_element_save_thyself):
16999         * gst/gstevent.c: (gst_event_new_newsegment):
17000         * gst/gstevent.h:
17001         * gst/gstiterator.c:
17002         * gst/gstiterator.h:
17003         * gst/gstpad.c:
17004         * gst/gstprobe.h:
17005         * gst/gstutils.c: (gst_pad_query_convert):
17006         * gst/gstutils.h:
17007           fixed parameter name mismatches between source, header and docs
17008           added some more docs, resolved the last batch of unused elements in
17009           docs (now someone needs to doc them)
17010
17011 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17012
17013         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
17014         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
17015           don't walk through the plugins backwards.  Where is all this
17016           reversed logic coming from ?
17017
17018 2005-08-25  Wim Taymans  <wim@fluendo.com>
17019
17020         * gst/base/gstbasetransform.c: (gst_base_transform_init),
17021         (gst_base_transform_transform_size),
17022         (gst_base_transform_configure_caps),
17023         (gst_base_transform_get_unit_size),
17024         (gst_base_transform_buffer_alloc),
17025         (gst_base_transform_change_state):
17026         * gst/base/gstbasetransform.h:
17027         Cache caps unit_size.
17028         Make sure we cannot negotiate up and downstream at the
17029         same time.
17030
17031 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17032
17033         * gst/gst.c: (init_pre), (init_post):
17034           register the installed plugin path after the env var
17035         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
17036         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
17037           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
17038           directories, so the tests can prefer uninstalled over installed
17039
17040 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17041
17042         * gst/base/gstbasetransform.h:
17043           comment
17044         * gst/gstpad.c:
17045           add to docs
17046
17047 2005-08-25  Wim Taymans  <wim@fluendo.com>
17048
17049         * gst/gstbin.c: (bin_bus_handler):
17050         Be a bit more conservative about the posted message.
17051         
17052         * gst/gstbus.c: (gst_bus_post):
17053         Some cleanups, warn wrong return values.
17054
17055 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
17056
17057         * check/gst/gstbin.c: (GST_START_TEST):
17058         * gst/gstbin.c: (bin_bus_handler):
17059         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17060         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17061         (gst_message_new_warning), (gst_message_new_tag),
17062         (gst_message_new_state_changed), (gst_message_new_segment_start),
17063         (gst_message_new_segment_done), (gst_message_new_custom):
17064         * gst/gstmessage.h:
17065         * tools/gst-launch.c: (event_loop):
17066         * tools/gst-md5sum.c: (event_loop):
17067           Revert unpopular change for GST_MESSAGE_SRC to GObject.
17068
17069 2005-08-25  Wim Taymans  <wim@fluendo.com>
17070
17071         * check/generic/states.c: (GST_START_TEST):
17072         Cleanup can be done at the end.
17073
17074         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
17075         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17076         (gst_task_get_state), (gst_task_start), (gst_task_pause):
17077         Oh boy.. Thanks for finding this, Thomas. 
17078
17079 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
17080
17081         * docs/gst/gstreamer.types:
17082           added missing types
17083
17084 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
17085
17086         * docs/gst/gstreamer-docs.sgml:
17087         * docs/gst/gstreamer-sections.txt:
17088         * docs/gst/tmpl/.cvsignore:
17089         * gst/gstbin.c:
17090         * gst/gstiterator.c:
17091         * gst/gstutils.c:
17092         * gst/registries/gstxmlregistry.h:
17093           added missing classes and symbols (123 more to go)
17094           removed removed symbols from section file
17095           fixed many doc-comments
17096
17097 2005-08-24  Wim Taymans  <wim@fluendo.com>
17098
17099         * check/generic/states.c: (GST_START_TEST):
17100         Make sure all tasks are stopped.
17101
17102         * check/gst/gstbin.c: (GST_START_TEST):
17103         Unref after usage for proper valgrinding.
17104
17105         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
17106         Really wait for the task to stop before destroying the
17107         mutex.
17108
17109         * gst/gstqueue.c: (gst_queue_sink_activate_push),
17110         (gst_queue_src_activate_push):
17111         Small cleanups. Don't stop the task when we did not start
17112         it.
17113
17114         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
17115         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17116         (gst_task_get_state), (gst_task_start), (gst_task_pause),
17117         (gst_task_join):
17118         * gst/gsttask.h:
17119         Protect the stream lock with the object lock.
17120         Disallow setting the stream lock when running.
17121         Add cleanup_all to wait for the threadpool to finish.
17122         Remove code to autoallocate a mutex if none was provided.
17123         Add _join() to wait for a task to stop.
17124         Protect the thread pool with a global lock.
17125
17126 2005-08-24  Wim Taymans  <wim@fluendo.com>
17127
17128         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17129         (gst_base_sink_get_times), (gst_base_sink_do_sync),
17130         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
17131         * gst/base/gstbasesink.h:
17132         Handle newsegment events correctly.
17133         Drop buffers out of the segment range.
17134
17135 2005-08-22  Andy Wingo  <wingo@pobox.com>
17136
17137         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
17138         macro, implements an interface and gstimplementsinterface for a
17139         new type.
17140
17141 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17142
17143         * check/Makefile.am:
17144         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
17145           add a test that does a bunch of state changes on elements
17146           needs some fixing for valgrind
17147         * check/states/sinks.c: (gst_object_suite):
17148           whitespace
17149         * gst/gstcaps.h:
17150           add prototype for gst_caps_is_equal_fixed
17151         * gst/gstplugin.c:
17152         * gst/gstregistrypool.c:
17153           doc fixes
17154
17155 2005-08-24  Andy Wingo  <wingo@pobox.com>
17156
17157         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
17158         convert a negative value. Doesn't make much sense. Mostly this is
17159         here to force callers to ensure -1 maps to -1.
17160
17161 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
17162
17163         * docs/pwg/advanced-types.xml:
17164           Well done to Michael for catching my deliberate introduction
17165           of this spelling mistake. 
17166         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
17167         * gst/gstelement.h:
17168           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
17169           unlink pads before removing the element from the bin.
17170
17171 2005-08-24  Andy Wingo  <wingo@pobox.com>
17172
17173         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
17174         the same thing as GST_DEBUG=*:4.
17175         (parse_debug_level, parse_debug_category): New helper parsers.
17176
17177 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17178
17179         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17180         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
17181         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
17182         (gst_base_transform_buffer_alloc),
17183         (gst_base_transform_handle_buffer):
17184           use gboolean return values and pointers to size so we can use the
17185           full GST_BUFFER_SIZE range (guint) for buffer sizes
17186           use GstPadDirection for transform_caps
17187         * gst/base/gstbasetransform.h:
17188           rename get_size to get_unit_size since that's what it is
17189         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
17190           use GstPadDirection for transform_caps
17191         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17192         * gst/gstutils.h:
17193           cleanup and debugging
17194
17195 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
17196
17197         * gst/gstelement.c: (gst_element_class_init),
17198         (gst_element_set_state), (activate_pads),
17199         (gst_element_save_thyself):
17200         * tools/gst-compprep.c: (main):
17201         * tools/gst-inspect.c: (print_element_properties_info):
17202         * tools/gst-xmlinspect.c: (print_element_properties):
17203           Fixed long standing mem-leak
17204
17205 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
17206
17207         * check/gst/gstbin.c: (GST_START_TEST):
17208         * gst/gstbin.c: (bin_bus_handler):
17209         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17210         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17211         (gst_message_new_warning), (gst_message_new_tag),
17212         (gst_message_new_state_changed), (gst_message_new_segment_start),
17213         (gst_message_new_segment_done), (gst_message_new_custom):
17214         * gst/gstmessage.h:
17215         * tools/gst-launch.c: (event_loop):
17216         * tools/gst-md5sum.c: (event_loop):
17217           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
17218           that applications can sensibly post custom messages with references
17219           to their own objects.
17220
17221 2005-08-24  Andy Wingo  <wingo@pobox.com>
17222
17223         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
17224         already.
17225
17226 2005-08-24  Wim Taymans  <wim@fluendo.com>
17227
17228         * gst/base/gstbasetransform.c: (gst_base_transform_init),
17229         (gst_base_transform_transform_caps),
17230         (gst_base_transform_transform_size),
17231         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17232         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17233         (gst_base_transform_handle_buffer):
17234         * gst/base/gstbasetransform.h:
17235         Many fixes and new features added by Thomas. Can now also do
17236         transforms with variable sizes and a custom fixate_caps function.
17237
17238 2005-08-24  Wim Taymans  <wim@fluendo.com>
17239
17240         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17241         Some debugging.
17242
17243         * gst/gstclock.h:
17244         Cast to ClockTime before formatting to time.
17245
17246         * gst/gstutils.h:
17247         Cleanups.
17248
17249 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
17250
17251         * check/gst-libs/controller.c: (GST_START_TEST),
17252         (gst_controller_suite):
17253         * docs/gst/tmpl/gstcaps.sgml:
17254         * docs/gst/tmpl/gstghostpad.sgml:
17255         * docs/gst/tmpl/gstquery.sgml:
17256         * docs/gst/tmpl/gstutils.sgml:
17257         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
17258         (gst_object_sink_values), (gst_object_get_value_arrays),
17259         (gst_object_get_value_array):
17260           gracefully handle helper method calls to objects that are not beeing
17261           controlled, added test case for that          
17262
17263 2005-08-23  Wim Taymans  <wim@fluendo.com>
17264
17265         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
17266         (gst_event_new_newsegment), (gst_event_parse_newsegment),
17267         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
17268         (gst_event_parse_qos), (gst_event_new_seek),
17269         (gst_event_parse_seek):
17270         * gst/gstevent.h:
17271         Some more debugging output and doc cleanups.
17272
17273         * gst/gstqueue.c: (gst_queue_handle_sink_event):
17274         Fix possible deadlock.
17275
17276 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17277
17278         * docs/gst/gstreamer-docs.sgml:
17279         * docs/gst/gstreamer-sections.txt:
17280         * docs/gst/gstreamer.types:
17281         * docs/gst/tmpl/.cvsignore:
17282         * gst/gstbin.h:
17283         * gst/gstbus.c:
17284         * gst/gstelement.c:
17285         * gst/gstevent.h:
17286           added 100 symbols from gstreamer-unused.txt to the right sections
17287           fixed more broken comments
17288           added GstBus to docs
17289
17290 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17291
17292         * docs/gst/gstreamer-sections.txt:
17293         * docs/gst/tmpl/.cvsignore:
17294         * docs/gst/tmpl/gstbin.sgml:
17295         * docs/gst/tmpl/gstbuffer.sgml:
17296         * gst/base/gstbasesrc.c:
17297         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
17298         * gst/gstbuffer.c:
17299         * gst/gstbuffer.h:
17300         * tools/gst-launch.1.in:
17301           inlined more doc comments, added missing comments and fixed comments
17302           fixed typos
17303
17304 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17305
17306         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17307           some debugging
17308         * gst/gstcaps.h:
17309           whitespace fixes
17310         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
17311           more debugging
17312         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
17313         * gst/gststructure.h:
17314           add a fixate function for booleans; add a FIXME that these func
17315           names should probably be gst_structure_fixate_*
17316
17317 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17318
17319         * docs/gst/gstreamer-docs.sgml:
17320         * docs/gst/gstreamer-sections.txt:
17321         * gst/Makefile.am:
17322         * gst/gstbin.c: (gst_bin_get_type),
17323         (gst_bin_child_proxy_get_child_by_index),
17324         (gst_bin_child_proxy_get_children_count),
17325         (gst_bin_child_proxy_init):
17326         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17327         (gst_child_proxy_get_child_by_index),
17328         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
17329         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
17330         (gst_child_proxy_get), (gst_child_proxy_set_property),
17331         (gst_child_proxy_set_valist), (gst_child_proxy_set),
17332         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
17333         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
17334         * gst/gstchildproxy.h:
17335         * gst/parse/grammar.y:
17336         * tools/gst-inspect.c: (print_interfaces),
17337         (print_element_properties_info), (print_element_info):
17338           ported gstchildproxy over from 0.8
17339           ported gst-inspect fixes and enhancements over from 0.8
17340
17341 2005-08-22  Wim Taymans  <wim@fluendo.com>
17342
17343         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17344         (gst_base_transform_handle_buffer):
17345         Also call the transform function if we have ANY caps.
17346
17347         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
17348         Fix debug info.
17349
17350 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
17351
17352         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
17353           Don't pretend to handle seek events if the source is not seekable
17354
17355 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
17356
17357         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17358           Remove extra parameter to debug output
17359
17360         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17361         (gst_base_src_do_seek), (gst_base_src_activate_push):
17362           Fix seek event handling.
17363
17364         * gst/gstpipeline.c: (gst_pipeline_change_state):
17365         * gst/gstqueue.c: (gst_queue_handle_sink_event),
17366         (gst_queue_src_activate_push):
17367           Don't start the src pad task on FLUSH_STOP if the pad
17368           isn't linked.
17369           Debug changes.
17370
17371 2005-08-22  Wim Taymans  <wim@fluendo.com>
17372
17373         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
17374         Added check for gst_static_caps_get() refcounting.
17375
17376 2005-08-22  Wim Taymans  <wim@fluendo.com>
17377
17378         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
17379         Make _static_caps_get() refcounting sane.
17380         
17381         * gst/gstelement.c: (gst_element_set_state):
17382         Add g_return_val_if_fail() to protect against segfaults.
17383
17384 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
17385
17386         * docs/gst/tmpl/gstevent.sgml:
17387         * gst/gstevent.c:
17388         * gst/gstevent.h:
17389           inlined remaining docs, added missing doc comments
17390
17391 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17392
17393         * check/gst/gstbin.c: (GST_START_TEST):
17394           since we don't know when preroll is done, use refcount range
17395           check for the sink
17396         * gst/check/gstcheck.h:
17397           add macro for checking refcount range
17398
17399 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17400
17401         * check/Makefile.am:
17402           clean up environment for when registry gets built versus
17403           when actual tests are run; valgrind seems to not report
17404           leaks if GST_PLUGIN_PATH is set to some specific values
17405         * check/gst/gstbin.c: (GST_START_TEST):
17406           add more refcounting checks; maybe this exposes a
17407           preroll lock bug ?
17408         * common/check.mak:
17409         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17410         * gst/check/gstcheck.h:
17411         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
17412         (gst_bin_change_state):
17413         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
17414           add/fix debugging/whitespace
17415
17416 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
17417
17418         * check/gst/gstevent.c: (event_probe), (test_event),
17419         (GST_START_TEST):
17420          Er, don't call gst_bin_watch_for_state_change you idiot.
17421
17422 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
17423
17424         * check/Makefile.am:
17425           Use CHECK_CFLAGS and CHECK_LIBS
17426         * check/gst/gstevent.c: (event_probe), (test_event),
17427         (GST_START_TEST):
17428           Don't leak events.
17429         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17430         (gst_base_src_start), (gst_base_src_stop),
17431         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17432         (gst_base_src_change_state):
17433           Sprinkle gst_base_src_stop liberally around error paths to fix
17434           problems reusing a source after failed state changes.
17435         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17436         (helper_find_suggest), (gst_type_find_helper):
17437           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
17438         * gst/gstevent.h:
17439         * docs/gst/tmpl/gstevent.sgml:
17440           Migrate part of the docs from the SGML file. Wait for ensonic to
17441           tell me how I did it wrong ;)
17442         * tools/gst-typefind.c: (main):
17443           Extra robustness to state changes between files.
17444
17445 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17446
17447         * check/Makefile.am:
17448           don't valgrind the controller test - it's leaking - Stefan, HELP
17449         * gst/check/gstcheck.c: (gst_check_message_error),
17450         (gst_check_chain_func), (gst_check_setup_element),
17451         (gst_check_teardown_element), (gst_check_setup_src_pad),
17452         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
17453         (gst_check_teardown_sink_pad):
17454         * gst/check/gstcheck.h:
17455           add a bunch of methods to set up elements, and src and sink pads
17456         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
17457         * check/elements/identity.c: (setup_identity), (cleanup_identity),
17458         (GST_START_TEST):
17459           use them
17460         * gst/gstmessage.c:
17461         * gst/gsttag.h:
17462           whitespace/doc fixes
17463
17464 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17465
17466         * gst/gstelement.h:
17467           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
17468           be handled by the application and not always printed as well
17469
17470 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17471
17472         * check/Makefile.am:
17473           set GST_TOOLS_DIR
17474         * gst/check/gstcheck.c: (gst_check_message_error):
17475         * gst/check/gstcheck.h:
17476           add a fail_unless_equals_int
17477           add fail_unless for error messages
17478
17479 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17480
17481         * check/Makefile.am:
17482         * check/gst.supp:
17483         * common/Makefile.am:
17484         * common/check.mak:
17485         * common/gst.supp:
17486           factor out some of the common stuff so we can use it
17487
17488 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17489
17490         * check/Makefile.am:
17491         * check/gst/gstiterator.c: (GST_START_TEST):
17492         * check/gst/gstsystemclock.c: (GST_START_TEST),
17493         (gst_systemclock_suite):
17494         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
17495         * gst/gstclock.c:
17496           valgrind more tests
17497
17498 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17499
17500         * check/elements/.cvsignore:
17501         * check/elements/gstfakesrc.c:
17502           rename to name of element
17503         * check/elements/identity.c: (chain_func), (event_func),
17504         (setup_identity), (cleanup_identity), (GST_START_TEST),
17505         (identity_suite), (main):
17506           add a test for identity
17507         * check/Makefile.am:
17508         * pkgconfig/Makefile.am:
17509         * pkgconfig/gstreamer-check.pc.in:
17510         * pkgconfig/gstreamer-check-uninstalled.pc.in:
17511         * gst/check:
17512         * gst/Makefile.am:
17513         * configure.ac:
17514           move the check stuff to a library that gets installed
17515         * check/gst-libs/controller.c: (GST_START_TEST):
17516         * check/gst-libs/gdp.c:
17517         * check/gst/gst.c: (GST_START_TEST):
17518         * check/gst/gstbin.c:
17519         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17520         * check/gst/gstbus.c:
17521         * check/gst/gstcaps.c: (GST_START_TEST):
17522         * check/gst/gstelement.c:
17523         * check/gst/gstghostpad.c:
17524         * check/gst/gstiterator.c:
17525         * check/gst/gstmessage.c:
17526         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
17527         * check/gst/gstobject.c:
17528         * check/gst/gstpad.c: (GST_START_TEST):
17529         * check/gst/gststructure.c: (GST_START_TEST):
17530         * check/gst/gstsystemclock.c: (GST_START_TEST),
17531         (gst_systemclock_suite):
17532         * check/gst/gsttag.c: (gst_tag_suite):
17533         * check/gst/gstvalue.c:
17534         * check/pipelines/cleanup.c:
17535         * check/pipelines/simple_launch_lines.c:
17536         * check/states/sinks.c:
17537           change include statement
17538
17539         * docs/gst/gstreamer-sections.txt:
17540         * docs/gst/tmpl/gstpad.sgml:
17541           document more pad stuff
17542         * gst/gstminiobject.c: (gst_mini_object_ref),
17543         (gst_mini_object_unref):
17544           debug refcounting
17545
17546 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
17547
17548         * docs/gst/tmpl/gst.sgml:
17549         * gst/gst.c:
17550           eliminate another tmpl file, fix spelling in the long-description
17551
17552 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17553
17554         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17555         (test_event), (timediff), (gstevents_suite):
17556           Should fix build on 64-bit arch's
17557
17558 2005-08-18  Andy Wingo  <wingo@pobox.com>
17559
17560         Make sure that when a pipeline goes to PLAYING, that data has
17561         actually hit the sink.
17562
17563         * check/states/sinks.c (test_sink): A sink that doesn't get any
17564         data shouldn't return SUCCESS for going to either PLAYING or
17565         PAUSED. Test also the return values on the way back down.
17566
17567         * gst/gstelement.c (gst_element_set_state): When changing the
17568         state of an element currently changing state asynchronously, go to
17569         lost-state after commiting the pending state. Makes future calls
17570         to get_state continue to return ASYNC.
17571
17572         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
17573         ASYNC when going to PLAYING if we still don't have preroll, as can
17574         happen with live sources.
17575
17576 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17577
17578         * docs/pwg/advanced-types.xml:
17579           Hack long paragraph into 2 chunks as a workaround for buggy
17580           jadetex version in sid and breezy that loops infinitely and
17581           eats all RAM.
17582
17583 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17584
17585         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17586         (test_event), (timediff), (gstevents_suite):
17587           Provide more error margin in clock measurements to allow for 
17588           g_get_current_time inaccuracies.
17589
17590 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17591
17592         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17593         (test_event), (timediff), (gstevents_suite):
17594            Fix error message output so I might be able to tell why the
17595            test works here but fails on the build farm.
17596
17597 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17598
17599         * check/Makefile.am:
17600         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17601         (test_event), (timediff), (gstevents_suite), (main):
17602           I wrote a test!
17603
17604         * docs/design/part-seeking.txt:
17605           Spelling correction
17606
17607         * docs/gst/tmpl/gstevent.sgml:
17608         * docs/gst/tmpl/gstfakesrc.sgml:
17609           Docs updates.
17610
17611         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17612           Treat a buffer-without-newsegment the same as a receiving 
17613           a newsegment not in time format, and disable syncing to the clock
17614           with a warning.
17615
17616         * gst/gstbus.c: (gst_bus_set_sync_handler):
17617           Assert if anyone tries to replace the existing sync_handler for bus, 
17618           as only the owner should be setting it.
17619
17620         * gst/gstevent.h:
17621           Have a fixed set of custom event enums with events identified by
17622           their structure name (as in 0.8), rather than a free-for-all
17623           allowing collisions between enum values from different plugins.
17624
17625         * gst/gstpad.c: (gst_pad_class_init):
17626           Docs change.
17627           
17628         * gst/gstqueue.c: (gst_queue_handle_sink_event):
17629           Handle out-of-band downstream events from the sending thread.
17630
17631 2005-08-17  Andy Wingo  <wingo@pobox.com>
17632
17633         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
17634         play-timeout==0 to mean no timeout at all. In that case, don't
17635         bother with a get_state or a warning, just return directly, even
17636         if it's ASYNC.
17637
17638         * gst/base/gstbasetransform.c: Debug changes.
17639
17640         * gst/gstutils.h:
17641         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
17642         ensure bins post state change messages. A bit of a hack but I can't
17643         think of a way to avoid it.
17644
17645         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
17646
17647 2005-08-16  Andy Wingo  <wingo@pobox.com>
17648
17649         * gst/base/gstadapter.h:
17650         * gst/base/gstadapter.c (gst_adapter_take): New function, like
17651         peek() but you own the data. Not terribly efficient atm.
17652
17653 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17654
17655         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
17656         (gst_element_found_tags):
17657         * gst/gstutils.h:
17658           Add two utility functions for tag handling.
17659
17660 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17661
17662         * docs/manual/advanced-dataaccess.xml:
17663         * docs/manual/basics-helloworld.xml:
17664           Fix docs to use _bin_add() before _link(), which fixes the examples
17665           with recent core versions (reported by Madhan Raj M
17666           <raj_madan@rediffmail.com>, #313199).
17667
17668 2005-08-16  Wim Taymans  <wim@fluendo.com>
17669
17670         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17671         Added subtract checks.
17672
17673         * docs/design/part-events.txt:
17674         Some more docs about newsegment
17675
17676         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
17677         Fix FIXME
17678
17679         * gst/gstcaps.c: (gst_caps_to_string):
17680         Add comments, cleanups.
17681         
17682         * gst/gstelement.c: (gst_element_save_thyself):
17683         cleanups
17684         
17685         * gst/gstvalue.c: (gst_value_collect_int_range),
17686         (gst_string_unwrap), (gst_value_union_int_int_range),
17687         (gst_value_union_int_range_int_range),
17688         (gst_value_intersect_int_int_range),
17689         (gst_value_intersect_int_range_int_range),
17690         (gst_value_intersect_double_double_range),
17691         (gst_value_intersect_double_range_double_range),
17692         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
17693         (gst_value_subtract_int_range_int),
17694         (gst_value_subtract_double_range_double),
17695         (gst_value_subtract_double_range_double_range),
17696         (gst_value_subtract_from_list), (gst_value_subtract_list),
17697         (gst_value_can_compare), (gst_value_compare_fraction):
17698         Cleanups, add comments, remove unneeded asserts.
17699
17700 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17701
17702         * tools/gst-launch.c: (event_loop):
17703           don't convert NULL structures to strings
17704
17705 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
17706
17707         * docs/gst/gstreamer-sections.txt:
17708           made some defines private
17709         * docs/gst/tmpl/gstconfig.sgml:
17710         * docs/gst/tmpl/gstqueue.sgml:
17711         * docs/gst/tmpl/gsttaglist.sgml:
17712         * docs/gst/tmpl/gsttypes.sgml:
17713         * docs/gst/tmpl/gstutils.sgml:
17714         * docs/pwg/appendix-porting.xml:
17715         * gst/base/gstbasesink.h:
17716         * gst/base/gstbasesrc.c:
17717         * gst/base/gstbasesrc.h:
17718         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
17719         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
17720         * gst/gstelement.c: (gst_element_class_init):
17721         * gst/gstpad.c: (gst_pad_class_init):
17722         * gst/gstqueue.c: (gst_queue_class_init):
17723         * gst/gstxml.c: (gst_xml_class_init):
17724           documented all undocumented signal inline
17725         * libs/gst/controller/gst-controller.h:
17726           added padding
17727
17728 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17729
17730         * docs/pwg/appendix-porting.xml:
17731           Document _set_link_function -> _set_setcaps_function.
17732
17733 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17734
17735         * check/Makefile.am:
17736           add a .check target for running the check
17737         * check/gst-libs/controller.c: (GST_START_TEST):
17738           cosmetic fixups
17739         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17740           complete checks for gstbuffer; would be nice if I could get the
17741           gcov stuff to work so I can see if I actually completed gstbuffer.c
17742         * check/gstcheck.h:
17743           add ASSERT_BUFFER_REFCOUNT
17744
17745 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
17746
17747         * docs/gst/gstreamer-sections.txt:
17748         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
17749         * gst/gsttag.h:
17750           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
17751           spew out a warning if a tag that is already registered
17752           is re-registered, unless it is re-registered with a 
17753           different type (#308438).
17754
17755 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
17756
17757         * docs/pwg/appendix-porting.xml:
17758         * docs/pwg/building-state.xml:
17759           Add some paragraphs about state changes in 0.9 to the PWG
17760           and the porting guide, in particular about the new meaning
17761           of GST_STATE_PAUSED and how to write state change functions
17762           with concurrent access by multiple threads in mind.
17763
17764 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
17765
17766         * docs/gst/gstreamer-docs.sgml:
17767         * docs/libs/gstreamer-libs-docs.sgml:
17768           added deprecation and since indexes
17769         * libs/gst/controller/gst-controller.c:
17770         * libs/gst/controller/gst-helper.c:
17771           added since tags
17772
17773
17774 2005-08-11  Wim Taymans  <wim@fluendo.com>
17775
17776         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
17777         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
17778         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
17779         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
17780         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
17781         (gst_ghost_pad_set_target):
17782         Actually implement (re)setting the target on a ghostpad
17783         as described in the docs.
17784
17785 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
17786
17787         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
17788           Check whether GST_DEBUG_NO_COLOR environment variable is
17789           set and disable coloured debug output if that is the case.
17790
17791 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
17792
17793         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17794         (gst_type_find_helper):
17795           The memory returned by gst_type_find_peek() needs to
17796           stay valid until the end of a typefind function, and
17797           typefind functions may keep results from different 
17798           offsets around, so we can't just unref the buffer from
17799           the previous _peek(), but have to save all buffers 
17800           returned by _peek() until typefinding is done and only
17801           free them then.
17802
17803 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
17804
17805         * docs/gst/gstreamer-sections.txt:
17806         * gst/gstutils.h:
17807           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
17808
17809 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17810
17811         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17812           Fix a pretty good memleak.
17813
17814 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
17815
17816         * gst/gstiterator.h:
17817           Fix wrong include and 'make distcheck'.
17818
17819 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17820
17821         * gst/gstbin.c: (bin_bus_handler):
17822           Use gst_element_post_message() instead.
17823
17824 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
17825
17826         * gst/base/gstadapter.h:
17827         * gst/base/gstbasesink.h:
17828         * gst/base/gstbasesrc.h:
17829         * gst/base/gstbasetransform.h:
17830         * gst/base/gstcollectpads.h:
17831         * gst/base/gstpushsrc.h:
17832         * gst/gstiterator.h:
17833           Add padding to our base elements' class and instance structs and
17834           to GstIterator (you will need to rebuild all plugins and apps!)
17835
17836 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17837
17838         * gst/gstbin.c: (bin_bus_handler):
17839           Make default message forwarding from child->bus to bin->bus
17840           threadsafe and make it not emit warnings if the parent has no bus.
17841
17842 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17843
17844         * gst/gstelement.c: (activate_pads):
17845           On paused->ready, set pad->caps to NULL, as is the documented
17846           behaviour in this state change. Fixes playback of series of
17847           media files when visualization is enabled in Totem.
17848
17849 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17850
17851         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17852           Allow NULL as filter-caps (which means "any").
17853
17854 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
17855
17856         * docs/libs/gstreamer-libs-sections.txt:
17857         * libs/gst/controller/gst-controller.c:
17858         * libs/gst/controller/gst-controller.h:
17859         * libs/gst/controller/gst-helper.c:
17860           adding more entries to the docs and fix small doc-bugs
17861
17862 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
17863
17864         * docs/gst/gstreamer-docs.sgml:
17865         * docs/gst/gstreamer-sections.txt:
17866         * docs/gst/gstreamer.types:
17867         * docs/gst/tmpl/gstbasesink.sgml:
17868         * docs/gst/tmpl/gstbasesrc.sgml:
17869         * docs/gst/tmpl/gstbasetransform.sgml:
17870         * docs/gst/tmpl/gstfakesrc.sgml:
17871         * gst/base/gstcollectpads.c:
17872         * gst/base/gstcollectpads.h:
17873         * libs/gst/controller/gst-controller.c:
17874         * libs/gst/controller/gst-controller.h:
17875         * libs/gst/controller/gst-helper.c:
17876         * libs/gst/controller/gst-interpolation.c:
17877         * libs/gst/controller/lib.c:
17878           added long/short desc for controller docs
17879           added collectpads base class docs
17880           added correct includes to base-class docs
17881
17882 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
17883
17884         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
17885         (gst_test_mono_source_set_property),
17886         (gst_test_mono_source_class_init), (GST_START_TEST),
17887         (gst_controller_suite):
17888         * docs/gst/gstreamer-docs.sgml:
17889         * docs/gst/gstreamer-sections.txt:
17890         * docs/gst/gstreamer.types:
17891         * docs/libs/gstreamer-libs-docs.sgml:
17892         * docs/libs/gstreamer-libs-sections.txt:
17893         * gst/base/gstadapter.c:
17894         * libs/gst/controller/gst-controller.c:
17895         (gst_controlled_property_new), (gst_controlled_property_free),
17896         (gst_controller_new_valist),
17897         (gst_controller_remove_properties_valist),
17898         (gst_controller_sink_values), (_gst_controller_finalize):
17899         * libs/gst/controller/gst-controller.h:
17900         * libs/gst/controller/gst-helper.c:
17901         (gst_object_control_properties), (gst_object_uncontrol_properties),
17902         (gst_object_get_controller), (gst_object_set_controller),
17903         (gst_object_sink_values), (gst_object_get_value_arrays),
17904         (gst_object_get_value_array):
17905           more tests (and fixes) for the controller
17906           more docs for the controller
17907           integrated companies docs for the adapter 
17908
17909 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17910
17911         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
17912         (GST_START_TEST), (fakesrc_suite):
17913           add tests for sizetype
17914
17915 2005-08-04  Andy Wingo  <wingo@pobox.com>
17916
17917         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
17918         fixes buffer_alloc proxying among other things.
17919
17920         * gst/base/gstbasetransform.c:
17921         * gst/base/gstbasetransform.h:
17922         Revert patch to gstbasetransform from 7-28 removing
17923         delay_configure.
17924
17925         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
17926         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
17927         Semantics changed, should return not the size of the output buffer
17928         but the byte size of a buffer with a given caps.
17929
17930         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
17931         debug object.
17932         (gst_base_transform_configure_caps): Don't set out_size here: (in,
17933         out) are not the pad caps until setcaps finishes.
17934         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
17935         not-in-place case as well. Deal with changing from in-place to
17936         not-in-place within calling pad_alloc_buffer. Still a bit
17937         concerned about the overhead here...
17938
17939 2005-08-03  Andy Wingo  <wingo@pobox.com>
17940
17941         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
17942         fixating is an error.
17943
17944 2005-08-04  Edward Hervey  <edward@fluendo.com>
17945
17946         * gst/base/gstadapter.h: 
17947         Added gst_adapter_get_type() to the header
17948
17949 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
17950
17951         * check/Makefile.am:
17952         * check/gst-libs/controller.c:
17953         * libs/gst/controller/gst-controller.c:
17954         (gst_controller_new_valist):
17955           added check test suite for the controller
17956         * gst/base/gstpushsrc.c:
17957           fixed a doc typo
17958
17959 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
17960
17961         * docs/gst/Makefile.am:
17962         * docs/gst/gstreamer-docs.sgml:
17963         * docs/gst/gstreamer-sections.txt:
17964         * docs/gst/gstreamer.types:
17965         * docs/gst/tmpl/gstfakesrc.sgml:
17966         * gst/base/README:
17967         * gst/base/gstbasesink.c:
17968         * gst/base/gstbasesink.h:
17969         * gst/base/gstbasesrc.c:
17970         * gst/base/gstbasesrc.h:
17971         * gst/base/gstbasetransform.c:
17972         * gst/base/gstpushsrc.c:
17973         * gst/base/gstpushsrc.h:
17974           add short/long description docs to base classes
17975           add pushsrc to the docs
17976           remove consolidated doc fragments
17977
17978 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
17979
17980         * configure.ac:
17981         * docs/libs/Makefile.am:
17982         * docs/libs/gstreamer-libs-docs.sgml:
17983         * docs/libs/gstreamer-libs-sections.txt:
17984         * docs/libs/gstreamer-libs.types:
17985         * examples/Makefile.am:
17986         * examples/controller/.cvsignore:
17987         * examples/controller/Makefile.am:
17988         * examples/controller/audio-example.c: (main):
17989         * libs/gst/Makefile.am:
17990         * libs/gst/controller/.cvsignore:
17991         * libs/gst/controller/Makefile.am:
17992         * libs/gst/controller/gst-controller.c:
17993         (on_object_controlled_property_changed), (gst_timed_value_compare),
17994         (gst_timed_value_find),
17995         (gst_controlled_property_set_interpolation_mode),
17996         (gst_controlled_property_new), (gst_controlled_property_free),
17997         (gst_controller_find_controlled_property),
17998         (gst_controller_new_valist), (gst_controller_new),
17999         (gst_controller_remove_properties_valist),
18000         (gst_controller_remove_properties), (gst_controller_set),
18001         (gst_controller_set_from_list), (gst_controller_unset),
18002         (gst_controller_get), (gst_controller_get_all),
18003         (gst_controller_sink_values), (gst_controller_get_value_arrays),
18004         (gst_controller_get_value_array),
18005         (gst_controller_set_interpolation_mode),
18006         (_gst_controller_finalize), (_gst_controller_init),
18007         (_gst_controller_class_init), (gst_controller_get_type):
18008         * libs/gst/controller/gst-controller.h:
18009         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
18010         (g_object_uncontrol_properties), (g_object_get_controller),
18011         (g_object_set_controller), (g_object_sink_values),
18012         (g_object_get_value_arrays), (g_object_get_value_array):
18013         * libs/gst/controller/gst-interpolation.c:
18014         (gst_controlled_property_find_timed_value_node),
18015         (interpolate_none_get), (interpolate_trigger_get),
18016         (interpolate_trigger_get_value_array):
18017         * libs/gst/controller/lib.c: (gst_controller_init):
18018         * pkgconfig/Makefile.am:
18019         * pkgconfig/gstreamer-control-uninstalled.pc.in:
18020         * pkgconfig/gstreamer-control.pc.in:
18021         * testsuite/Makefile.am:
18022         * testsuite/controller/.cvsignore:
18023         * testsuite/controller/Makefile.am:
18024         * testsuite/controller/interpolator.c: (main):
18025           added controller code
18026           removed dparam pc files
18027
18028 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
18029         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
18030         (gst_collectpads_stop):
18031           Broadcast the condition when shutting down, to make sure we wake all
18032           threads up. Shut down pads on finalize, for safety.
18033
18034 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
18035         * gst/base/gstbasetransform.c: (gst_base_transform_init),
18036         (gst_base_transform_handle_buffer),
18037         (gst_base_transform_change_state):
18038           Handle PAUSED->READY->PAUSED transition after negotiation
18039           occurred already.
18040         * gst/gstmessage.c: (gst_message_init):
18041           Extra piece of debug for new messages.
18042
18043 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
18044
18045         * configure.ac:
18046         * docs/gst/tmpl/gstbasesrc.sgml:
18047         * docs/gst/tmpl/gstelement.sgml:
18048         * docs/gst/tmpl/gstevent.sgml:
18049         * docs/gst/tmpl/gstfakesrc.sgml:
18050         * docs/gst/tmpl/gstformat.sgml:
18051         * docs/gst/tmpl/gstghostpad.sgml:
18052         * docs/gst/tmpl/gstpad.sgml:
18053         * docs/gst/tmpl/gstquery.sgml:
18054         * docs/gst/tmpl/gststructure.sgml:
18055         * docs/gst/tmpl/gsttaglist.sgml:
18056         * docs/gst/tmpl/gstvalue.sgml:
18057         * docs/libs/gstreamer-libs-docs.sgml:
18058         * docs/libs/gstreamer-libs-sections.txt:
18059         * docs/libs/gstreamer-libs.types:
18060         * libs/gst/Makefile.am:
18061         * libs/gst/control/.cvsignore:
18062         * libs/gst/control/Makefile.am:
18063         * libs/gst/control/control.c:
18064         * libs/gst/control/control.h:
18065         * libs/gst/control/dparam.c:
18066         * libs/gst/control/dparam.h:
18067         * libs/gst/control/dparam_smooth.c:
18068         * libs/gst/control/dparam_smooth.h:
18069         * libs/gst/control/dparamcommon.h:
18070         * libs/gst/control/dparammanager.c:
18071         * libs/gst/control/dparammanager.h:
18072         * libs/gst/control/dplinearinterp.c:
18073         * libs/gst/control/dplinearinterp.h:
18074         * libs/gst/control/unitconvert.c:
18075         * libs/gst/control/unitconvert.h:
18076         * testsuite/Makefile.am:
18077         * testsuite/dynparams/.cvsignore:
18078         * testsuite/dynparams/Makefile.am:
18079         * testsuite/dynparams/dparamstest.c:
18080         * tools/Makefile.am:
18081         * tools/gst-inspect.c: (print_element_info), (main):
18082         * tools/gst-xmlinspect.c: (print_element_info), (main):
18083           deactivate and remove dparams (libgstcontrol)
18084
18085 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18086
18087         * gst/elements/gsttypefindelement.c:
18088         (gst_type_find_element_have_type), (gst_type_find_element_init),
18089         (stop_typefinding), (gst_type_find_element_handle_event),
18090         (gst_type_find_element_chain), (gst_type_find_element_getrange):
18091         * gst/elements/gsttypefindelement.h:
18092           Set caps on all outgoing buffers, not just the first one.
18093
18094 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18095
18096         * gst/elements/gsttypefindelement.c:
18097         (gst_type_find_element_have_type),
18098         (gst_type_find_element_check_set_buffer_caps),
18099         (gst_type_find_element_init), (stop_typefinding),
18100         (gst_type_find_element_handle_event),
18101         (gst_type_find_element_chain), (gst_type_find_element_getrange):
18102         * gst/elements/gsttypefindelement.h:
18103           Set caps on first outgoing buffer when we've found the type.
18104
18105 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18106
18107         * docs/gst/gstreamer-docs.sgml:
18108         * docs/gst/gstreamer-sections.txt:
18109         * docs/gst/tmpl/gstscheduler.sgml:
18110         * docs/gst/tmpl/gstschedulerfactory.sgml:
18111           Remove some old cruft from docs.
18112
18113 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
18114
18115         * gst/gstpad.h:
18116           Fix inline docs for GstPadLinkReturn.
18117           
18118         * gst/gststructure.c: (gst_structure_has_name):
18119         * gst/gststructure.h:
18120         * docs/gst/gstreamer-sections.txt:
18121           New API: gst_structure_has_name().
18122
18123 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
18124
18125         * configure.ac:
18126           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
18127           and _LARGEFILE_SOURCE in config.h as required. Do not 
18128           export those flags in our .pc files any longer (#142209).
18129
18130           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
18131
18132         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
18133         (gst_file_sink_do_seek), (gst_file_sink_event),
18134         (gst_file_sink_get_current_offset), (gst_file_sink_render):
18135           Redo seek/tell calls with large file support in mind; add some
18136           debugging messages; add log message that tells us when large
18137           file support is unavailable or not enabled for some reason.
18138
18139         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
18140           Add log message that tells us when large file support 
18141           is unavailable or not enabled for some reason.
18142
18143 2005-07-29  Wim Taymans  <wim@fluendo.com>
18144
18145         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18146         Added test for removing an element with ghostpad from a bin.
18147         Fixed test as current implementation does the right thing.
18148
18149         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
18150         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
18151         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
18152         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
18153         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
18154         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
18155         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
18156         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
18157         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
18158         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
18159         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
18160         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
18161         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
18162         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
18163         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
18164         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
18165         * gst/gstghostpad.h:
18166         Clean up ghostpads, remove properties for internal stuff.
18167         Make threadsafe.
18168         Fix refcounting.
18169         Prepare for switching targets, not all use cases work yet.
18170
18171 2005-07-29  Wim Taymans  <wim@fluendo.com>
18172
18173         * docs/design/part-gstghostpad.txt:
18174         Small update.
18175
18176         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18177         (gst_bin_remove_func):
18178         Unlinking pads while holding the bin LOCK is not a good
18179         idea.
18180
18181         * gst/gstpad.c: (gst_pad_class_init),
18182         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
18183         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
18184         No prob setting template after creating the pad.
18185
18186 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
18187
18188         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
18189         (gst_bus_peek), (gst_bus_source_dispatch),
18190         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
18191         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
18192           gst_bus_poll may be called from other threads. Handle
18193           this nicely by not making poll_data disappear off the
18194           stack once gst_bus_poll returns.
18195           gst_bus_peek now increments the refcount on the returned
18196           message.
18197
18198 2005-07-29  Wim Taymans  <wim@fluendo.com>
18199
18200         * docs/design/part-gstghostpad.txt:
18201         Overview of current GhostPad datastructures and use
18202         cases for changing the target.
18203
18204 2005-07-28  Wim Taymans  <wim@fluendo.com>
18205
18206         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18207         Added checks for hierarchy consistency whan adding linked
18208         elements to bins.
18209
18210         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18211         Added check to test element scheduling without bin/pipeline.
18212
18213         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18214         First add elements to bin, then link.
18215         
18216         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18217         (gst_bin_remove_func):
18218         Unlink pads from elements added/removed from bin to maintain
18219         hierarchy consistency.
18220
18221 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18222
18223         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18224         (gst_base_transform_handle_buffer):
18225         * gst/base/gstbasetransform.h:
18226           Remove broken delay_configure (fixes renegotiation of software
18227           scaling pipelines); remove some leftover printf()s.
18228
18229 2005-07-28  Wim Taymans  <wim@fluendo.com>
18230
18231         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18232         Added some more tests for wrong hierarchy
18233
18234         * docs/design/part-overview.txt:
18235         Some updates.
18236
18237         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
18238         Cleanups.
18239
18240         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
18241         (gst_element_dispose):
18242         Some more cleanups.
18243
18244         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18245         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
18246         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18247         (gst_pad_set_caps), (gst_pad_send_event):
18248         Check for correct hierarchy when linking pads. Moving to
18249         strict requirement for ghostpads when linking elements in
18250         different bins.
18251
18252         * gst/gstpad.h:
18253         Clean ups. Added WRONG_HIERARCHY return value.
18254
18255 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18256
18257         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18258           Better debug if no transform is possible.
18259
18260 2005-07-27  Wim Taymans  <wim@fluendo.com>
18261
18262         * docs/random/wtay/network-transp:
18263         Some old doc I had.
18264
18265 2005-07-27  Wim Taymans  <wim@fluendo.com>
18266
18267         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18268         (gst_dp_event_from_packet):
18269         Fix serialization of seek events.
18270
18271 2005-07-27  Wim Taymans  <wim@fluendo.com>
18272
18273         * check/gst-libs/gdp.c: (GST_START_TEST):
18274         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18275         Fix compilation and fix event serialization.
18276
18277 2005-07-27  Wim Taymans  <wim@fluendo.com>
18278
18279         * CHANGES-0.9:
18280         * docs/design/part-TODO.txt:
18281         * docs/design/part-events.txt:
18282         Some docs updates
18283
18284         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18285         (gst_base_sink_event), (gst_base_sink_do_sync),
18286         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18287         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18288         (gst_base_src_do_seek), (gst_base_src_event_handler),
18289         (gst_base_src_loop):
18290         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18291         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18292         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18293         (gst_base_transform_event), (gst_base_transform_handle_buffer),
18294         (gst_base_transform_set_passthrough),
18295         (gst_base_transform_is_passthrough):
18296         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18297         * gst/elements/gstfilesink.c: (gst_file_sink_event):
18298         Event updates.
18299
18300         * gst/gstbuffer.h:
18301         Use faster casts.
18302
18303         * gst/gstelement.c: (gst_element_seek):
18304         * gst/gstelement.h:
18305         Update gst_element_seek.
18306
18307         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
18308         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
18309         (gst_event_new_flush_start), (gst_event_new_flush_stop),
18310         (gst_event_new_eos), (gst_event_new_newsegment),
18311         (gst_event_parse_newsegment), (gst_event_new_tag),
18312         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
18313         (gst_event_parse_qos), (gst_event_new_seek),
18314         (gst_event_parse_seek), (gst_event_new_navigation):
18315         * gst/gstevent.h:
18316         Make GstEvent use GstStructure. Add parsing code, make sure the
18317         API is sufficiently generic.
18318         Mark possible directions of events and serialization.
18319
18320         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
18321         (_gst_message_copy), (gst_message_new_segment_start),
18322         (gst_message_new_segment_done), (gst_message_new_custom),
18323         (gst_message_parse_segment_start),
18324         (gst_message_parse_segment_done):
18325         Small cleanups.
18326
18327         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18328         (gst_pad_set_caps), (gst_pad_send_event):
18329         Update for new events. 
18330         Catch events sent in wrong directions.
18331
18332         * gst/gstqueue.c: (gst_queue_link_src),
18333         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18334         (gst_queue_handle_src_query):
18335         Event updates.
18336
18337         * gst/gsttag.c:
18338         * gst/gsttag.h:
18339         Remove event code from this file.
18340
18341         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18342         (gst_dp_event_from_packet):
18343         Event updates.
18344
18345 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18346
18347         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
18348         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18349         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
18350           Make debugging actually useful.
18351
18352 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18353
18354         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
18355         (gst_pad_fixate_caps):
18356           Implement default fixation once again, so that gst_pad_fixate()
18357           actually does anything at all. This probably needs to be some
18358           sort of a last resort, and use profile-based fixation first, but
18359           since that doesn't exist yet, this is the best we have. Fixes
18360           visualization in Totem.
18361
18362 2005-07-22  Wim Taymans  <wim@fluendo.com>
18363
18364         * docs/design/part-events.txt:
18365         Small update.
18366
18367         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18368         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
18369         (gst_base_sink_activate_pull):
18370         Some more comments.
18371
18372         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
18373         (gst_fake_src_create):
18374         Fix handoff marshall.
18375
18376         * gst/elements/gstidentity.c: (gst_identity_class_init),
18377         (gst_identity_transform_ip):
18378         We're a real inplace element.
18379
18380         * gst/gstbus.c: (gst_bus_post):
18381         Added some comments.
18382
18383         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
18384         * tests/muxing/case1.c: (main):
18385         * tests/sched/dynamic-pipeline.c: (main):
18386         * tests/sched/interrupt1.c: (main):
18387         * tests/sched/interrupt2.c: (main):
18388         * tests/sched/interrupt3.c: (main):
18389         * tests/sched/runxml.c: (main):
18390         * tests/sched/sched-stress.c: (main):
18391         * tests/seeking/seeking1.c: (event_received), (main):
18392         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18393         (main):
18394         * tests/threadstate/threadstate3.c: (main):
18395         * tests/threadstate/threadstate4.c: (main):
18396         * tests/threadstate/threadstate5.c: (main):
18397         Fix the tests.
18398
18399 2005-07-21  Wim Taymans  <wim@fluendo.com>
18400
18401         * docs/design/part-seeking.txt:
18402         Some small additions.
18403
18404         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18405         (gst_base_sink_get_times), (gst_base_sink_do_sync),
18406         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18407         * gst/base/gstbasesink.h:
18408         discont values are gint64, handle the math correctly.
18409
18410         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18411         Make the basesrc report error if the source pad is not linked.
18412
18413         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18414         (gst_queue_loop), (gst_queue_handle_src_query),
18415         (gst_queue_src_activate_push):
18416         Make queue collect data even if the srcpad is not linked.
18417         Start pushing out data as soon as it is linked.
18418
18419         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
18420         * gst/gstutils.h:
18421         Added gst_flow_get_name() to ease error reporting.
18422
18423 2005-07-20  Wim Taymans  <wim@fluendo.com>
18424
18425         * gst/gstmessage.c: (gst_message_new_segment_start),
18426         (gst_message_new_segment_done), (gst_message_parse_segment_start),
18427         (gst_message_parse_segment_done):
18428         * gst/gstmessage.h:
18429         Added a bunch of messages for advanced seeking.
18430
18431         * gst/parse/grammar.y:
18432         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
18433         (gst_dpman_state_changed):
18434         Fix some new-pad -> pad-added signals
18435
18436 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18437
18438         * docs/manual/appendix-porting.xml:
18439         * docs/pwg/appendix-porting.xml:
18440           Document new-pad/state-change signal renames and the FixedList
18441           type rename.
18442
18443 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18444
18445         * docs/manual/advanced-autoplugging.xml:
18446         * docs/manual/basics-helloworld.xml:
18447         * docs/manual/basics-pads.xml:
18448         * docs/random/ds/0.9-suggested-changes:
18449         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
18450         * gst/gstelement.h:
18451         * gst/gstevent.h:
18452         * gst/gstformat.h:
18453         * gst/gstquery.h:
18454         * gst/gststructure.c: (gst_structure_value_get_generic_type),
18455         (gst_structure_parse_array), (gst_structure_parse_value):
18456         * gst/gstvalue.c: (gst_type_is_fixed),
18457         (gst_value_list_prepend_value), (gst_value_list_append_value),
18458         (gst_value_list_get_size), (gst_value_list_get_value),
18459         (gst_value_transform_array_string), (gst_value_serialize_array),
18460         (gst_value_deserialize_array), (gst_value_intersect_array),
18461         (gst_value_is_fixed), (_gst_value_initialize):
18462         * gst/gstvalue.h:
18463           GstElement::new-pad -> pad-added, GstElement::state-change ->
18464           state-changed, GstValueFixedList -> GstValueArray, add format and
18465           flags as their own arguments in gst_element_seek() (should improve
18466           "bindeability"), remove function generators since they don't work
18467           under a whole bunch of compilers (they were deprecated already
18468           anyway).
18469
18470 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18471
18472         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18473         (_gst_debug_register_funcptr):
18474         * gst/gstinfo.h:
18475           Fix illegal cast on some platforms (#309253).
18476
18477 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18478
18479         * gst/gstmessage.c: (gst_message_new_custom):
18480         * gst/gstmessage.h:
18481           Add _new_custom, make _new_application a macro to _new_custom.
18482
18483 2005-07-20  Wim Taymans  <wim@fluendo.com>
18484
18485         * gst/base/gstbasesrc.c: (gst_base_src_init),
18486         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18487         * gst/base/gstbasesrc.h:
18488         Add a gboolean to decide when to push out a discont.
18489
18490         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18491         (gst_queue_loop), (gst_queue_handle_src_query),
18492         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
18493         (gst_queue_set_property), (gst_queue_get_property):
18494         Some cleanups.
18495
18496         * tests/threadstate/threadstate1.c: (main):
18497         Make a thread test compile and run... very silly..
18498
18499
18500 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18501
18502         * docs/manual/appendix-porting.xml:
18503           Mention removal of libgstgconf-0.9.la and existence of gconf
18504           elements.
18505
18506 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18507
18508         * docs/pwg/advanced-clock.xml:
18509         * docs/pwg/appendix-porting.xml:
18510         * docs/pwg/intro-preface.xml:
18511         * docs/pwg/other-base.xml:
18512         * docs/pwg/other-manager.xml:
18513         * docs/pwg/other-nton.xml:
18514         * docs/pwg/other-ntoone.xml:
18515         * docs/pwg/other-oneton.xml:
18516         * docs/pwg/pwg.xml:
18517           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
18518           demuxer), remove n-to-n (was never written), fix some code examples
18519           and links and update the porting section to include all this.
18520
18521 2005-07-19  Wim Taymans  <wim@fluendo.com>
18522
18523         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
18524         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
18525         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
18526         (gst_queue_src_activate_push), (gst_queue_change_state),
18527         (gst_queue_get_property):
18528         * gst/gstqueue.h:
18529         Propagate GstFlowReturn more intelligently upstream and output
18530         an ERROR/EOS when streaming stopped due to fatal error.
18531
18532 2005-07-19  Wim Taymans  <wim@fluendo.com>
18533
18534         * tools/gst-launch.c: (check_intr), (event_loop), (main):
18535         Don't block forever for the state change to complete, the
18536         pipeline already did with a sensible timeout.
18537
18538 2005-07-19  Wim Taymans  <wim@fluendo.com>
18539
18540         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18541         Make sure we never call the create function is we
18542         got deactivated.
18543
18544 2005-07-19  Andy Wingo  <wingo@pobox.com>
18545
18546         * gst/parse/parse.l: Attempt to solve bug #172815.
18547
18548 2005-07-19  Wim Taymans  <wim@fluendo.com>
18549
18550         * docs/design/part-clocks.txt:
18551         * docs/design/part-events.txt:
18552         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
18553         Small docs updates.
18554         Only update the seeking values when we are not
18555         busy streaming.
18556
18557 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
18558
18559         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18560           Oops, ignore the result of gst_pad_push_event here.
18561
18562 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
18563
18564         * gst/base/gstbasesrc.c: (gst_base_src_loop),
18565         (gst_base_src_activate_push):
18566           Send discont event from the loop function, as pads
18567           aren't activated yet in the activate_push handler.
18568
18569         * gst/gstbin.c: (bin_bus_handler):
18570           Don't leak element name.
18571
18572 2005-07-18  Andy Wingo  <wingo@pobox.com>
18573
18574         * configure.ac: Use AS_LIBTOOL_TAGS.
18575
18576 2005-07-18  Wim Taymans  <wim@fluendo.com>
18577
18578         * docs/gst/gstreamer.types:
18579         Remove deleted types.
18580
18581 2005-07-18  Wim Taymans  <wim@fluendo.com>
18582
18583         * check/elements/gstfakesrc.c: (GST_START_TEST):
18584         * configure.ac:
18585         * gst/Makefile.am:
18586         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
18587         (init_popt_callback):
18588         * gst/gst.h:
18589         * gst/gst_private.h:
18590         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
18591         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
18592         * gst/gstbin.h:
18593         * gst/gstbus.h:
18594         * gst/gstconfig.h.in:
18595         * gst/gstelement.c: (gst_element_class_init),
18596         (gst_element_set_base_time), (gst_element_get_base_time),
18597         (iterator_fold_with_resync), (gst_element_change_state),
18598         (gst_element_dispose), (gst_element_get_bus):
18599         * gst/gstelement.h:
18600         * gst/gstelementfactory.h:
18601         * gst/gsterror.c: (_gst_core_errors_init):
18602         * gst/gsterror.h:
18603         * gst/gstevent.h:
18604         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18605         * gst/gstindex.c:
18606         * gst/gstinfo.c: (_gst_debug_init):
18607         * gst/gstmessage.c: (_gst_message_copy):
18608         * gst/gstmessage.h:
18609         * gst/gstminiobject.h:
18610         * gst/gstobject.c:
18611         * gst/gstobject.h:
18612         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18613         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
18614         * gst/gstpad.h:
18615         * gst/gstparse.h:
18616         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
18617         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18618         (gst_pipeline_get_last_stream_time):
18619         * gst/gstpipeline.h:
18620         * gst/gstpluginfeature.h:
18621         * gst/gstquery.h:
18622         * gst/gstscheduler.c:
18623         * gst/gstscheduler.h:
18624         * gst/gststructure.h:
18625         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
18626         (gst_task_finalize), (gst_task_func), (gst_task_create),
18627         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
18628         (gst_task_stop), (gst_task_pause):
18629         * gst/gsttask.h:
18630         * gst/gsttypefind.h:
18631         * gst/gsttypes.h:
18632         * gst/registries/gstlibxmlregistry.c: (load_feature),
18633         (gst_xml_registry_load), (gst_xml_registry_save_feature):
18634         * gst/registries/gstxmlregistry.c:
18635         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
18636         * gst/schedulers/threadscheduler.c:
18637         * libs/gst/control/dparammanager.h:
18638         * tools/gst-inspect.c: (print_element_list),
18639         (print_plugin_features), (print_element_features):
18640         * tools/gst-xmlinspect.c: (print_element_list),
18641         (print_plugin_info), (main):
18642         Removed plugable schedulers.
18643         Removed Scheduler/Manager from elements.
18644         Removed gsttypes.h, rearranged includes.
18645         Removed dependency pad<->element, element<>pipeline, and
18646         various others,  fix includes.
18647         implement gst_pad_get_parent() with gst_object_get_parent()
18648         Make GstTask sefcontained.
18649         Fix _get_state() on GstBin, it did not return ASYNC with a 0
18650         timeout.
18651         Fix endless loop in iterator_fold_with_resync.
18652
18653
18654 2005-07-18  Wim Taymans  <wim@fluendo.com>
18655
18656         * gst/Makefile.am:
18657         * gst/gstarch.h:
18658         Remove old file.
18659
18660 2005-07-18  Wim Taymans  <wim@fluendo.com>
18661
18662         * gst/Makefile.am:
18663         No more cothreads.h
18664
18665 2005-07-18  Wim Taymans  <wim@fluendo.com>
18666
18667         * gst/cothreads.c:
18668         * gst/cothreads.h:
18669         Let's remove these.
18670
18671 2005-07-18  Wim Taymans  <wim@fluendo.com>
18672
18673         * docs/design/part-dynamic.txt:
18674         * docs/design/part-events.txt:
18675         * docs/design/part-seeking.txt:
18676         Some more docs in the works.
18677
18678         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18679         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
18680         (gst_base_transform_setcaps), (gst_base_transform_get_size),
18681         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18682         (gst_base_transform_handle_buffer),
18683         (gst_base_transform_sink_activate_push),
18684         (gst_base_transform_src_activate_pull),
18685         (gst_base_transform_set_passthrough),
18686         (gst_base_transform_is_passthrough):
18687         Refcounting fixes.
18688
18689         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
18690         Cleanups.
18691
18692         * gst/gstevent.c: (gst_event_finalize):
18693         Set SRC to NULL.
18694
18695         * gst/gstutils.c: (gst_element_unlink),
18696         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
18697         (gst_pad_proxy_setcaps):
18698         * gst/gstutils.h:
18699         Add _get_parent_element() to get a pads parent as an element.
18700
18701 2005-07-18  Wim Taymans  <wim@fluendo.com>
18702
18703         * check/gst/gstbin.c: (GST_START_TEST):
18704         Remove bogus test.
18705
18706 2005-07-18  Wim Taymans  <wim@fluendo.com>
18707
18708         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
18709         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
18710         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
18711         (gst_base_sink_event), (gst_base_sink_do_sync),
18712         (gst_base_sink_chain), (gst_base_sink_loop),
18713         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
18714         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18715         Refcounting fixes.
18716         Fix logic for returning ASYNC when not prerolled.
18717
18718 2005-07-18  Wim Taymans  <wim@fluendo.com>
18719
18720         * gst/gstqueue.c: (gst_queue_handle_sink_event):
18721         Fix nasty refcount bug.
18722
18723 2005-07-16 Philippe Khalaf <burger@speedy.org>
18724
18725         * gst/elements/gstfdsrc.c:
18726         * gst/elements/gstfdsrc.h:
18727         * gst/elements/gstelements.c:
18728         * gst/elements/Makefile.am:
18729         Ported fdsrc to 0.9.
18730
18731 2005-07-16  Wim Taymans  <wim@fluendo.com>
18732
18733         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18734         (gst_base_sink_do_sync):
18735         Fix compile error.
18736
18737 2005-07-16  Wim Taymans  <wim@fluendo.com>
18738
18739         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18740         (gst_base_sink_event), (gst_base_sink_get_times),
18741         (gst_base_sink_do_sync), (gst_base_sink_change_state):
18742         * gst/base/gstbasesink.h:
18743         Store and use discont values when syncing buffers as described
18744         in design docs.
18745         
18746         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18747         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
18748         (gst_base_src_activate_push):
18749         Push discont event when starting.
18750
18751         * gst/elements/gstidentity.c: (gst_identity_transform):
18752         Small cleanups.
18753
18754         * gst/gstbin.c: (gst_bin_change_state):
18755         Small cleanups in base_time  distribution.
18756
18757         * gst/gstelement.c: (gst_element_set_base_time),
18758         (gst_element_get_base_time), (gst_element_change_state):
18759         * gst/gstelement.h:
18760         Added methods for the base_time of the element.
18761         Some MT fixes.
18762
18763         * gst/gstpipeline.c: (gst_pipeline_send_event),
18764         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18765         (gst_pipeline_get_last_stream_time):
18766         * gst/gstpipeline.h:
18767         MT fixes.
18768         Handle seeking as described in design doc, remove stream_time
18769         hack.
18770         Cleanups clock and stream_time selection code. Added accessors
18771         for the stream_time.
18772         
18773
18774 2005-07-16  Andy Wingo  <wingo@pobox.com>
18775
18776         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
18777         (#305291).
18778
18779 2005-07-16  Wim Taymans  <wim@fluendo.com>
18780
18781         * check/gst/gstbin.c: (GST_START_TEST):
18782         Make elements silent as the deep_notify refs the
18783         parent, which might make the test fail.
18784
18785         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18786         Don't hold the lock for too long.
18787
18788 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
18789
18790         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18791           Don't unref the caps we passed to gst_caps_make_writable() after
18792           passing them. gst_caps_make_writable() will do that for us.
18793
18794 2005-07-15  Andy Wingo  <wingo@pobox.com>
18795
18796         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
18797         (#157311).
18798
18799         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
18800         own marshalling function for the handoff signal. Properly type the
18801         buffer as a buffer. Fixes some warnings. Should do a more general
18802         solution.
18803         (gst_identity_class_init): Plug into the right marshaller.
18804
18805 2005-07-15  Wim Taymans  <wim@fluendo.com>
18806
18807         * docs/design/part-TODO.txt:
18808         * docs/design/part-clocks.txt:
18809         * docs/design/part-element-sink.txt:
18810         * docs/design/part-events.txt:
18811         * docs/design/part-gstpipeline.txt:
18812         Updated docs, mostly DISCONT related.
18813
18814 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
18815
18816         * docs/pwg/building-pads.xml:
18817           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
18818
18819 2005-07-15  Andy Wingo  <wingo@pobox.com>
18820
18821         * tools/gst-typefind.c: Update, add copyright block.
18822
18823         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
18824         Normalize and truncate caps before fixation.
18825
18826         * gst/gstcaps.h:
18827         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
18828         discards all but the first structure from its argument.
18829
18830 2005-07-15  Wim Taymans  <wim@fluendo.com>
18831
18832         * gst/base/gstbasetransform.c: (gst_base_transform_init),
18833         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
18834         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18835         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18836         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
18837         (gst_base_transform_chain), (gst_base_transform_change_state),
18838         (gst_base_transform_set_passthrough),
18839         (gst_base_transform_is_passthrough):
18840         * gst/base/gstbasetransform.h:
18841         Make passthrough work using the bufferpools.
18842         Changed API a bit, subclasses have to write into a buffer
18843         provided by the base class.
18844         More debug info in nego functions.
18845         
18846         * gst/elements/gstidentity.c: (gst_identity_init),
18847         (gst_identity_transform):
18848         Port to new base class.
18849
18850 2005-07-15  Wim Taymans  <wim@fluendo.com>
18851
18852         * gst/gstmessage.c: (gst_message_new_state_changed):
18853         * tools/gst-launch.c: (event_loop), (main):
18854         Totally dump messages in -launch with the -m option.
18855         Fix message name for State messages,
18856
18857 2005-07-14  Wim Taymans  <wim@fluendo.com>
18858
18859         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18860         Post error messages on errors.
18861
18862 2005-07-14  Wim Taymans  <wim@fluendo.com>
18863
18864         * gst/gstcaps.c: (gst_caps_do_simplify):
18865         Remove debug info.
18866
18867         * gst/gsterror.h:
18868         Define error for stream stopped.
18869
18870         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
18871         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
18872         Do proper return values.
18873
18874         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18875         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
18876         (gst_pad_get_range):
18877         Better return values.
18878
18879         * gst/gstpad.h:
18880         Reorganise return values, add macro to check for fatal errors.
18881
18882         * gst/gstqueue.c: (gst_queue_chain):
18883         Return proper GstFlowReturn values,
18884
18885 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18886
18887         * docs/gst/gstreamer-sections.txt:
18888         * docs/gst/gstreamer.types:
18889         * docs/gst/tmpl/gst.sgml:
18890         * docs/gst/tmpl/gstbasesink.sgml:
18891         * docs/gst/tmpl/gstbasesrc.sgml:
18892         * docs/gst/tmpl/gstbasetransform.sgml:
18893         * docs/gst/tmpl/gstbin.sgml:
18894         * docs/gst/tmpl/gstbuffer.sgml:
18895         * docs/gst/tmpl/gstcaps.sgml:
18896         * docs/gst/tmpl/gstclock.sgml:
18897         * docs/gst/tmpl/gstcompat.sgml:
18898         * docs/gst/tmpl/gstconfig.sgml:
18899         * docs/gst/tmpl/gstelement.sgml:
18900         * docs/gst/tmpl/gstelementdetails.sgml:
18901         * docs/gst/tmpl/gstelementfactory.sgml:
18902         * docs/gst/tmpl/gstenumtypes.sgml:
18903         * docs/gst/tmpl/gsterror.sgml:
18904         * docs/gst/tmpl/gstevent.sgml:
18905         * docs/gst/tmpl/gstfakesink.sgml:
18906         * docs/gst/tmpl/gstfakesrc.sgml:
18907         * docs/gst/tmpl/gstfilesink.sgml:
18908         * docs/gst/tmpl/gstfilesrc.sgml:
18909         * docs/gst/tmpl/gstfilter.sgml:
18910         * docs/gst/tmpl/gstformat.sgml:
18911         * docs/gst/tmpl/gstghostpad.sgml:
18912         * docs/gst/tmpl/gstimplementsinterface.sgml:
18913         * docs/gst/tmpl/gstindex.sgml:
18914         * docs/gst/tmpl/gstindexfactory.sgml:
18915         * docs/gst/tmpl/gstinfo.sgml:
18916         * docs/gst/tmpl/gstiterator.sgml:
18917         * docs/gst/tmpl/gstmacros.sgml:
18918         * docs/gst/tmpl/gstmemchunk.sgml:
18919         * docs/gst/tmpl/gstminiobject.sgml:
18920         * docs/gst/tmpl/gstobject.sgml:
18921         * docs/gst/tmpl/gstpad.sgml:
18922         * docs/gst/tmpl/gstpadtemplate.sgml:
18923         * docs/gst/tmpl/gstparse.sgml:
18924         * docs/gst/tmpl/gstpipeline.sgml:
18925         * docs/gst/tmpl/gstplugin.sgml:
18926         * docs/gst/tmpl/gstpluginfeature.sgml:
18927         * docs/gst/tmpl/gstquery.sgml:
18928         * docs/gst/tmpl/gstqueue.sgml:
18929         * docs/gst/tmpl/gstregistry.sgml:
18930         * docs/gst/tmpl/gstregistrypool.sgml:
18931         * docs/gst/tmpl/gstscheduler.sgml:
18932         * docs/gst/tmpl/gstschedulerfactory.sgml:
18933         * docs/gst/tmpl/gststructure.sgml:
18934         * docs/gst/tmpl/gstsystemclock.sgml:
18935         * docs/gst/tmpl/gsttaglist.sgml:
18936         * docs/gst/tmpl/gsttagsetter.sgml:
18937         * docs/gst/tmpl/gsttrace.sgml:
18938         * docs/gst/tmpl/gsttrashstack.sgml:
18939         * docs/gst/tmpl/gsttypefind.sgml:
18940         * docs/gst/tmpl/gsttypefindfactory.sgml:
18941         * docs/gst/tmpl/gsttypes.sgml:
18942         * docs/gst/tmpl/gsturihandler.sgml:
18943         * docs/gst/tmpl/gsturitype.sgml:
18944         * docs/gst/tmpl/gstutils.sgml:
18945         * docs/gst/tmpl/gstvalue.sgml:
18946         * docs/gst/tmpl/gstversion.sgml:
18947         * docs/gst/tmpl/gstxml.sgml:
18948         * docs/libs/tmpl/gstcontrol.sgml:
18949         * docs/libs/tmpl/gstdataprotocol.sgml:
18950         * docs/libs/tmpl/gstdparam.sgml:
18951         * docs/libs/tmpl/gstdplinint.sgml:
18952         * docs/libs/tmpl/gstdpman.sgml:
18953         * docs/libs/tmpl/gstdpsmooth.sgml:
18954         * docs/libs/tmpl/gstgetbits.sgml:
18955         * docs/libs/tmpl/gstunitconvert.sgml:
18956         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
18957         (gst_push_src_base_init), (gst_push_src_class_init),
18958         (gst_push_src_init), (gst_push_src_create):
18959         * gst/base/gstpushsrc.h:
18960         * gst/elements/gstelements.c:
18961         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
18962         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
18963         (gst_fake_sink_init), (gst_fake_sink_set_property),
18964         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
18965         (gst_fake_sink_event), (gst_fake_sink_preroll),
18966         (gst_fake_sink_render), (gst_fake_sink_change_state):
18967         * gst/elements/gstfakesink.h:
18968         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18969         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18970         (gst_fake_src_base_init), (gst_fake_src_class_init),
18971         (gst_fake_src_init), (gst_fake_src_event_handler),
18972         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
18973         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
18974         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
18975         (gst_fake_src_create_buffer), (gst_fake_src_create),
18976         (gst_fake_src_start), (gst_fake_src_stop):
18977         * gst/elements/gstfakesrc.h:
18978         * gst/elements/gstfilesink.c: (_do_init),
18979         (gst_file_sink_base_init), (gst_file_sink_class_init),
18980         (gst_file_sink_init), (gst_file_sink_dispose),
18981         (gst_file_sink_set_location), (gst_file_sink_set_property),
18982         (gst_file_sink_get_property), (gst_file_sink_open_file),
18983         (gst_file_sink_close_file), (gst_file_sink_query),
18984         (gst_file_sink_event), (gst_file_sink_render),
18985         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
18986         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
18987         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
18988         * gst/elements/gstfilesink.h:
18989         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
18990         (gst_file_src_class_init), (gst_file_src_init),
18991         (gst_file_src_finalize), (gst_file_src_set_location),
18992         (gst_file_src_set_property), (gst_file_src_get_property),
18993         (gst_file_src_map_region), (gst_file_src_map_small_region),
18994         (gst_file_src_create_mmap), (gst_file_src_create_read),
18995         (gst_file_src_create), (gst_file_src_is_seekable),
18996         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
18997         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
18998         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
18999         (gst_file_src_uri_handler_init):
19000         * gst/elements/gstfilesrc.h:
19001           more autistic cleanliness in functions/names/defines
19002
19003 2005-07-13  Andy Wingo  <wingo@pobox.com>
19004
19005         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
19006         source couldn't negotiate.
19007
19008         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
19009         connections again.
19010
19011         * gst/gstutils.h:
19012         * gst/gstutils.c (gst_element_link_pads_filtered): New old
19013         function. I am channeling Hades. Put your boots on suckers!!!
19014
19015 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19016
19017         * testsuite/caps/Makefile.am:
19018         * testsuite/caps/value_compare.c:
19019         * testsuite/caps/value_intersect.c:
19020         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19021           move two testsuite apps over to the check dir
19022
19023 2005-07-12  Wim Taymans  <wim@fluendo.com>
19024
19025         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
19026         Added more debug info in the negotiate process.
19027
19028         * gst/gstmessage.h:
19029         Prepare for segment playback.
19030
19031         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
19032         Better debugging.
19033
19034         * gst/gstutils.c:
19035         Some more docs.
19036
19037         * tools/gst-launch.c: (main):
19038         NULL pipeline on errors.
19039
19040 2005-07-12  Andy Wingo  <wingo@pobox.com>
19041
19042         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
19043         not it comes from a malloc region. Make sure our copy gets freed.
19044
19045 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19046
19047         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19048         * check/gst/gstmessage.c: (GST_START_TEST):
19049         * check/gst/gststructure.c: (GST_START_TEST),
19050         (gst_structure_suite), (main):
19051           more testing
19052         * gst/gstelement.c: (gst_element_message_full):
19053           clean up GError and debug string now that they get copied
19054         * gst/gstmessage.c: (gst_message_new_error),
19055         (gst_message_new_warning), (gst_message_parse_error),
19056         (gst_message_parse_warning):
19057           use GST_TYPE_G_ERROR for structure_new, and take copies of
19058           arguments, so that we don't mess up refcounting
19059
19060 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19061
19062         * check/Makefile.am:
19063           add per-test valgrind targets
19064         * check/gst-libs/gdp.c: (GST_START_TEST),
19065         (gst_data_protocol_suite), (main):
19066           clean up
19067
19068 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19069
19070         * check/Makefile.am:
19071           instate more valgrindable tests
19072         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19073         (GST_START_TEST), (fakesrc_suite):
19074         * check/gst/gstpad.c: (GST_START_TEST):
19075         * check/gst/gststructure.c: (GST_START_TEST):
19076           fix test leaks
19077         * docs/gst/tmpl/gstminiobject.sgml:
19078         * gst/gstpad.c: (gst_pad_finalize):
19079           fix the static mutex leak
19080
19081 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19082
19083         * check/Makefile.am:
19084           add two more tests for valgrinding
19085         * check/gst/gstvalue.c: (GST_START_TEST):
19086           test refcount of deserialized buffer, found a leak
19087         * docs/gst/gstreamer-docs.sgml:
19088         * docs/gst/gstreamer-sections.txt:
19089         * docs/gst/gstreamer.types:
19090         * docs/gst/tmpl/gstminiobject.sgml:
19091           add miniobject to docs
19092         * gst/gstminiobject.c:
19093           add some docs
19094         * gst/gstvalue.c: (gst_value_deserialize_buffer),
19095         (gst_string_unwrap):
19096           fix a hard-to-find invalid write for one of the tests
19097           fix a leak for deserialized buffers
19098
19099 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19100
19101         * docs/pwg/advanced-events.xml:
19102         * docs/pwg/advanced-request.xml:
19103         * docs/pwg/advanced-scheduling.xml:
19104         * docs/pwg/appendix-porting.xml:
19105         * docs/pwg/building-boiler.xml:
19106         * docs/pwg/intro-preface.xml:
19107         * docs/pwg/other-ntoone.xml:
19108           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
19109           of example code and explanation for pad activation, loop() and
19110           getrange() functions and a bit more. Remove old comments pointing
19111           to loop-functions.
19112         * examples/pwg/Makefile.am:
19113           Add loop/getrange examples.
19114
19115 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19116
19117         * configure.ac:
19118           check for valgrind binary + some fixes
19119         * check/gst.supp:
19120           valgrind suppressions for the tests
19121         * check/Makefile.am:
19122           add a valgrind: target that valgrinds the unit tests
19123         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
19124         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19125         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19126         * check/gst/gstghostpad.c:
19127           added some cleanup
19128         * check/gst/gstdata.c:
19129           removed
19130         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
19131         (thread_unref), (gst_mini_object_suite), (main):
19132           added
19133         * gst/gst.c: (gst_deinit):
19134         * gst/gst.h:
19135           add a method to clean up.
19136         * gst/gstsystemclock.c: (gst_system_clock_dispose),
19137         (gst_system_clock_obtain):
19138           allow for disposing the system clock.
19139         * tools/gst-launch.c: (main):
19140           deinit
19141
19142 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19143
19144         * docs/gst/tmpl/gstbasesrc.sgml:
19145         * docs/gst/tmpl/gstfakesrc.sgml:
19146         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19147         (gst_base_src_init), (gst_base_src_set_property),
19148         (gst_base_src_get_property), (gst_base_src_get_range),
19149         (gst_base_src_start):
19150         * gst/base/gstbasesrc.h:
19151           add num-buffers property
19152         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19153         (gst_fakesrc_init), (gst_fakesrc_set_property),
19154         (gst_fakesrc_get_property), (gst_fakesrc_create),
19155         (gst_fakesrc_start):
19156           remove num-buffers property
19157
19158 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19159
19160         * docs/gst/gstreamer-sections.txt:
19161         * docs/gst/tmpl/gstbasesink.sgml:
19162         * docs/gst/tmpl/gstbasesrc.sgml:
19163         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19164         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19165         (gst_base_sink_finalize), (gst_base_sink_set_clock),
19166         (gst_base_sink_set_property), (gst_base_sink_get_property),
19167         (gst_base_sink_handle_object), (gst_base_sink_event),
19168         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19169         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
19170         (gst_base_sink_loop), (gst_base_sink_deactivate),
19171         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
19172         (gst_base_sink_change_state):
19173         * gst/base/gstbasesink.h:
19174         * gst/base/gstbasesrc.h:
19175         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
19176         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19177         (gst_filesink_init):
19178           more macro splitting
19179
19180 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19181
19182         * gst/gstelement.c: (gst_element_get_bus):
19183           add debug
19184         * tools/gst-launch.c: (check_intr), (event_loop):
19185           fix bus leaks
19186
19187 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19188
19189         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
19190           fix a caps leak
19191
19192 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19193
19194         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19195         (gst_base_src_finalize):
19196           add finalize method and clean up properly
19197         * gst/gstpipeline.c: (gst_pipeline_dispose):
19198           add debug
19199
19200 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19201
19202         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
19203         (gst_bin_suite):
19204           add more things to check
19205         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19206         * gst/gstelement.c:
19207           more debug
19208
19209 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19210
19211         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19212         (GST_START_TEST), (fakesrc_suite):
19213         * check/gst-libs/gdp.c: (GST_START_TEST):
19214         * check/gst/gst.c: (GST_START_TEST):
19215         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19216         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19217         * check/gst/gstbus.c: (GST_START_TEST):
19218         * check/gst/gstcaps.c: (GST_START_TEST):
19219         * check/gst/gstdata.c: (GST_START_TEST):
19220         * check/gst/gstelement.c: (GST_START_TEST):
19221         * check/gst/gstghostpad.c: (GST_START_TEST):
19222         * check/gst/gstiterator.c: (GST_START_TEST):
19223         * check/gst/gstmessage.c: (GST_START_TEST):
19224         * check/gst/gstobject.c: (GST_START_TEST):
19225         * check/gst/gstpad.c: (GST_START_TEST):
19226         * check/gst/gststructure.c: (GST_START_TEST):
19227         * check/gst/gstsystemclock.c: (GST_START_TEST),
19228         (gst_systemclock_suite):
19229         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19230         * check/gst/gstvalue.c: (GST_START_TEST):
19231         * check/pipelines/cleanup.c: (GST_START_TEST):
19232         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19233         * check/states/sinks.c: (GST_START_TEST):
19234         * check/gstcheck.c: (gst_check_init):
19235         * check/gstcheck.h:
19236           add debugging category
19237           use GST_START_TEST now, so we add a debug line
19238
19239 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19240
19241         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
19242           add test for state change message on a bin
19243         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
19244           add another test
19245         * gst/gstbin.c: (gst_bin_init):
19246         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
19247         * gst/gstelement.c: (gst_element_post_message),
19248         (gst_element_set_state):
19249         * gst/gstelementfactory.c: (gst_element_factory_create):
19250         * gst/gstmessage.c: (gst_message_new):
19251         * gst/gstscheduler.c:
19252           various debugging additions and cleanups
19253
19254 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19255
19256         * check/Makefile.am:
19257         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
19258         (main):
19259           adding tests for elements
19260         * gst/gstelement.c: (gst_element_dispose):
19261
19262 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19263
19264         * gst/registries/gstlibxmlregistry.c: (load_feature):
19265           plug more leaks.  A simple gst_init() now is leakfree, yay.
19266
19267 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19268
19269         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
19270         (gst_xml_registry_load):
19271           plug another memleak
19272
19273 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19274
19275         * configure.ac:
19276           use GST_SET_ERROR_CFLAGS
19277         * docs/faq/cvs.xml:
19278           change to ERROR_CFLAGS
19279
19280 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19281
19282         * configure.ac:
19283           make GST_ERROR_CFLAGS overridable and re-enable Werror
19284         * docs/faq/cvs.xml:
19285           add a note about error CFLAGS
19286         * docs/gst/tmpl/gstfakesrc.sgml:
19287         * gst/elements/gstfakesrc.c:
19288           comment out some unused code
19289         * gst/gst.c: (split_and_iterate):
19290         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
19291         (load_feature):
19292           plug some memleaks
19293
19294 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19295
19296         * common/Makefile.am:
19297         * common/gtk-doc.mak:
19298         * docs/gst/Makefile.am:
19299           factor out gtk-doc.mak
19300
19301 2005-07-07  Wim Taymans  <wim@fluendo.com>
19302
19303         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
19304         (gst_thread_scheduler_dispose):
19305         Unlock the STREAM_LOCK completely.
19306
19307 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19308
19309         * check/Makefile.am:
19310         * check/elements/.cvsignore:
19311         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19312         (START_TEST), (fakesrc_suite), (main):
19313         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19314         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19315         (gst_fakesrc_create), (gst_fakesrc_start):
19316         * gst/elements/gstfakesrc.h:
19317           adding a first element test
19318
19319 2005-07-07  Andy Wingo  <wingo@pobox.com>
19320
19321         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
19322         debug message.
19323
19324 2005-07-07  Wim Taymans  <wim@fluendo.com>
19325
19326         * gst/gstquery.c:
19327         * gst/gstquery.h:
19328         Remove old types
19329
19330 2005-07-07  Wim Taymans  <wim@fluendo.com>
19331
19332         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19333         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
19334         Allow subclasses to implement their own negotiation.
19335
19336 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19337
19338         * docs/design/part-gstbin.txt:
19339         * docs/design/part-gstpipeline.txt:
19340           Update design notes to reflect the movement of
19341           responsibility for bus handling from GstPipeline to
19342           GstBin
19343
19344 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19345
19346         * configure.ac:
19347           Remove unnecessary queue2/3/4 examples.
19348
19349 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19350
19351         * examples/Makefile.am:
19352         * examples/helloworld/helloworld.c: (event_loop), (main):
19353         * examples/queue/queue.c: (event_loop), (main):
19354         * examples/queue2/queue2.c: (main):
19355           Update a couple of the examples to work again.
19356
19357         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19358         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
19359          Spelling corrections and extra debug.
19360         
19361         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
19362         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
19363         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
19364         * gst/gstbin.h:
19365         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19366         (gst_pipeline_change_state):
19367         * gst/gstpipeline.h:
19368           Move the bus handler for children to the GstBin, and create a
19369           separate bus for receiving messages from children to the one the
19370           bus sends 'upwards' on.
19371
19372 2005-07-06  Wim Taymans  <wim@fluendo.com>
19373
19374         * gst/base/README:
19375         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19376         (gst_base_sink_handle_object), (gst_base_sink_loop),
19377         (gst_base_sink_change_state):
19378         * gst/base/gstbasesink.h:
19379         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19380         (gst_base_src_init), (gst_base_src_setcaps),
19381         (gst_base_src_getcaps), (gst_base_src_loop),
19382         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
19383         (gst_base_src_start), (gst_base_src_change_state):
19384         * gst/base/gstbasesrc.h:
19385         Make basesrc negotiate.
19386         Handle the case where preroll fails in basesink.
19387         Update README.
19388
19389 2005-07-06  Wim Taymans  <wim@fluendo.com>
19390
19391         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
19392         Implement the fixate function.
19393         Clean up acceptcaps.
19394
19395 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19396
19397         * docs/pwg/building-filterfactory.xml:
19398         * docs/pwg/pwg.xml:
19399           Remove never-written filter-factory chapter; I'll add the various
19400           base classes to part 4 ("other element types") later on.
19401
19402 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19403
19404         * docs/pwg/advanced-negotiation.xml:
19405         * docs/pwg/building-boiler.xml:
19406         * docs/pwg/building-pads.xml:
19407         * docs/pwg/pwg.xml:
19408         * examples/pwg/Makefile.am:
19409           Add a chapter on caps negotiation, simplify the original code
19410           samples a bit w.r.t. caps negotiation, add link to the advanced
19411           section. Add a bunch of examples showing different use cases of
19412           different types of caps negotiation. Upstream renegotiation isn't
19413           fully documented yet since nobody knows how that works.
19414
19415 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19416
19417         * check/gst/gstpad.c:
19418         * check/gstcheck.c:
19419         * gst/gstpad.c: (gst_pad_get_internal_links_default):
19420           if pad has no parent, return NULL as list of internal links
19421
19422 2005-07-05  Andy Wingo  <wingo@pobox.com>
19423
19424         * gst/elements/gstfilesrc.c:
19425         * gst/elements/gstfakesrc.c: 
19426         * gst/base/gstpushsrc.c:
19427         * gst/base/gstbasesrc.h: 
19428         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
19429         
19430 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
19431
19432         * Makefile.am:
19433           better report generation target (lcov needs a patch)
19434
19435 2005-07-05  Andy Wingo  <wingo@pobox.com>
19436
19437         * gst/elements, testsuite: Null if we got it...
19438
19439 2005-07-05  Wim Taymans  <wim@fluendo.com>
19440
19441         * configure.ac:
19442         * libs/gst/dataprotocol/Makefile.am:
19443         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
19444         * libs/gst/dataprotocol/dataprotocol.h:
19445         * pkgconfig/Makefile.am:
19446         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
19447         * pkgconfig/gstreamer-dataprotocol.pc.in:
19448         Ported dataprotol to 0.9. 
19449         Added pkgconfig files.
19450
19451 2005-07-05  Andy Wingo  <wingo@pobox.com>
19452
19453         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
19454         Default to returning TRUE for the case when tranform_caps returns
19455         a fixed caps, like for identity or volume.
19456
19457         * check/gst/gstbus.c (pound_bus_with_messages): 
19458         * check/gst/gstmessage.c (START_TEST): 
19459         * check/pipelines/simple_launch_lines.c (got_handoff): Application
19460         message API change.
19461
19462         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
19463         logic weaks here: always run transform_caps, trying passthrough
19464         operation only if the original caps intersects with the transform.
19465
19466         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
19467         source and sink caps.
19468
19469         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
19470         Intersect the peer caps with the pad template before going into
19471         transform_caps.
19472         (gst_base_transform_transform_caps): More debugging.
19473
19474         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
19475         src argument.
19476
19477 2005-07-04  Edward Hervey  <edward@fluendo.com>
19478
19479         * gst/gstutils.c:
19480         * gst/gstutils.h:
19481         (gst_pad_add_*_probe): now returns the signal id for better wrapping
19482         in bindings.
19483
19484 2005-07-04  Andy Wingo  <wingo@pobox.com>
19485
19486         * check/gst/gstpad.c: Only set explicit caps on pads.
19487
19488 2005-07-01  Andy Wingo  <wingo@pobox.com>
19489
19490         * tests/network-clock.scm: Commentary update.
19491
19492         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
19493         Didn't really make sense, not implementable with basetransform,
19494         etc.
19495         (gst_identity_transform): Unref inbuf via make_writable. Feeble
19496         attempt at implementing the sync property, needs an unlock method.
19497
19498         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
19499         New func, by default returns the same caps (the identity
19500         transformation).
19501         (gst_base_transform_getcaps): Uses transform_caps to return
19502         something sensible.
19503         (gst_base_transform_setcaps): Complicated logic to get caps on
19504         both pads, even if they are different, and to call set_caps once
19505         for every time both pads get their caps set.
19506         (gst_base_transform_handle_buffer): Give the ref to the transform
19507         function. Allows in-place modification of the buffer.
19508
19509         * gst/base/gstbasetransform.h (transform_caps): New class method.
19510         Given caps on one side, what can I do on the other.
19511         (set_caps): Take two caps, one for each side of the element.
19512
19513         * gst/gstpad.h:
19514         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
19515         caps in place. This is safe because we can check the mutability of
19516         the caps, and a good idea because fixate functions are just called
19517         as a matter of last resort. (Not actually implemented.)
19518         (gst_pad_set_caps): If the caps we're setting is actually the same
19519         as the existing pad caps, just update the pointer without calling
19520         setcaps. Assert that caps is either NULL or fixed, as per the
19521         docs.
19522
19523         * gst/gstghostpad.c: Update for fixate changes.
19524
19525 2005-07-02  Andy Wingo  <wingo@pobox.com>
19526
19527         * gst/gstcaps.c:
19528         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
19529         two refcounts makes it immutable, which is enough. Doc more.
19530
19531 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
19532
19533         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
19534           Put the mini_object into GValue as a mini_object,
19535           not a gpointer, since that's how we declared
19536           the signal.
19537
19538 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19539
19540         * examples/pwg/Makefile.am:
19541           Fix buildbot again.
19542
19543 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19544
19545         * docs/pwg/building-testapp.xml:
19546           Add extra check.
19547         * examples/pwg/Makefile.am:
19548           Fix buildbot.
19549
19550 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19551
19552         * configure.ac:
19553         * examples/Makefile.am:
19554         * examples/pwg/Makefile.am:
19555         * examples/pwg/extract.pl:
19556           Enable building the PWG examples.
19557         * docs/pwg/advanced-interfaces.xml:
19558           Add URI interface stub.
19559         * docs/pwg/advanced-types.xml:
19560         * docs/pwg/other-autoplugger.xml:
19561         * docs/pwg/appendix-porting.xml:
19562         * docs/pwg/pwg.xml:
19563           Add porting guide (mostly stubs), remove autoplugging (see ADM).
19564         * docs/pwg/building-boiler.xml:
19565         * docs/pwg/building-chainfn.xml:
19566         * docs/pwg/building-pads.xml:
19567         * docs/pwg/building-props.xml:
19568         * docs/pwg/building-state.xml:
19569         * docs/pwg/building-testapp.xml:
19570           Update the building-*.xml parts for 0.9 changes. All examples
19571           code blocks compile in examples/pwg/*.
19572
19573 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19574
19575         * docs/manual/advanced-autoplugging.xml:
19576         * docs/manual/appendix-checklist.xml:
19577         * docs/manual/appendix-integration.xml:
19578         * docs/manual/highlevel-components.xml:
19579           Fix playbin/decodebin examples, update docs a bit, mention bus
19580           instead of signals in various places, mention kmplayer and
19581           kaffeine since they have a working GStreamer backend in the KDE
19582           section.
19583
19584 2005-06-30  Wim Taymans  <wim@fluendo.com>
19585
19586         * CHANGES-0.9:
19587         * docs/design/draft-ghostpads.txt:
19588         * docs/design/draft-push-pull.txt:
19589         * docs/design/draft-query.txt:
19590         * docs/design/part-TODO.txt:
19591         * docs/design/part-query.txt:
19592         Added CHANGES-0.9 doc, updated status of other docs.
19593         
19594         * gst/gstquery.h:
19595         Remove "hmm" macro
19596
19597 2005-06-30  Wim Taymans  <wim@fluendo.com>
19598
19599         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19600         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19601         (gst_base_sink_change_state):
19602         * gst/base/gstbasesink.h:
19603         Some tweaks, only EOS and a buffer complete a preroll.
19604
19605 2005-06-30  Andy Wingo  <wingo@pobox.com>
19606
19607         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
19608         activate_push down to the internal pad as well.
19609
19610 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
19611
19612         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19613
19614         * gst/gsttaginterface.c:
19615           Some documentation fixes (#307394 and #307397).
19616
19617 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
19618
19619         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19620
19621         * gst/gstvalue.c: (gst_value_intersect_list):
19622           Fix memleak (#309125).
19623
19624 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19625
19626         * docs/manual/advanced-dataaccess.xml:
19627           Fix fakesrc example to compile; doesn't work, bug somewhere...?
19628         * docs/manual/basics-pads.xml:
19629           Add reference for filtered caps to above chapter.
19630
19631 2005-06-30  Wim Taymans  <wim@fluendo.com>
19632
19633         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
19634         (gst_bin_change_state):
19635         Probes are gone.
19636         Lame attempt at making the state change function a bit
19637         more readable.
19638
19639 2005-06-30  Wim Taymans  <wim@fluendo.com>
19640
19641         * docs/design/part-clocks.txt:
19642         * docs/design/part-element-sink.txt:
19643         * docs/design/part-events.txt:
19644         * docs/design/part-preroll.txt:
19645         * docs/design/part-states.txt:
19646         Some more tweeks and additions to the docs.
19647
19648 2005-06-30  Wim Taymans  <wim@fluendo.com>
19649
19650         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19651         (default_have_data), (gst_pad_class_init), (gst_pad_init),
19652         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19653         (gst_pad_check_pull_range), (gst_pad_get_range),
19654         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
19655         * gst/gstpad.h:
19656         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
19657         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19658         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19659         (gst_pad_remove_buffer_probe):
19660         Removed atomic operations, use existing LOCK.
19661         Move exception handling out of main code path.
19662
19663 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19664
19665         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19666         (silly_return_true_function), (gst_pad_class_init),
19667         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19668         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
19669         (gst_pad_send_event):
19670           Fix accumulator, add default value by using _emitv() instead
19671           of _emit() for signal emission.
19672
19673 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19674
19675         * docs/manual/advanced-dataaccess.xml:
19676         * examples/manual/Makefile.am:
19677           Add probe example.
19678         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
19679           Make work (??).
19680
19681 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
19682
19683         * gst/elements/gstfilesink.c: (gst_filesink_render):
19684           Simplify code so that we don't have to handle short
19685           writes and return GST_FLOW_ERROR if an error occured.
19686
19687 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19688
19689         * docs/gst/gstreamer-docs.sgml:
19690           Remove probes more.
19691
19692 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19693
19694         * docs/gst/gstreamer-sections.txt:
19695         * docs/gst/tmpl/gstpad.sgml:
19696         * docs/gst/tmpl/gstprobe.sgml:
19697         * gst/Makefile.am:
19698         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19699         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
19700         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
19701         (gst_pad_push_event), (gst_pad_send_event):
19702         * gst/gstpad.h:
19703         * gst/gstutils.c: (gst_pad_add_data_probe),
19704         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19705         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19706         (gst_pad_remove_buffer_probe):
19707         * gst/gstutils.h:
19708           Remove old probes, add new g-signal-based probes and some utility
19709           functions.
19710
19711 2005-06-29  Edward Hervey  <edward@fluendo.com>
19712
19713         * gst/gstelementfactory.c:
19714         * gst/gstutils.h:
19715         * gst/gstutils.c:
19716         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
19717         the definition to the header file.
19718
19719 2005-06-29  Andy Wingo  <wingo@pobox.com>
19720
19721         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
19722         plugins from the source directory.
19723
19724 2005-06-29  Wim Taymans  <wim@fluendo.com>
19725
19726         * docs/gst/tmpl/gstbuffer.sgml:
19727         * docs/gst/tmpl/gstclock.sgml:
19728         Some fixings for blantently wrong text.
19729
19730 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19731
19732         * check/Makefile.am:
19733         * gst/gst.c: (add_path_func), (init_pre):
19734         * gst/gstregistry.c: (gst_registry_add_path):
19735           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
19736           only scan the GST_PLUGIN_PATH locations, and not add
19737           system locations
19738
19739 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19740
19741         * docs/gst/gstreamer-sections.txt:
19742         * docs/gst/tmpl/gstbasesrc.sgml:
19743         * gst/gstelement.c:
19744         * gst/gstelement.h:
19745         * gst/gstevent.c:
19746         * gst/gstutils.c:
19747           doc fixes
19748
19749 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19750
19751         * docs/manual/advanced-autoplugging.xml:
19752           Fix autoplugging example.
19753
19754 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19755
19756         * docs/manual/advanced-autoplugging.xml:
19757         * docs/manual/mime-world.fig:
19758           Try to get autoplugging working, fix type detection. Fix text
19759           in hello-world image.
19760
19761 2005-06-29  Wim Taymans  <wim@fluendo.com>
19762
19763         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19764         (gst_base_sink_change_state):
19765         Small debug line.
19766
19767         * gst/gstclock.h:
19768         map SIGNAL and BROADCAST to the right function.
19769
19770         * gst/gstobject.h:
19771         Remove redundant braces.
19772
19773         * gst/gstpad.c: (gst_pad_set_caps):
19774         Don't call setcaps function when reseting caps to NULL.
19775
19776         * gst/gstsystemclock.c: (gst_system_clock_dispose),
19777         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
19778         (gst_system_clock_id_unschedule):
19779         Use BROADCAST as this is what we do.
19780
19781 2005-06-29  Wim Taymans  <wim@fluendo.com>
19782
19783         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19784         We are actually prerolling before commiting the state
19785         change. 
19786
19787 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19788
19789         * docs/manual/advanced-clocks.xml:
19790         * docs/manual/advanced-interfaces.xml:
19791         * docs/manual/advanced-metadata.xml:
19792         * docs/manual/advanced-position.xml:
19793         * docs/manual/advanced-schedulers.xml:
19794         * docs/manual/advanced-threads.xml:
19795         * docs/manual/appendix-porting.xml:
19796         * docs/manual/basics-bins.xml:
19797         * docs/manual/basics-bus.xml:
19798         * docs/manual/basics-elements.xml:
19799         * docs/manual/basics-helloworld.xml:
19800         * docs/manual/basics-pads.xml:
19801         * docs/manual/highlevel-components.xml:
19802         * docs/manual/manual.xml:
19803         * docs/manual/thread.fig:
19804           Update (until threads/scheduling) Application Development Manual;
19805           remove GstThread, add GstBus, add simple porting checklist, add
19806           documentation for tag writing, clocks, make all examples until this
19807           part compile and run.
19808         * examples/manual/Makefile.am:
19809           Update from changes to Application Development Manual; add bus
19810           example, remove thread example.
19811
19812 2005-06-28  Wim Taymans  <wim@fluendo.com>
19813
19814         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
19815         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
19816         (gst_bus_source_dispatch):
19817         Add debugging messages.
19818         Make internal methods static.
19819         Handle the case where the bus is flushed in the handler.
19820         
19821         * gst/gstelement.c: (gst_element_get_bus):
19822         Fix refcount in _get_bus();
19823
19824         * gst/gstpipeline.c: (gst_pipeline_change_state),
19825         (gst_pipeline_get_clock_func):
19826         Clock refcounting fixes.
19827         Handle the case where preroll timed out more gracefully.
19828         
19829         * gst/gstsystemclock.c: (gst_system_clock_dispose):
19830         Clean up the internal thread in dispose. This is needed
19831         for subclasses that actually get disposed.
19832         
19833         * gst/schedulers/threadscheduler.c:
19834         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19835         (gst_thread_scheduler_dispose):
19836         Free thread pool in dispose.
19837
19838 2005-06-28  Andy Wingo  <wingo@pobox.com>
19839
19840         * tests/network-clock-utils.scm (debug, print-event): New utils.
19841
19842         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
19843         (*packet-loss*): Unified loss probability.
19844         (network-time): Report out-of-band events.
19845
19846         * tests/plot-data: Add support for out-of-band events. Hack it
19847         into this script instead of passing it down the pipe; should fix
19848         this later.
19849
19850 2005-06-28  Wim Taymans  <wim@fluendo.com>
19851
19852         * docs/gst/gstreamer.types:
19853         * docs/gst/tmpl/gstbasesrc.sgml:
19854         * docs/gst/tmpl/gstpad.sgml:
19855         Docs fixes.
19856
19857 2005-06-28  Wim Taymans  <wim@fluendo.com>
19858
19859         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19860         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
19861         (gst_proxy_pad_do_fixatecaps):
19862         Correctly proxy the check_pull_range function.
19863
19864 2005-06-28  Andy Wingo  <wingo@pobox.com>
19865
19866         * tests/network-clock.scm: Removed need for slib.
19867         
19868 2005-06-28  Wim Taymans  <wim@fluendo.com>
19869
19870         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
19871         (gst_basesink_preroll_queue_flush):
19872         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
19873         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
19874         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19875         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
19876         (gst_proxy_pad_set_property):
19877         * gst/gstpad.c:
19878         * gst/gstpad.h:
19879         * gst/gstqueue.c: (gst_queue_init):
19880         The deprecated pad loop function is removed now.
19881
19882 2005-06-28  Andy Wingo  <wingo@pobox.com>
19883
19884         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
19885         New parameters, simulate network packet loss.
19886
19887         * tests/network-clock-utils.scm: Initialize the RNG.
19888
19889 2005-06-28  Wim Taymans  <wim@fluendo.com>
19890
19891         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
19892         (gst_basesink_event), (gst_basesink_deactivate):
19893         Flushing the preroll queue always needs to unlock the waiters.
19894
19895 2005-06-28  Edward Hervey  <edward@fluendo.com>
19896
19897         * gst/gstpipeline.c: (gst_pipeline_send_event): 
19898         Wheen a seek was successful on a pipeline, set the stream_time to the
19899         seek offset in order to have a synchronized stream_time.
19900
19901 2005-06-28  Wim Taymans  <wim@fluendo.com>
19902
19903         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19904         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
19905         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
19906         (gst_proxy_pad_do_fixatecaps):
19907         Call wrapper function instead of just calling the function
19908         pointers. This takes care of any locking and whatmore.
19909
19910 2005-06-28  Wim Taymans  <wim@fluendo.com>
19911
19912         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
19913         (gst_pad_pull_range):
19914         * gst/gstpad.h:
19915         CONNECTED -> LINKED.
19916
19917 2005-06-28  Andy Wingo  <wingo@pobox.com>
19918
19919         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
19920         source-munging commit!!!
19921
19922         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
19923         (gst_object_sink): Take gpointer arguments, not GstObject --
19924         avoids casts. Like GLib.
19925
19926         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
19927         activate.
19928
19929 2005-06-27  Andy Wingo  <wingo@pobox.com>
19930
19931         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
19932         remaining buffer.
19933
19934         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
19935         returns a sorted copy of the trace list.
19936         (gst_alloc_trace_print_live): New API, only prints traces with
19937         live objects. Sort the list.
19938         (gst_alloc_trace_print_all): Sort the list.
19939         (gst_alloc_trace_print): Align columns.
19940
19941         * gst/elements/gstttypefindelement.c:
19942         * gst/elements/gsttee.c:
19943         * gst/base/gstbasesrc.c:
19944         * gst/base/gstbasesink.c:
19945         * gst/base/gstbasetransform.c:
19946         * gst/gstqueue.c: Adapt for pad activation changes.
19947
19948         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
19949         sched.
19950         (gst_pipeline_dispose): Drop ref on sched.
19951
19952         * gst/gstpad.c (gst_pad_init): Set the default activate func.
19953         (gst_pad_activate_default): Push mode by default.
19954         (pre_activate_switch, post_activate_switch): New stubs, things to
19955         do before and after switching activation modes on pads.
19956         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
19957         the pad's activate function to choose which mode to activate.
19958         Shortcut on deactivation and call the right function directly.
19959         (gst_pad_activate_pull): New API, (de)activates a pad in pull
19960         mode.
19961         (gst_pad_activate_push): New API, same for push mode.
19962         (gst_pad_set_activate_function) 
19963         (gst_pad_set_activatepull_function) 
19964         (gst_pad_set_activatepush_function): Setters for new API.
19965
19966         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
19967         Trace all miniobjects.
19968         (gst_mini_object_make_writable): Unref the arg if we copy, like
19969         gst_caps_make_writable.
19970
19971         * gst/gstmessage.c (_gst_message_initialize): No trace init.
19972
19973         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
19974         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
19975         Adapt for new pad API.
19976
19977         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
19978
19979         * gst/gstelement.h:
19980         * gst/gstelement.c (gst_element_iterate_src_pads) 
19981         (gst_element_iterate_sink_pads): New API functions.
19982         
19983         * gst/gstelement.c (iterator_fold_with_resync): New utility,
19984         should fold into gstiterator.c in some form.
19985         (gst_element_pads_activate): Simplified via use of fold and
19986         delegation of decisions to gstpad->activate.
19987
19988         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
19989         help in debugging.
19990
19991         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
19992         class once in init, like gstmessage. Didn't run into this issue
19993         but it seems correct. Don't initialize a trace, gstminiobject does
19994         that.
19995
19996         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
19997         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
19998         to the bus.
19999         (assert_live_count): New util function, uses alloc traces to check
20000         cleanup.
20001
20002         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
20003         To be modified when unlink drops the internal pad.
20004
20005 2005-06-27  Wim Taymans  <wim@fluendo.com>
20006
20007         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
20008         (gst_bin_change_state):
20009         Cleanup the get_state() function a little, make sure it
20010         iterates the same set of elements.
20011         Added stub iterate_state_order().
20012
20013 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20014
20015         * docs/gst/gstreamer-docs.sgml:
20016         * docs/gst/gstreamer-sections.txt:
20017         * docs/gst/gstreamer.types:
20018         * docs/gst/tmpl/gstbasesink.sgml:
20019         * docs/gst/tmpl/gstbasesrc.sgml:
20020         * docs/gst/tmpl/gstbasetransform.sgml:
20021         * docs/gst/tmpl/gstelement.sgml:
20022         * docs/gst/tmpl/gstiterator.sgml:
20023         * gst/base/gstbasesrc.c:
20024         * gst/base/gstbasesrc.h:
20025         * gst/base/gstbasetransform.h:
20026         * gst/gstelement.c:
20027         * gst/gstiterator.h:
20028           adding basetransform and iterator docs
20029
20030 2005-06-27  Andy Wingo  <wingo@pobox.com>
20031
20032         * docs/design/part-activation.txt: Notes on how activation should
20033         work -- not quite implemented yet.
20034
20035 2005-06-25  Wim Taymans  <wim@fluendo.com>
20036
20037         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
20038         At least get the chain function correct, needs more
20039         fixing.
20040
20041 2005-06-25  Wim Taymans  <wim@fluendo.com>
20042
20043         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20044         (gst_basesink_handle_object), (gst_basesink_event),
20045         (gst_basesink_do_sync), (gst_basesink_handle_event),
20046         (gst_basesink_change_state):
20047         * gst/gsttask.h:
20048         Right, two problems here: ghostpads don't take locks and
20049         glib _rec_mutex_lock_full() with depth==0 still locks.
20050         Catch illegal locking and g_warn them.
20051
20052 2005-06-25  Wim Taymans  <wim@fluendo.com>
20053
20054         * check/states/sinks.c: (START_TEST), (gst_object_suite):
20055         Have to check for completion now...
20056
20057 2005-06-25  Wim Taymans  <wim@fluendo.com>
20058
20059         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20060         (gst_basesink_handle_object), (gst_basesink_event),
20061         (gst_basesink_do_sync), (gst_basesink_handle_event),
20062         (gst_basesink_change_state):
20063         * gst/gstpad.h:
20064         Unlock STREAM_LOCK whatever the recursion was.
20065
20066 2005-06-25  Wim Taymans  <wim@fluendo.com>
20067
20068         * gst/base/gstbasesink.c: (gst_basesink_set_property),
20069         (gst_basesink_preroll_queue_empty),
20070         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
20071         (gst_basesink_event), (gst_basesink_do_sync),
20072         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
20073         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
20074         (gst_basesink_change_state):
20075         Reworked the base sink, handle event and buffer serialisation
20076         correctly and removed possible deadlock.
20077         Handle EOS correctly.
20078
20079 2005-06-25  Wim Taymans  <wim@fluendo.com>
20080
20081         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
20082         (gst_pipeline_change_state):
20083         * tools/gst-launch.c: (check_intr), (event_loop), (main):
20084         Allow elements to post EOS in the state change function.
20085         Fix up -launch, make it exit the poll loop when the
20086         pipeline actually changed state.
20087         Fix up warning parsing in -launch.
20088
20089 2005-06-25  Wim Taymans  <wim@fluendo.com>
20090
20091         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
20092         (gst_tee_sink_activate):
20093         Core takes STREAM_LOCK for us now.
20094
20095 2005-06-25  Wim Taymans  <wim@fluendo.com>
20096
20097         * gst/gstelement.c: (gst_element_get_state_func),
20098         (gst_element_set_state):
20099         * gst/gstelement.h:
20100         * gst/gstmessage.c: (gst_message_parse_error),
20101         (gst_message_parse_warning):
20102         Keep track of current target state while performing a state
20103         change so that subclasses can do something interesting.
20104         Fix parsing of warning/error messages when GError is NULL.
20105
20106 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20107
20108         * docs/gst/Makefile.am:
20109         * docs/gst/gstreamer-docs.sgml:
20110         * docs/gst/gstreamer-sections.txt:
20111         * docs/gst/gstreamer.types:
20112         * docs/gst/tmpl/gstbasesink.sgml:
20113         * docs/gst/tmpl/gstbasesrc.sgml:
20114         * docs/gst/tmpl/gstbin.sgml:
20115         * docs/gst/tmpl/gstcompat.sgml:
20116         * docs/gst/tmpl/gstfakesink.sgml:
20117         * docs/gst/tmpl/gstfakesrc.sgml:
20118         * docs/gst/tmpl/gstfilesink.sgml:
20119         * docs/gst/tmpl/gstfilesrc.sgml:
20120         * docs/gst/tmpl/gstindex.sgml:
20121         * docs/manual/appendix-quotes.xml:
20122         * gst/base/gstbasesrc.h:
20123         * gst/elements/gstfakesrc.h:
20124         * gst/gstmessage.h:
20125           start pulling in base classes and elements in our docs
20126
20127 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
20128
20129         * docs/gst/Makefile.am:
20130         * docs/libs/Makefile.am:
20131           fixed make distcheck with gtk-doc 1.3
20132
20133 2005-06-23  Wim Taymans  <wim@fluendo.com>
20134
20135         * gst/gstelement.c: (gst_element_get_state_func),
20136         (gst_element_set_state), (gst_element_change_state):
20137         When the state did not change, also report NO_PREROLL
20138         when it matters.
20139
20140 2005-06-23  Wim Taymans  <wim@fluendo.com>
20141
20142         * gst/gstpad.c: (gst_pad_event_default):
20143         * gst/gstqueue.c: (gst_queue_loop):
20144         No unsafe task pausing please.
20145
20146 2005-06-23  Wim Taymans  <wim@fluendo.com>
20147
20148         * gst/schedulers/threadscheduler.c:
20149         (gst_thread_scheduler_task_start),
20150         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
20151         Ref the task before pushing it on the threadpool. This
20152         makes sure that we have a ref when the threadfunction is
20153         actually called.
20154
20155 2005-06-23  Andy Wingo  <wingo@pobox.com>
20156
20157         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
20158         offset is greater than the file's size.
20159
20160         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
20161         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
20162         * gst/gstobject.c (gst_object_class_init): Make the class lock
20163         recursive. Wim won't let me drop deep_notify. Decodebin works
20164         again, whoopdy doo.
20165
20166         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
20167         internal pad, and hacks accordingly. Doesn't do it on the target
20168         pad because we change its caps. Probably catches all cases of
20169         interest tho.
20170         (gst_ghost_pad_set_property): Connect to notify::caps as
20171         appropritate.
20172
20173         * tests/network-clock.scm (plot-simulation): Pipe data to the
20174         elite python skript.
20175
20176         * tests/network-clock-utils.scm (define-parameter): New macro,
20177         defines a parameter that can be set via the command line.
20178         (set-parameter!, parse-parameter-arguments): Command line args
20179         parser.
20180
20181         * tests/plot-data: Simple matplotlib-based plotter, takes input on
20182         stdin.
20183
20184 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
20185
20186         * gst/elements/gsttypefindelement.c:
20187         (gst_type_find_element_handle_event):
20188           Don't restart typefinding on a discont.
20189         * gst/gstelement.c: (gst_element_set_state):
20190           Debug spelling fix.
20191         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
20192           Allow changing mode of an active pad.
20193           Debug output fixes.
20194         * gst/registries/gstlibxmlregistry.c: (load_feature):
20195           Don't cast a static pad template to a normal pad template.
20196
20197 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20198
20199         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20200         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20201           remove gst_strtoll completely, since it didn't actually do
20202           anything more than what g_ascii_strtoull already does.
20203           check for range errors when deserializing
20204           do a cast for the unsigned cases; but further fixing needs
20205           a decision on what the interpretation of "(int)" and
20206           deserialization should be for values that fall outside the
20207           type's boundaries (ie, refuse, or interpret as casting)
20208
20209 2005-06-23  Wim Taymans  <wim@fluendo.com>
20210
20211         * check/Makefile.am:
20212         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
20213         * docs/design/part-live-source.txt:
20214         * docs/design/part-states.txt:
20215         * gst/base/gstbasesrc.c: (gst_basesrc_init),
20216         (gst_basesrc_set_live), (gst_basesrc_is_live),
20217         (gst_basesrc_get_range), (gst_basesrc_activate),
20218         (gst_basesrc_change_state):
20219         * gst/base/gstbasesrc.h:
20220         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20221         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
20222         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
20223         * gst/gstelement.c: (gst_element_get_state_func),
20224         (gst_element_set_state):
20225         * gst/gstelement.h:
20226         * gst/gsttypes.h:
20227         * tools/gst-launch.c: (event_loop), (main):
20228         Added support for live sources and other elements that
20229         cannot do preroll.
20230         Updated design docs, added live-source design doc.
20231         Implemented live source functionality in basesrc
20232         Fix error condition in _bin_get_state()
20233         Implement live source handling in -launch.
20234         Added check for live sources.
20235         Fixed case in GstBin where elements were changed state
20236         multiple times.
20237
20238
20239 2005-06-23  Andy Wingo  <wingo@pobox.com>
20240
20241         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
20242         borken refcounting.
20243
20244         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
20245         gst_caps_replace takes care of this for us.
20246
20247         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
20248         gst_pad_set_caps on the target, not just its setcaps() function.
20249
20250         * tests/network-clock.scm: 
20251         * tests/network-clock-utils.scm: A network clock simulator.
20252         Something of an algorithmic testbed before doing something in C.
20253
20254 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20255
20256         * check/Makefile.am:
20257         * check/gst/capslist.h:
20258           copy over from 0.8, and add two with bitmasks specified with
20259           (int) 0xFF...
20260         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20261           add test to parse everything from capslist.h
20262         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
20263         (main):
20264           add test for structure deserialization
20265         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20266           add tests for deserialization of strings to int types
20267         * gst/gststructure.c: (gst_structure_nth_field_name):
20268         * gst/gststructure.h:
20269           add a way to get the name of a field referenced by index
20270         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20271           instead of checking if the resulting long long lies between
20272           min and max, we check if the long long would fit into
20273           a number of bytes for the final type.
20274           This fixes cases where a string represents 2^32 - 1, which
20275           when cast to int would be the (valid) -1, but is bigger than
20276           G_MAXINT
20277
20278 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20279
20280         * gst/parse/grammar.y:
20281           add a log line for type deserialization
20282
20283 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20284
20285         * check/gst/gstvalue.c: (START_TEST):
20286         * gst/gstvalue.c: (gst_value_deserialize):
20287           return long long, not int, so gint64 deserialization actually
20288           works.  Is there any flag that makes the compiler check this ?
20289           Fixes #308559
20290
20291 2005-06-22  Wim Taymans  <wim@fluendo.com>
20292
20293         * gst/gstbuffer.h:
20294         Added convenience macros for setting buffers in GValue.
20295
20296 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20297
20298         * check/gst/.cvsignore:
20299         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20300           add a test deserializing int64, and comment part out because
20301           it fails, yay !
20302
20303 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20304
20305         * check/Makefile.am:
20306         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
20307         * testsuite/Makefile.am:
20308         * testsuite/caps/Makefile.am:
20309         * testsuite/caps/value_serialize.c:
20310         * testsuite/test_gst_init.c:
20311           move a value_serialize test over
20312
20313 2005-06-20  Wim Taymans  <wim@fluendo.com>
20314
20315         * gst/gstpad.c:
20316         Small doc updates.
20317         
20318         * gst/gstvalue.c: (gst_value_compare_buffer),
20319         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
20320         (gst_value_compare_flags), (gst_value_serialize_flags),
20321         (gst_value_deserialize_flags), (_gst_value_initialize):
20322         Fix serialisation of buffers, they are not boxed types anymore
20323
20324 2005-06-20  Wim Taymans  <wim@fluendo.com>
20325
20326         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20327         Testcase to show error in buffer-on-caps serialisation.
20328
20329 2005-06-20  Andy Wingo  <wingo@pobox.com>
20330
20331         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
20332         will be adding to later.
20333
20334         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
20335         if its socks fill with rocks.
20336         (gst_system_clock_obtain): Set the name on object construction.
20337         Avoid double-checked locking.
20338
20339 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
20340
20341         * gst/gsturi.c: (gst_element_make_from_uri):
20342           Fix potential endless loop.
20343
20344 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20345
20346         * check/Makefile.am:
20347           add gsttag
20348         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
20349         (main):
20350           move over from testsuite dir and clean up
20351         * configure.ac:
20352         * gst/gsttag.c:
20353         * testsuite/Makefile.am:
20354         * testsuite/tags/.cvsignore:
20355         * testsuite/tags/Makefile.am:
20356         * testsuite/tags/merge.c:
20357           remove testsuite/tags
20358
20359 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20360
20361         * docs/gst/gstreamer-sections.txt:
20362         * docs/gst/tmpl/gstenumtypes.sgml:
20363         * win32/gstenumtypes.c:
20364           clean up documentation build a little
20365
20366 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20367
20368         * check/gstcheck.h:
20369           add macros for checking refcounts on objects and caps
20370         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
20371           add some more unit tests
20372         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20373         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
20374           fix leaked refcounts (I hope :)) so unittest works
20375         * gst/gstpad.h:
20376           whitespace removal
20377
20378 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20379
20380         * configure.ac: back to HEAD
20381
20382 === release 0.9.1 ===
20383
20384 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20385
20386         * NEWS:
20387         * RELEASE:
20388           updated
20389
20390 2005-06-17  Andy Wingo  <wingo@pobox.com>
20391
20392         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
20393         assert; it's always possible that the pad gets deactivated in
20394         between the checks in gstpad.c and the implementation. Rely on
20395         finish_preroll() to return a FLUSHING or similar instead of on the
20396         assert.
20397         
20398         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
20399         clock and post an EOS message if we come out of finish_preroll in
20400         the playing state.
20401
20402 2005-06-16  David Schleef  <ds@schleef.org>
20403
20404         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20405         (gst_capsfilter_set_property): Allow NULL as possible value
20406         for filter_caps property, indicating GST_CAPS_ANY.
20407
20408 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20409
20410         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
20411           fix debug output
20412         * gst/schedulers/Makefile.am:
20413           use libgst prefix
20414         * gstreamer.spec.in:
20415           fix spec for it
20416
20417 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20418
20419         * gstreamer.spec.in:
20420           clean up
20421
20422 2005-06-08  Andy Wingo  <wingo@pobox.com>
20423
20424         * gst/gstutils.c: RPAD fixes all around.
20425         (gst_element_link_pads): Refcounting fixes.
20426
20427         * tools/gst-inspect.c:
20428         * tools/gst-xmlinspect.c:
20429         * parse/grammar.y:
20430         * gst/base/gsttypefindhelper.c:
20431         * gst/base/gstbasesink.c:
20432         * gst/gstqueue.c: RPAD fixes.
20433
20434         * gst/gstghostpad.h:
20435         * gst/gstghostpad.c: New ghost pad implementation as full proxy
20436         pads. The tricky thing is they provide both source and sink
20437         interfaces, since they proxy the internal pad for the external
20438         pad, and vice versa. Implement with lower-level ProxyPad objects,
20439         with the interior proxy pad as a child of the exterior ghost pad.
20440         Should write a doc on this.
20441         
20442         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
20443         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
20444         gst_object API.
20445         
20446         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
20447         pads are real pads. No ghost pads in this file. Not documenting
20448         the myriad s/RPAD/PAD/ and REALIZE fixes.
20449         (gst_pad_class_init): Add properties for "direction" and
20450         "template". Both are construct-only, so they can't change during
20451         the life of the pad. Fixes properly deriving from GstPad.
20452         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
20453         derived objects, just set properties when creating the objects via
20454         g_object_new.
20455         (gst_pad_get_parent): Implement as a function, return NULL if the
20456         parent is not an element.
20457         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
20458         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
20459         
20460         * gst/gstobject.c (gst_object_class_init): Make name a construct
20461         property. Don't set it in the object init.
20462
20463         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
20464         with UNKNOWN direction.
20465         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
20466         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
20467         (gst_element_remove_pad): Remove ghost-pad special cases.
20468         (gst_element_pads_activate): Remove rpad cruft.
20469
20470         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
20471         catch the pad's-parent-not-an-element case.
20472
20473         * gst/gst.h: Include gstghostpad.h.
20474
20475         * gst/gst.c (init_post): No more real, ghost pads.
20476
20477         * gst/Makefile.am: Add gstghostpad.[ch].
20478
20479         * check/Makefile.am:
20480         * check/gst/gstbin.c:
20481         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
20482         into a bin creates ghost pads, and that the refcounts are right.
20483         Partly moved from gstbin.c.
20484
20485 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20486
20487         * check/gst-libs/.cvsignore:
20488         * check/gst/.cvsignore:
20489         * check/pipelines/.cvsignore:
20490           ignore more
20491         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
20492         (START_TEST), (cleanup_suite), (main):
20493           add some tests related to cleanup after running pipelines
20494
20495 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20496
20497         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
20498           add a testsuite for GstBuffer
20499
20500 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20501
20502         * gst/gstminiobject.h:
20503           add defines for accessing the refcount
20504
20505 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
20506
20507         * Makefile.am: added support for html unit test coverage reports
20508
20509 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
20510
20511         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20512           Free existing caps if the capsfilter changes. Add a FIXME about
20513           setting those caps on the pads.
20514
20515         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
20516           Before adding a ghost pad to a parent bin, check that there isn't
20517           already one for the element on the bin. Prevents infinite recursion
20518           when using decodebin in parse pipelines. Andy says he'll rewrite the
20519           way this works anyway, so ignore the hack.
20520
20521 2005-06-02  Andy Wingo  <wingo@pobox.com>
20522
20523         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
20524         file size, pass it on to the type find helper.
20525
20526         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
20527         segment_start and segment_end properly according to the seek
20528         method. Segment_end is still a bit flaky because offset can be
20529         negative for CUR and END cases, but it takes -1 as an "unset"
20530         value.
20531
20532 2005-06-02  Wim Taymans  <wim@fluendo.com>
20533
20534         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
20535         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
20536         (gst_basesink_activate):
20537         * gst/base/gstbasesink.h:
20538         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20539         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20540         (gst_pad_query), (gst_pad_start_task):
20541         * gst/gstpad.h:
20542         * gst/gstqueue.c: (gst_queue_bufferalloc),
20543         (gst_queue_handle_sink_event), (gst_queue_chain):
20544         Bufferalloc: return GstFlowReturn to more accuratly report
20545         why allocation failed.
20546
20547 2005-06-02  Wim Taymans  <wim@fluendo.com>
20548
20549         * gst/gstpipeline.c: (gst_pipeline_send_event):
20550         Take snapshot of state without blocking.
20551
20552 2005-06-02  Wim Taymans  <wim@fluendo.com>
20553
20554         * docs/design/part-TODO.txt:
20555         * docs/design/part-caps.txt:
20556         * docs/design/part-clocks.txt:
20557         * docs/design/part-negotiation.txt:
20558         * docs/design/part-preroll.txt:
20559         Small doc updates 
20560
20561 2005-05-30  Wim Taymans  <wim@fluendo.com>
20562
20563         * gst/elements/gstidentity.c: (gst_identity_event),
20564         (gst_identity_transform), (gst_identity_get_property):
20565         Protect last_message property as it is accessed from
20566         multiple threads.
20567
20568 2005-05-30  Wim Taymans  <wim@fluendo.com>
20569
20570         * gst/gstelement.c: (gst_element_init),
20571         (gst_element_pads_activate), (gst_element_change_state):
20572         Slicker pad activation code.
20573
20574 2005-05-30  Wim Taymans  <wim@fluendo.com>
20575
20576         * gst/Makefile.am:
20577         * gst/gstelement.h:
20578         * gst/gstelementfactory.h:
20579         * gst/gsttypes.h:
20580         Move elementfactory methods to separate .h file.
20581
20582 2005-05-30  Wim Taymans  <wim@fluendo.com>
20583
20584         * docs/design/part-overview.txt:
20585         * gst/gstsystemclock.h:
20586         Small typo fixes, doc updates.
20587
20588 2005-05-30  Wim Taymans  <wim@fluendo.com>
20589
20590         * gst/gst.c: (gst_init_get_popt_table), (init_post),
20591         (init_popt_callback):
20592         Remove cpu-opt flag.
20593
20594 2005-05-30  Wim Taymans  <wim@fluendo.com>
20595
20596         * gst/gstbuffer.c: (gst_subbuffer_finalize),
20597         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
20598         * gst/gstbuffer.h:
20599         Avoid typechecking in places where not needed.
20600         Added accessor for malloc_data.
20601
20602 2005-05-30  Wim Taymans  <wim@fluendo.com>
20603
20604         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
20605         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
20606         (gst_pad_configure_sink), (gst_pad_configure_src),
20607         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
20608         (gst_pad_start_task):
20609         Propagate errors from _set_caps() in configure_src/sink
20610         functions instead of returning TRUE.
20611         FLUSH events can travel up and downstream
20612
20613
20614 2005-05-30  Wim Taymans  <wim@fluendo.com>
20615
20616         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20617         (gst_basesink_activate):
20618         Handle EOS in preroll.
20619
20620 2005-05-30  Wim Taymans  <wim@fluendo.com>
20621
20622         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20623         (gst_queue_loop), (gst_queue_handle_src_event):
20624         Remove old pieces of code
20625         Flushing the queue in an upstream event is a very bad idea.
20626
20627 2005-05-26  Andy Wingo  <wingo@pobox.com>
20628
20629         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
20630         gst_value_set_mini_object so as to add a ref on the object (which
20631         will be removed when the value is unset).
20632
20633         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
20634         arg type in ::handoff.
20635
20636         * gst/gstelement.c (gst_element_change_state): Also deactivate
20637         pads in READY->NULL, just in case the element didn't make it to
20638         PAUSED. Wingo tested, Wim approved.
20639
20640 2005-05-26  Wim Taymans  <wim@fluendo.com>
20641
20642         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20643         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20644         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
20645         A flushing pad cannot be used to alloc_buffer from.
20646
20647 2005-05-26  Wim Taymans  <wim@fluendo.com>
20648
20649         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
20650         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
20651         (gst_bus_source_dispatch), (gst_bus_source_finalize),
20652         (gst_bus_create_watch), (gst_bus_add_watch_full):
20653         * gst/gstbus.h:
20654         Implement a real GSource and use g_main_context_wakeup() to
20655         signal new messages instead of the socketpair.
20656
20657 2005-05-25  Wim Taymans  <wim@fluendo.com>
20658
20659         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
20660         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
20661         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20662         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20663         (gst_pad_send_event), (gst_pad_start_task):
20664         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
20665         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20666         (gst_queue_sink_activate), (gst_queue_src_activate),
20667         (gst_queue_change_state):
20668         * gst/gstqueue.h:
20669         Fix state changes for non sinks. We now change sinks, then elements
20670         with unconnected srcpads, then the rest.
20671         More efficient queue unlocking in flush and state changes.
20672         Set the pad activate mode even if it does not have an activate
20673         function.
20674
20675 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20676
20677         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
20678           Don't go in pull mode for non-seekable sources.
20679         * gst/elements/gsttypefindelement.h:
20680         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
20681         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
20682         (free_entry), (stop_typefinding),
20683         (gst_type_find_element_handle_event), (find_peek),
20684         (gst_type_find_element_chain), (do_pull_typefind),
20685         (gst_type_find_element_change_state):
20686           Allow typefinding (w/o seeking) in push-mode, simplified version
20687           of what was in 0.8.
20688         * gst/gstutils.c: (gst_buffer_join):
20689         * gst/gstutils.h:
20690           gst_buffer_join() from 0.8.
20691
20692 2005-05-25  Wim Taymans  <wim@fluendo.com>
20693
20694         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20695         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20696         (gst_pad_send_event), (gst_pad_start_task):
20697         Disable attempt at mode switching until it is figured out.
20698
20699 2005-05-25  Wim Taymans  <wim@fluendo.com>
20700
20701         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
20702         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20703         (gst_basesink_finish_preroll), (gst_basesink_chain),
20704         (gst_basesink_loop), (gst_basesink_activate),
20705         (gst_basesink_change_state):
20706         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
20707         (gst_basesrc_get_range), (gst_basesrc_loop),
20708         (gst_basesrc_activate):
20709         * gst/elements/gsttee.c: (gst_tee_sink_activate):
20710         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20711         (gst_real_pad_init), (gst_real_pad_set_property),
20712         (gst_real_pad_get_property), (gst_pad_set_active),
20713         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
20714         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
20715         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
20716         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
20717         (gst_pad_event_default_dispatch), (gst_pad_event_default),
20718         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
20719         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
20720         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20721         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
20722         (gst_pad_stop_task):
20723         * gst/gstpad.h:
20724         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20725         (gst_queue_loop), (gst_queue_src_activate):
20726         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
20727         (gst_task_get_state):
20728         * gst/gsttask.h:
20729         * gst/schedulers/threadscheduler.c:
20730         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
20731         Implement gst_pad_pause/start/stop_task(), take STREAM lock
20732         in task function.
20733         Remove ACTIVE pad flag, use FLUSHING everywhere
20734         Added _pad_chain(), _pad_get_range() to call chain/getrange 
20735         functions.
20736         Add locks around IS_FLUSHING when reading.
20737         Take STREAM lock in chain(), get_range() functions so plugins
20738         don't need to take it anymore.
20739         
20740
20741
20742 2005-05-25  Wim Taymans  <wim@fluendo.com>
20743
20744         * tools/gst-launch.c: (event_loop):
20745         Unref message after using its contents instead of
20746         before.
20747
20748 2005-05-24  Wim Taymans  <wim@fluendo.com>
20749
20750         * docs/design/draft-ghostpads.txt:
20751         * docs/design/draft-push-pull.txt:
20752         * docs/design/draft-query.txt:
20753         * docs/design/part-overview.txt:
20754         Docs updates, added general overview doc.
20755
20756 2005-05-21  David Schleef  <ds@schleef.org>
20757
20758         * docs/gst/tmpl/old/GstBin.sgml:
20759         * docs/gst/tmpl/old/GstBuffer.sgml:
20760         * docs/gst/tmpl/old/GstCaps.sgml:
20761         * docs/gst/tmpl/old/GstClock.sgml:
20762         * docs/gst/tmpl/old/GstCompat.sgml:
20763         * docs/gst/tmpl/old/GstData.sgml:
20764         * docs/gst/tmpl/old/GstElement.sgml:
20765         * docs/gst/tmpl/old/GstEvent.sgml:
20766         * docs/gst/tmpl/old/GstIndex.sgml:
20767         * docs/gst/tmpl/old/GstStructure.sgml:
20768         * docs/gst/tmpl/old/GstTag.sgml:
20769         * docs/gst/tmpl/old/cothreads.sgml:
20770         * docs/gst/tmpl/old/cothreads_compat.sgml:
20771         * docs/gst/tmpl/old/gettext.sgml:
20772         * docs/gst/tmpl/old/gobject2gtk.sgml:
20773         * docs/gst/tmpl/old/grammar.tab.sgml:
20774         * docs/gst/tmpl/old/gst-i18n-app.sgml:
20775         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
20776         * docs/gst/tmpl/old/gst_private.sgml:
20777         * docs/gst/tmpl/old/gstaggregator.sgml:
20778         * docs/gst/tmpl/old/gstarch.sgml:
20779         * docs/gst/tmpl/old/gstatomic_impl.sgml:
20780         * docs/gst/tmpl/old/gstbufferstore.sgml:
20781         * docs/gst/tmpl/old/gstdata_private.sgml:
20782         * docs/gst/tmpl/old/gstdisksink.sgml:
20783         * docs/gst/tmpl/old/gstdisksrc.sgml:
20784         * docs/gst/tmpl/old/gstelementfactory.sgml:
20785         * docs/gst/tmpl/old/gstextratypes.sgml:
20786         * docs/gst/tmpl/old/gstfakesink.sgml:
20787         * docs/gst/tmpl/old/gstfakesrc.sgml:
20788         * docs/gst/tmpl/old/gstfdsink.sgml:
20789         * docs/gst/tmpl/old/gstfdsrc.sgml:
20790         * docs/gst/tmpl/old/gstfilesink.sgml:
20791         * docs/gst/tmpl/old/gstfilesrc.sgml:
20792         * docs/gst/tmpl/old/gsthttpsrc.sgml:
20793         * docs/gst/tmpl/old/gstidentity.sgml:
20794         * docs/gst/tmpl/old/gstindexfactory.sgml:
20795         * docs/gst/tmpl/old/gstmarshal.sgml:
20796         * docs/gst/tmpl/old/gstmd5sink.sgml:
20797         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
20798         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
20799         * docs/gst/tmpl/old/gstpadtemplate.sgml:
20800         * docs/gst/tmpl/old/gstpipefilter.sgml:
20801         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
20802         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
20803         * docs/gst/tmpl/old/gstshaper.sgml:
20804         * docs/gst/tmpl/old/gstspider.sgml:
20805         * docs/gst/tmpl/old/gstspideridentity.sgml:
20806         * docs/gst/tmpl/old/gststatistics.sgml:
20807         * docs/gst/tmpl/old/gsttee.sgml:
20808         * docs/gst/tmpl/old/gsttimecache.sgml:
20809         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
20810         * docs/gst/tmpl/old/gstxmlregistry.sgml:
20811         * docs/gst/tmpl/old/gthread-cothreads.sgml:
20812         * docs/gst/tmpl/old/types.sgml:
20813           I didn't intend to add these or check them in.
20814
20815 2005-05-19  David Schleef  <ds@schleef.org>
20816
20817         * configure.ac: Use -no-common everywhere.  In a sane world, it
20818           would be the default in libtool, because without it, you can't
20819           build DLLs on Windows.
20820         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
20821         * docs/gst/gstreamer-sections.txt:
20822         * docs/gst/tmpl/gstcpu.sgml:
20823         * docs/gst/tmpl/gstdata.sgml:
20824         * docs/gst/tmpl/gstthread.sgml:
20825
20826 2005-05-19  David Schleef  <ds@schleef.org>
20827
20828         * gst/gstminiobject.c: (gst_value_set_mini_object),
20829         (gst_value_take_mini_object), (gst_value_get_mini_object):
20830         * gst/gstminiobject.h: Add GValue set/get functions.
20831
20832 2005-05-19  Wim Taymans  <wim@fluendo.com>
20833
20834         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
20835         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
20836         (gst_subbuffer_init), (gst_buffer_is_span_fast):
20837         * gst/gstbuffer.h:
20838         * gst/gstbus.c: (gst_bus_post):
20839         * gst/gstelement.c: (gst_element_get_random_pad):
20840         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
20841         Make subbufer unref the parent in finalize.
20842         some more debugging info.
20843
20844
20845 2005-05-19  Wim Taymans  <wim@fluendo.com>
20846
20847         * gst/base/gstbasesink.c: (gst_basesink_class_init),
20848         (gst_basesink_init), (gst_basesink_finalize),
20849         (gst_basesink_activate), (gst_basesink_change_state):
20850         Don't free preroll queue too early.
20851
20852 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20853
20854         * gst/Makefile.am:
20855         * gst/ROADMAP:
20856           Hi, I'm outdated. Please shoot me.
20857
20858 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20859
20860         * gst/gstpipeline.c: (gst_pipeline_send_event):
20861           Do not access variables after they have been deleted.
20862
20863 2005-05-19  Wim Taymans  <wim@fluendo.com>
20864
20865         * tools/gst-inspect.c: (print_plugin_features):
20866         A plugin feature does unfortunatly not use the
20867         object name yet...
20868
20869 2005-05-18  Wim Taymans  <wim@fluendo.com>
20870
20871         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
20872         Port _span() functions to new subbuffers.
20873
20874 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20875
20876         * gst/gstbin.c: (gst_bin_add_func):
20877           Fix clock settery in bins when adding kids after the clock has
20878           been selected.
20879
20880 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20881
20882         * gst/elements/gstidentity.c: (gst_identity_class_init):
20883           Workaround until signals support GstMiniObject.
20884
20885 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
20886
20887         * gst/gstbuffer.c:
20888         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
20889
20890 2005-05-18  Wim Taymans  <wim@fluendo.com>
20891
20892         * gst/base/Makefile.am:
20893         * gst/base/gstadapter.c: (gst_adapter_base_init),
20894         (gst_adapter_class_init), (gst_adapter_init),
20895         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
20896         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
20897         (gst_adapter_flush), (gst_adapter_available),
20898         (gst_adapter_available_fast):
20899         * gst/base/gstadapter.h:
20900         Ported and added adapter to the base classes.
20901
20902 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
20903
20904         * gst/gst.c:
20905         * gst/gstmessage.c:
20906           Make sure the class is reffed/unreffed once before threads can be
20907           used.  Fixes #304551.
20908
20909 2005-05-17  Wim Taymans  <wim@fluendo.com>
20910
20911         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
20912         (gst_basesink_chain_unlocked), (gst_basesink_activate):
20913         * gst/gstminiobject.c: (gst_mini_object_get_type),
20914         (gst_mini_object_free):
20915         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
20916         (gst_pad_push), (gst_pad_push_event):
20917         * gst/gstqueue.c: (gst_queue_change_state):
20918         Don't queue buffers in basesink when we are flushing.
20919         Unref buffer when flushing in basesink.
20920         Flush queue when going to READY
20921         Unref buffer when _push() returns an error.
20922         Don't free MiniObject instance when refcount is incremented
20923         in _finalize() so that we can recover objects.
20924
20925 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20926
20927         * docs/manual/advanced-schedulers.xml:
20928         * docs/manual/appendix-checklist.xml:
20929         * docs/pwg/advanced-clock.xml:
20930         * docs/pwg/advanced-interfaces.xml:
20931         * docs/pwg/advanced-request.xml:
20932         * docs/pwg/advanced-types.xml:
20933         * docs/pwg/intro-preface.xml:
20934         * examples/plugins/example.c: (gst_example_get_type),
20935         (gst_example_class_init), (gst_example_chain),
20936         (gst_example_set_property), (gst_example_get_property),
20937         (gst_example_change_state), (plugin_init):
20938         * examples/plugins/example.h:
20939           small doc fixes
20940
20941 2005-05-17  Wim Taymans  <wim@fluendo.com>
20942
20943         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
20944         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
20945         * gst/gstqueue.c: (gst_queue_change_state):
20946         Clear queue when going to READY.
20947         Remove IN_SETCAPS flag too.
20948
20949 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
20950
20951         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
20952           Remove implicit cast from gboolean to GstElementStateReturn;
20953           make sure we still return failure in paused => ready case if
20954           the parent class fails to change state and our own stop 
20955           vfunc succeeds.
20956
20957 2005-05-17  Wim Taymans  <wim@fluendo.com>
20958
20959         * tools/gst-launch.c: (event_loop):
20960         Message was unreffed too soon.
20961
20962 2005-05-16  Andy Wingo  <wingo@pobox.com>
20963
20964         * gst/gstbin.c (sink_iterator_filter): Err... um...
20965
20966         * check/gst/gstbin.c (test_ghost_pads): New test for the
20967         ghosting-if-elements-not-in-same-bin behavior.
20968
20969 2005-05-16  David Schleef  <ds@schleef.org>
20970
20971         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
20972         accessing refcount directly.
20973
20974 2005-05-15  David Schleef  <ds@schleef.org>
20975
20976         * check/Makefile.am: remove GstData checks
20977         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
20978         * gst/Makefile.am: add miniobject, remove data
20979         * gst/gst.h: add miniobject, remove data
20980         * gst/gstdata.c: remove
20981         * gst/gstdata.h: remove
20982         * gst/gstdata_private.h: remove
20983         * gst/gsttypes.h: remove GstEvent and GstMessage
20984         * gst/gstelement.c: (gst_element_post_message): fix for API changes
20985         * gst/gstmarshal.list: change BOXED -> OBJECT
20986
20987         Implement GstMiniObject.
20988         * gst/gstminiobject.c:
20989         * gst/gstminiobject.h:
20990
20991         Modify to be subclasses of GstMiniObject.
20992         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
20993         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
20994         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
20995         (gst_subbuffer_get_type), (gst_subbuffer_init),
20996         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
20997         (gst_buffer_span):
20998         * gst/gstbuffer.h:
20999         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
21000         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
21001         (_gst_event_copy), (gst_event_new):
21002         * gst/gstevent.h:
21003         * gst/gstmessage.c: (_gst_message_initialize),
21004         (gst_message_get_type), (gst_message_class_init),
21005         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
21006         (gst_message_new), (gst_message_new_error),
21007         (gst_message_new_warning), (gst_message_new_tag),
21008         (gst_message_new_state_changed), (gst_message_new_application):
21009         * gst/gstmessage.h:
21010         * gst/gstprobe.c: (gst_probe_perform),
21011         (gst_probe_dispatcher_dispatch):
21012         * gst/gstprobe.h:
21013         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
21014         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
21015         (_gst_query_copy), (gst_query_new):
21016
21017         Update elements for GstData -> GstMiniObject changes
21018         * gst/gstquery.h:
21019         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
21020         (gst_queue_chain), (gst_queue_loop):
21021         * gst/elements/gstbufferstore.c:
21022         (gst_buffer_store_add_buffer_func),
21023         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
21024         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21025         (gst_fakesink_render):
21026         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
21027         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
21028         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
21029         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
21030         (gst_filesrc_create_read):
21031         * gst/elements/gstidentity.c: (gst_identity_class_init):
21032         * gst/elements/gsttypefindelement.c:
21033         (gst_type_find_element_src_event), (free_entry_buffers),
21034         (gst_type_find_element_handle_event):
21035         * libs/gst/dataprotocol/dataprotocol.c:
21036         (gst_dp_header_from_buffer):
21037         * libs/gst/dataprotocol/dataprotocol.h:
21038         * libs/gst/dataprotocol/dp-private.h:
21039
21040 2005-05-15  David Schleef  <ds@schleef.org>
21041
21042         * gst/elements/gstelements.c: Don't include headers that were
21043         just removed.
21044
21045 2005-05-15  David Schleef  <ds@schleef.org>
21046
21047         * gst/elements/Makefile.am: Remove some elements that don't
21048         need to be in the core (or even exist at all).
21049         * gst/elements/gstaggregator.c:
21050         * gst/elements/gstaggregator.h:
21051         * gst/elements/gstmd5sink.c:
21052         * gst/elements/gstmd5sink.h:
21053         * gst/elements/gstmultifilesrc.c:
21054         * gst/elements/gstmultifilesrc.h:
21055         * gst/elements/gstpipefilter.c:
21056         * gst/elements/gstpipefilter.h:
21057         * gst/elements/gstshaper.c:
21058         * gst/elements/gstshaper.h:
21059         * gst/elements/gststatistics.c:
21060         * gst/elements/gststatistics.h:
21061         * po/POTFILES.in: Remove above files.
21062
21063 2005-05-14  Andy Wingo  <wingo@pobox.com>
21064
21065         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
21066         so as to get the refs right.
21067         (sink_iterator_filter): New function, wraps bin_element_is_sink,
21068         unreffing objects that don't pass the filter.
21069
21070         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
21071         gst_element_set_bus.
21072         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
21073         normal cases, this will destroy the bus.
21074
21075         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
21076         object.
21077
21078         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
21079         has no sinks.
21080
21081 2005-05-13  Andy Wingo  <wingo@pobox.com>
21082
21083         * gst/gstutils.c (gst_element_link_pads): Instead of calling
21084         gst_pad_link, call pad_link_maybe_ghosting,
21085         (pad_link_maybe_ghosting): Links pads, making sure that the
21086         elements being linked are in the same bin.
21087         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
21088         Helpers for pad_link_maybe_ghosting.
21089
21090 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
21091
21092         * configure.ac:
21093           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
21094
21095 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
21096
21097         * docs/design/part-element-source.txt:
21098           Mention GstPushSrc
21099
21100 2005-05-12  Wim Taymans  <wim@fluendo.com>
21101
21102         * gst/base/gstbasesink.c: (gst_basesink_init),
21103         (gst_basesink_activate):
21104         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
21105         (gst_basesrc_is_seekable):
21106         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21107         (bin_element_is_sink), (gst_bin_change_state):
21108         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21109         * gst/gstelement.h:
21110         Identify sinks by their flag to avoid overly complicated
21111         checks (fow now).
21112         Do state changes even for elements not reachable from the
21113         sinks.
21114         BaseSink is a sink now :)
21115         Some more debugging info in the basesrc.
21116
21117
21118 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21119
21120         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
21121           Implement _query on a bin, similar to _send_event.
21122
21123 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
21124
21125         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
21126           Discont event offset format should be GST_FORMAT_BYTES,
21127           not GST_FORMAT_TIME.
21128
21129 2005-05-12  Wim Taymans  <wim@fluendo.com>
21130
21131         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
21132         Same fix as Ronald's but without the signal. 
21133
21134 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21135
21136         * gst/gstutils.c: (gst_element_query_position):
21137           No, an element is not a pad.
21138
21139 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21140
21141         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
21142         (gst_bin_get_state):
21143           If a child is removed from a bin while we remove the child from
21144           the bin and while we're retrieving its state, signal this to the
21145           get_state function so we abort the wait (instead of waiting for
21146           a timeout) and can immediately re-iterate over all other elements.
21147
21148 2005-05-12  Wim Taymans  <wim@fluendo.com>
21149
21150         * gst/base/Makefile.am:
21151         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
21152         (gst_basesrc_start):
21153         * gst/base/gstbasesrc.h:
21154         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
21155         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
21156         (gst_pushsrc_init), (gst_pushsrc_create):
21157         * gst/base/gstpushsrc.h:
21158         Added is_seekable to BaseSrc
21159         Added simple PushSrc.
21160
21161 2005-05-11  Wim Taymans  <wim@fluendo.com>
21162
21163         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21164         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21165         (gst_element_link_pads), (gst_element_query_position),
21166         (gst_element_query_convert), (intersect_caps_func),
21167         (gst_pad_query_position), (gst_pad_query_convert):
21168         Fix refcounting in utils function.
21169         No point in trying to activate a pad when it's added, it could
21170         be added from the state change function and then we deadlock, the
21171         element has to decide what to do.
21172
21173 2005-05-10  Andy Wingo  <wingo@pobox.com>
21174
21175         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
21176         *all* the arguments.
21177
21178         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
21179         stream lock if it's a FLUSH_DONE; normal flushes don't get the
21180         lock (according to the docs -- if this is wrong change the docs).
21181
21182         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
21183         flush messages in the NULL state.
21184
21185         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
21186         message immediately and return.
21187         (gst_bus_set_flushing): New function. If a bus is flushing, it
21188         flushes out any queued messages and immediately unrefs new
21189         messages. This is so when an element goes to NULL, all of the
21190         unhandled messages coming from it can be freed, and their
21191         references to the element dropped. In other words: message source
21192         ref considered harmful :P
21193
21194         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
21195         we're finished with it.
21196
21197         * gst/gstmessage.c (gst_message_new_state_changed): 
21198
21199 2005-05-10  Wim Taymans  <wim@fluendo.com>
21200
21201         * gst/gstvalue.c: (gst_value_compare_flags),
21202         (gst_value_serialize_flags), (gst_value_deserialize_flags),
21203         (_gst_value_initialize):
21204         Added flags serialize/deserialize/compare code.
21205
21206 2005-05-09  Andy Wingo  <wingo@pobox.com>
21207
21208         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
21209         Intersect the peer's caps with our caps.
21210
21211 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21212
21213         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21214         * gst/elements/gsttypefindelement.c: (find_peek):
21215           Handle negative offsets better. Fixes decodebin.
21216
21217 2005-05-09  Wim Taymans  <wim@fluendo.com>
21218
21219         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
21220         (gst_base_transform_event):
21221         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
21222         Implement accept_caps.
21223         Fix silly lock/unlock mismatch in base class.
21224
21225 2005-05-09  Wim Taymans  <wim@fluendo.com>
21226
21227         * docs/design/draft-push-pull.txt:
21228         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
21229         * gst/elements/gstfilesink.c: (gst_filesink_init),
21230         (gst_filesink_query):
21231         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21232         (gst_type_find_handle_src_query), (find_element_get_length):
21233         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
21234         * gst/gstelement.h:
21235         * gst/gstmessage.c:
21236         * gst/gstmessage.h:
21237         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
21238         (gst_real_pad_get_caps_unlocked),
21239         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
21240         (gst_pad_event_default_dispatch), (gst_pad_event_default),
21241         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
21242         (gst_real_pad_dispose), (gst_real_pad_finalize),
21243         (gst_pad_load_and_link), (gst_pad_save_thyself),
21244         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
21245         (gst_pad_check_pull_range), (gst_pad_pull_range),
21246         (gst_pad_template_get_type), (gst_pad_template_class_init),
21247         (gst_pad_template_init), (gst_pad_template_dispose),
21248         (name_is_valid), (gst_static_pad_template_get),
21249         (gst_pad_template_new), (gst_static_pad_template_get_caps),
21250         (gst_pad_template_get_caps), (gst_pad_set_element_private),
21251         (gst_pad_get_element_private), (gst_pad_start_task),
21252         (gst_pad_pause_task), (gst_pad_stop_task),
21253         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
21254         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
21255         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
21256         (gst_ghost_pad_new):
21257         * gst/gstpad.h:
21258         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
21259         (gst_query_new_position), (gst_query_set_position),
21260         (gst_query_parse_position), (gst_query_new_convert),
21261         (gst_query_set_convert), (gst_query_parse_convert):
21262         * gst/gstquery.h:
21263         * gst/gstqueryutils.c:
21264         * gst/gstqueryutils.h:
21265         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21266         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21267         (gst_queue_handle_src_query):
21268         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21269         (gst_element_query_position), (gst_element_query_convert),
21270         (intersect_caps_func), (gst_pad_query_position),
21271         (gst_pad_query_convert):
21272         * gst/gstutils.h:
21273         * tools/gst-inspect.c: (print_pad_info):
21274         * tools/gst-xmlinspect.c: (print_element_info):
21275         Remove old query functions. Ported old code.
21276         Added position/convert helper functions to gstutils.
21277         Reordered gstpad.c code, grouping relevant things.
21278         Remove gst_message_new(), always need to speficy a specific
21279         message.
21280
21281
21282 2005-05-09  Andy Wingo  <wingo@pobox.com>
21283
21284         * gst/gstiterator.h: Add some includes.
21285
21286         * gst/gstqueryutils.h: Include more headers.
21287
21288         * gst/gstpad.h:
21289         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
21290         some uses of gst_pad_query.
21291
21292         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
21293         NULL out parameters.
21294         (gst_query_new_position): New proc, allocates a new position
21295         query.
21296
21297         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
21298         gstqueryutils.c to the build.
21299
21300         * gst/gststructure.c (gst_structure_set_valist): Implement with
21301         the generic G_VALUE_COLLECT.
21302         
21303 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
21304
21305         * gst/Makefile.am: (gst_headers):
21306         Added gstqueryutils.h to the list of headers to install, that was
21307         a 'nachty' move wingo :)
21308
21309 2005-05-06  Andy Wingo  <wingo@pobox.com>
21310
21311         * gst/gstquery.h
21312         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
21313         GstData, init a memchunk.
21314         (standard_definitions): Add a few query types, deprecate a few.
21315         (gst_query_get_type): New proc.
21316         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
21317         implementation.
21318         (gst_query_new_application, gst_query_get_structure): New public
21319         procs.
21320
21321         * docs/design/draft-query.txt: Removed LINKS from the query types,
21322         because all the rest can be dispatched to other pads -- seemed
21323         ugly to have a query that couldn't be dispatched. internal_links
21324         is fine as a pad method.
21325
21326         * gst/gstpad.h: Add query2 as a pad method, add the new functions
21327         in gstpad.c, but maintain binary compatibility for the moment.
21328         Will fix before 0.9 is out.
21329
21330         * gst/gstqueryutils.c: 
21331         * gst/gstqueryutils.h: New files, implement 3 methods for each
21332         query type: parse_query, parse_response, and set. Probably need an
21333         allocator as well.
21334
21335         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
21336
21337         * gst/elements/gstfilesink.c (gst_filesink_query2):
21338         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
21339         query_types, and formats methods.
21340
21341         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
21342         (gst_pad_set_query2_function): New functions.
21343         (gst_real_pad_init): Set query2_default as the default query2
21344         function. Basically just dispatches to internally linked pads.
21345
21346         Needs review!
21347         
21348         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
21349         without using the atomic operations. Only one thread can possibly
21350         be accessing the data at this point. Changed so as to avoid
21351         gst_atomic operations.
21352
21353 2005-05-06  Wim Taymans  <wim@fluendo.com>
21354
21355         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
21356         Also set caps if we use the fallback buffer alloc.
21357
21358 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
21359
21360         * docs/gst/Makefile.am:
21361         * docs/gst/gstreamer-docs.sgml:
21362         * docs/gst/gstreamer-sections.txt:
21363         * docs/gst/tmpl/gstatomic.sgml:
21364         * docs/gst/tmpl/gstmemchunk.sgml:
21365         * testsuite/elements/struct_i386.h:
21366         * win32/GStreamer.vcproj:
21367         * win32/Makefile:
21368           Purge GstAtomic stuff from docs and win32 makefiles as well
21369
21370 2005-05-06  Wim Taymans  <wim@fluendo.com>
21371
21372         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
21373         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
21374         * gst/gstpad.c: (gst_pad_peer_get_caps):
21375         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21376         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21377         (gst_queue_src_activate), (gst_queue_change_state):
21378         * gst/gstqueue.h:
21379         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21380         (intersect_caps_func):
21381         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
21382         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
21383         Some fixes for the peer_get_caps() change.
21384
21385 2005-05-06  Wim Taymans  <wim@fluendo.com>
21386
21387         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21388         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
21389         (gst_basesink_activate):
21390         Actually do something with error codes returned from the push
21391         functions.
21392
21393 2005-05-06  Wim Taymans  <wim@fluendo.com>
21394
21395         * docs/design/part-element-sink.txt:
21396         * docs/design/part-element-source.txt:
21397         * gst/base/gstbasesink.c: (gst_basesink_class_init),
21398         (gst_basesink_event), (gst_basesink_activate):
21399         * gst/base/gstbasesink.h:
21400         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
21401         (gst_basesrc_activate):
21402         * gst/base/gstbasesrc.h:
21403         * gst/gstelement.c: (gst_element_pads_activate):
21404         Some more documentation.
21405         Fixed scheduling decision in _pads_activate().
21406
21407 2005-05-05  Andy Wingo  <wingo@pobox.com>
21408
21409         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
21410         the test suite.
21411
21412 2005-05-05  Wim Taymans  <wim@fluendo.com>
21413
21414         * gst/base/Makefile.am:
21415         * gst/base/gstbasesink.h:
21416         * gst/base/gstbasesrc.c: (gst_basesrc_init),
21417         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
21418         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
21419         (gst_collectpads_class_init), (gst_collectpads_init),
21420         (gst_collectpads_finalize), (gst_collectpads_new),
21421         (gst_collectpads_set_function), (gst_collectpads_add_pad),
21422         (find_pad), (gst_collectpads_remove_pad),
21423         (gst_collectpads_is_active), (gst_collectpads_collect),
21424         (gst_collectpads_collect_range), (gst_collectpads_start),
21425         (gst_collectpads_stop), (gst_collectpads_peek),
21426         (gst_collectpads_pop), (gst_collectpads_available),
21427         (gst_collectpads_read), (gst_collectpads_flush),
21428         (gst_collectpads_chain):
21429         * gst/base/gstcollectpads.h:
21430         * gst/elements/Makefile.am:
21431         * gst/elements/gstelements.c:
21432         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21433         (gst_fakesink_get_times), (gst_fakesink_event),
21434         (gst_fakesink_preroll), (gst_fakesink_render):
21435         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21436         (gst_filesink_init), (gst_filesink_set_location),
21437         (gst_filesink_open_file), (gst_filesink_close_file),
21438         (gst_filesink_pad_query), (gst_filesink_event),
21439         (gst_filesink_render), (gst_filesink_change_state):
21440         * gst/elements/gstfilesink.h:
21441         Added object to help in making collect pad based elements.
21442         Ported filesink.
21443         Make event function in sink baseclass return gboolean.
21444
21445 2005-05-05  Wim Taymans  <wim@fluendo.com>
21446
21447         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
21448         (gst_bin_get_by_name):
21449         * gst/gstbuffer.h:
21450         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
21451         (gst_clock_finalize):
21452         * gst/gstdata.c: (gst_data_replace):
21453         * gst/gstdata.h:
21454         * gst/gstelement.c: (gst_element_request_pad),
21455         (gst_element_pads_activate):
21456         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
21457         (gst_object_unref):
21458         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21459         (gst_pad_set_checkgetrange_function),
21460         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
21461         (gst_pad_check_pull_range), (gst_pad_pull_range),
21462         (gst_static_pad_template_get_caps), (gst_pad_start_task),
21463         (gst_pad_pause_task), (gst_pad_stop_task):
21464         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21465         (gst_element_request_pad), (gst_pad_proxy_getcaps):
21466         Fix name lookup in GstBin.
21467         Added _data_replace() function and _buffer_replace()
21468         Use finalize method to clean up clock.
21469         Fix refcounting on request pads.
21470         Fix pad schedule mode error.
21471         Some more object refcounting debug info,
21472
21473
21474 2005-05-04  Andy Wingo <wingo@pobox.com>
21475
21476         * check/Makefile.am:
21477         * docs/gst/tmpl/gstatomic.sgml:
21478         * docs/gst/tmpl/gstplugin.sgml:
21479         * gst/base/gstbasesink.c: (gst_basesink_activate):
21480         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
21481         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
21482         (gst_basesrc_query), (gst_basesrc_set_property),
21483         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
21484         (gst_basesrc_activate):
21485         * gst/base/gstbasesrc.h:
21486         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
21487         (gst_base_transform_src_activate):
21488         * gst/elements/gstelements.c:
21489         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21490         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21491         * gst/elements/gsttee.c: (gst_tee_sink_activate):
21492         * gst/elements/gsttypefindelement.c: (find_element_get_length),
21493         (gst_type_find_element_checkgetrange),
21494         (gst_type_find_element_activate):
21495         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
21496         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
21497         (gst_caps_load_thyself):
21498         * gst/gstelement.c: (gst_element_pads_activate),
21499         (gst_element_save_thyself), (gst_element_restore_thyself):
21500         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
21501         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
21502         * gst/gstpad.h:
21503         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
21504         (gst_xml_parse_file), (gst_xml_parse_memory),
21505         (gst_xml_get_element), (gst_xml_make_element):
21506         * gst/indexers/gstfileindex.c: (gst_file_index_load),
21507         (_file_index_id_save_xml), (gst_file_index_commit):
21508         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
21509         (read_enum), (load_pad_template), (load_feature), (load_plugin),
21510         (load_paths):
21511         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
21512         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
21513         * tools/gst-complete.c: (main):
21514         * tools/gst-compprep.c: (main):
21515         * tools/gst-inspect.c: (print_element_properties_info):
21516         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
21517         * tools/gst-xmlinspect.c: (print_element_properties):
21518         GCC 4 fixen.
21519         
21520 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21521
21522         * gst/gstplugin.c: (gst_plugin_check_module),
21523         (gst_plugin_check_file), (gst_plugin_load_file):
21524             apply patch from #172526 to make register work on MacOSX
21525
21526 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21527
21528         * docs/gst/tmpl/gstconfig.sgml:
21529         * gst/gstconfig.h.in:
21530           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
21531         * testsuite/debug/printf_extension.c: (main):
21532           Do not use GST_PTR_FORMAT on pointers to types with
21533           sizeof < sizeof(gpointer).  Fixes test on 64-bit
21534         * testsuite/elements/property.h:
21535           use correct printf format
21536
21537 2005-05-02  Wim Taymans  <wim@fluendo.com>
21538
21539         * docs/design/draft-push-pull.txt:
21540         * docs/design/draft-query.txt:
21541         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
21542         (gst_basesrc_start):
21543         Added draft for new query API.
21544         Added draft for better selecting scheduling methods.
21545         Make basesrc ignore length if the subclass does not support
21546         it.
21547
21548 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21549
21550         * gst/Makefile.am:
21551           possible fixes for automake-1.5 - _LIBADD is reserved
21552
21553 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21554
21555         * docs/faq/Makefile.am:
21556         * docs/manual/Makefile.am:
21557         * docs/manuals.mak:
21558         * docs/pwg/Makefile.am:
21559         * gst/Makefile.am:
21560           possible fixes for automake-1.5
21561
21562 2005-04-28  Wim Taymans  <wim@fluendo.com>
21563
21564         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21565         (gst_basesink_pad_getcaps), (gst_basesink_init),
21566         (gst_basesink_do_sync):
21567         * gst/gstclock.c: (gst_clock_entry_new):
21568         * gst/gstevent.c: (gst_event_discont_get_value):
21569         * gst/gstpipeline.c: (pipeline_bus_handler),
21570         (gst_pipeline_change_state):
21571         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
21572         Better debugging of clocking info.
21573         Allow NULL values when getting discont values.
21574
21575 2005-04-27  Wim Taymans  <wim@fluendo.com>
21576
21577         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
21578         * check/gst/gstpad.c: (gst_pad_suite):
21579         Increase timeout for checks.
21580
21581 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
21582
21583         * check/Makefile.am:
21584           fix the broken rule for cleanup.  Apparently this rule is
21585           only needed on FC2, so maybe this warrants further autotool
21586           inspection.
21587
21588 2005-04-26  Wim Taymans  <wim@fluendo.com>
21589
21590         * gst/gsttrashstack.h:
21591         Ooohh. a nasty one! After having a failed pop() from the stack,
21592         it's possible that the stack is empty. In that case, don't
21593         follow the NULL pointer.
21594
21595 2005-04-25  Wim Taymans  <wim@fluendo.com>
21596
21597         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21598         (gst_pad_set_checkgetrange_function),
21599         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
21600         (gst_pad_check_pull_range), (gst_pad_pull_range),
21601         (gst_static_pad_template_get_caps), (gst_pad_start_task),
21602         (gst_pad_pause_task), (gst_pad_stop_task):
21603         * gst/gstplugin.c: (gst_plugin_load):
21604         * gst/gstplugin.h:
21605         Remove gst_library_load as it does more harm than good with
21606         the new g_module flags.
21607         Revert bogus caps template check in pad linking, pad caps
21608         are important when linking not the template, which is more
21609         general than the current caps.
21610
21611 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21612
21613         * gst/autoplug/.cvsignore:
21614         * gst/autoplug/Makefile.am:
21615         * gst/autoplug/gstsearchfuncs.c:
21616         * gst/autoplug/gstsearchfuncs.h:
21617         * gst/autoplug/gstspider.c:
21618         * gst/autoplug/gstspider.h:
21619         * gst/autoplug/gstspideridentity.c:
21620         * gst/autoplug/gstspideridentity.h:
21621         * gst/autoplug/spidertest.c:
21622           Die, spider, die.
21623
21624 2005-04-25  Wim Taymans  <wim@fluendo.com>
21625
21626         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21627         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21628         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
21629         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
21630         * gst/gstpad.h:
21631         Added stubs for unimplemented functions. 
21632
21633 2005-04-24  David Schleef  <ds@schleef.org>
21634
21635         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
21636         please fix.
21637
21638 2005-04-24  David Schleef  <ds@schleef.org>
21639
21640         Convert everything from GstAtomicInt to g_atomic_int_*, and
21641         remove gstatomic.
21642         * gst/Makefile.am:
21643         * gst/gstatomic.c:
21644         * gst/gstatomic.h:
21645         * gst/gstatomic_impl.h:
21646         * gst/gstbuffer.c:
21647         * gst/gstcaps.c:
21648         * gst/gstcaps.h:
21649         * gst/gstclock.c:
21650         * gst/gstclock.h:
21651         * gst/gstdata.c:
21652         * gst/gstdata.h:
21653         * gst/gstdata_private.h:
21654         * gst/gstevent.c:
21655         * gst/gstinfo.c:
21656         * gst/gstinfo.h:
21657         * gst/gstmessage.c:
21658         * gst/gstobject.c:
21659         * gst/gstobject.h:
21660         * gst/gststructure.c:
21661         * gst/gststructure.h:
21662         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
21663         * gst/gstutils.h:
21664
21665 2005-04-24  David Schleef  <ds@schleef.org>
21666
21667         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
21668         make the regressions tests work.  Remove some code that is no
21669         longer true.
21670         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
21671         Disable warning for pads without templates.
21672
21673 2005-04-24  David Schleef  <ds@schleef.org>
21674
21675         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
21676         functions that handle filtered links.
21677         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
21678         removed functions.
21679         * gst/gstutils.c: Fix/remove utility functions that handle
21680         filtered caps.
21681         * gst/gstutils.h:
21682         * gst/gstvalue.c: Add serialization/deserialization of caps
21683         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
21684         requires fixing so that the filter caps notation creates
21685         a capsfilter element and sets the filter_caps property.  I
21686         think everyone probably wants to keep the shorthand notation.
21687         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
21688         * docs/gst/tmpl/gstpad.sgml:
21689
21690         * gst/elements/gstelements.c: Register capsfilter element.
21691         * gst/Makefile.am: fix spacing
21692         * docs/random/ds/0.9-suggested-changes: random
21693
21694 2005-04-23  David Schleef  <ds@schleef.org>
21695
21696         * gst/elements/Makefile.am:
21697         * gst/elements/gstcapsfilter.c: New element that acts like an
21698         identity, but filters caps.  Will eventually replace filtered
21699         caps in pad linking.
21700         * gst/gstutils.c: (gst_element_create_all_pads): New function
21701         to create all the ALWAYS pads that are registered with an
21702         element class.  This functionality should eventually be
21703         merged in with GstElement initialization.
21704         * gst/gstutils.h:
21705         * testsuite/trigger/README: part of trigger test code that should
21706         have been checked in a long time ago.
21707
21708 2005-04-23  David Schleef  <ds@schleef.org>
21709
21710         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
21711         needed with new versions of libtool (nobody will confirm this),
21712         and hard to carry around.
21713         * gst/autoplug/Makefile.am:
21714         * gst/base/Makefile.am:
21715         * gst/elements/Makefile.am:
21716         * gst/indexers/Makefile.am:
21717         * gst/schedulers/Makefile.am:
21718         * libs/gst/bytestream/Makefile.am:
21719         * libs/gst/control/Makefile.am:
21720         * libs/gst/dataprotocol/Makefile.am:
21721         * libs/gst/getbits/Makefile.am:
21722
21723 2005-04-21  Wim Taymans  <wim@fluendo.com>
21724
21725         * docs/design/draft-push-pull.txt:
21726         * docs/design/part-MT-refcounting.txt:
21727         * docs/design/part-TODO.txt:
21728         * docs/design/part-caps.txt:
21729         * docs/design/part-events.txt:
21730         * docs/design/part-gstbus.txt:
21731         * docs/design/part-gstpipeline.txt:
21732         * docs/design/part-messages.txt:
21733         * docs/design/part-push-pull.txt:
21734         * docs/design/part-query.txt:
21735         Some more docs.
21736
21737 2005-04-21  Wim Taymans  <wim@fluendo.com>
21738
21739         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
21740         (gst_message_new), (gst_message_new_error),
21741         (gst_message_new_warning), (gst_message_new_tag),
21742         (gst_message_new_state_changed), (gst_message_new_application),
21743         (gst_message_get_structure):
21744         * gst/gstmessage.h:
21745         * gst/gststructure.c: (gst_structure_set_parent_refcount),
21746         (gst_structure_copy_conditional):
21747         Use parent refcount in GstMessage to ensure GstStructure
21748         consistency.
21749         Cleaned up headers a bit.
21750         
21751
21752 2005-04-20  Wim Taymans  <wim@fluendo.com>
21753
21754         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21755         (gst_basesink_pad_getcaps), (gst_basesink_init),
21756         (gst_basesink_chain_unlocked):
21757         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
21758         (gst_type_find_helper):
21759         * gst/elements/gsttypefindelement.c:
21760         (gst_type_find_element_have_type), (gst_type_find_element_init),
21761         (stop_typefinding), (gst_type_find_element_handle_event),
21762         (find_suggest), (gst_type_find_element_chain),
21763         (gst_type_find_element_checkgetrange),
21764         (gst_type_find_element_getrange), (do_typefind),
21765         (gst_type_find_element_activate):
21766         * gst/gstbuffer.c: (_gst_buffer_sub_free),
21767         (gst_buffer_default_free), (gst_buffer_default_copy),
21768         (gst_buffer_set_caps):
21769         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
21770         (gst_caps_replace):
21771         * gst/gstmessage.c: (gst_message_new),
21772         (gst_message_new_state_changed):
21773         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21774         (gst_pad_set_checkgetrange_function),
21775         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
21776         (gst_pad_set_caps), (gst_pad_check_pull_range),
21777         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
21778         * gst/gstpad.h:
21779         * gst/gsttypefind.c: (gst_type_find_register):
21780         Make gst_caps_replace() work like other _replace() functions.
21781         Use _caps_replace() where possible.
21782         Make sure _message_new() initialises its field.
21783         Add gst_static_pad_template_get_caps()
21784
21785
21786 2005-04-18  Andy Wingo  <wingo@pobox.com>
21787
21788         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
21789         on the peer, not the pad. I think that was a typo. Pass an extra
21790         arg to see if random access is possible. Activate the pads as
21791         PULL_RANGE if possible.
21792
21793         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
21794
21795         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
21796         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
21797         to PROP_....
21798
21799 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21800
21801         * docs/faq/using.xml:
21802           Add note on gstreamer-properties (#154996).
21803
21804 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21805
21806         * docs/random/bbb/optional-properties:
21807           Some analysis on optional properties.
21808
21809 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21810
21811         * docs/gst/tmpl/gstelementfactory.sgml:
21812         * gst/gstelement.h:
21813         * gst/gstelementfactory.c: (gst_element_factory_init),
21814         (gst_element_factory_cleanup), (gst_element_register),
21815         (__gst_element_factory_add_static_pad_template),
21816         (gst_element_factory_get_static_pad_templates),
21817         (gst_element_factory_can_src_caps),
21818         (gst_element_factory_can_sink_caps):
21819         * gst/registries/Makefile.am:
21820         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
21821         (gst_xml_registry_class_init), (gst_xml_registry_init),
21822         (gst_xml_registry_new), (gst_xml_registry_set_property),
21823         (gst_xml_registry_get_property), (get_time), (make_dir),
21824         (gst_xml_registry_get_perms_func),
21825         (plugin_times_older_than_recurse), (plugin_times_older_than),
21826         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
21827         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
21828         (add_to_char_array), (read_string), (read_uint), (read_enum),
21829         (load_pad_template), (load_feature), (load_plugin), (load_paths),
21830         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
21831         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
21832         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
21833         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
21834         (gst_xml_registry_rebuild):
21835         * gst/registries/gstlibxmlregistry.h:
21836         * tools/gst-compprep.c: (main):
21837         * tools/gst-inspect.c: (print_pad_templates_info):
21838         * tools/gst-xmlinspect.c: (print_element_info):
21839           Use libxml2 for registry parsing, use staticpadtemplates in
21840           elementfactories. Makes gst_init() +/- 10x faster.
21841
21842 2005-04-12  Wim Taymans  <wim@fluendo.com>
21843
21844         * gst/base/Makefile.am:
21845         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21846         (gst_basesink_pad_getcaps), (gst_basesink_init),
21847         (gst_basesink_event), (gst_basesink_change_state):
21848         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21849         (gst_basesrc_init), (gst_basesrc_query),
21850         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21851         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21852         (gst_basesrc_check_get_range), (gst_basesrc_loop),
21853         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21854         (gst_basesrc_stop), (gst_basesrc_activate),
21855         (gst_basesrc_change_state):
21856         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21857         (helper_find_suggest), (gst_type_find_helper):
21858         * gst/base/gsttypefindhelper.h:
21859         * gst/elements/Makefile.am:
21860         * gst/elements/gstelements.c:
21861         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21862         (gst_fakesink_get_times), (gst_fakesink_event),
21863         (gst_fakesink_preroll), (gst_fakesink_render):
21864         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21865         (gst_fakesrc_init), (gst_fakesrc_event_handler),
21866         (gst_fakesrc_get_property), (gst_fakesrc_create),
21867         (gst_fakesrc_start), (gst_fakesrc_stop):
21868         * gst/elements/gstfakesrc.h:
21869         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
21870         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21871         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21872         (gst_filesrc_create_read), (gst_filesrc_create),
21873         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
21874         (gst_filesrc_start):
21875         * gst/elements/gsttypefindelement.c:
21876         (gst_type_find_element_have_type), (gst_type_find_element_init),
21877         (start_typefinding), (stop_typefinding), (push_buffer_store),
21878         (gst_type_find_element_handle_event),
21879         (gst_type_find_element_chain),
21880         (gst_type_find_element_checkgetrange),
21881         (gst_type_find_element_getrange), (do_typefind),
21882         (gst_type_find_element_activate),
21883         (gst_type_find_element_change_state):
21884         * gst/elements/gsttypefindelement.h:
21885         * gst/gstpipeline.c: (pipeline_bus_handler):
21886         Added typefind helper.
21887         Small preroll fix in the base sink.
21888         Disable typefind code in basesrc.
21889         Crude port of typefindelement.
21890         Fakesrc cleanups.
21891
21892
21893 2005-04-11  Wim Taymans  <wim@fluendo.com>
21894
21895         * check/gst/gstbus.c: (gstbus_suite):
21896         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
21897         * check/gstcheck.h:
21898           Fix up the timeout so that the test does not fail.
21899
21900 2005-04-06  Wim Taymans  <wim@fluendo.com>
21901
21902         * gst/base/README:
21903         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21904         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
21905         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21906         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21907         (gst_basesrc_check_get_range), (gst_basesrc_loop),
21908         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21909         (gst_basesrc_stop), (gst_basesrc_activate),
21910         (gst_basesrc_change_state), (basesrc_find_peek),
21911         (basesrc_find_suggest), (gst_basesrc_type_find):
21912         * gst/base/gstbasesrc.h:
21913         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
21914         (gst_filesrc_class_init), (gst_filesrc_init),
21915         (gst_filesrc_finalize), (gst_filesrc_set_location),
21916         (gst_filesrc_set_property), (gst_filesrc_get_property),
21917         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21918         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21919         (gst_filesrc_create_read), (gst_filesrc_create),
21920         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
21921         * gst/elements/gstfilesrc.h:
21922         * gst/gstelement.c: (gst_element_get_state_func),
21923         (gst_element_lost_state), (gst_element_pads_activate):
21924         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21925         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21926         (gst_pad_pull_range):
21927         * gst/gstpad.h:
21928         More work on the generic source base class, implement seeking,
21929         query.
21930         Make filesrc extend the base source class.
21931         Added gst_pad_set_checkgetrange_function to GstPad.
21932
21933 2005-04-06  Andy Wingo  <wingo@pobox.com>
21934
21935         * pkgconfig/gstreamer-base.pc.in:
21936         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
21937
21938         * pkgconfig/Makefile.am:
21939         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
21940
21941 2005-04-04  Wim Taymans  <wim@fluendo.com>
21942
21943         * gst/base/Makefile.am:
21944         * gst/base/README:
21945         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21946         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
21947         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
21948         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
21949         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21950         (gst_basesrc_base_init), (gst_basesrc_class_init),
21951         (gst_basesrc_init), (gst_basesrc_get_formats),
21952         (gst_basesrc_get_query_types), (gst_basesrc_query),
21953         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
21954         (gst_basesrc_set_property), (gst_basesrc_get_property),
21955         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
21956         (gst_basesrc_loop), (gst_basesrc_activate),
21957         (gst_basesrc_change_state):
21958         * gst/base/gstbasesrc.h:
21959         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
21960         (gst_fakesrc_class_init), (gst_fakesrc_init),
21961         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
21962         (gst_fakesrc_get_property), (gst_fakesrc_create):
21963         * gst/elements/gstfakesrc.h:
21964         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
21965         (gst_filesrc_open_file), (gst_filesrc_loop),
21966         (gst_filesrc_activate), (filesrc_find_peek),
21967         (gst_filesrc_type_find):
21968         Made base source class, make fakesrc extend it.
21969         Add comments to basesink class.
21970         Some filesrc cleanup.
21971
21972 2005-03-31  David Schleef  <ds@schleef.org>
21973
21974         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
21975         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
21976         expected to link against libgstreamer.
21977         * gst/base/Makefile.am: link against libgstreamer
21978         * gst/elements/Makefile.am: same
21979
21980 2005-03-31  Andy Wingo  <wingo@pobox.com>
21981
21982         * tests/instantiate/Makefile.am:
21983         * tests/instantiate/caps.c: Add test to test speed of caps copy
21984         and free.
21985
21986         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
21987         GMemChunk to be fair.
21988
21989         * gst/gsttrashstack.h: Remove warning about using the fallback
21990         trash stack implementation, it's still faster than malloc.
21991
21992 2005-03-30  Andy Wingo  <wingo@pobox.com>
21993
21994         * tests/complexity.c: Add a copyright.
21995
21996 2005-03-31  Wim Taymans  <wim@fluendo.com>
21997
21998         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
21999         (gst_base_transform_class_init), (gst_base_transform_init),
22000         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
22001         (gst_base_transform_get_property),
22002         (gst_base_transform_sink_activate),
22003         (gst_base_transform_src_activate),
22004         (gst_base_transform_change_state):
22005         * gst/base/gstbasetransform.h:
22006         * gst/elements/gstidentity.c: (gst_identity_class_init),
22007         (gst_identity_event), (gst_identity_check_perfect),
22008         (gst_identity_transform), (gst_identity_start),
22009         (gst_identity_stop):
22010         Added start/stop methods to transform base class so subclasses 
22011         don't need to deal with state changes even.
22012
22013 2005-03-31  Wim Taymans  <wim@fluendo.com>
22014
22015         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
22016         (gst_event_new_discontinuous), (gst_event_discont_get_value):
22017         * gst/gstevent.h:
22018         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22019         (gst_pad_pull_range):
22020         Added rate to the discont event to prepare for variable speed
22021         and reverse playback.
22022
22023 2005-03-29  David Schleef  <ds@schleef.org>
22024
22025         * configure.ac:
22026         * testsuite/trigger/Makefile.am:
22027         * testsuite/trigger/trigger.c: A little example program to show
22028         how trigger-based elements can work.
22029
22030 2005-03-29  Wim Taymans  <wim@fluendo.com>
22031
22032         * gst/base/Makefile.am:
22033         * gst/base/README:
22034         * gst/base/gstbasesink.c: (gst_basesink_get_type),
22035         (gst_basesink_base_init), (gst_basesink_class_init),
22036         (gst_basesink_pad_getcaps), (gst_basesink_init),
22037         (gst_basesink_activate), (gst_basesink_change_state):
22038         * gst/base/gstbasesink.h:
22039         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
22040         (gst_base_transform_base_init), (gst_base_transform_finalize),
22041         (gst_base_transform_class_init), (gst_base_transform_init),
22042         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
22043         (gst_base_transform_event), (gst_base_transform_getrange),
22044         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
22045         (gst_base_transform_set_property),
22046         (gst_base_transform_get_property),
22047         (gst_base_transform_sink_activate),
22048         (gst_base_transform_src_activate),
22049         (gst_base_transform_change_state):
22050         * gst/base/gstbasetransform.h:
22051         * gst/elements/gstidentity.c: (gst_identity_finalize),
22052         (gst_identity_class_init), (gst_identity_init),
22053         (gst_identity_event), (gst_identity_check_perfect),
22054         (gst_identity_transform), (gst_identity_set_property),
22055         (gst_identity_get_property), (gst_identity_change_state):
22056         * gst/elements/gstidentity.h:
22057         * gst/gstelement.c: (gst_element_get_state_func),
22058         (gst_element_lost_state), (gst_element_pads_activate):
22059         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22060         (gst_pad_check_pull_range), (gst_pad_pull_range):
22061         * gst/gstpad.h:
22062         Simplify pad activation.
22063         Added function to check if pull_range can be performed.
22064         Error out when pulling inactive or flushing pads.
22065         Removed const from refcounted types as it does not make sense.
22066         Simplify pad templates in basesink
22067         Added base class for simple 1-to-1 transforms.
22068         Make identity subclass the base transform.
22069
22070 2005-03-29  Andy Wingo  <wingo@pobox.com>
22071
22072         * docs/libs/gstreamer-libs-overrides.txt: 
22073         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
22074         really don't understand what's going on, but like whatever. I want
22075         green buildbot!
22076
22077         * docs/gst/Makefile.am:
22078         * docs/libs/Makefile.am: Dist the overrides files.
22079
22080         * check/Makefile.am (clean-local): Remove .libs directories.
22081
22082         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
22083         elements to EXTRA_DIST, so po/ files are happy.
22084
22085         * po/POTFILES.in: Er, remove it here.
22086
22087         * po/POTFILES: Remove gstspider.c.
22088
22089         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
22090
22091         * docs/libs/gstreamer-libs-docs.sgml: 
22092         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
22093         bytestream.
22094
22095         * tests/complexity.c (main): Set the length of the preroll queue
22096         on the sinks to prevent a lockup.
22097
22098         * libs/gst/dataprotocol/Makefile.am: 
22099         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
22100         the same as the one in check/gst-libs/gdp.c.
22101
22102         * po/, docs/gst/: Commit automatic changes to docs and po files.
22103
22104         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
22105         the versioned libgstbase.
22106
22107         * check/Makefile.am: Depend on an unversioned gst-register, seems
22108         to make autoconf happier.
22109
22110         * gst/base/Makefile.am: Make libgstbase a versioned lib.
22111
22112 2005-03-28  Wim Taymans  <wim@fluendo.com>
22113
22114         * configure.ac:
22115         * docs/design/part-gstelement.txt:
22116         * docs/design/part-negotiation.txt:
22117         * docs/design/part-preroll.txt:
22118         * docs/design/part-scheduling.txt:
22119         * docs/design/part-states.txt:
22120         * gst/Makefile.am:
22121         * gst/base/Makefile.am:
22122         * gst/base/README:
22123         * gst/base/gstbasesink.c: (gst_basesink_get_template),
22124         (gst_basesink_base_init), (gst_basesink_class_init),
22125         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22126         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22127         (gst_basesink_set_pad_functions),
22128         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
22129         (gst_basesink_set_property), (gst_basesink_get_property),
22130         (gst_base_sink_get_template), (gst_base_sink_get_caps),
22131         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
22132         (gst_basesink_preroll_queue_push),
22133         (gst_basesink_preroll_queue_empty),
22134         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
22135         (gst_basesink_event), (gst_basesink_get_times),
22136         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
22137         (gst_basesink_chain_unlocked), (gst_basesink_chain),
22138         (gst_basesink_loop), (gst_basesink_activate),
22139         (gst_basesink_change_state):
22140         * gst/base/gstbasesink.h:
22141         * gst/elements/Makefile.am:
22142         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
22143         (gst_fakesink_class_init), (gst_fakesink_init),
22144         (gst_fakesink_set_property), (gst_fakesink_get_property),
22145         (gst_fakesink_get_times), (gst_fakesink_event),
22146         (gst_fakesink_preroll), (gst_fakesink_render),
22147         (gst_fakesink_change_state):
22148         * gst/elements/gstfakesink.h:
22149         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22150         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
22151         * gst/gstelement.c: (gst_element_add_pad),
22152         (gst_element_get_state_func), (gst_element_abort_state),
22153         (gst_element_commit_state), (gst_element_lost_state),
22154         (gst_element_set_state), (gst_element_pads_activate):
22155         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
22156         * gst/gstpipeline.c: (gst_pipeline_send_event),
22157         (gst_pipeline_change_state):
22158         Added state change code.
22159         Added/updated docs.
22160         Added sink base class, make fakesink extend the base class.
22161         Small cleanups in GstPipeline.
22162
22163 2005-03-26  David Schleef  <ds@schleef.org>
22164
22165         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
22166         is broken and should be implemented in a different library.
22167         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
22168         * gst/gst.h: remove gstcpu.h
22169         * gst/gstcpu.c: remove
22170         * gst/gstcpu.h: remove
22171         * gst/Makefile.am.future: Remove this file.  It's ancient.
22172
22173 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22174
22175         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22176         (gst_bin_send_event):
22177           Add default event/set_manager handlers. The set_manager handler
22178           takes care that the manager is distributed over kids that were
22179           already in the bin before the manager was set. The event handler
22180           is a utility virtual function that sends the event over all sinks,
22181           so that gst_element_send_event (bin, event); has the expected
22182           behaviour.
22183         * gst/gstpad.c: (gst_pad_event_default):
22184           Re-install default event handling for discontinuities, so that
22185           seeking works without requiring hacks in applications or extra
22186           code in sinks.
22187         * gst/gstpipeline.c: (gst_pipeline_class_init),
22188         (gst_pipeline_send_event):
22189           Half hack, half utility: set a pipeline to PAUSED for seek events,
22190           since that is the only way we can guarantee a/v sync. Means that
22191           you can do gst_element_seek (pipeline, method, pos); on a pipeline
22192           and it "just works".
22193
22194 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22195
22196         * gst/gstpipeline.c: (gst_pipeline_use_clock):
22197           Lock/unlock mismatch.
22198
22199 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22200
22201         * docs/faq/gst-uninstalled:
22202           add gst-plugins-base
22203         * docs/gst/Makefile.am:
22204           don't error out until docs are fixed
22205         * docs/gst/gstreamer.types:
22206           remove thread
22207
22208 2005-03-22  Wim Taymans  <wim@fluendo.com>
22209
22210         * check/Makefile.am:
22211         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
22212         * gst/gststructure.c: (gst_structure_set_valist),
22213         (gst_structure_copy_conditional):
22214         Activated more tests.
22215         Added message test.
22216         Added G_TYPE_POINTER to GstStructure.
22217         
22218
22219 2005-03-22  Wim Taymans  <wim@fluendo.com>
22220
22221         * docs/design/part-TODO.txt:
22222         * docs/design/part-events.txt:
22223         * docs/design/part-gstbin.txt:
22224         * docs/design/part-gstbus.txt:
22225         * docs/design/part-gstpipeline.txt:
22226         * docs/design/part-messages.txt:
22227         * gst/gstbus.c:
22228         * gst/gstmessage.c:
22229         Docs updates
22230
22231 2005-03-21  Wim Taymans  <wim@fluendo.com>
22232
22233         * gst/gstbus.c: (gst_bus_post):
22234         Fix copy-and-paste error.
22235
22236 2005-03-21  Wim Taymans  <wim@fluendo.com>
22237
22238         * check/Makefile.am:
22239         * gst/Makefile.am:
22240         * gst/elements/Makefile.am:
22241         * gst/elements/gstelements.c:
22242         * gst/elements/gstfakesink.c: (gst_fakesink_init),
22243         (gst_fakesink_event), (gst_fakesink_chain):
22244         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22245         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
22246         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
22247         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
22248         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22249         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
22250         (gst_fakesrc_loop), (gst_fakesrc_activate),
22251         (gst_fakesrc_change_state):
22252         * gst/elements/gstfakesrc.h:
22253         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
22254         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
22255         (gst_filesrc_open_file), (gst_filesrc_loop),
22256         (gst_filesrc_activate), (gst_filesrc_change_state),
22257         (filesrc_find_peek), (filesrc_find_suggest),
22258         (gst_filesrc_type_find):
22259         * gst/elements/gstidentity.c: (gst_identity_finalize),
22260         (gst_identity_class_init), (gst_identity_init),
22261         (gst_identity_proxy_getcaps), (identity_queue_push),
22262         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
22263         (gst_identity_getrange), (gst_identity_chain),
22264         (gst_identity_sink_loop), (gst_identity_src_loop),
22265         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
22266         (gst_identity_set_property), (gst_identity_get_property),
22267         (gst_identity_change_state):
22268         * gst/elements/gstidentity.h:
22269         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
22270         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
22271         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
22272         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
22273         (gst_tee_sink_activate):
22274         * gst/elements/gsttee.h:
22275         * gst/gst.c: (gst_register_core_elements), (init_post):
22276         * gst/gst.h:
22277         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
22278         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
22279         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
22280         (gst_bin_change_state):
22281         * gst/gstbin.h:
22282         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
22283         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
22284         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
22285         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
22286         (gst_bus_set_sync_handler), (gst_bus_create_watch),
22287         (bus_watch_callback), (bus_watch_destroy),
22288         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
22289         (poll_timeout), (gst_bus_poll):
22290         * gst/gstbus.h:
22291         * gst/gstcaps.h:
22292         * gst/gstdata.h:
22293         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22294         (gst_element_post_message), (gst_element_message_full),
22295         (gst_element_get_state_func), (gst_element_get_state),
22296         (gst_element_abort_state), (gst_element_commit_state),
22297         (gst_element_lost_state), (gst_element_set_state),
22298         (gst_element_pads_activate), (gst_element_change_state),
22299         (gst_element_dispose), (gst_element_set_manager_func),
22300         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
22301         (gst_element_set_manager), (gst_element_get_manager),
22302         (gst_element_set_bus), (gst_element_get_bus),
22303         (gst_element_set_scheduler), (gst_element_get_scheduler):
22304         * gst/gstelement.h:
22305         * gst/gstevent.c: (gst_event_new_segment_seek),
22306         (gst_event_new_flush):
22307         * gst/gstevent.h:
22308         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
22309         (_gst_message_free), (gst_message_get_type), (gst_message_new),
22310         (gst_message_new_eos), (gst_message_new_error),
22311         (gst_message_new_warning), (gst_message_new_tag),
22312         (gst_message_new_state_changed), (gst_message_new_application),
22313         (gst_message_get_structure), (gst_message_parse_tag),
22314         (gst_message_parse_state_changed), (gst_message_parse_error),
22315         (gst_message_parse_warning):
22316         * gst/gstmessage.h:
22317         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
22318         (gst_real_pad_set_property), (gst_pad_set_active),
22319         (gst_pad_is_active), (gst_pad_set_blocked_async),
22320         (gst_pad_set_blocked), (gst_pad_is_blocked),
22321         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
22322         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
22323         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
22324         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
22325         (gst_pad_link_filtered), (gst_pad_relink_filtered),
22326         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
22327         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
22328         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
22329         (gst_pad_set_caps), (gst_pad_configure_sink),
22330         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
22331         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
22332         (gst_real_pad_dispose), (gst_real_pad_finalize),
22333         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
22334         (gst_pad_event_default_dispatch), (gst_pad_event_default),
22335         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
22336         * gst/gstpad.h:
22337         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
22338         (pipeline_bus_handler), (gst_pipeline_change_state),
22339         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
22340         * gst/gstpipeline.h:
22341         * gst/gstprobe.h:
22342         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22343         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
22344         (gst_queue_link_src), (gst_queue_bufferalloc),
22345         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
22346         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
22347         (gst_queue_loop), (gst_queue_handle_src_event),
22348         (gst_queue_handle_src_query), (gst_queue_src_activate),
22349         (gst_queue_change_state):
22350         * gst/gstqueue.h:
22351         * gst/gstscheduler.c: (gst_scheduler_init),
22352         (gst_scheduler_dispose), (gst_scheduler_create_task),
22353         (gst_scheduler_factory_create):
22354         * gst/gstscheduler.h:
22355         * gst/gststructure.c: (gst_structure_get_type),
22356         (gst_structure_copy_conditional):
22357         * gst/gststructure.h:
22358         * gst/gsttaginterface.h:
22359         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22360         (gst_task_init), (gst_task_dispose), (gst_task_create),
22361         (gst_task_get_state), (gst_task_start), (gst_task_stop),
22362         (gst_task_pause):
22363         * gst/gsttask.h:
22364         * gst/gstthread.c:
22365         * gst/gstthread.h:
22366         * gst/gsttypes.h:
22367         * gst/schedulers/Makefile.am:
22368         * gst/schedulers/cothreads_compat.h:
22369         * gst/schedulers/entryscheduler.c:
22370         * gst/schedulers/faircothreads.c:
22371         * gst/schedulers/faircothreads.h:
22372         * gst/schedulers/fairscheduler.c:
22373         * gst/schedulers/gstbasicscheduler.c:
22374         * gst/schedulers/gstoptimalscheduler.c:
22375         * gst/schedulers/gthread-cothreads.h:
22376         * gst/schedulers/threadscheduler.c:
22377         (gst_thread_scheduler_task_get_type),
22378         (gst_thread_scheduler_task_class_init),
22379         (gst_thread_scheduler_task_init),
22380         (gst_thread_scheduler_task_start),
22381         (gst_thread_scheduler_task_stop),
22382         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
22383         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22384         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
22385         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
22386         (plugin_init):
22387         * libs/gst/Makefile.am:
22388         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
22389         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
22390         (gst_file_pad_parent_set):
22391         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22392         (gst_dp_event_from_packet):
22393         * tests/complexity.c: (main):
22394         * tests/mass_elements.c: (main):
22395         * testsuite/states/locked.c: (message_received), (main):
22396         * testsuite/states/parent.c: (main):
22397         * tools/gst-inspect.c: (print_element_flag_info),
22398         (print_implementation_info), (print_pad_info):
22399         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
22400         (main):
22401         * tools/gst-md5sum.c: (event_loop), (main):
22402         * tools/gst-typefind.c: (main):
22403         * tools/gst-xmlinspect.c: (print_element_info):
22404         Next big merge.
22405         Added GstBus for mainloop integration.
22406         Added GstMessage for sending notifications on the bus.
22407         Added GstTask as an abstraction for pipeline entry points.
22408         Removed GstThread.
22409         Removed Schedulers.
22410         Simplified GstQueue for multithreaded core.
22411         Made _link threadsafe, removed old capsnego.
22412         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
22413         Added pad blocking functions.
22414         Reworked scheduling functions in GstPad to prepare for
22415         scheduling updates soon.
22416         Moved events out of data stream.
22417         Simplified GstEvent types.
22418         Added return values to push/pull.
22419         Removed clocking from GstElement.
22420         Added prototypes for state change function for next merge.
22421         Removed iterate from bins and state change management.
22422         Fixed some elements, disabled others for now.
22423         Fixed -inspect and -launch.
22424         Added check for GstBus.
22425
22426 2005-03-10  Wim Taymans  <wim@fluendo.com>
22427
22428         * docs/design/part-MT-refcounting.txt:
22429         * docs/design/part-clocks.txt:
22430         * docs/design/part-gstelement.txt:
22431         * docs/design/part-gstobject.txt:
22432         * docs/design/part-standards.txt:
22433         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22434         (gst_bin_remove_func), (gst_bin_remove):
22435         * gst/gstbin.h:
22436         * gst/gstbuffer.c:
22437         * gst/gstcaps.h:
22438         * testsuite/clock/clock1.c: (main):
22439         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
22440         (main):
22441         * testsuite/dlopen/loadgst.c: (do_test):
22442         * testsuite/refcounting/bin.c: (add_remove_test1),
22443         (add_remove_test2), (main):
22444         * testsuite/refcounting/element.c: (main):
22445         * testsuite/refcounting/element_pad.c: (main):
22446         * testsuite/refcounting/pad.c: (main):
22447         * tools/gst-launch.c: (sigint_handler_sighandler):
22448         * tools/gst-typefind.c: (main):
22449         Doc updates.
22450         Added doc about clock.
22451         removed gst_bin_iterate_recurse_up(), marked methods
22452         for removal.
22453         Fix more testsuites.
22454
22455 2005-03-09  Wim Taymans  <wim@fluendo.com>
22456
22457         * gst/gstpad.c: (gst_pad_get_direction),
22458         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
22459         (gst_pad_collect_valist):
22460         * testsuite/bins/interface.c: (main):
22461         * testsuite/caps/audioscale.c: (test_caps):
22462         * testsuite/caps/caps.c: (test1), (test2), (test3):
22463         * testsuite/caps/deserialize.c: (main):
22464         * testsuite/caps/enumcaps.c: (main):
22465         * testsuite/caps/filtercaps.c: (main):
22466         * testsuite/caps/intersect2.c: (main):
22467         * testsuite/caps/random.c: (main):
22468         * testsuite/caps/renegotiate.c: (my_fixate), (main):
22469         * testsuite/caps/sets.c: (check_caps):
22470         * testsuite/caps/simplify.c: (check_caps), (main):
22471         * testsuite/caps/subtract.c: (check_caps):
22472         Fix _pad_get_direction wrt ghostpads.
22473         Fix caps testsuite.
22474
22475 2005-03-09  Wim Taymans  <wim@fluendo.com>
22476
22477         * check/Makefile.am:
22478         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
22479         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
22480         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
22481         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
22482         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
22483         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
22484         (gst_bin_remove), (gst_bin_iterate_recurse_up),
22485         (bin_element_is_sink), (gst_bin_iterate_sinks),
22486         (gst_bin_iterate_all_by_interface):
22487         * gst/gstbin.h:
22488         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
22489         (gst_element_change_state), (gst_element_dispose),
22490         (gst_element_finalize), (gst_element_set_loop_function):
22491         * gst/gstelement.h:
22492         * gst/gstiterator.c: (find_custom_fold_func):
22493         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22494         (gst_pad_collectv), (gst_pad_collect_valist),
22495         (gst_pad_template_new):
22496         * gst/gstpipeline.c: (gst_pipeline_class_init),
22497         (gst_pipeline_dispose), (gst_pipeline_set_property),
22498         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
22499         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
22500         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
22501         * gst/gstutils.h:
22502         * gst/schedulers/entryscheduler.c:
22503         * gst/schedulers/gstbasicscheduler.c:
22504         (gst_basic_scheduler_cothreaded_chain),
22505         (gst_basic_scheduler_chain_add_element):
22506         * testsuite/bins/interface.c: (main):
22507         Added GstBin test.
22508         Added GstSystemClock test.
22509         Implemented clock distribution code in GstBin.
22510         Implemented iterate sinks method for future use.
22511         Rearranged gstelement.h
22512         Fix GstIterator comparison bug.
22513         Moved some code to GstPipeline, mostly clocking related.
22514
22515 2005-03-09  Wim Taymans  <wim@fluendo.com>
22516
22517         * configure.ac:
22518         * gst/gst_private.h:
22519         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22520         (gst_bin_remove_func), (gst_bin_remove),
22521         (gst_bin_get_by_name_recurse_up):
22522         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
22523         (gst_clock_id_compare_func), (gst_clock_id_wait),
22524         (gst_clock_id_wait_async), (gst_clock_init),
22525         (gst_clock_adjust_unlocked), (gst_clock_get_time):
22526         * gst/gstelement.h:
22527         * gst/gstinfo.c: (_gst_debug_init):
22528         * gst/gstobject.h:
22529         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22530         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
22531         * gst/gstpad.h:
22532         Bump version number, we're now 0.9.0
22533         Add future debugging category.
22534         Fix NULL _unref() in _get_by_name_recurse_up
22535         Rearrange gstpad.h.
22536         Update some docs.
22537
22538 2005-03-08  Wim Taymans  <wim@fluendo.com>
22539
22540         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
22541         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
22542         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22543         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
22544         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
22545         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
22546         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
22547         * gst/elements/gstidentity.c: (gst_identity_class_init):
22548         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
22549         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
22550         * gst/elements/gstshaper.c: (gst_shaper_class_init):
22551         * gst/elements/gststatistics.c: (gst_statistics_class_init):
22552         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
22553         (gst_tee_link):
22554         * gst/gstelement.c: (gst_element_class_init),
22555         (gst_element_base_class_init), (gst_element_init),
22556         (gst_element_get_random_pad), (gst_element_wait_state_change),
22557         (gst_element_change_state), (gst_element_dispose),
22558         (gst_element_finalize), (gst_element_set_loop_function):
22559         * gst/gstelement.h:
22560         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
22561         * gst/gstthread.c: (gst_thread_class_init),
22562         (gst_thread_release_children_locks), (gst_thread_change_state):
22563         * gst/schedulers/gstbasicscheduler.c:
22564         (gst_basic_scheduler_loopfunc_wrapper),
22565         (gst_basic_scheduler_chain_wrapper),
22566         (gst_basic_scheduler_src_wrapper),
22567         (gst_basic_scheduler_remove_element):
22568         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
22569         Remove threadsafe properties. Fix elements because GObject
22570         complains when installing a property before declaring a
22571         set/get_property handler.
22572         Rearrange gstelement.h file, use STATE macros for state locks.
22573         Free mutexes in the finalize method instead of dispose.
22574
22575 2005-03-08  Wim Taymans  <wim@fluendo.com>
22576
22577         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22578         * gst/gstthread.c: (gst_thread_release_children_locks):
22579         Added parentage check.
22580         Fix build og GstThread again.
22581
22582 2005-03-08  Wim Taymans  <wim@fluendo.com>
22583
22584         * docs/design/part-MT-refcounting.txt:
22585         * docs/design/part-conventions.txt:
22586         * docs/design/part-gstobject.txt:
22587         * docs/design/part-relations.txt:
22588         * docs/design/part-standards.txt:
22589         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22590         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
22591         (gst_bin_get_by_name), (gst_bin_get_by_interface),
22592         (gst_bin_iterate_all_by_interface):
22593         * gst/gstbuffer.h:
22594         * gst/gstclock.h:
22595         * gst/gstelement.c: (gst_element_class_init),
22596         (gst_element_change_state), (gst_element_set_loop_function):
22597         * gst/gstelement.h:
22598         * gst/gstiterator.c:
22599         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
22600         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
22601         (gst_object_dispatch_properties_changed), (gst_object_set_name),
22602         (gst_object_set_parent), (gst_object_unparent),
22603         (gst_object_check_uniqueness):
22604         * gst/gstobject.h:
22605         Docs updates, clean up some headers.
22606
22607 2005-03-07  Wim Taymans  <wim@fluendo.com>
22608
22609         * check/.cvsignore:
22610         * check/Makefile.am:
22611         * check/gst-libs/.cvsignore:
22612         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
22613         * check/gst/.cvsignore:
22614         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
22615         (START_TEST), (gstbus_suite), (main):
22616         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
22617         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
22618         (gst_data_suite), (main):
22619         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
22620         (add_fold_func), (gstiterator_suite), (main):
22621         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
22622         (thread_name_object), (thread_name_object_default),
22623         (gst_object_name_compare), (gst_object_suite), (main):
22624         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
22625         (gst_pad_suite), (main):
22626         * check/gstcheck.c: (gst_check_log_message_func),
22627         (gst_check_log_critical_func), (gst_check_init):
22628         * check/gstcheck.h:
22629         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
22630         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
22631         Added checks.
22632
22633 2005-03-07  Wim Taymans  <wim@fluendo.com>
22634
22635         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22636         (gst_list_iterator_next), (gst_list_iterator_resync),
22637         (gst_list_iterator_free), (gst_iterator_new_list),
22638         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
22639         (gst_iterator_free), (gst_iterator_push), (filter_next),
22640         (filter_resync), (filter_uninit), (filter_free),
22641         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
22642         (gst_iterator_foreach), (find_custom_fold_func),
22643         (gst_iterator_find_custom):
22644         * gst/gstiterator.h:
22645         Added missing files.
22646
22647 2005-03-07  Wim Taymans  <wim@fluendo.com>
22648
22649         * Makefile.am:
22650         * configure.ac:
22651         * docs/design/part-MT-refcounting.txt:
22652         * docs/design/part-conventions.txt:
22653         * docs/design/part-gstobject.txt:
22654         * docs/design/part-relations.txt:
22655         * examples/mixer/mixer.c: (main):
22656         * examples/thread/thread.c: (eos), (main):
22657         * gst/Makefile.am:
22658         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
22659         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
22660         (gst_spider_plug_from_srcpad):
22661         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
22662         (gst_spider_identity_change_state),
22663         (gst_spider_identity_sink_loop_type_finding):
22664         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
22665         * gst/elements/gstidentity.c: (gst_identity_init):
22666         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
22667         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
22668         * gst/elements/gsttypefindelement.c: (free_entry):
22669         * gst/gst.c:
22670         * gst/gst.h:
22671         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
22672         (gst_bin_set_clock_func), (gst_bin_auto_clock),
22673         (gst_bin_set_index), (gst_bin_set_element_sched),
22674         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
22675         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
22676         (gst_bin_iterate_elements), (iterate_child_recurse),
22677         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
22678         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
22679         (compare_interface), (gst_bin_get_by_interface),
22680         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
22681         * gst/gstbin.h:
22682         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
22683         (gst_buffer_default_free), (gst_buffer_default_copy),
22684         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
22685         (gst_buffer_create_sub):
22686         * gst/gstbuffer.h:
22687         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
22688         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
22689         (gst_caps_unref), (gst_static_caps_get),
22690         (gst_caps_remove_and_get_structure), (gst_caps_append),
22691         (gst_caps_append_structure), (gst_caps_remove_structure),
22692         (gst_caps_copy_nth), (gst_caps_set_simple),
22693         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
22694         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
22695         (gst_caps_structure_intersect_field), (gst_caps_intersect),
22696         (gst_caps_structure_subtract_field), (gst_caps_subtract),
22697         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
22698         (gst_caps_structure_figure_out_union),
22699         (gst_caps_switch_structures), (gst_caps_do_simplify),
22700         (gst_caps_replace), (gst_caps_from_string),
22701         (gst_caps_copy_conditional):
22702         * gst/gstcaps.h:
22703         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
22704         (_gst_clock_id_free), (gst_clock_id_unref),
22705         (gst_clock_id_compare_func), (gst_clock_id_wait),
22706         (gst_clock_id_wait_async), (gst_clock_class_init),
22707         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
22708         (gst_clock_get_time), (gst_clock_set_time_adjust),
22709         (gst_clock_set_property), (gst_clock_get_property):
22710         * gst/gstclock.h:
22711         * gst/gstcompat.h:
22712         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
22713         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
22714         * gst/gstdata.h:
22715         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22716         (gst_element_requires_clock), (gst_element_provides_clock),
22717         (gst_element_set_clock), (gst_element_clock_wait),
22718         (gst_element_wait), (gst_element_set_time_delay),
22719         (gst_element_is_indexable), (gst_element_add_pad),
22720         (gst_element_add_ghost_pad), (gst_element_remove_pad),
22721         (pad_compare_name), (gst_element_get_static_pad),
22722         (gst_element_request_pad), (gst_element_get_request_pad),
22723         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
22724         (gst_element_class_get_pad_template_list),
22725         (gst_element_class_get_pad_template), (gst_element_error_func),
22726         (gst_element_get_random_pad), (gst_element_get_event_masks),
22727         (gst_element_send_event), (gst_element_seek),
22728         (gst_element_get_query_types), (gst_element_query),
22729         (gst_element_get_formats), (gst_element_convert),
22730         (gst_element_is_locked_state), (gst_element_set_locked_state),
22731         (gst_element_sync_state_with_parent), (gst_element_change_state),
22732         (gst_element_finalize), (gst_element_yield),
22733         (gst_element_interrupt), (gst_element_set_scheduler),
22734         (gst_element_get_scheduler), (gst_element_set_loop_function):
22735         * gst/gstelement.h:
22736         * gst/gstevent.h:
22737         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
22738         (gst_format_get_by_nick), (gst_format_get_details),
22739         (gst_format_iterate_definitions):
22740         * gst/gstformat.h:
22741         * gst/gstindex.c: (gst_index_gtype_resolver):
22742         * gst/gstinfo.c:
22743         * gst/gstinfo.h:
22744         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
22745         (gst_mem_chunk_free):
22746         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22747         (gst_object_ref), (gst_object_unref), (gst_object_sink),
22748         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
22749         (gst_object_dispatch_properties_changed),
22750         (gst_object_set_name_default), (gst_object_set_name),
22751         (gst_object_get_name), (gst_object_set_name_prefix),
22752         (gst_object_get_name_prefix), (gst_object_set_parent),
22753         (gst_object_get_parent), (gst_object_unparent),
22754         (gst_object_check_uniqueness), (gst_object_save_thyself),
22755         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
22756         (gst_object_set_property), (gst_object_get_property),
22757         (gst_object_get_path_string):
22758         * gst/gstobject.h:
22759         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22760         (gst_real_pad_init), (gst_real_pad_get_property),
22761         (gst_pad_custom_new), (gst_pad_get_direction),
22762         (gst_pad_set_active), (gst_pad_is_active),
22763         (gst_pad_set_event_function), (gst_pad_is_linked),
22764         (gst_pad_link_free), (gst_pad_link_intersect),
22765         (gst_pad_link_fixate), (gst_pad_set_caps),
22766         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
22767         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
22768         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
22769         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
22770         (gst_pad_get_caps), (gst_pad_peer_get_caps),
22771         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
22772         (gst_pad_realize), (gst_pad_get_allowed_caps),
22773         (gst_real_pad_dispose), (gst_real_pad_finalize),
22774         (gst_pad_collectv), (gst_pad_collect_valist),
22775         (gst_pad_template_dispose), (gst_pad_template_new),
22776         (gst_pad_get_internal_links):
22777         * gst/gstpad.h:
22778         * gst/gstpipeline.c: (gst_pipeline_dispose),
22779         (gst_pipeline_change_state):
22780         * gst/gstpipeline.h:
22781         * gst/gstplugin.c:
22782         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
22783         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
22784         * gst/gstpluginfeature.h:
22785         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
22786         * gst/gstquery.c: (_gst_query_type_initialize),
22787         (gst_query_type_register), (gst_query_type_get_by_nick),
22788         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
22789         * gst/gstquery.h:
22790         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
22791         * gst/gstscheduler.c: (gst_scheduler_add_element),
22792         (gst_scheduler_factory_create):
22793         * gst/gststructure.c: (gst_structure_set_parent_refcount),
22794         (gst_structure_free), (gst_structure_set_name),
22795         (gst_structure_id_set_value), (gst_structure_set_value),
22796         (gst_structure_set_valist), (gst_structure_remove_field),
22797         (gst_structure_remove_fields),
22798         (gst_structure_remove_fields_valist),
22799         (gst_structure_remove_all_fields), (gst_structure_foreach),
22800         (gst_structure_map_in_place),
22801         (gst_caps_structure_fixate_field_nearest_int),
22802         (gst_caps_structure_fixate_field_nearest_double):
22803         * gst/gststructure.h:
22804         * gst/gstsystemclock.c: (gst_system_clock_class_init),
22805         (gst_system_clock_init), (gst_system_clock_dispose),
22806         (gst_system_clock_async_thread),
22807         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
22808         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
22809         * gst/gstsystemclock.h:
22810         * gst/gsttag.c: (gst_tag_list_add_value_internal),
22811         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
22812         * gst/gsttaginterface.c:
22813         * gst/gstthread.c: (gst_thread_dispose),
22814         (gst_thread_release_children_locks), (gst_thread_change_state),
22815         (gst_thread_main_loop):
22816         * gst/gsttrashstack.h:
22817         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
22818         * gst/gsttypes.h:
22819         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22820         (gst_element_request_pad), (gst_element_get_pad_from_template),
22821         (gst_element_request_compatible_pad),
22822         (gst_element_get_compatible_pad_filtered),
22823         (gst_element_get_compatible_pad), (gst_element_state_get_name),
22824         (gst_element_link_pads_filtered), (gst_element_link_filtered),
22825         (gst_element_link_many), (gst_element_link),
22826         (gst_element_link_pads), (gst_element_unlink_pads),
22827         (gst_element_unlink_many), (gst_element_unlink),
22828         (gst_pad_can_link_filtered), (gst_pad_can_link),
22829         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
22830         (gst_object_default_error), (gst_bin_add_many),
22831         (gst_bin_remove_many), (gst_element_populate_std_props),
22832         (gst_element_class_install_std_props), (gst_buffer_merge),
22833         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
22834         (link_fold_func), (gst_pad_proxy_setcaps):
22835         * gst/gstutils.h:
22836         * gst/gstvalue.c: (gst_value_deserialize_string):
22837         * gst/parse/grammar.y:
22838         * gst/schedulers/gstbasicscheduler.c:
22839         (gst_basic_scheduler_cothreaded_chain),
22840         (gst_basic_scheduler_chain_recursive_add),
22841         (gst_basic_scheduler_pad_link):
22842         * gst/schedulers/gstoptimalscheduler.c:
22843         (get_group_schedule_function),
22844         (gst_opt_scheduler_state_transition),
22845         (gst_opt_scheduler_add_element), (element_get_reachables_func):
22846         * libs/gst/bytestream/bytestream.c:
22847         * libs/gst/dataprotocol/dataprotocol.c:
22848         (gst_dp_header_from_buffer):
22849         * po/nb.po:
22850         * po/ru.po:
22851         * tests/threadstate/threadstate2.c: (eos):
22852         * tools/gst-compprep.c: (main):
22853         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
22854         (print_pad_info), (print_children_info):
22855         * tools/gst-launch.c: (idle_func), (main):
22856         * tools/gst-md5sum.c: (idle_func), (main):
22857         * tools/gst-xmlinspect.c: (print_element_info):
22858         First THREADED backport attempt, focusing on adding locks and
22859         making sure the API is threadsafe. Needs more work. More docs
22860         follow this week.
22861
22862 2005-02-24  Andy Wingo  <wingo@pobox.com>
22863
22864         * tests/bench-complexity.scm:
22865         * tests/complexity.gnuplot: New files, good for running complexity
22866         benchmarks.
22867
22868         * tests/Makefile.am:
22869         * tests/complexity.c: New test, sets up N elements, at each level
22870         teeing into M streams per element. Eeeenteresting.
22871
22872         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
22873         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
22874         running bench-mass_elements.scm.
22875
22876         * tests/bench-mass_elements.scm: New script, runs mass_elements
22877         for various numbers of identities, outputting the results to a
22878         file. Requires guile 1.6. Just for testing.
22879
22880 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22881
22882         * gst/schedulers/fairscheduler.c:
22883           compile with debug disabled
22884
22885 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22886
22887         * configure.ac:
22888           hunting season on 0.9 is now OPEN