Make --disable-nls to work
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
2
3         * common/m4/gst-gettext.m4:
4         * gst/gst-i18n-lib.h:
5           Make --disable-nls to work
6
7 2007-04-17  Wim Taymans  <wim@fluendo.com>
8
9         * gst/gstconfig.h.in:
10         Revert previous change that broke the build.
11
12 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
13
14         * configure.ac:
15         * gst/Makefile.am:
16         * gst/gstconfig.h.in:
17           Drop libxml2 dependency when building with 
18           --enable-binary-registry --disable-loadsave
19
20 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
21
22         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
23         (gst_registry_binary_read_cache):
24         * gst/gstregistrybinary.h:
25           Remove unnecessary <sys/mman.h> include which broke the win32 build
26           with MingW; move includes from header file to .c file, even if the
27           header file isn't installed; use g_strerror() where UTF-8 strings
28           are expected, such as in GST_DEBUG messages.
29
30 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
31
32         * docs/libs/gstreamer-libs-sections.txt:
33         Remove bogus addition for API I didn't end up keeping.
34
35         * libs/gst/base/gstbasesrc.h:
36         Mention Since: 0.10.13 in the documentation.
37
38         Add the API keyword to the previous ChangeLog entry.
39
40 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
41
42         * docs/libs/gstreamer-libs-sections.txt:
43         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
44         (gst_base_src_default_prepare_seek_segment),
45         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
46         * libs/gst/base/gstbasesrc.h:
47         Allow basesrc derived classes to execute seeks in other formats
48         by providing a prepare_seek_segment vmethod. Sub-classes can choose
49         to prepare the GstSegment in any format that their perform_seek method
50         will be able to understand. The default implementation provides the
51         old behaviour of attempting to convert the seek offsets to the 
52         configured native format.
53
54         API: basesrc::prepare_seek_segment vmethod.
55
56 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
57
58         * gst/gstelement.c: (gst_element_get_state_func):
59         Don't output the same debug statement twice.
60
61         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
62         (gst_adapter_peek), (gst_adapter_take_buffer):
63         Optimise the case where we have buffers at the head of the queue that
64         can be joined quickly (because they're contiguous sub-buffers) by
65         merging them together rather than copying data out into new memory.
66
67         * gst/parse/grammar.y:
68         * tests/check/pipelines/parse-launch.c:
69         Fix a leak in an error path for parse_launch, and add a check 
70         for it to the testsuite.
71
72 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
73
74         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
75           Don't deadlock when releasing a pad - gst_pad_set_active may try
76           and take the multiqueue lock too.
77
78 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
79
80         * gst/gsterror.c: (_gst_core_errors_init):
81         * gst/gsterror.h:
82           API: add GST_CORE_ERROR_DISABLED (#392804).
83
84 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
85
86         * docs/faq/gst-uninstalled:
87           don't get empty paths on the PATH variables
88         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
89           Don't format for the uncommon terminal width of 84 characters.
90
91 2007-04-06  Wim Taymans  <wim@fluendo.com>
92
93         * gst/gstpipeline.c: (reset_stream_time),
94         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
95         Only try to select a different pipeline clock when we went back to
96         PAUSED and not when we merely got flushed.
97
98 2007-04-05  Michael Smith  <msmith@fluendo.com>
99
100         * tools/gst-launch.1.in:
101           fractions are better supported in gstreamer than ractions, so
102           suggest using those.
103
104 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
105
106         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
107
108         * po/LINGUAS:
109         * po/da.po:
110           Added Danish translation.
111
112 2007-04-05  Wim Taymans  <wim@fluendo.com>
113
114         * libs/gst/base/gstbasesink.c:
115         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
116         Fix leak caused when refusing newsegment after EOS.
117
118         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
119         (gst_fake_sink_init), (gst_fake_sink_set_property),
120         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
121         (gst_fake_sink_render), (gst_fake_sink_change_state):
122         * plugins/elements/gstfakesink.h:
123         Add num-buffers property to make the element generate EOS after a
124         configurable amount of buffers.
125         API: fakesink::num-buffers property.
126
127         * tests/check/elements/fakesink.c: (GST_START_TEST),
128         (fakesink_suite):
129         Fix GstBus leak in test.
130         Test for fakesink num-buffers.
131
132 2007-04-05  Wim Taymans  <wim@fluendo.com>
133
134         * libs/gst/base/gstbasesink.c:
135         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
136         (gst_base_sink_change_state):
137         Don't accept anything after an EOS, return UNEXPECTED instead.
138
139         * tests/check/elements/fakesink.c: (GST_START_TEST),
140         (fakesink_suite):
141         Unit test for new EOS behaviour.
142
143 2007-04-05  Wim Taymans  <wim@fluendo.com>
144
145         * gst/gstelement.c: (gst_element_get_request_pad):
146         Make padtemplates also work when they don't contain %s or %d.
147
148 2007-04-05  Wim Taymans  <wim@fluendo.com>
149
150         * docs/gst/gstreamer-sections.txt:
151         * gst/gstclock.c: (gst_clock_adjust_unlocked),
152         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
153         * gst/gstclock.h:
154         Improve _adjust_unlocked() so that it overflows less.
155         Add gst_clock_unadjust_unlocked to convert from external time to
156         internal time based on calibration.
157         Add some more debug.
158         API: GstClock::gst_clock_unadjust_unlocked()
159
160 2007-04-03  Wim Taymans  <wim@fluendo.com>
161
162         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
163
164         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
165         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
166         when releasing sink pad. Fixes #425400.
167
168 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
169
170         * docs/random/ensonic/dynlink.txt:
171           More work on proposal for new core api.
172
173         * docs/libs/gstreamer-libs-sections.txt:
174         * libs/gst/base/gstbasetransform.h:
175           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
176           
177         * libs/gst/controller/gstcontroller.c:
178         (on_object_controlled_property_changed),
179         (gst_controller_sync_values),
180         (gst_controller_set_interpolation_mode):
181         * libs/gst/controller/gstcontroller.h:
182           Less verbose logging add docs for unimplemented parts and correctly
183           return when using unavailable parts.
184
185 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
186
187         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
188         Move all the debug to the CLOCK category, and associate it with
189         the clock object.
190
191 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
192
193         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
194         Make take_buffer a bit quicker by removing redundant checks
195         caused by calling gst_adapter_take.
196
197 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
198
199         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
200           Don't leak GCond.
201
202         * tests/check/Makefile.am:
203         * tests/check/elements/.cvsignore:
204         * tests/check/elements/multiqueue.c: (setup_multiqueue),
205         (GST_START_TEST), (multiqueue_suite):
206           Add some dead simple unit tests for the 'multiqueue' element
207           (some bits don't work yet and are disabled for now).
208
209 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
210
211         * gst/gstelement.c: (gst_element_get_request_pad),
212         (gst_element_class_get_request_pad_template):
213           Make gst_element_get_request_pad() create request pads only for
214           request pad templates and not for, say, sometimes pad templates.
215
216 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
217
218         * docs/design/draft-klass.txt:
219           Add example that needs more thinking.
220         
221         * docs/design/draft-missing-plugins.txt:
222           More thoughts about wrapper plugins.
223         
224         * docs/random/ensonic/embedded.txt:
225         * docs/random/ensonic/profiling.txt:
226           More design work.
227
228 2007-03-25  Wim Taymans  <wim@fluendo.com>
229
230         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
231         (gst_base_src_loop):
232         Only push the segment events in the PLAYING state for live sources.
233
234 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
235
236         * gst/gstpipeline.c: (gst_pipeline_change_state):
237         Modify the clock distribution path in PAUSED->PLAYING so that we 
238         never attempt to choose a new clock unless we're actually leaving
239         the PAUSED state for the first time. This prevents choosing a
240         different clock when the state_change gets called for a 2nd time due
241         to some element doing an async state change.
242
243 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
244
245         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
246         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
247         (gst_pad_chain_unchecked), (gst_pad_push):
248         Revert last commit. This needs some more thoughts.
249
250 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
251
252         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
253         (gst_pad_chain_unchecked), (gst_pad_push):
254         Check in set_caps if the caps are compatible with the pad and remove
255         two functions that are redundant now. Fixes #421543.
256
257 2007-03-22  Wim Taymans  <wim@fluendo.com>
258
259         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
260         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
261         Unref some more to make valgrind happy.
262
263 2007-03-22  Wim Taymans  <wim@fluendo.com>
264
265         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
266         (gst_system_clock_id_wait_jitter),
267         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
268         Fix anoying regression that survived a few releases. When adding an
269         async entry while blocking on a sync entry, the sync entry will unblock
270         but still be busy, so it should continue to wait instead of returning
271         _BUSY to the app.
272         Add some comments here and there.
273
274         * tests/check/gst/gstsystemclock.c: (mixed_thread),
275         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
276         Add testcase for this.
277
278 2007-03-22  Wim Taymans  <wim@fluendo.com>
279
280         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
281         Handle errors from the clock sync better, only UNSCHEDULED indicates a
282         WRONG_STATE and can silently pause the task. All other cases should
283         error out.
284
285 2007-03-22  Wim Taymans  <wim@fluendo.com>
286
287         Patch by: <syrjala at sci dot fi>
288
289         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
290         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
291         Improve debugging.
292
293 2007-03-21  Michael Smith  <msmith@fluendo.com>
294
295         * docs/pwg/advanced-types.xml:
296           Fix some errors in the typefinding docs pointed out on irc.
297
298 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
299
300         * libs/gst/base/gstbasesrc.c:
301         Clarify FIXME comment in the face of having added unlock_stop()
302
303 2007-03-21  Wim Taymans  <wim@fluendo.com>
304
305         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
306         Prepare for release where we warn against possible app breakage in the
307         case of live pipelines along with an env var to enable/disable live
308         preroll mode (GST_COMPAT=[no-]live-preroll).
309
310 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
311
312         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
313         So we should use correct constants for checking for None offset.
314
315 2007-03-20  Wim Taymans  <wim@fluendo.com>
316
317         * docs/design/part-block.txt:
318         Mention the fact that the newly switched element should be set to at
319         least PAUSED.
320
321 2007-03-20  Wim Taymans  <wim@fluendo.com>
322
323         * gst/gst.c:
324         Fix compilation with registry disabled as spotted by Saur.
325
326 2007-03-20  Wim Taymans  <wim@fluendo.com>
327
328         Patch by: Olivier Crete <tester at tester dot ca>
329
330         * gst/gstelement.c: (gst_element_sync_state_with_parent):
331         Look at the pending state too when syncing the element state to the
332         parent. Fixes #420133.
333
334 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
335
336         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
337         (gst_base_sink_change_state):
338         * libs/gst/base/gstbasesink.h:
339         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
340         (gst_base_src_default_event), (gst_base_src_unlock_stop),
341         (gst_base_src_deactivate):
342         * libs/gst/base/gstbasesrc.h:
343         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
344         for sub-classes to correctly clear any state they set trying to
345         unlock, such as clearing out unlock commands from a command fd.
346
347         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
348         (gst_fd_sink_render), (gst_fd_sink_unlock),
349         (gst_fd_sink_unlock_stop):
350         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
351         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
352         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
353
354         Implement unlock_stop in fdsrc and fdsink.
355         Implement seeking in fdsrc when a seekable fd is passed, as in
356         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
357
358 2007-03-19  Wim Taymans  <wim@fluendo.com>
359
360         Patch by: Evan Nemerson <evan at coeus dash group dot com>
361
362         * gst/gstelement.c: (gst_element_class_init):
363         Fix pad-added and pad-removed signal signatures so that the pad type is
364         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
365
366 2007-03-19  Wim Taymans  <wim@fluendo.com>
367
368         * docs/gst/gstreamer-sections.txt:
369         Add new element field and method.
370
371         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
372         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
373         (gst_bin_recalc_state), (gst_bin_get_state_func),
374         (gst_bin_element_set_state), (gst_bin_change_state_func),
375         (gst_bin_continue_func), (bin_bus_handler),
376         (bin_push_state_continue), (bin_handle_async_start),
377         (bin_handle_async_done), (gst_bin_handle_message_func):
378         Make async state changes a bit smarter by using new ASYNC_START and
379         ASYNC_DONE messages. This reduces the number of times we run the state
380         recalculation thread.
381         Don't change state of element with a pending ASYNC_START message.
382         Deprecate STATE_DIRTY messages.
383         
384         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
385         (gst_element_get_state_func), (gst_element_continue_state),
386         (gst_element_lost_state), (gst_element_set_state_func),
387         (gst_element_change_state):
388         * gst/gstelement.h:
389         Keep the state that was last set by the app in a new element field.
390         Don't allow state changes when handling an element event.
391         Post ASYNC_START and ASYNC_DONE messages.
392         Change lost_state so that we go to PAUSED and wait for the parent to set
393         us to PLAYING again (so latency calculation can be performed)
394         Export gst_element_change_state() method so that subclasses can use it.
395         API: gst_element_change_state()
396         API: GST_STATE_TARGET
397
398         * gst/gstpipeline.c: (gst_pipeline_class_init),
399         (reset_stream_time), (gst_pipeline_change_state),
400         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
401         Using the new ASYNC_START message we can reset the base_time when
402         needed. This can then be used to implement base_time redistribution in
403         flushing seeks so that we can remove the explicit seek handling.
404         Perform latency query and configuration when going to PLAYING.
405
406         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
407         (gst_base_sink_query), (gst_base_sink_change_state):
408         Post new ASYNC_START/ASYNC_DONE messages.
409
410         * tests/check/generic/sinks.c: (GST_START_TEST):
411         Fix test because the bin will not set the async element to PLAYING right
412         away.
413
414         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
415         Make the message check a little stronger.
416         Handle ASYNC messages.
417
418         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
419         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
420         Expect ASYNC_DONE messages.
421
422 2007-03-19  Wim Taymans  <wim@fluendo.com>
423
424         * docs/gst/gstreamer-sections.txt:
425         * gst/gstmessage.c: (gst_message_new_async_start),
426         (gst_message_new_async_done), (gst_message_parse_info),
427         (gst_message_parse_async_start):
428         * gst/gstmessage.h:
429         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
430         support.
431
432 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
433
434         * tools/gst-inspect.c:
435         (print_plugin_automatic_install_info_codecs):
436           Now that we don't check for the 'Codec' keyword any longer in the
437           klass, we shouldn't spew a warning if the klass isn't a decoder or
438           encoder (since it might be a Source/Network, for example).
439
440 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
441
442         * tools/gst-inspect.c:
443         (print_plugin_automatic_install_info_codecs):
444           Don't require decoder/demuxer/depayloader elements or
445           encoder/muxer/paylader elements to have 'Codec' as part of their
446           factory class string when introspecting a plugin's capabilities.
447           draft-klass.txt mentions that it might be removed in future, and
448           flump3dec doesn't have it as part of its class string, so chances
449           are others might also not have it.
450
451 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
452
453         * po/af.po:
454         * po/az.po:
455         * po/bg.po:
456         * po/ca.po:
457         * po/cs.po:
458         * po/de.po:
459         * po/en_GB.po:
460         * po/fr.po:
461         * po/it.po:
462         * po/nb.po:
463         * po/nl.po:
464         * po/ru.po:
465         * po/sq.po:
466         * po/sr.po:
467         * po/sv.po:
468         * po/tr.po:
469         * po/uk.po:
470         * po/vi.po:
471         * po/zh_CN.po:
472         * po/zh_TW.po:
473           Update translations from translation project
474
475 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
476
477         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
478         (gst_child_proxy_set_property):
479           Invert precondition check to be alike the ones in the mimiced gobject
480           api.
481
482 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
483
484         * docs/design/draft-tagreading.txt:
485         * docs/random/ensonic/audiobaseclasses.txt:
486           Do some Architect work.
487
488         * gst/gstobject.c: (gst_object_set_name):
489           Add a WARNING.
490
491         * gst/gstpad.c:
492           Add docs that point from gst_pad_get_range to gst_pad_pull_range
493
494 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
495
496         * gst/gstsystemclock.c: (gst_system_clock_init),
497         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
498         Defer starting the async system clock thread until the first async
499         wait is scheduled. Fixes #414986.
500
501 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
502
503         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
504         (gst_single_queue_free):
505           Fix small leak (free GstSingleQueue structure too, not only contents).
506
507 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
508
509         * gst/gstbin.c:(gst_bin_add):
510         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
511         * win32/common/libgstbase.def:
512         * win32/common/libgstreamer.def:
513         Add new exported functions.
514
515 2007-03-09  Wim Taymans  <wim@fluendo.com>
516
517         * docs/plugins/gstreamer-plugins-sections.txt:
518         Fix GstTee docs.
519
520 2007-03-09  Wim Taymans  <wim@fluendo.com>
521
522         * docs/gst/gstreamer-sections.txt:
523         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
524         * gst/gstbuffer.h:
525         Add metadata copy functions. Fixes #393099.
526
527         * gst/gstutils.c: (gst_buffer_stamp):
528         * libs/gst/base/gstbasetransform.c:
529         (gst_base_transform_prepare_output_buffer):
530         Use new metadata copy functions.
531
532 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
533
534         * plugins/elements/gstidentity.c: (gst_identity_class_init),
535         (gst_identity_init), (gst_identity_check_perfect),
536         (gst_identity_check_imperfect_timestamp),
537         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
538         (gst_identity_set_property), (gst_identity_get_property):
539         * plugins/elements/gstidentity.h:
540         Separate out check-imperfect-timestamp and check-imperfect-offset.
541         Put back check-perfect as it was to keep compatibility.
542
543 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
544
545         * gst/gstelement.c: (gst_element_dispose):
546         There's no need to warn if VOID_PENDING is not NONE here, as
547         long as the state is NULL it's ok, and that's checked immediately
548         above.
549
550 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
551
552         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
553         Fix check for perfect stream to ignore buffers with -1 
554         offsets/offset ends when checking data contiguity.
555
556 2007-03-08  Wim Taymans  <wim@fluendo.com>
557
558         * tools/gst-launch.c: (event_loop):
559         Print INFO messages.
560
561 2007-03-08  Wim Taymans  <wim@fluendo.com>
562
563         * libs/gst/base/gstbasetransform.c:
564         (gst_base_transform_sink_eventfunc),
565         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
566         (gst_base_transform_activate):
567         * libs/gst/base/gstbasetransform.h:
568         Add support for dropping buffers with custom GstFlowReturn.
569         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
570         buffers or dropped buffers.
571
572         * docs/libs/gstreamer-libs-sections.txt:
573         docs for new custom return code.
574
575         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
576         Use drop support in base class to implement drop-probability.
577
578 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
579
580         * gst/gst.c: (load_plugin_func):
581         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
582         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
583         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
584           Remove newlines at end of debug log strings.
585
586 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
587
588         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
589         Only post bus message at max, once per buffer received.
590
591 2007-03-07  Wim Taymans  <wim@fluendo.com>
592
593         * docs/design/Makefile.am:
594         * docs/design/part-synchronisation.txt:
595         Add doc about synchronisation
596
597         * docs/design/draft-latency.txt:
598         * docs/design/part-TODO.txt:
599         * docs/design/part-clocks.txt:
600         * docs/design/part-events.txt:
601         * docs/design/part-gstbus.txt:
602         * docs/design/part-gstpipeline.txt:
603         * docs/design/part-live-source.txt:
604         * docs/design/part-messages.txt:
605         * docs/design/part-overview.txt:
606         * docs/design/part-streams.txt:
607         * docs/design/part-trickmodes.txt:
608         Documentation updates.
609
610 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
611
612         * gstreamer.doap:
613         Update the doap file.
614
615 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
616
617         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
618         Rename non-perfect to imperfect for Mike and for the sanctity of the
619         language.
620         Also make sure bus message gets emitted for data-incontiguities.
621
622 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
623
624         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
625         (gst_identity_start):
626         * plugins/elements/gstidentity.h:
627         Emit bus message if check-perfect is true and we encounter a
628         non-perfect stream between 2 consecutive buffers.
629         Fixes #415394.
630
631 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
632
633         * configure.ac:
634         Back to CVS
635
636 === release 0.10.12 ===
637
638 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
639
640         * configure.ac:
641           releasing 0.10.12, "Inevitable Demise"
642
643 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
644
645         * configure.ac:
646          Version 0.10.11.2 (0.10.12 pre-release)
647          Bump libtool versioning.
648
649 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
650
651         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
652           Log flow-names and not numbers.
653
654 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
655
656         * configure.ac:
657           Convert to new AG_GST style.
658
659 2007-02-28  Wim Taymans  <wim@fluendo.com>
660
661         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
662         Don't unref query twice.
663
664 2007-02-28  Wim Taymans  <wim@fluendo.com>
665
666         * gst/gstvalue.c: (gst_value_transform_object_string),
667         (_gst_value_initialize):
668         Implement GstObject -> string transform so we print object names
669         when serializing GValues containing GstObjects.
670
671 2007-02-28  Wim Taymans  <wim@fluendo.com>
672
673         * docs/gst/gstreamer-sections.txt:
674         Add new stuff to docs.
675
676 2007-02-28  Wim Taymans  <wim@fluendo.com>
677
678         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
679         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
680         (gst_base_sink_change_state):
681         Improve latency query code.
682         Don't leak latency events.
683
684         * tests/check/gst/gstbin.c: (GST_START_TEST):
685         Improve debugging.
686
687 2007-02-28  Wim Taymans  <wim@fluendo.com>
688
689         * gst/gstelement.c: (gst_element_message_full),
690         (gst_element_get_state_func):
691         * gst/gstelement.h:
692         Improve docs a little. Added Since: for new macro.
693
694         * gst/gstobject.c: (gst_object_sink):
695         * gst/gstpipeline.c: (gst_pipeline_change_state),
696         (gst_pipeline_set_new_stream_time):
697         * gst/gstpipeline.h:
698         Improve debugging and docs.
699
700         * gst/gstutils.c: (gst_element_state_change_return_get_name):
701         Improve debugging.
702
703 2007-02-28  Wim Taymans  <wim@fluendo.com>
704
705         * gst/gstelement.c: (gst_element_message_full),
706         (gst_element_set_locked_state), (gst_element_get_state_func),
707         (gst_element_change_state):
708         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
709         Documentation updates.
710         Small code cleanups.
711
712         * gst/gstmessage.c: (gst_message_new_info),
713         (gst_message_parse_info):
714         * gst/gstmessage.h:
715         API: gst_message_new_info()
716         API: gst_message_parse_info()
717         Add INFO message create and parse code.
718
719 2007-02-28  Wim Taymans  <wim@fluendo.com>
720
721         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
722         (bin_query_latency_done):
723         Also report the live parameter of a latency query.
724
725 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
726
727         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
728           Copy the current generic/states example from -base and adapt so
729           we can use the exact same code everywhere.
730           Check a STATES_IGNORE_ELEMENTS env var which can be used
731           to ignore certain element factories for this test, which is
732           what is being done in -base
733         * tests/check/Makefile.am:
734           Mention this environment variable.
735
736 2007-02-27  Wim Taymans  <wim@fluendo.com>
737
738         * docs/gst/gstreamer-sections.txt:
739         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
740         (gst_bus_timed_pop), (gst_bus_pop):
741         * gst/gstbus.h:
742         API: gst_bus_timed_pop()
743         Implement gst_bus_timed_pop() to do a blocking timed wait for a
744         message to arrive on the bus.
745
746         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
747         (gst_bus_suite):
748         Two unit tests for new _timed_pop() function.
749
750 2007-02-23  Wim Taymans  <wim@fluendo.com>
751
752         * gst/gstpipeline.c: (gst_pipeline_change_state),
753         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
754         Don't ref a NULL clock in _provide_clock_func().
755         Don't allow an INVALID delay.
756         Don't try to calculate base_time with an invalid start_time.
757         Also distribute and notify a NULL clock when it was selected.
758
759         * tools/gst-launch.c: (event_loop):
760         Don't crash when a NULL clock was selected in the pipeline.
761
762 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
763
764         * docs/design/Makefile.am:
765         * docs/design/draft-missing-plugins.txt:
766         * docs/random/draft-missing-plugins.txt:
767           Some small updates: update plugin system identifier prefix
768           ('gstreamer.net' to 'gstreamer'), mention our new install
769           API in libgstbaseutils rather than libgimme-codec, add
770           reference to the online docs.
771
772 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
773
774         * win32/common/config.h:
775           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
776           use moap cl ci to only check in what is mentioned in the ChangeLog.
777
778 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
779
780         * docs/gst/gstreamer-sections.txt:
781         * gst/gstelement.h:
782           Fix up documentation to link to the correct GstGError section.
783           Add GST_ELEMENT_INFO macro since someone else added a Info message.
784
785 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
786
787         * tools/gst-launch.c: (event_loop):
788           Make sure that we actually show the important message part of a
789           warning message.
790           No need to check if the gerror is not NULL to free; first of all
791           g_free accepts NULL; and second the default error handler would
792           segfault if gerror was NULL.
793
794 2007-02-21  Wim Taymans  <wim@fluendo.com>
795
796         * docs/gst/gstreamer-sections.txt:
797         Removed docs as well.
798
799 2007-02-21  Wim Taymans  <wim@fluendo.com>
800
801         * gst/gstmessage.c: (gst_message_parse_duration):
802         * gst/gstmessage.h:
803         Remove new messages for release.
804
805 2007-02-20  Wim Taymans  <wim@fluendo.com>
806
807         * docs/design/part-gstghostpad.txt:
808         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
809         (gst_ghost_pad_new_full):
810         Make the ghostpad a parent of the internal pad again for better backward
811         compatibility. Don't write code that relies on this however.
812
813         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
814         (gst_pad_link_check_hierarchy):
815         Require that parents should be GstElements in the hierarchy check.
816
817 2007-02-20  Wim Taymans  <wim@fluendo.com>
818
819         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
820         (gst_bin_change_state_func), (bin_query_min_max_init),
821         (bin_query_latency_fold), (bin_query_latency_done),
822         (gst_bin_query):
823         Improve debug info.
824         Implement latency query.
825
826 2007-02-20  Wim Taymans  <wim@fluendo.com>
827
828         * docs/design/part-gstghostpad.txt:
829         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
830         (gst_ghost_pad_internal_do_activate_push),
831         (gst_ghost_pad_internal_do_activate_pull),
832         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
833         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
834         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
835         Do not set the internal pad as a parent anymore so we can avoid
836         hierarchy linking errors when the ghostpad has no parent yet. This also
837         fixes failed activation because of unlinked internal pads, which in
838         turn fixes the impossible case where you have to activate a pad before
839         you can add it to a running element.
840         Also fix the docs.
841
842         * gst/gstpad.c: (pre_activate), (post_activate),
843         (gst_pad_set_active), (gst_pad_activate_pull),
844         (gst_pad_activate_push), (gst_pad_check_pull_range):
845         Add some more debug info.
846         Mark activation mode in pre_activate so that we don't try to activate in
847         endless loops. Fixes #385084.
848
849 2007-02-19  Wim Taymans  <wim@fluendo.com>
850
851         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
852         (gst_base_transform_check_get_range):
853         Implement a checkgetrange function instead of relying on the default
854         core behaviour that assumes we can operate in pull mode if we have a
855         getrange function. First step at fixing #385084.
856
857 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
858
859         * gst/gstchildproxy.h:
860         * libs/gst/base/gstbasesink.h:
861         * libs/gst/base/gstbasesrc.h:
862         * libs/gst/base/gstbasetransform.h:
863         More docs coverage and some ChangeLog surgery (add missing names)
864
865 2007-02-15  Wim Taymans  <wim@fluendo.com>
866
867         * docs/design/part-TODO.txt:
868         * docs/design/part-activation.txt:
869         * docs/design/part-block.txt:
870         * docs/design/part-buffering.txt:
871         * docs/design/part-clocks.txt:
872         * docs/design/part-element-source.txt:
873         * docs/design/part-events.txt:
874         * docs/design/part-gstbin.txt:
875         * docs/design/part-gstbus.txt:
876         * docs/design/part-gstpipeline.txt:
877         * docs/design/part-live-source.txt:
878         * docs/design/part-messages.txt:
879         * docs/design/part-overview.txt:
880         * docs/design/part-qos.txt:
881         * docs/design/part-query.txt:
882         * docs/design/part-states.txt:
883         * docs/design/part-trickmodes.txt:
884         Some doc updates. Start renaming from stream_time to running_time where
885         it was used wrongly.
886
887 2007-02-15  Wim Taymans  <wim@fluendo.com>
888
889         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
890         Answer LATENCY query.
891
892 2007-02-15  Wim Taymans  <wim@fluendo.com>
893
894         * tests/check/gst/gstevent.c: (event_probe), (test_event),
895         (GST_START_TEST):
896         Improve debugging.
897
898 2007-02-15  Wim Taymans  <wim@fluendo.com>
899
900         * gst/gstpad.c: (gst_pad_get_internal_links_default),
901         (gst_pad_dispatcher):
902         Improve debugging of default pad dispatcher and query functions.
903
904 2007-02-15  Wim Taymans  <wim@fluendo.com>
905
906         * docs/gst/gstreamer-sections.txt:
907         Remove old unused method.
908
909 2007-02-13  Wim Taymans  <wim@fluendo.com>
910
911         * tests/check/gst/gstsegment.c: (GST_START_TEST):
912         Fix check
913
914 2007-02-13  Wim Taymans  <wim@fluendo.com>
915
916         * docs/design/part-seeking.txt:
917         Some small update.
918
919         * gst/gstsegment.c: (gst_segment_set_seek):
920         Revert old bogus change that should make seeking work again.
921
922 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
923
924         * docs/random/ensonic/dynlink.txt:
925         * docs/random/ensonic/interfaces.txt:
926         * docs/random/ensonic/receipies.txt:
927           Possible dynamic reconnection api, plus some type fixes the other two
928           docs.
929
930 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
931
932         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
933         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
934         Also check for an absolute path following file:// in the filesrc
935         element. Remove redundant check and call g_path_is_absolute() on the
936         unescaped location.
937
938 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
939
940         * docs/design/draft-klass.txt:
941           Add existing category analysis.
942           
943         * gst/gstcaps.c:
944           Fix doc example, framerate is a fraction.
945
946 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
947
948         * configure.ac:
949         * docs/gst/Makefile.am:
950         * docs/libs/Makefile.am:
951         * docs/plugins/Makefile.am:
952           Add crossreferences to glib/gobject docs.
953
954 2007-02-12  Wim Taymans  <wim@fluendo.com>
955
956         * docs/design/draft-latency.txt:
957         Small update.
958
959         * docs/libs/gstreamer-libs-sections.txt:
960         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
961         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
962         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
963         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
964         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
965         (gst_base_sink_get_position), (gst_base_sink_query),
966         (gst_base_sink_change_state):
967         * libs/gst/base/gstbasesink.h:
968         API: gst_base_sink_query_latency() to let subclasses query the upstream
969         latency.
970         API: gst_base_sink_get_latency() to let subclasses query the configured
971         latency in the sink.
972         Implement query and set latency.
973         Update some docs.
974         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
975         don't continue preroll when we are flushing. Fixes #405284.
976
977         * tests/check/pipelines/stress.c: (change_state_timeout),
978         (quit_timeout), (GST_START_TEST), (stress_suite):
979         Test for #405284.
980
981 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
982
983         Patch by: René Stadler <mail at renestadler de>
984
985         * docs/gst/gstreamer-sections.txt:
986         * gst/gsttaglist.c: (_gst_tag_initialize):
987         * gst/gsttaglist.h:
988           API: add GST_TAG_REFERENCE_LEVEL (#403597).
989
990 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
991
992         * docs/libs/Makefile.am:
993           Fix path to core docs.
994
995         * gst/gstbin.c: (gst_bin_get_by_interface),
996         (gst_bin_iterate_all_by_interface):
997           Refix docs by also renaming 'interface' to 'iface' in implementation.
998
999         * docs/gst/gstreamer-sections.txt:
1000         * gst/gstcaps.c:
1001         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1002         * gst/gstchildproxy.h:
1003         * gst/gstelementfactory.c:
1004         * gst/gstpadtemplate.h:
1005         * libs/gst/controller/gstcontroller.c:
1006         (gst_controlled_property_new):
1007           Document more.
1008
1009 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
1010
1011         * gst/gstbin.h:(gst_bin_get_by_interface),
1012         (gst_bin_iterate_all_by_interface):
1013         Replace interface parameter name by iface as interface is 
1014         a reserved keyword in Visual Studio for C++ projects so it removes
1015         a build error for application developpers using VS.
1016         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
1017         Fix a bug on Windows in uri format check. Now the prefix checked
1018         is file:// and next we check if the path after file:// is absolute.
1019         * win32/common/libgstbase.def:
1020         * win32/common/libgstdataprotocol.def:
1021         * win32/common/libgstgstreamer.def:
1022         Add new exported functions.
1023
1024 2007-02-09  Andy Wingo  <wingo@pobox.com>
1025
1026         * tests/check/pipelines/simple-launch-lines.c
1027         (simple_launch_lines_suite, test_tee): Disable tee test until I
1028         have time to fix it :-(
1029
1030         * tests/check/Makefile.am (noinst_HEADERS): 
1031         * tests/check/libs/libsabi.c: 
1032         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
1033         * tests/check/gst/gstabi.c: 
1034         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
1035
1036         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
1037         tests for push and pull tee behavior.
1038
1039         * plugins/elements/gsttee.h: 
1040         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
1041         mark as deprecated as well as unimplemented. It was a crack idea.
1042         Add support for tee operating in pull mode, off by default.
1043
1044         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
1045         normal-case logs down to LOG, raise errors to WARNING.
1046         (gst_registry_xml_read_cache): Don't log before calling a function
1047         that logs.
1048
1049         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
1050         exit (registry finalize).
1051         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
1052         DEBUG log when we emit signals that people don't even have the
1053         chance to connect to.
1054         (gst_registry_scan_path_level): Less logging in the normal case.
1055
1056 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
1057
1058         Patch by: Michal Benes <michal dot benes at itonis dot tv>
1059
1060         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1061         Correctly generate EOS for non-seekable files. We don't have a total
1062         length for them and would get an unexpected end of file if we only
1063         special-cased for regular files. (Fixes: #404569)
1064
1065 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
1066
1067         * tests/check/elements/filesrc.c: (GST_START_TEST),
1068         (filesrc_suite):
1069         Add unit test for the GstURIHandler interface in filesrc. This also
1070         tests the newly added file://localhost/foo/bar support.
1071
1072 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
1073
1074         * gst/gstelementfactory.h:
1075           The klass string is not a hierarchy. Add reference to the design doc
1076           for more information and common types.
1077
1078 2007-02-02  Wim Taymans  <wim@fluendo.com>
1079
1080         * gst/gstquery.c: (gst_query_new_latency):
1081         Remove old structure field.
1082
1083 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
1084
1085         * tools/gst-launch.1.in:
1086           Give example for network streaming (#351998)
1087
1088 2007-02-02  Wim Taymans  <wim@fluendo.com>
1089
1090         * docs/gst/gstreamer-sections.txt:
1091         Add docs for new methods.
1092
1093         * gst/gstevent.c: (gst_event_new_latency),
1094         (gst_event_parse_latency):
1095         * gst/gstevent.h:
1096         Add new LATENCY event to configure latency in a pipeline.
1097         API: gst_event_new_latency
1098         API: gst_event_parse_latency
1099
1100         * gst/gstmessage.c: (gst_message_new_buffering),
1101         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
1102         (gst_message_new_latency), (gst_message_parse_buffering),
1103         (gst_message_parse_lost_preroll):
1104         * gst/gstmessage.h:
1105         Added messages used in draft-latency.
1106         API: gst_message_new_lost_preroll
1107         API: gst_message_parse_lost_preroll
1108         API: gst_message_new_prerolled
1109         API: gst_message_new_latency
1110
1111         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1112         (gst_query_parse_latency):
1113         * gst/gstquery.h:
1114         Implemented new latency query as in design doc.
1115         API: gst_query_new_latency
1116         API: gst_query_set_latency
1117         API: gst_query_parse_latency
1118
1119 2007-02-02  Wim Taymans  <wim@fluendo.com>
1120
1121         * docs/design/draft-latency.txt:
1122         Slight redesign to allow for dynamic latency adjustments.
1123
1124         * docs/design/part-negotiation.txt:
1125         Fix some typos.
1126
1127 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
1128
1129         reviewed by: Wim Taymans <wim@fluendo.com>
1130
1131         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1132         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1133         Allow file://localhost/foo/bar URLs and correctly fail for every other
1134         hostname that one sets. This was gnomevfssrc is linked for those if
1135         installed as it can handle it (#403172)
1136
1137 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
1138
1139         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1140
1141         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1142         (unref_data), (gst_collect_pads_add_pad_full):
1143         * libs/gst/base/gstcollectpads.h:
1144         Don't put the previously added destroy notify in the GstCollectData
1145         struct as all it's padding is already used and we don't want to break
1146         ABI. Instead put in the pad's GObject data for now. This should be
1147         cleaned up for 0.11 (#402393).
1148
1149 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
1150
1151         reviewed by: Wim Taymans <wim@fluendo.com>
1152
1153         * docs/libs/gstreamer-libs-sections.txt:
1154         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1155         (unref_data), (gst_collect_pads_add_pad),
1156         (gst_collect_pads_add_pad_full):
1157         * libs/gst/base/gstcollectpads.h:
1158         API: Add function to specify a destroy notification for custom
1159         GstCollectData when adding new pads in GstCollectPads (#402393).
1160
1161 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
1162
1163         * po/sv.po:
1164           Update Swedish translation (#378255).
1165
1166 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
1167
1168         * docs/design/draft-klass.txt:
1169           Fix the previous change, this is a list of categories and not a hierarchy.
1170
1171 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
1172
1173         * docs/design/draft-klass.txt:
1174           Add info about how to get a list of used classes.
1175
1176 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
1177
1178         * plugins/elements/gsttypefindelement.c:
1179         (gst_type_find_element_chain_do_typefinding),
1180         (gst_type_find_element_change_state):
1181           Don't leak found caps in chain function (no idea why that never
1182           showed up as a leak anywhere).
1183
1184 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
1185
1186         * gst/gstplugin.h:
1187           Fix and expand GstPluginDesc API docs.
1188
1189 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
1190
1191         * gst/gstcaps.c:
1192         * gst/gstelementfactory.c:
1193         * gst/gstpadtemplate.h:
1194           api doc fixes
1195
1196         * libs/gst/controller/gstcontroller.c:
1197         (gst_controlled_property_new):
1198         * tests/examples/controller/audio-example.c:
1199           comment fixes
1200
1201 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
1202
1203         * configure.ac:
1204           comment about refining the xml deps
1205
1206         * docs/manuals.mak:
1207           comments about moving away from jade for docs
1208         
1209         * gst/gst.c:
1210           recommit the ifdefs to use the binary registry
1211         
1212         * gst/gstbin.c: (gst_bin_change_state_func):
1213           this break is obsolete
1214
1215         * gst/gstelementfactory.h:
1216           better GST_ELEMENT_DETAILS docs, add comment about translation
1217
1218         * gst/gstinfo.h:
1219           remove eol slash
1220
1221         * gst/gstobject.c: (gst_signal_object_get_type):
1222           add G_UNLIKELY as usual
1223
1224         * gst/gstpad.c: (gst_pad_event_default):
1225           add fall trhu comment
1226
1227         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1228         (gst_registry_binary_initialize_magic),
1229         (gst_registry_binary_save_string),
1230         (gst_registry_binary_save_pad_template),
1231         (gst_registry_binary_save_feature),
1232         (gst_registry_binary_save_plugin),
1233         (gst_registry_binary_write_cache),
1234         (gst_registry_binary_check_magic),
1235         (gst_registry_binary_load_pad_template),
1236         (gst_registry_binary_load_feature),
1237         (gst_registry_binary_load_plugin),
1238         (gst_registry_binary_read_cache):
1239           comment typo and formatting
1240
1241         * gst/gstutils.c: (gst_element_state_get_name),
1242         (gst_element_state_change_return_get_name):
1243           remove obsolete breaks
1244
1245         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1246           add FIXME 0.11 and remove cpp comment
1247
1248 2007-01-29  Edward Hervey  <edward@fluendo.com>
1249
1250         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1251         Fix print statement in an even more portable way.
1252
1253 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
1254
1255         * docs/gst/gstreamer-sections.txt:
1256         * gst/gstutils.h:
1257           API: add GST_ROUND_DOWN_* macros (#401781).
1258
1259 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
1260
1261         * docs/gst/gstreamer.types.in:
1262         * gst/gstregistry.c: (gst_registry_class_init):
1263           Document registry signals and make gtk-doc pick them up (#401381).
1264
1265 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
1266
1267         * docs/pwg/building-testapp.xml:
1268           Add some audioconverts and audioresample to the pipeline, and some
1269           more comments and error handling.
1270
1271 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
1272
1273         * docs/manual/manual.xml:
1274         * docs/pwg/pwg.xml:
1275           Fix typo (#400987).
1276
1277 2007-01-26  Wim Taymans  <wim@fluendo.com>
1278
1279         * gst/gstcaps.c: (gst_static_caps_get):
1280         Init caps flags too.
1281
1282 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
1283
1284         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
1285
1286         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1287         If not using mmap'ed files try to seek to the end instead of the
1288         start to determine whether we can seek at all. This fixes the case
1289         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
1290         seeks for everything afterwards fail. Fixes #400656
1291
1292 2007-01-25  Wim Taymans  <wim@fluendo.com>
1293
1294         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
1295         Add some refcount debugging.
1296         Make gst_static_caps_get threadsafe, which is needed when autoplugging
1297         in multiple streaming threads.
1298
1299 2007-01-25  Wim Taymans  <wim@fluendo.com>
1300
1301         Patch by: David Schleef <ds at schleef dot org>
1302
1303         * docs/libs/gstreamer-libs-sections.txt:
1304         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
1305         * libs/gst/base/gstadapter.h:
1306         API: gst_adapter_copy() that can reduce the amount of memcpy when
1307         getting data from the adapter. Fixes #388201.
1308
1309 2007-01-25  Edward Hervey  <edward@fluendo.com>
1310
1311         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1312         In print statements, "%x" is for guint. Fixes build on macosx.
1313
1314 2007-01-24  Edward Hervey  <edward@fluendo.com>
1315
1316         * plugins/elements/gstmultiqueue.c:
1317         (gst_multi_queue_loop):
1318         Small fix.
1319         (single_queue_overrun_cb), (single_queue_underrun_cb),
1320         (single_queue_check_full), (gst_single_queue_new):
1321         Implement single queue growth system.
1322         This uses the extra-size properties, and will grow single queues by
1323         that much if one goes full whereas there are others empty. This is
1324         called extra-mode in the code.
1325         When a single queue's levels go back below the initial max-size
1326         limits, it is no longer in extra-mode. This is to ensure we don't
1327         consume too much memory.
1328         Fixes #399875
1329
1330 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
1331
1332         * gst/gst.c: (gst_init_get_option_group):
1333           Make warning about late g_thread_init() calls a bit more explicit,
1334           so that it's more obvious to application developers what they need
1335           to do if a user files a bug against their application.
1336
1337 2007-01-22  Edward Hervey  <edward@fluendo.com>
1338
1339         * plugins/elements/gstmultiqueue.c:
1340         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
1341         Remove previous hack of unsetting the flushing flag for the source pad
1342         instead of activating it. Instead, fix the source pad activate function
1343         so that it no longer depends on having a parent set or not.
1344
1345 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
1346
1347         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
1348
1349         * docs/manual/basics-bus.xml:
1350           Fix example code, gst_element_unref() doesn't exist any longer.
1351
1352 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
1353
1354         Patch by: Mark Nauwelaerts <manauw at skynet be>
1355
1356         * gst/gstpad.c:
1357           Fix two docs typoes (#399094).
1358
1359 2007-01-19  Edward Hervey  <edward@fluendo.com>
1360
1361         * docs/faq/gst-uninstalled:
1362         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
1363         depending on libgstbaseutils can work in uninstalled environment.
1364
1365 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
1366
1367         * gst/gsttaglist.h:
1368         * gst/gsttagsetter.c:
1369         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
1370         statement for new tag.
1371
1372 2007-01-17  Edward Hervey  <edward@fluendo.com>
1373
1374         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
1375         When dynamically creating single queues, activate sinkpad before adding
1376         it.
1377         We should be doing the same thing for the source pad, but we can't
1378         since it would call a method which needs the parent to be set in order
1379         to work propertly. Instead of activating the source pad, we just unset
1380         the flushing flag, which is the minimal requirement for adding a pad
1381         to an element in a state greater than READY.
1382
1383 2007-01-17  Edward Hervey  <edward@fluendo.com>
1384
1385         * docs/faq/gst-uninstalled:
1386         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
1387         Mac OS X.
1388
1389 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
1390
1391         * tests/check/gst/gstabi.c:
1392         * tests/check/gst/struct_hppa.h:
1393         * tests/check/libs/libsabi.c:
1394         * tests/check/libs/struct_hppa.h:
1395           Add ABI structs for HPPA (see #393796).
1396
1397 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
1398
1399         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1400           Actually write ABI structs to the file specified in the GST_ABI
1401           environment variable, as the message we print claims we would.
1402
1403 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1404
1405         * tests/check/gst/gsttask.c:
1406           Fix header comment.
1407
1408 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1409
1410         * gst/gsttaglist.c: (_gst_tag_initialize):
1411           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
1412           previous two entries.
1413
1414 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1415
1416         * docs/gst/gstreamer-sections.txt:
1417         * gst/gsttaglist.c: (_gst_tag_initialize):
1418         * gst/gsttaglist.h:
1419           Add tag support for beat-per-minute.
1420
1421 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1422
1423         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1424         (gst_registry_binary_initialize_magic),
1425         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
1426         (gst_registry_binary_save_pad_template),
1427         (gst_registry_binary_save_feature),
1428         (gst_registry_binary_save_plugin),
1429         (gst_registry_binary_write_cache),
1430         (gst_registry_binary_check_magic),
1431         (gst_registry_binary_load_pad_template),
1432         (gst_registry_binary_load_feature),
1433         (gst_registry_binary_load_plugin),
1434         (gst_registry_binary_read_cache):
1435         * gst/gstregistrybinary.h:
1436           Use glib types, cleanup comments, impement interfaces and uri-types.
1437
1438 2007-01-13  Andy Wingo  <wingo@pobox.com>
1439
1440         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
1441         getrange() to return buffers with other caps, while we fix
1442         demuxers and typefind, or otherwise change part-negotiation.txt.
1443
1444 2007-01-12  Andy Wingo  <wingo@pobox.com>
1445
1446         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
1447         Factor start/stop into this private function instead of partially
1448         in activate functions and partially in the change_state function.
1449         Fixes setup before the element has changed from READY->PAUSED, as
1450         is the case in pull-mode pipelines.
1451         (gst_base_transform_sink_activate_push)
1452         (gst_base_transform_src_activate_pull): Refactor to use
1453         gst_base_transform_activate().
1454         (gst_base_transform_change_state): Removed, not needed any more.
1455
1456         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1457         Truncate before fixating.
1458         
1459         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1460         Don't set_caps() if the result of fixating is ANY, as it's not
1461         supported, and not necessary in the case of a link with no
1462         template caps on either side. Fixes tests/check/libs/basesrc in
1463         some pull-mode tests.
1464
1465         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
1466         (gst_base_transform_init, gst_base_transform_sink_activate_push)
1467         (gst_base_transform_src_activate_pull): 
1468         Track the activation mode.
1469         (gst_base_transform_setcaps): In pull mode, when activating the
1470         src pad, after activating the sink pad, activate the sink pad's
1471         peer, as discussed in part-negotiation.txt.
1472
1473         * libs/gst/base/gstbasesrc.h: 
1474         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
1475         vmethod, as in basesink.
1476
1477         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
1478
1479         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
1480         mode, first proxy the setcaps to the peer pad.
1481         (gst_base_sink_pad_fixate): Add a fixate function that calls the
1482         new fixate vmethod.
1483         (gst_base_sink_default_activate_pull): Rename from
1484         gst_base_sink_activate_pull.
1485         (gst_base_sink_negotiate_pull): New function, performs negotiation
1486         in pull mode before calling ::activate_pull().
1487         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
1488         vmethod instead of the default implementation. I have no idea how
1489         this worked before. Negotiate before calling activate_pull.
1490
1491         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
1492         sink pads in pull mode. In addition to being correct, fixes
1493         filesrc ! decodebin ! identity ! fakesink.
1494         (gst_pad_get_range, gst_pad_pull_range): Don't call
1495         gst_pad_set_caps() if the caps changes; instead error out with
1496         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
1497
1498 2007-01-12  Andy Wingo  <wingo@pobox.com>
1499
1500         * docs/design/part-negotiation.txt: Update with more policy.
1501
1502 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1503
1504         * libs/gst/check/gstbufferstraw.h:
1505         * libs/gst/check/gstcheck.h:
1506           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
1507           belongs.
1508
1509 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1510
1511         * tests/check/Makefile.am:
1512         * tests/check/gst/.cvsignore:
1513         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
1514         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
1515         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
1516         (GST_START_TEST), (gst_tag_setter_suite):
1517           Add minimal unit test for beforementioned GstTagSetter bug.
1518
1519 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1520
1521         Patch by: René Stadler <mail at renestadler dot de>
1522
1523         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1524           gst_tag_list_merge() returns a new list, so it's not the best idea
1525           to ingore its return value. Effectively meant that tags could only
1526           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
1527           Also add function guard to require a non-NULL taglist as input (has
1528           always been so due to gst_tag_list_copy(), just making it explicit).
1529
1530 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1531
1532         * docs/random/draft-missing-plugins.txt:
1533           Some additions: mention new API that is supposed to be used at the
1534           various stages; short blob about new gst-inspect introspection
1535           option; mention potential future problem with plugins that have
1536           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
1537
1538 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1539
1540         * tools/gst-inspect.c:
1541         (print_plugin_automatic_install_info_codecs),
1542         (print_plugin_automatic_install_info_protocols),
1543         (print_plugin_automatic_install_info), (main):
1544         Add --print-plugin-auto-install-info option to gst-inspect, so we can
1545         introspect plugin files and get machine-parsable output that corresponds
1546         to the last bit of the missing-plugin installer string (small gotcha:
1547         doesn't take into account ranks).
1548
1549 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
1550
1551         * configure.ac:
1552         * docs/gst/gstreamer-sections.txt:
1553         * gst/Makefile.am:
1554         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
1555         (gst_registry_lookup_locked):
1556         * gst/gstregistry.h:
1557         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1558         (gst_registry_binary_initialize_magic),
1559         (gst_registry_binary_save_string),
1560         (gst_registry_binary_save_pad_template),
1561         (gst_registry_binary_save_feature),
1562         (gst_registry_binary_save_plugin),
1563         (gst_registry_binary_write_cache),
1564         (gst_registry_binary_check_magic),
1565         (gst_registry_binary_load_pad_template),
1566         (gst_registry_binary_load_feature),
1567         (gst_registry_binary_load_plugin),
1568         (gst_registry_binary_read_cache):
1569         * gst/gstregistrybinary.h:
1570         * gst/gstregistryxml.c: (load_feature),
1571         (gst_registry_xml_read_cache):
1572           commit binary registry (disabled by default, see #359653)
1573
1574 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1575
1576         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
1577           Fix 'make check' too.
1578
1579 2007-01-10  Andy Wingo  <wingo@pobox.com>
1580
1581         * docs/design/part-negotiation.txt: Fix a typo, add a couple
1582         notes.
1583         
1584         * docs/design/part-negotiation.txt: Update with, um, one way that
1585         pull-mode negotiation might work?
1586
1587         * gst/gstpad.h: 
1588         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
1589         that the pad must be a src pad; makes sense to call it the other
1590         way in pull mode, and the logic is symmetric anyway.
1591
1592 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
1593
1594         * plugins/elements/gstfilesink.c:
1595           Include <stdio.h> for fseeko().
1596
1597 2007-01-10  Wim Taymans  <wim@fluendo.com>
1598
1599         * gst/gstevent.c:
1600         * gst/gstevent.h:
1601         Reserve LATENCY event.
1602
1603 2007-01-09  Wim Taymans  <wim@fluendo.com>
1604
1605         * docs/design/draft-latency.txt:
1606         Updates.
1607
1608 2007-01-09  Wim Taymans  <wim@fluendo.com>
1609
1610         * docs/design/draft-latency.txt:
1611         Updates.
1612
1613         * gst/gstelement.h:
1614         * gst/gststructure.c:
1615         * gst/gsttrace.c:
1616         Small typo fixes.
1617
1618 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1619
1620         * tests/check/.cvsignore:
1621           Ignore test-registry.xml as well.
1622
1623 2007-01-09  Wim Taymans  <wim@fluendo.com>
1624
1625         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
1626         unref data at the end when we are done with the pad.
1627
1628 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
1629
1630         * docs/gst/gstreamer-sections.txt:
1631         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
1632         (init_post), (gst_deinit), (gst_update_registry):
1633         * gst/gst.h:
1634           API: add gst_update_registry() (#391296).
1635
1636         * tests/check/Makefile.am:
1637         * tests/check/gst/gstregistry.c:
1638         * tests/check/gst/.cvsignore:
1639           Simple unit test for the above.
1640
1641 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
1642
1643         * gst/gstregistry.c: (gst_registry_scan_path_level):
1644           Plugin extension on HP-UX is .sl, add that to the list of approved
1645           plugin extensions (see #393796).
1646
1647         * tests/check/gst/gstpad.c: (GST_START_TEST):
1648           ulong => gulong. Fixes compilation with HP-UX compiler.
1649
1650         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1651           Fix compilation if valgrind headers are not available.
1652
1653 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
1654
1655         * win32/common/libgstreamer.def: 
1656           Add new exported function.
1657         * win32/vs6/libgstbase.dsp: 
1658           Add gstdataqueue.c to the build.
1659         * win32/vs6/libgstcoreelements.dsp:
1660           Add gstmultiqueue.c to the build.
1661         
1662 2007-01-06  Andy Wingo  <wingo@pobox.com>
1663
1664         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
1665         activate_pull(), providing for a way to specialize the process of
1666         spawning a thread to pull on the sink pad. There is a default
1667         implementation.
1668
1669         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
1670         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
1671         (gst_base_sink_init): Renamed pad activation functions (inserting
1672         "_pad" in their names). Refactor to use the new activate_pull
1673         vmethod, as appropriate.
1674         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
1675         default activate_pull function to start a task pulling from the
1676         sink pad, as before.
1677
1678         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
1679         on the pads if necessary, as in push()/chain(). Update docs.
1680         Shouldn't affect existing pull() usage as it is currently only
1681         being used on buffers without caps.
1682
1683 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1684
1685         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1686         (init_pre):
1687           Call g_thread_init() first thing in gst_init() / gst_check_init().
1688           When initialisation is done via gst_init_get_option_group() and
1689           GOption parsing, issue a warning if the GLib thread system has not
1690           been initialised yet by the time gst_init_get_option_group() is
1691           called, as it's quite likely other GLib functions such as
1692           g_option_context_new() have been called already then, and
1693           g_thread_init() must be called before any other GLib function. The
1694           application in question must be fixed in that case, since memory
1695           corruption might happen otherwise.
1696           We issue the warning because even if the GLib folks decide to work
1697           around the problem on their end in future, this is still an issue
1698           with all GLib versions >= 2.10.0, so we should warn until we depend
1699           on a GLib version we know to be safe.
1700           Update documentation as well.
1701           Closes bug #391278.
1702
1703 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1704
1705         * tools/gst-inspect.c: (main):
1706         * tools/gst-launch.c: (main):
1707         * tools/gst-typefind.c: (main):
1708         * tools/gst-xmlinspect.c: (main):
1709           Call g_thread_init() really really early, before any other GLib
1710           function (see #342564 and recent discussion on gtk-devel-list).
1711
1712 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1713
1714         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
1715
1716         * gst/gst_private.h:
1717         * gst/gstconfig.h.in:
1718         * gst/gstinfo.h:
1719           On win32, all the __declspec stuff for symbol exporting is
1720           apparently only needed with MSVC, but doesn't work with MingW.
1721           Fixes compilation with MingW and #391909.
1722
1723 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1724
1725         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
1726           Change some GST_ERROR_OBJECT that aren't really errors to
1727           GST_WARNING_OBJECT in order to reduce terminal spam.
1728
1729 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
1730
1731         * tests/check/Makefile.am:
1732           disable test again, as there seem to be still race problems
1733
1734 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
1735
1736         * tests/check/Makefile.am:
1737         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1738         (GST_START_TEST), (queue_suite):
1739           enable queue test again, add tests for the leaky behaviour
1740
1741 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
1742
1743         * configure.ac:
1744         * tests/examples/Makefile.am:
1745           Compile adapter test/example only if the required headers are
1746           available (fixes #391915).
1747
1748 2007-01-01  David Schleef  <ds@schleef.org>
1749
1750         * gst/gstplugin.c:
1751           Restore the previous signal handler for SIGSEGV instead of
1752           setting to default, since we may have stolen it away from
1753           someone.  (i.e., Mono)
1754
1755 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
1756
1757         * docs/random/draft-missing-plugins.txt:
1758           Some small additions and clarifications.
1759
1760 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
1761
1762         * gst/gstregistryxml.c: (gst_registry_save_escaped):
1763           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
1764           since that can lead to random memory corruptions and crashes
1765           (may or may not be related to #383244, #386711, and #386711).
1766
1767 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1768
1769         * tests/check/.cvsignore:
1770         * tests/check/Makefile.am:
1771           sync .cvsignome and CLEANFILES
1772
1773 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1774
1775         * tests/check/Makefile.am:
1776           fix distcheck
1777
1778 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1779
1780         * docs/design/part-states.txt:
1781           two tiny additional comments
1782         
1783         * gst/gststructure.c:
1784           doc fixing
1785
1786         * tests/check/Makefile.am:
1787         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1788         (GST_START_TEST):
1789           disable test for now, unless it gets fixed
1790
1791 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1792
1793         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1794         (GST_START_TEST):
1795           fix race in underrun test
1796
1797 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1798
1799         * tests/check/elements/.cvsignore:
1800           ignore more
1801
1802         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1803         (GST_START_TEST):
1804           try to narrow test failure
1805
1806 2006-12-21  David Schleef  <ds@schleef.org>
1807
1808         * plugins/elements/gstfakesrc.c:
1809           Use g_random_int_range(), since it produces better random
1810           numbers in a range than almost-correct floating point code.
1811
1812 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1813
1814         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1815         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1816         (gst_check_teardown_sink_pad):
1817           do not automatically (de)activate pads
1818
1819         * tests/check/Makefile.am:
1820         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1821         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
1822           add new, yet simple tests for queue
1823
1824         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
1825         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
1826         * tests/check/elements/filesrc.c: (cleanup_filesrc),
1827         (GST_START_TEST):
1828         * tests/check/elements/identity.c: (cleanup_identity):
1829           consistent pad (de)activation
1830
1831 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
1832
1833         Patch by: Sebastian Dröge  <slomo ubuntu com>
1834
1835         * libs/gst/base/gstcollectpads.c:
1836           Fix two doc typos (#387866).
1837
1838 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
1839
1840         * docs/manual/advanced-dparams.xml:
1841           Fix typo (g_object_control_properties() doesn't exist).
1842
1843 2006-12-19  Edward Hervey  <edward@fluendo.com>
1844
1845         * gst/gstsegment.c: (gst_segment_set_seek):
1846         Fine tune the cases where the segment start/stop values are really
1847         updated.
1848         * tests/check/gst/gstsegment.c: (GST_START_TEST):
1849         Add tests for the return values of gst_segment_set_seek().
1850
1851 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
1852
1853         * gst/gst.c:
1854           Docs typo fix.
1855
1856         * plugins/elements/gstqueue.c: (gst_queue_class_init),
1857         (gst_queue_init):
1858           Fix incorrect documentation and flesh it out a bit more.
1859           Set default values for the max properties on the GParamSpec as well,
1860           so it shows up correctly in gst-inspect.
1861
1862 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
1863
1864         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1865           Correct docs of queue, add more detail and crosslink it more.
1866
1867 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
1868
1869         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1870           Print additional debug info when the stream isn't perfectly
1871           timestamped; don't try to use invalid durations.
1872
1873 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
1874
1875         * docs/design/Makefile.am:
1876           Dist new design docs.
1877
1878 2006-12-16  Wim Taymans  <wim@fluendo.com>
1879
1880         Patch by: Sjoerd Simons <sjoerd at luon dot net>
1881
1882         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
1883         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
1884         (gst_collect_pads_stop), (gst_collect_pads_event),
1885         (gst_collect_pads_chain):
1886         * libs/gst/base/gstcollectpads.h:
1887         Add refcounting to the collectpads data so we can track when it's safe
1888         to free the data. Fixes #383382.
1889
1890 2006-12-15  Wim Taymans  <wim@fluendo.com>
1891
1892         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1893         (gst_collect_pads_remove_pad):
1894         Automatically activate/deactivate pads when they are added to a
1895         started/stoped collectpads.
1896
1897 2006-12-15  Wim Taymans  <wim@fluendo.com>
1898
1899         * gst/gstelement.c: (gst_element_add_pad):
1900         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
1901         * gst/gstpad.c: (gst_pad_init):
1902         Set pads to FLUSHING when they are created. Check, warn and fix when a
1903         demuxer adds an inactive pad to itself when running. Fixes #339326.
1904
1905 2006-12-15  Wim Taymans  <wim@fluendo.com>
1906
1907         * gst/gstelement.c: (gst_element_class_init),
1908         (gst_element_default_send_event), (gst_element_send_event),
1909         (gst_element_default_query), (gst_element_query):
1910         Expose default element send_event and query handling as vmethods that
1911         subclasses can chain up to.
1912
1913 2006-12-15  Wim Taymans  <wim@fluendo.com>
1914
1915         * gst/gstelement.c: (gst_element_set_state_func):
1916         Small documentation fixes.
1917
1918 2006-12-15  Wim Taymans  <wim@fluendo.com>
1919
1920         * docs/design/draft-latency.txt:
1921         Checked in draft for handling latency in pipelines.
1922
1923 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1924
1925         * Makefile.am:
1926         * gstreamer.doap:
1927         * gstreamer.spec.in:
1928           adding .doap file
1929
1930 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
1931
1932         * gst/gst.c: (init_pre), (init_post):
1933           init_pre() and init_post() might be called via our GOptionGroup or
1934           from gst_init(), and we should skip both of them if we've already
1935           been initialised, otherwise we will init some things twice or add
1936           two default log functions.
1937
1938 2006-12-13  Edward Hervey  <edward@fluendo.com>
1939
1940         * docs/manual/basics-bus.xml:
1941         No, gst_main_loop does not exist. Its g_main_loop.
1942         Discovered by somebody who abused the copy-paste technique of coding :)
1943
1944 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
1945
1946         * gst/gstghostpad.c:
1947           Log ghostpad debug stuff to the GST_PADS category as well rather
1948           than just to the default category.
1949
1950 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
1951
1952         * configure.ac:
1953         * gst/gst.c: (init_pre):
1954           Add some basic system details such as OS and architecture
1955           to the debug output if possible, courtesy of uname().
1956
1957 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
1958
1959         * docs/gst/running.xml:
1960           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
1961           environment variables.
1962
1963 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
1964
1965         * tests/check/gst/gstbin.c: (GST_START_TEST):
1966         It is acceptable to have a refcount of 2 or 3 at this point in the
1967         test, because the pipeline might be just posting its state_change
1968         message. The next line then waits for that message to appear using
1969         bus_poll, so that should be fine too.
1970
1971 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
1972
1973         * gst/gst.c: (ensure_current_registry_forking):
1974         Ignore EINTR when reading from the child registry pipe.
1975         Explicitly ignore the return value from close, since it makes no
1976         difference.
1977
1978         * gst/gstminiobject.c: (gst_mini_object_ref),
1979         (gst_mini_object_unref):
1980         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
1981
1982         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
1983         When removing cached plugins, remove their features too, so they're
1984         not visible after they've disappeared.
1985
1986         * gst/gstutils.c: (prepare_link_maybe_ghosting):
1987         In the unlikely case that we are linking pads with no parents, don't
1988         crash trying to get the non-existent parent bin.
1989
1990         * gst/parse/grammar.y:
1991         Output debug in the PIPELINE category
1992
1993 2005-03-08  Wim Taymans  <wim@fluendo.com>
1994
1995         Patch by: René Stadler <mail at renestadler dot de>
1996
1997         * gst/gstclock.c: (gst_clock_new_periodic_id):
1998         Reject invalid clock times for interval of periodic ids.
1999         Fixes ##383506.
2000
2001 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
2002
2003         * gst/gstelementfactory.c: (gst_element_factory_create):
2004         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2005         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
2006         * tools/gst-inspect.c: (print_element_info):
2007         Fix refcounting of gst_plugin_feature_load to match the docs. 
2008         Fixes: #380129
2009
2010 2006-12-07  Wim Taymans  <wim@fluendo.com>
2011
2012         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2013         (gst_base_sink_get_position):
2014         Improve debugging of events.
2015
2016 2006-12-07  Wim Taymans  <wim@fluendo.com>
2017
2018         Patch by: René Stadler <mail at renestadler dot de>
2019
2020         * gst/gstclock.c: (gst_clock_id_wait):
2021         Make period ids add the interval to the origial requested time instead
2022         of the possibly updated time which can be wrong when there are multiple
2023         waiters for the same id. Fixes #382592.
2024
2025         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
2026         (gst_system_clock_id_wait_jitter_unlocked),
2027         (gst_system_clock_id_wait_jitter):
2028         Fix restart in the async notify thread when an async entry is added to
2029         the front of the list. Fixes #381492. 
2030
2031         * tests/check/gst/gstsystemclock.c: (store_callback),
2032         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
2033         Added test for multiple async waits.
2034         Added test for async wait order.
2035
2036 2006-12-07  Wim Taymans  <wim@fluendo.com>
2037
2038         * gst/gstbin.c: (gst_bin_query):
2039         Add some more docs about the POSITION query.
2040
2041 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
2042
2043         * configure.ac:
2044         Bump version nano - back to CVS.
2045
2046 === release 0.10.11 ===
2047
2048 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
2049
2050         * configure.ac:
2051           releasing 0.10.11, "Love never runs on time"
2052
2053 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
2054
2055         * win32/common/libgstbase.def:
2056         * win32/common/libgstreamer.def:
2057         * win32/vs8/libgstbase.vcproj:
2058         * win32/vs8/libgstcoreelements.vcproj:
2059         * win32/vs8/libgstreamer.vcproj:
2060         Fix compilation on win32 under VS8
2061         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2062         Partially fixes #381175
2063
2064 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
2065
2066         * gst/gstvalue.c: (gst_value_compare_fraction):
2067         If someone is foolish enough to compare 2 fractions with denominator =
2068         0, return UNORDERED rather than aborting.
2069
2070 2006-11-28  Edward Hervey  <edward@fluendo.com>
2071
2072         * libs/gst/base/Makefile.am:
2073         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
2074         (gst_data_queue_base_init), (gst_data_queue_class_init),
2075         (gst_data_queue_init), (gst_data_queue_new),
2076         (gst_data_queue_cleanup), (gst_data_queue_finalize),
2077         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
2078         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
2079         (gst_data_queue_is_empty), (gst_data_queue_is_full),
2080         (gst_data_queue_set_flushing), (gst_data_queue_push),
2081         (gst_data_queue_pop), (gst_data_queue_drop_head),
2082         (gst_data_queue_set_property), (gst_data_queue_get_property):
2083         * libs/gst/base/gstdataqueue.h:
2084         New GstDataQueue object for threadsafe queueing. Most useful for
2085         elements that need some queueing functionnality.
2086         * docs/libs/gstreamer-libs-docs.sgml:
2087         * docs/libs/gstreamer-libs-sections.txt:
2088         Insert documentation for GstDataQueue
2089         * plugins/elements/Makefile.am:
2090         * plugins/elements/gstelements.c:
2091         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2092         (gst_multi_queue_class_init), (gst_multi_queue_init),
2093         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2094         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
2095         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
2096         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2097         (gst_multi_queue_loop), (gst_multi_queue_chain),
2098         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2099         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
2100         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
2101         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
2102         (wake_up_next_non_linked), (compute_next_non_linked),
2103         (single_queue_overrun_cb), (single_queue_underrun_cb),
2104         (single_queue_check_full), (gst_single_queue_new):
2105         * plugins/elements/gstmultiqueue.h:
2106         New multiqueue element, using GstDataQueue. Used for queuing multiple
2107         streams.
2108         Closes #344639 and #347785
2109
2110 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
2111
2112         * docs/pwg/advanced-types.xml:
2113           add more missing type details
2114
2115         * tools/gst-run.c: (main):
2116           remove unused variable
2117
2118 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
2119
2120         * docs/libs/Makefile.am:
2121         * docs/libs/gstreamer-libs.types:
2122           add types of base classes to enable gobject specific stuff in the docs
2123
2124         * docs/random/ensonic/embedded.txt:
2125           more ideas about isolating platform specific things
2126
2127 2006-11-20  Wim Taymans  <wim@fluendo.com>
2128
2129         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
2130
2131         * libs/gst/check/gstcheck.h:
2132         Fix compilation and running against 0.9.4. Fixes #377332.
2133
2134 2006-11-20  Wim Taymans  <wim@fluendo.com>
2135
2136         * gst/gstsegment.c: (gst_segment_set_seek),
2137         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2138         (gst_segment_to_running_time):
2139         Fix boundary checking in to_running_time() and to_stream_time().
2140         Fixes #377183.
2141
2142         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2143         stream and running time can now be calculated for the complete
2144         clipped segment.
2145
2146 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
2147
2148         * gst/gstpad.c: (gst_pad_push_event):
2149           Can't access event structure after giving away ownership of
2150           the event.
2151
2152 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
2153
2154         * docs/random/ensonic/embedded.txt:
2155         * docs/random/ensonic/profiling.txt:
2156         * docs/random/ensonic/receipies.txt:
2157           more thinking
2158
2159 2006-11-13  Wim Taymans  <wim@fluendo.com>
2160
2161         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2162
2163         * gst/gstpad.c:
2164         Fix documentation for gst_pad_dispatcher. Fixes #374475.
2165
2166 2006-11-13  Wim Taymans  <wim@fluendo.com>
2167
2168         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
2169
2170         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2171         Store new length in segment duration so we don't keep on calling the
2172         potentially expensize get_size() call. Fixes #370865.
2173
2174 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
2175
2176         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
2177
2178         * win32/common/libgstreamer.def:
2179           Add two missing symbols (#366492).
2180
2181 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
2182
2183         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
2184         (gst_adapter_take_buffer):
2185         Fix format string to use all its arguments.
2186         Remove useless >= check on a guint
2187
2188 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2189
2190         * tests/examples/adapter/.cvsignore:
2191         Ignore build file as commanded by the build-bot
2192
2193 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2194
2195         * tests/examples/adapter/Makefile.am:
2196         * tests/examples/adapter/adapter_test.c: (run_test_take),
2197         (run_test_take_buffer), (run_tests), (main):
2198
2199         Add new files from the previous commit
2200
2201 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2202
2203         * Makefile.am:
2204         * configure.ac:
2205         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
2206         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
2207         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
2208         * libs/gst/base/gstadapter.h:
2209         * tests/check/libs/adapter.c: (create_and_fill_adapter),
2210         (GST_START_TEST), (gst_adapter_suite):
2211         * tests/examples/Makefile.am:
2212         Do some optimisation work in GstAdapter to avoid copies in more cases.
2213         It could still do slightly better by merging buffers when
2214         gst_buffer_is_span_fast is true, but is already faster. 
2215
2216         Also, avoid traversing a single-linked list to append each incoming 
2217         buffer inside the adapter.
2218
2219         Add simple test app that times the adapter behaviour in different
2220         situations, and extend the unit test to check that bytes enter and
2221         exit the adapter in their original order.
2222
2223 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2224
2225         * docs/random/draft-missing-plugins.txt:
2226           Update: use element message instead of adding a new message
2227           type to the core; don't provide GStreamer API to initiate the
2228           plugin download, just provide API to compose the strings needed
2229           and let an external libgimmestuff handle the rest.
2230
2231 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
2232
2233         * tools/gst-inspect.c: (print_element_properties_info):
2234         Print a string instead of 'unknown type' for GValueArray properties
2235
2236 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
2237
2238         * docs/random/draft-missing-plugins.txt:
2239         More small fixes.
2240
2241 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2242
2243         * tests/examples/typefind/typefind.c: (type_found), (main):
2244           Make typefind element example work again (#371894); add a
2245           license header.
2246
2247 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2248
2249         * docs/random/draft-missing-plugins.txt:
2250           Commit initial draft about how to deal with missing plugins,
2251           needs work (API too).
2252
2253 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
2254
2255         * docs/pwg/advanced-types.xml:
2256           documents the new caps elements (see #363118)
2257
2258 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2259
2260         * gst/gstplugin.c: (gst_plugin_load_file):
2261         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
2262         (gst_file_src_map_region), (gst_file_src_start):
2263         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
2264         (gst_file_index_commit):
2265           Use g_strerror() instead of strerror() - we want UTF-8.
2266
2267 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2268
2269         Patch by: Peter Kjellerstedt <pkj at axis com>
2270
2271         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2272           Another printf fix (#371493).
2273
2274 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2275
2276         * tests/check/gst/gsttag.c:
2277           relicence (okay with author=company)
2278
2279 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2280
2281         * gst/gstpad.c: (gst_pad_event_default_dispatch),
2282         (gst_pad_push_event):
2283           Enhance debug and improve docs
2284         
2285         * gst/gsturi.c:
2286           Fix docs
2287
2288 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2289
2290         * docs/random/ensonic/distributed.txt:
2291         * docs/random/ensonic/profiling.txt:
2292           more ideas
2293
2294 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2295
2296         * docs/gst/gstreamer-sections.txt:
2297           add new API and fix the build
2298           
2299         * gst/gstbin.c: (gst_bin_recalc_state):
2300         * gst/gstelement.c: (gst_element_message_full),
2301         (gst_element_get_state_func), (gst_element_set_state_func):
2302           use new API and improve logging
2303         
2304         * gst/gstutils.c: (gst_element_state_change_return_get_name):
2305         * gst/gstutils.h:
2306           API: add function to get StateChangereturn names to improve logs 
2307
2308 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
2309
2310         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2311           I'm considering shooting the next person to put strerror stuff
2312           in the translateable part of the message.
2313
2314 2006-11-03  Wim Taymans  <wim@fluendo.com>
2315
2316         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2317         Get the type and printf conversion specifiers right.
2318
2319 2006-11-03  Wim Taymans  <wim@fluendo.com>
2320
2321         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2322
2323         * gst/gstpad.c: (gst_pad_init), (pre_activate),
2324         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
2325         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
2326         Some small cleanups. Improve debugging.
2327         * gst/gstpad.h:
2328         Signal all waiting threads with a broadcast instead of just one.
2329         Fixes #369942.
2330
2331 2006-11-03  Wim Taymans  <wim@fluendo.com>
2332
2333         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2334         (gst_fd_src_create):
2335         Add some debugging. 
2336         Only update fd when it's different from the old.
2337
2338 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2339
2340         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
2341           Printf fixes for PPC/OSX, take two (#369366).
2342
2343 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2344
2345         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
2346
2347         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2348         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2349         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2350           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
2351           don't cast to long long for portability reasons, but use
2352           GLib's types instead.
2353
2354 2006-10-30  Michael Smith  <msmith@fluendo.com>
2355
2356         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2357           Get the arguments to lseek() the right way around.
2358           Fixes 367677.
2359
2360 2006-10-30  Wim Taymans  <wim@fluendo.com>
2361
2362         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
2363
2364         * gst/gstinfo.h:
2365         _declspec should be __declspec (two underscores, not one). Fixes 366572.
2366
2367 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
2368
2369         Patch by: Kjartan Maraas  <kmaraas at gnome org>
2370
2371         * docs/design/part-MT-refcounting.txt:
2372         * docs/random/wtay/capsnego2-docs:
2373         * gst/gstclock.c:
2374         * gst/gstxml.c:
2375           Typo fixes (#366212).
2376
2377 2006-10-28  Wim Taymans  <wim@fluendo.com>
2378
2379         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2380
2381         * gst/gst.c:
2382         * win32/common/libgstbase.def:
2383         * win32/common/libgstreamer.def:
2384         * win32/vs8/libgstbase.vcproj:
2385         * win32/vs8/libgstcontroller.vcproj:
2386         Add needed entries in .def files.
2387         Use HAVE_UNISTD_H.
2388         Rearrange def files in vs8 solutions. Fixes #366286.
2389
2390 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
2391
2392         * win32/common/gstconfig.h:
2393           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
2394           hand-made win32 gstconfig.h. Fixes #366321.
2395
2396 2006-10-27  Wim Taymans  <wim@fluendo.com>
2397
2398         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
2399         (gst_ghost_pad_new_full):
2400         Make acceptcaps return TRUE when we don't have a target, just like
2401         setcaps does.
2402
2403 2006-10-27  Wim Taymans  <wim@fluendo.com>
2404
2405         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2406         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
2407
2408 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
2409
2410         * gst/gststructure.c: (gst_structure_id_set_value):
2411           If someone tries to set a non-UTF8 string field on a structure,
2412           don't just print a warning, but also ignore the request and do
2413           not change/add that field to the structure.
2414
2415         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2416           Test for the above.
2417
2418 2006-10-25  David Schleef  <ds@schleef.org>
2419
2420         * gst/gstinfo.c:
2421           g_hash_table_insert() needs a cast to a non-const pointer duh.
2422
2423 2006-10-25  David Schleef  <ds@schleef.org>
2424
2425         * gst/gstinfo.c:
2426         * gst/gstinfo.h:
2427           Change name parameter of _gst_debug_register_funcptr to const
2428           to reflect the constness of its use in the function as well
2429           as to quiet a gcc warning.
2430
2431 2006-10-25  Edward Hervey  <edward@fluendo.com>
2432
2433         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2434         Don't push the buffer if it's empty.
2435         Closes #363095
2436
2437 2006-10-24  Wim Taymans  <wim@fluendo.com>
2438
2439         * gst/gstevent.h:
2440         Add small comment.
2441
2442         * libs/gst/base/gstbasetransform.c:
2443         (gst_base_transform_sink_eventfunc):
2444         Debug segment values *after* updating them as this is more
2445         interesting.
2446
2447 2006-10-23  Wim Taymans  <wim@fluendo.com>
2448
2449         * docs/design/part-events.txt:
2450         Update some docs.
2451
2452         * docs/design/part-block.txt:
2453         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2454         (gst_pad_push_event):
2455         Revert BLOCKING patch, it tries to be smart without really having a
2456         clear idea what or how. So, now we discard all FLUSHING events again on
2457         a blocking pad. Should fix gnonlin again.
2458
2459 2006-10-23  Wim Taymans  <wim@fluendo.com>
2460
2461         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2462
2463         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2464         (gst_base_src_start), (gst_base_src_activate_push):
2465         Make sure size is always initialized. Fixes #364388.
2466
2467 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
2468
2469         * docs/random/ensonic/distributed.txt:
2470           add some ideas about doing distributed processing
2471
2472         * docs/random/ensonic/profiling.txt:
2473           get_rusage look promising
2474
2475 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
2476
2477         * docs/manual/basics-helloworld.xml:
2478           Add a cast in example to fix compile warning
2479
2480 2006-10-18  Wim Taymans  <wim@fluendo.com>
2481
2482         * gst/gstsegment.c: (gst_segment_set_last_stop),
2483         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2484         Relax arg checking again, -1 is allowed.
2485
2486 2006-10-18  Wim Taymans  <wim@fluendo.com>
2487
2488         * gst/gstsegment.c: (gst_segment_set_last_stop),
2489         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2490         _set_last_stop() must be with a value != -1
2491         A _TYPE_SET to -1 means seek to 0.
2492         Calc last_stop correctly for negative rates.
2493         Make sure we work with positive durations when updating a segment.
2494
2495 2006-10-18  Wim Taymans  <wim@fluendo.com>
2496
2497         * docs/design/part-live-source.txt:
2498         * gst/gstclock.h:
2499         Small docs fixes.
2500
2501 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
2502
2503         * gst/gstbuffer.h:
2504           Add an explicit cast to GstBuffer** to keep old code that added an
2505           explicit cast to GstMiniObject** for gst_mini_object_replace()
2506           compiling without warning.
2507
2508 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
2509
2510         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
2511           check for validity of dates
2512
2513 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2514
2515         * docs/gst/gstreamer-sections.txt:
2516           Forgot this one, makes gtk-doc shut up.
2517
2518 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2519
2520         Patch by: Peter Kjellerstedt <pkj at axis com>
2521
2522         * gst/gstobject.h:
2523           Don't define xmlNodePtr to gpointer if the core was built with
2524           --disable-loadsave and --disable-registry, this will break
2525           applications that want to use libxml2 but are buildling against a
2526           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
2527           instead so we don't have to mess with the libxml2 namespace
2528           (#361675).
2529
2530 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2531
2532         * gst/gstbuffer.h:
2533           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
2534           type-punned pointer warnings.
2535
2536 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2537
2538         * gst/gstelement.h:
2539           Add casts to the correct return type to state <=> state transition
2540           macros.
2541
2542 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
2543
2544         * docs/design/part-live-source.txt:
2545           describe howto handle latency
2546         
2547         * docs/random/ensonic/profiling.txt:
2548           more ideas
2549
2550         * tools/gst-plot-timeline.py:
2551           fix log parsing for solaris, remove unused function
2552
2553 2006-10-16  Wim Taymans  <wim@fluendo.com>
2554
2555         * docs/design/part-trickmodes.txt:
2556         * gst/gstevent.c:
2557         Update some docs regarding reverse playback.
2558
2559 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2560
2561         Patch by: Marcus Granado  <mrc dot gran at gmail com>
2562
2563         * win32/vs8/grammar.vcproj:
2564           Error out with a warning if glib-genmarshal.exe is not in path,
2565           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
2566
2567 2006-10-13  Wim Taymans  <wim@fluendo.com>
2568
2569         * gst/gstsegment.c: (gst_segment_set_seek):
2570         When seeking to stop -1, set last_stop (current position) to the
2571         duration of the segment.
2572
2573 2006-10-13  Wim Taymans  <wim@fluendo.com>
2574
2575         * gst/gstelement.h:
2576         Clarify _NO_PREROLL a bit more.
2577
2578         * gst/gstevent.c:
2579         Fix docs.
2580
2581         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
2582         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
2583         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
2584         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
2585         due to wrong locking order. Fixes #361769.
2586         Remove some redundant/misplaced checks in pad_block.
2587
2588         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2589         For negative rates, count backwards from the duration.
2590
2591 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2592
2593         * gst/gsterror.c: (_gst_library_errors_init):
2594           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
2595           up with something better).
2596
2597 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
2598
2599         * win32/vs6/libgstreamer.dsp:
2600         * win32/vs7/libgstreamer.vcproj:
2601         * win32/vs8/libgstreamer.vcproj:
2602           Don't reference glib-compat.c which is currently not used and not
2603           disted; add gstquark.c which was recently added. Fixes #361730.
2604
2605 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
2606
2607         * win32/common/libgstbase.def:
2608         * win32/common/libgstcontroller.def:
2609         * win32/common/libgstreamer.def:
2610           Add gst_caps_merge() and a bunch of other recently-added functions.
2611           Fixes #361732.
2612
2613 2006-10-11  Wim Taymans  <wim@fluendo.com>
2614
2615         * docs/plugins/gstreamer-plugins.args:
2616         * docs/plugins/inspect/plugin-coreelements.xml:
2617         * docs/plugins/inspect/plugin-coreindexers.xml:
2618         Update element args.
2619
2620         * gst/gstsystemclock.c:
2621         Small comment update.
2622
2623         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
2624         (gst_tee_request_new_pad), (gst_tee_release_pad),
2625         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
2626         (gst_tee_sink_activate_pull):
2627         * plugins/elements/gsttee.h:
2628         Some tee loving:
2629         Add default property defines.
2630         Implement release pad function.
2631         Give properties better blubs etc.
2632         Activate pads before adding them to a running tee.
2633         Do simple buffer_alloc on the first requested pad.
2634         Post error when activation fails.
2635
2636 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
2637
2638         * gst/gst.c: (ensure_current_registry_forking):
2639           Check return value of write() to make compiler happy.
2640
2641 2006-10-11  Wim Taymans  <wim@fluendo.com>
2642
2643         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2644
2645         * plugins/elements/gstqueue.c: (gst_queue_chain):
2646         Recheck queue filledness after signalling the overrun when we're about
2647         to leak downstream because we released the lock when emitting the signal
2648         and the queue could be empty again. Fixes #352345.
2649
2650 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
2651
2652         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2653           Fix refcounting here too, just like we did for _new_valist() a few
2654           days ago (#357180) (thanks to René Stadler). Also remove all those
2655           'Since: 0.9' from the gtk-doc blobs.
2656
2657         * tests/check/libs/controller.c: (controller_refcount_new_list),
2658         (gst_controller_suite):
2659           Unit test for the above.
2660
2661 2006-10-10  Wim Taymans  <wim@fluendo.com>
2662
2663         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
2664
2665         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2666         (gst_pad_save_thyself):
2667         Update some docs.
2668         Write pad direction in XML output. Fixes #345496.
2669
2670 2006-10-10  Wim Taymans  <wim@fluendo.com>
2671
2672         Patch by: René Stadler <mail at renestadler dot de>
2673
2674         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2675         (gst_controller_new_list), (_gst_controller_dispose),
2676         (_gst_controller_finalize), (_gst_controller_class_init):
2677         Take ref to controlled object so that it cannot disappear. 
2678         Fixes #357432.
2679
2680 2006-10-10  Wim Taymans  <wim@fluendo.com>
2681
2682         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2683         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2684         (gst_check_teardown_sink_pad):
2685         Activate/deactivate pads in setup/teardown respectively.
2686
2687 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2688
2689         Patch by: Josep Torre Valles <josep@fluendo.com>
2690
2691         * gst/Makefile.am:
2692         Cast values when making gstenumtypes.h.  This pacifies Forte
2693         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
2694         in the enumeration.
2695
2696 2006-10-09  Wim Taymans  <wim@fluendo.com>
2697
2698         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
2699         Rename some more @cur to @start to fix docs. 
2700
2701         * gst/gstsegment.c: (gst_segment_set_seek):
2702         Fix typo.
2703         time and start must always stay in sync as defined in design doc.
2704
2705         * gst/gsttaglist.c: (gst_tag_list_is_empty):
2706         Rename param to fix docs.
2707
2708         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2709         Check that start and time are in sync.
2710
2711         * tests/check/pipelines/parse-launch.c:
2712         (gst_parse_test_element_change_state):
2713         Activate pad before adding to the element.
2714
2715 2006-10-09  Wim Taymans  <wim@fluendo.com>
2716
2717         * docs/design/part-qos.txt:
2718         Fix typo.
2719
2720         * gst/gstevent.c:
2721         * gst/gstevent.h:
2722         Update seek event docs regarding negative rates.
2723         Rename @cur to @start. 
2724
2725         * gst/gstsegment.c: (gst_segment_set_seek):
2726         * gst/gstsegment.h:
2727         Update set_seek docs regarding negative rates.
2728         Correctly update last_stop to @stop when dealing with negative
2729         rates.
2730         Rename @cur to @start. 
2731
2732         * tests/check/gst/gstpad.c: (GST_START_TEST):
2733         Activate pads before trying to use them.
2734
2735         * tests/check/gst/gstsegment.c: (GST_START_TEST),
2736         (gst_segment_suite):
2737         Add simple check for segments and negative rates.
2738
2739 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2740
2741         * gst/gsttaglist.c: (gst_tag_list_is_empty):
2742         * gst/gsttaglist.h:
2743         * docs/gst/gstreamer-sections.txt:
2744           API: add gst_tag_list_is_empty() (#360467).
2745
2746         * tests/check/gst/gsttag.c: (GST_START_TEST):
2747           And a test case.
2748
2749 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2750
2751         * gst/gstmessage.h:
2752         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
2753         a value that doesn't fit on enumeration.
2754
2755 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2756
2757         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2758         Remove local debugging system and use Gstreamer's instead.
2759
2760 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2761
2762         Patch by: Josep Torre Valles <josep@fluendo.com>
2763
2764         * common/m4/gst-error.m4:
2765         Disable warning of statement not reached on Forte.
2766         * gst/gstmessage.h:
2767         Fix warning on Forte (value doesn't fit on enumeration).
2768         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
2769         Fix warning on Forte (value doesn't fit on enumeration).
2770         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2771         DEBUG macro says it takes minimum of 2 args and so Forte
2772         complains about the use with just 1 arg.
2773         * plugins/elements/gstfdsink.c:
2774         * plugins/elements/gstfdsrc.c:
2775         * plugins/elements/gstfilesink.c:
2776         * plugins/elements/gstfilesrc.c:
2777         Use correct return type for the uri handler implementations.
2778
2779         All these fix warnings in Forte.  Fixes bug #360860.
2780
2781 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2782
2783         * gst/gstelement.h:
2784           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
2785           format string, so don't use G_GNUC_PRINTF for those versions.
2786
2787 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
2788
2789         * gst/gsttaglist.c: (gst_is_tag_list):
2790         * gst/gsttaglist.h:
2791           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
2792
2793         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2794           Small test for the above.
2795
2796 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
2797
2798         * gst/gsttaglist.h:
2799           Less tabs, more spaces.
2800
2801 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
2802
2803         * gst/gstinfo.h:
2804           Those two function declarations do actually belong there, revert
2805           commit from yesterday that turned them intro macros.
2806
2807 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2808
2809         Patch by: Josep Torre Valles <josep@fluendo.com>
2810
2811         * gst/gst.c: (gst_init_get_option_group):
2812         Fix empty declaration and type mismatch.
2813         * gst/gstbin.c: (gst_bin_change_state_func):
2814         Fix type mismatch.
2815         * gst/gstelement.c: (gst_element_continue_state),
2816         (gst_element_set_state_func), (gst_element_change_state),
2817         (gst_element_change_state_func):
2818         Fix type mismatches.
2819         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
2820         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
2821         Cast as appropriate.
2822         * gst/gstobject.c: (gst_class_signal_connect):
2823         Cast as appropriate.  The function pointer parameter really
2824         has the wrong type but would break API if we change it.
2825         * gst/gstquery.c:
2826         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
2827         order of including string.h.
2828         * gst/gstutils.c: (gst_element_state_get_name):
2829         Remove unreachable line.
2830         * gst/gstxml.c: (gst_xml_parse_doc):
2831         Fix type mismatch.
2832         All these caught by Forte.
2833
2834 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2835
2836         Patch by: Josep Torre Valles <josep@fluendo.com>
2837
2838         * common/m4/gst-error.m4:
2839         Fixed bug #360151.
2840         We need to disable warnings on Forte for empty declarations
2841         due to gst-indent adding ;s to lines that just use macros
2842         where the macro actually doesn't need a ; at end to end
2843         statement.
2844
2845 2006-10-06  Wim Taymans  <wim@fluendo.com>
2846
2847         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2848         (gst_file_sink_close_file), (gst_file_sink_event),
2849         (gst_file_sink_render):
2850         Add some FIXME for the NEWSEGMENT handling.
2851
2852 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2853
2854         * gst/parse/grammar.y:
2855         Remove static function gst_parse_element_lock as all it does
2856         is return.  Looks like cruft from 0.8.
2857
2858 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2859
2860         Patch by: Josep Torre Valles <josep@fluendo.com>
2861
2862         * common/m4/gst-error.m4:
2863         * configure.ac:
2864         * libs/gst/net/Makefile.am:
2865         Fix a compilation issue with Forte on Solaris.  inet_aton is in
2866         libresolv.
2867
2868 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
2869
2870         * gst/gstpad.c: (pre_activate):
2871         * gst/gstregistry.c: (gst_registry_scan_path_level):
2872         * gst/gstregistryxml.c: (load_plugin):
2873         * libs/gst/controller/gstcontroller.c:
2874         (gst_controlled_property_set_interpolation_mode):
2875         * libs/gst/dataprotocol/dataprotocol.c:
2876         (gst_dp_packet_from_event_1_0):
2877         * libs/gst/net/gstnetclientclock.c:
2878         (gst_net_client_clock_observe_times):
2879         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2880           Printf fixes.
2881
2882 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
2883
2884         * configure.ac:
2885         * docs/gst/gstreamer-sections.txt:
2886         * gst/gstconfig.h.in:
2887         * gst/gstelement.h:
2888         * gst/gstinfo.h:
2889           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
2890           whether we can use G_GNUC_PRINTF in other header files and at
2891           least check the printf format/arguments of debug messages and
2892           GST_ELEMENT_ERROR messages when the printf extension is not
2893           being used.
2894           Replace more tabs with spaces in gstinfo.h and remove two spurious
2895           function declarations in GST_DISABLE_DEBUG part with macros.
2896
2897 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
2898
2899         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
2900           More docs for the sync-message signal (mention that it is not
2901           emitted by default); log message structures of messages posted on
2902           the bus as well.
2903
2904 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
2905
2906         * gst/gst.c: (ensure_current_registry_forking):
2907         Use a pipe pair to receive status results from the forked child, and
2908         ignore the result from waitpid. Fixes #355499
2909
2910 2006-10-02  Wim Taymans  <wim@fluendo.com>
2911
2912         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
2913         (gst_ghost_pad_suite):
2914         Fix leak in check.
2915
2916 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
2917
2918         * gst/gstpad.c:
2919           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
2920
2921 2006-10-02  Edward Hervey  <edward@fluendo.com>
2922
2923         * docs/design/part-block.txt:
2924         Further explain the use of flushing on blocked pads.
2925         * docs/gst/gstreamer-sections.txt:
2926         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2927         (gst_pad_push_event):
2928         * gst/gstpad.h:
2929         Added new GstPadFlag : GST_PAD_BLOCKING.
2930         Adds the notion of pads really blocking, which enables to properly
2931         handle FLUSH_START/FLUSH_STOP events on blocked pads.
2932         Fixes #358999
2933         API: gst_pad_is_blocking()
2934         API: GST_PAD_IS_BLOCKING() macro
2935         API: GST_PAD_BLOCKING GstPadFlag
2936         
2937 2006-10-02  Wim Taymans  <wim@fluendo.com>
2938
2939         Patch by: mrcgran <mrc.gran at gmail dot com>
2940
2941         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
2942         Filter the proxied caps against the padtemplate if we have one.
2943
2944         * gst/gstquery.c: (gst_query_new_segment):
2945         Add include for gstinfo.h so that compilation with
2946         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
2947
2948 2006-10-02  Wim Taymans  <wim@fluendo.com>
2949
2950         Patch by: Alessandro Decina  <alessandro at nnva org>
2951
2952         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
2953         (gst_file_sink_set_location), (gst_file_sink_open_file),
2954         (gst_file_sink_close_file), (gst_file_sink_event),
2955         (gst_file_sink_render):
2956         Set file to NULL when closing filesink so that we can set a new filename
2957         in READY. Fixes #358613.
2958
2959 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
2960
2961         Patch by: Alessandro Decina  <alessandro at nnva org>
2962
2963         * gst/gstevent.c: (_gst_event_copy):
2964           Fix gst_mini_object_make_writable() and gst_event_copy() for events
2965           with event structures by setting the parent refcount address of the
2966           copied structure to the address of the refcount member of the newly
2967           copied event rather than the address of the refcount member of the
2968           original event. Fixes #358737.
2969
2970         * tests/check/gst/gstevent.c: (GST_START_TEST):
2971           Unit test for the above.
2972
2973 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
2974
2975         * docs/design/Makefile.am:
2976           Dist some more files.
2977
2978 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
2979
2980         * tests/check/libs/controller.c: (GST_START_TEST),
2981         (gst_controller_suite):
2982           Add test for the previous fix; add some more tests
2983           for correct refcounting behaviour; fix a few leaks
2984           in test cases; call gst_controller_init() at start
2985           of all tests.
2986
2987 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
2988
2989         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2990         (gst_controller_set_from_list):
2991           Don't g_return_val_if_fail() on timed values with invalid timestamps
2992           inside a critical section without unlocking the mutex. Spotted by
2993           René Stadler. (#357617)
2994           Also, fix up refcounting properly: when returning an existing
2995           controller, we should increase the reference only once and not
2996           once per property and when trying to control a property again
2997           we should also increase the refcount.
2998
2999 2006-09-29  Wim Taymans  <wim@fluendo.com>
3000
3001         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3002         * libs/gst/net/gstnettimeprovider.c:
3003         (gst_net_time_provider_thread):
3004         Stop reading commands when EOF as well.
3005
3006         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3007         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3008         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3009         Unify description of the dump property.
3010
3011 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3012
3013         * tests/examples/manual/.cvsignore:
3014         OK, so it's actually cvsignore that needs changing. Stop laughing.
3015
3016 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3017
3018         * tests/examples/manual/Makefile.am:
3019         Gah, declare vars *before* using them
3020
3021 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3022
3023         * gst/gst.c: (init_pre), (scan_and_update_registry),
3024         (ensure_current_registry_nonforking),
3025         (ensure_current_registry_forking), (ensure_current_registry),
3026         (init_post), (gst_debug_help), (gst_deinit):
3027         * gst/gst_private.h:
3028         * gst/gstregistry.c: (gst_registry_finalize),
3029         (gst_registry_remove_features_for_plugin_unlocked),
3030         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3031         (gst_registry_scan_path),
3032         (_priv_gst_registry_remove_cache_plugins),
3033         (_priv_gst_registry_cleanup):
3034         * gst/gstregistry.h:
3035         Re-commit the registry changes, along with an extra fix:
3036           When a cached plugin is encountered at a different file path,
3037           update the stored path in the registry cache so that the parent
3038           process knows where it actually is now when it re-reads the registry
3039           cache. Fixes the thing that broke distcheck with the previous commit.
3040
3041         * tests/check/Makefile.am:
3042         Clean up files named 'core' too when running make clean.
3043
3044         * tests/examples/manual/Makefile.am:
3045         Set up a registry path for running these tests, and clean it properly
3046         for distcheck.
3047
3048 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
3049
3050         * configure.ac:
3051         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
3052         want gmodule-no-export-2.0.pc instead so that we don't drag in
3053         --export-dynamic on every project that links to GStreamer.
3054
3055         Also, make our export regex only match the start of symbols, rather 
3056         than any symbol that contains '_gst' somewhere.
3057
3058         * libs/gst/check/Makefile.am:
3059         The libgstcheck we build does however need export-dynamic, as it
3060         produces some symbols that don't match our _gst... style regex.
3061         Fixes: #318031
3062
3063 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
3064
3065         * gst/gst.c: (init_pre), (scan_and_update_registry),
3066         (ensure_current_registry_nonforking),
3067         (ensure_current_registry_forking), (ensure_current_registry),
3068         (init_post), (gst_debug_help), (gst_deinit):
3069         * gst/gst_private.h:
3070         * gst/gstregistry.c: (gst_registry_finalize),
3071         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3072         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
3073         (_gst_registry_cleanup):
3074         * gst/gstregistry.h:
3075           Revert previous change until I figure out why it breaks distcheck.
3076
3077 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
3078
3079         * gst/gst.c: (init_pre), (scan_and_update_registry),
3080         (ensure_current_registry_nonforking),
3081         (ensure_current_registry_forking), (ensure_current_registry),
3082         (init_post), (gst_debug_help), (gst_deinit):
3083
3084           Make init_pre and init_post take the full complement of GOptionFunc
3085           args so they can return useful GErrors. Make the registry updating
3086           functions do so.
3087
3088           Call _priv_gst_registry_remove_cache_plugins after scanning files to
3089           ensure that the registry we're about to write out doesn't contain
3090           stale information about old-deleted plugin files.
3091
3092           Make _priv_gst_registry_remove_cache_plugins return a boolean so
3093           that deletion of plugin files is considered a registry change.
3094
3095         * gst/gst_private.h:
3096         * gst/gstregistry.c: (gst_registry_finalize),
3097         (gst_registry_remove_features_for_plugin_unlocked),
3098         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3099         (gst_registry_scan_path),
3100         (_priv_gst_registry_remove_cache_plugins),
3101         (_priv_gst_registry_cleanup):
3102         * gst/gstregistry.h:
3103         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
3104         by adding _priv prefix, so that they won't appear in the global
3105         symbol table. They still do atm though because of #318031. Move the
3106         prototypes to gst_private.h
3107
3108         When removing a plugin, remove all features for that plugin too. 
3109         Fixes #340878.
3110
3111 2006-09-27  Wim Taymans  <wim@fluendo.com>
3112
3113         * docs/random/moving-plugins:
3114         Make it clear that the "compiled-in descriptions" really mean
3115         the element details.
3116
3117         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3118         (gst_base_sink_wait_preroll):
3119         Update docs.
3120
3121         * docs/libs/gstreamer-libs-sections.txt:
3122         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3123         (gst_base_src_get_range), (gst_base_src_activate_push):
3124         * libs/gst/base/gstbasesrc.h:
3125         Added function to block while waiting for PLAYING, this function
3126         is used by live sources that block on the clock.
3127         API: gst_base_src_wait_playing()
3128
3129 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3130
3131         Patch by: Peter Kjellerstedt <pkj at axis com>
3132
3133         * Makefile.am:
3134           gst-element-check.m4 is generated and should therefore be
3135           copied from the build dir rather than the source dir (#357593).
3136           'make distcheck' hasn't noticed this because we were disting
3137           the file as well, so stop doing that.
3138
3139 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3140
3141         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3142           Add some tests for gst_caps_intersect().
3143
3144         * tools/gst-launch.c: (event_loop):
3145           Print all buffering percentages we get, even the 100% one.
3146
3147 2006-09-26  Wim Taymans  <wim@fluendo.com>
3148
3149         * tools/gst-inspect.c: (print_element_properties_info),
3150         (print_signal_info):
3151         Fix printing of flags to match the look of enums.
3152
3153 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3154
3155         * gst/gstelementfactory.c:
3156           Fix typo in docs blurb.
3157
3158 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3159
3160         * gst/gsturi.c: (search_by_entry):
3161           Don't assert/crash here if a uri handler doesn't return any
3162           supported protocols. The list of protocols could be generated
3163           dynamically at runtime or at plugin registration, and an error
3164           in the underlying library shouldn't be fatal (#353301).
3165
3166 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3167
3168         * gst/gstinfo.c:
3169           Fix warning if HAVE_PRINTF_EXTENSION is undefined
3170           (spotted by Peter Kjellerstedt).
3171
3172 2006-09-23  Wim Taymans  <wim@fluendo.com>
3173
3174         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
3175
3176         * libs/gst/base/gstbasesrc.c:
3177         (gst_base_src_default_check_get_range), (gst_base_src_start),
3178         (gst_base_src_activate_push), (gst_base_src_activate_pull),
3179         (gst_base_src_change_state):
3180         Match _start/_stop calls in the activate functions. Remove redundant
3181         _stop call from the state change function. Fixes #356910.
3182         Turn failure DEBUG into ERROR. 
3183
3184 2006-09-22  Wim Taymans  <wim@fluendo.com>
3185
3186         * docs/design/part-buffering.txt:
3187         * gst/gstmessage.c: (gst_message_new_buffering),
3188         (gst_message_parse_buffering):
3189         Update docs about buffering.
3190
3191         * docs/design/part-trickmodes.txt:
3192         Fix typo.
3193
3194 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
3195
3196         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3197         (gst_controller_new_list):
3198           Ref instances when returning them again (fixes #357180)
3199
3200 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
3201
3202         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
3203           Don't forget to release proxy lock when there's an error.
3204
3205 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
3206
3207         * gst/gstcaps.h:
3208           Add extra initialisers for Caps things, to fix some plugin warnings
3209           when using -Wextra
3210
3211 2006-09-18  Wim Taymans  <wim@fluendo.com>
3212
3213         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3214           Also set template on the internal pad so that a getcaps from the 
3215           target pad returns the template caps.
3216
3217 2006-09-18  Wim Taymans  <wim@fluendo.com>
3218
3219         * gst/gstelement.c: (gst_element_post_message),
3220         (gst_element_dispose):
3221         Use _DEBUG_OBJECT some more.
3222
3223         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3224         Avoid typechecks.
3225
3226         * tools/gst-launch.c: (main):
3227         If the toplevel element is not a GstPipeline, it must be put in a
3228         pipeline so that a bus and clock is selected.
3229
3230 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
3231
3232         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3233           JITTER, RATE, and LATENCY query should be handled by the
3234           default case and not by the CONVERT query code.
3235
3236 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
3237
3238         * gst/gstformat.c: (gst_format_register):
3239           Fix locking order (must take lock before using n_values).
3240
3241         * gst/gstvalue.c: (gst_value_serialize_enum),
3242         (gst_value_deserialize_enum_iter_cmp),
3243         (gst_value_deserialize_enum):
3244           Fix serialisation/deserialisation of custom registered GstFormats.
3245
3246         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3247           Unit test for custom format serialisation/deserialisation.
3248
3249 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
3250
3251         * docs/pwg/building-boiler.xml:
3252         * plugins/elements/gstcapsfilter.c:
3253         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
3254         section.
3255
3256 2006-09-16  Edward Hervey  <edward@fluendo.com>
3257
3258         * libs/gst/base/gstbasetransform.c:
3259         (gst_base_transform_buffer_alloc):
3260         Check if requested caps are the same as the sinks caps IF
3261         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
3262         is FALSE.
3263         This fixes the renegotiation issues stated in #352827.
3264
3265 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3266
3267         * configure.ac:
3268         * docs/manual/advanced-autoplugging.xml:
3269         * tests/examples/Makefile.am:
3270         * tests/examples/manual/.cvsignore:
3271         * tests/examples/manual/Makefile.am:
3272         * tests/examples/manual/extract.pl:
3273           Extract the manual examples again like we used to do.
3274           Fix one of them.
3275
3276 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3277
3278         * win32/common/config.h:
3279           update for version
3280
3281 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
3282
3283         * gst/gsterror.c:
3284           Documents how to receive errors.
3285
3286 2006-09-15  Wim Taymans  <wim@fluendo.com>
3287
3288         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
3289         (event_loop), (main):
3290         Added some comments here and there.
3291         Post an application message when an interrupt is caught instead of doing
3292         an uncontrolled state change.
3293         Clean up the event loop.
3294         Handle buffering messages, pause/resume the pipeline.
3295         Make shutdown because of an interrupt more reliable.
3296
3297 2006-09-15  Wim Taymans  <wim@fluendo.com>
3298
3299         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3300         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
3301         (gst_base_sink_preroll_object):
3302         Make sure that our internal state is correct when we commit our state
3303         asynchronously. This solves a race where a state change to PLAYING
3304         could cause the sink to remain blocked in preroll in some situations.
3305
3306 2006-09-15  Wim Taymans  <wim@fluendo.com>
3307
3308         * tools/gst-inspect.c: (print_element_properties_info),
3309         (print_signal_info):
3310         List flags as hex so it's easier to deal with.
3311
3312 2006-09-15  Wim Taymans  <wim@fluendo.com>
3313
3314         * docs/libs/gstreamer-libs-sections.txt:
3315         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
3316         (gst_base_sink_do_sync):
3317         * libs/gst/base/gstbasesink.h:
3318         Expose logic to wait for preroll so that subclasses such as audiosink
3319         can also use this method.
3320         API: gst_base_sink_wait_preroll()
3321
3322 2006-09-15  Wim Taymans  <wim@fluendo.com>
3323
3324         * gst/gstobject.c: (gst_object_set_parent):
3325         * gst/gstpipeline.c: (do_pipeline_seek):
3326         Small cleanups in docs and code.
3327
3328         * gst/gstsegment.c: (gst_segment_clip):
3329         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3330         if stop == start and start is in the segment, no clipping should be
3331         done. Also add a test for this.
3332
3333 2006-09-15  Wim Taymans  <wim@fluendo.com>
3334
3335         * docs/design/part-buffering.txt:
3336         * docs/gst/gstreamer-sections.txt:
3337         * gst/gstmessage.c: (gst_message_new_buffering),
3338         (gst_message_parse_buffering):
3339         * gst/gstmessage.h:
3340         Added methods to create and parse BUFFERING messages.
3341         Added preliminary docs about buffering.
3342         API: gst_message_new_buffering
3343         API: gst_message_parse_buffering
3344
3345 2006-09-06  Wim Taymans  <wim@fluendo.com>
3346
3347         * gst/gstbin.c:
3348         Update documentation.
3349
3350         * gst/gstelement.c: (gst_element_class_init),
3351         (gst_element_release_request_pad), (gst_element_set_clock),
3352         (gst_element_get_index), (gst_element_add_pad),
3353         (gst_element_remove_pad), (gst_element_get_random_pad),
3354         (gst_element_send_event), (gst_element_get_query_types),
3355         (gst_element_query), (gst_element_post_message),
3356         (gst_element_message_full), (gst_element_continue_state),
3357         (gst_element_lost_state), (gst_element_save_thyself),
3358         (gst_element_restore_thyself):
3359         Documentation updates.
3360         Rename last bit of the new-pad -> pad-added signal rename.
3361         Fix the case where an element query would only work if the source
3362         pad was linked.
3363         Avoid some useless type checking in message handling.
3364
3365         * gst/gstevent.c:
3366         * gst/gstevent.h:
3367         * gst/gstutils.c:
3368         Documentation updates.
3369
3370 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3371
3372         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3373           add an INFO line for when we actually update the fd
3374
3375 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3376
3377         * configure.ac:
3378           back to TRUNK
3379
3380 === release 0.10.10 ===
3381
3382 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
3383
3384         * configure.ac:
3385           releasing 0.10.10, "Pais"
3386
3387 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
3388
3389         * docs/manual/advanced-position.xml:
3390           Fix typo in sample code.
3391
3392 2006-09-05  Wim Taymans  <wim@fluendo.com>
3393
3394         * libs/gst/net/gstnetclientclock.c: (inet_aton),
3395         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3396         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
3397         * libs/gst/net/gstnetclientclock.h:
3398         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3399         * libs/gst/net/gstnettimepacket.h:
3400         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
3401         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
3402         (gst_net_time_provider_thread), (gst_net_time_provider_new):
3403         * libs/gst/net/gstnettimeprovider.h:
3404         Make stuff compile on windows. Fixes #345295.
3405
3406 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
3407
3408         * gst/gst.c: (ensure_current_registry_forking):
3409           Print better details when child was terminated by signal.
3410
3411 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
3412
3413         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
3414           Print a warning rather than g_assert() if a plugin feature
3415           is a URI handler but returns no protocols (#353976).
3416
3417 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
3418
3419         * docs/random/moving-plugins:
3420         Fix two typos.         
3421
3422 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
3423
3424         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
3425           Fix locking order, handle NULL function values properly.
3426
3427         * gst/gstinfo.h:
3428           Fix docs.
3429
3430         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3431           Initialise variable before using it and fix debug statement to
3432           print the address of the function rather than the address of the
3433           variable on the stack holding the address of the function.
3434
3435 2006-09-01  Wim Taymans  <wim@fluendo.com>
3436
3437         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
3438         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
3439         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
3440         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
3441         (gst_ghost_pad_parent_unset),
3442         (gst_ghost_pad_internal_do_activate_push),
3443         (gst_ghost_pad_internal_do_activate_pull),
3444         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3445         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3446         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
3447         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
3448         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
3449         (gst_ghost_pad_new_no_target_from_template),
3450         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3451         More cleanups.
3452         Avoid needless typechecking in macros.
3453         Since the internal pad is always present and never changes, there is
3454         no need to locking or ref when retrieving it.
3455         Improve debugging a bit.
3456         Handle link errors when setting the target. Fixes #341029.
3457
3458 2006-09-01  Wim Taymans  <wim@fluendo.com>
3459
3460         * docs/libs/gstreamer-libs-sections.txt:
3461         * docs/plugins/gstreamer-plugins-sections.txt:
3462         Fix docs some more.
3463
3464         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3465         (gst_collect_pads_event):
3466         * libs/gst/base/gstcollectpads.h:
3467         Documentation updates.
3468         Free queued buffer when removing a pad.
3469
3470 2006-08-31  Michael Smith  <msmith@fluendo.com>
3471
3472         * gst/gstutils.c: (gst_element_link_pads),
3473         (gst_element_link_pads_filtered):
3474           Ensure that we set a capsfilter to NULL if we failed to link it
3475           when doing filtered linking, to avoid criticals.
3476
3477           No need to check for unreffing srcpad, which is explicly NULLed
3478           above (a trivial code cleanup).
3479
3480 2006-08-31  Wim Taymans  <wim@fluendo.com>
3481
3482         * docs/design/part-gstghostpad.txt:
3483         Update ascii art in documentation.
3484
3485         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
3486         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
3487         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
3488         (gst_ghost_pad_internal_do_activate_push),
3489         (gst_ghost_pad_internal_do_activate_pull),
3490         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3491         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3492         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
3493         (gst_ghost_pad_set_target):
3494         Small cleanups and leak fixes.
3495         Remove some checks now that the internal pad is never NULL.
3496         Fix the case where linking pads without a target would create nasty
3497         criticals. Fixes #341029.
3498         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
3499         value of _set_target().
3500
3501         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3502         (gst_ghost_pad_suite):
3503         Some more tests for creating and linking untargeted ghostpads.
3504
3505 2006-08-31  Edward Hervey  <edward@fluendo.com>
3506
3507         * docs/gst/gstreamer-sections.txt:
3508         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
3509         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
3510         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
3511         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
3512         (gst_ghost_pad_new_from_template),
3513         (gst_ghost_pad_new_no_target_from_template):
3514         * gst/gstghostpad.h:
3515         Refactored *_new() functions.
3516         Templates are now used as a g_object_new() parameter.
3517         Use template in _do_getcaps() if we don't have a target.
3518         Small documentation cleanups.
3519         Added two new constructors:
3520         gst_ghost_pad_new_from_template()
3521         gst_ghost_pad_new_no_target_from_template()
3522         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3523         (gst_ghost_pad_suite):
3524         Added tests for new ghostpad instanciation functions.
3525
3526         API additions: gst_ghost_pad_new_from_template,
3527         gst_ghost_pad_new_no_target_from_template
3528
3529 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
3530
3531         * docs/random/ensonic/profiling.txt:
3532           Ideas about qos profiling.
3533
3534 2006-08-29  Wim Taymans  <wim@fluendo.com>
3535
3536         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
3537         Code cleanups.
3538         Fix memleak.
3539
3540 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
3541
3542         * gst/gstxml.c:
3543           Improve and detypofy docs.
3544
3545         * tests/check/Makefile.am:
3546         * tests/check/gst/.cvsignore:
3547         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
3548           Add a basic test suite for GstXML.
3549
3550 2006-08-29  Wim Taymans  <wim@fluendo.com>
3551
3552         * gst/gstelement.c: (activate_pads), (clear_caps),
3553         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
3554         Clear the pad caps when the element shut down all of the pads and
3555         is not streaming data that could modify the caps. 
3556         Fixes #352958.
3557
3558 2006-08-28  Michael Smith  <msmith@fluendo.com>
3559
3560         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3561           Revert previous change; I misunderstood single-segment mode.
3562
3563 2006-08-28  Michael Smith  <msmith@fluendo.com>
3564
3565         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3566           Unset DISCONT on buffers when using single-segment mode.
3567
3568 2006-08-28  Wim Taymans  <wim@fluendo.com>
3569
3570         * gst/gstcaps.c: (gst_caps_merge_structure):
3571         * gst/gstcaps.h:
3572         Fix docs and indentation again.
3573
3574         * tests/check/gst/gstquery.c: (GST_START_TEST):
3575         Fix leak in tests and add some more tests.
3576
3577 2006-08-28  Edward Hervey  <edward@fluendo.com>
3578
3579         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3580         Inform GstSegment of the last stop position in order for the current
3581         segment to have a proper duration if it doesn't have a specific stop
3582         position from which a duration could be calculated.
3583         This bug was noticeable when a non-flushing, non-update new segment was
3584         followed by another segment (all buffers from the new segment were being
3585         dropped).
3586
3587 2006-08-28  Wim Taymans  <wim@fluendo.com>
3588
3589         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3590         Small comment update.
3591
3592         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3593         (gst_identity_transform_ip):
3594         Drop-probability is broken, mention this in the code with a 
3595         FIXME and also in the property description.
3596         Make silent also be silent about the drop messages.
3597
3598 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
3599
3600         * docs/manual/appendix-win32.xml:
3601           Remove mention of popt, we don't depend on that any
3602           longer (#353136). Add some comments pointing out that
3603           this section is slightly outdated.
3604
3605 2006-08-28  Wim Taymans  <wim@fluendo.com>
3606
3607         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3608
3609         * gst/gstquery.c: (gst_query_new_segment):
3610         * tests/check/gst/gstquery.c: (GST_START_TEST):
3611         Initialize variables when creating a new segment query.
3612         Fixes #353121.
3613
3614 2006-08-28  Wim Taymans  <wim@fluendo.com>
3615
3616         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3617
3618         * gst/gstelement.c: (gst_element_get_bus):
3619         * tests/check/gst/gstelement.c: (GST_START_TEST):
3620         Check for NULL before _reffing the bus. Fixes #353122.
3621
3622 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
3623
3624         * docs/manual/basics-bus.xml:
3625           Docs update: fix wrong callback return value explanation; add
3626           some lines about the implicit relationship between main loop
3627           and main context; remove duplicate main loop variable declaration.
3628
3629 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
3630
3631         * tests/check/gst/gstcaps.c: (GST_START_TEST):
3632           Don't leak caps in unit test; add a few more simple
3633           checks. 
3634
3635 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
3636
3637         * docs/gst/gstreamer-sections.txt:
3638         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
3639         (gst_caps_structure_is_subset), (gst_caps_merge),
3640         (gst_caps_merge_structure):
3641         * gst/gstcaps.h:
3642         * libs/gst/base/gstbasetransform.c:
3643         (gst_base_transform_transform_caps):
3644         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3645           implement caps merging (fixes #352580)
3646
3647 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
3648
3649         * tools/Makefile.am:
3650         * tools/gst-plot-timeline.py:
3651           add debug-log plotting developer tool (#340674)
3652
3653 2006-08-23  Wim Taymans  <wim@fluendo.com>
3654
3655         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
3656         (gst_pad_stop_task):
3657         Improve debugging for task functions.
3658
3659         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
3660         (gst_task_start), (gst_task_pause), (gst_task_join):
3661         Make sure that the task function started and finished after a 
3662         join(). 
3663         Don't try to push the task function on the threadpool multiple
3664         times.
3665         Improve the g_warning message with some useful suggestions
3666         about how to fix the problem. 
3667
3668 2006-08-23  Wim Taymans  <wim@fluendo.com>
3669
3670         * gst/gstutils.c: (gst_pad_proxy_getcaps):
3671         Handle RESYNC correctly in _proxy_getcaps.
3672
3673 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
3674
3675         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
3676         (gst_xml_parse_memory), (gst_xml_get_element):
3677           Chain up to parent class in dispose function and also
3678           unref the elements in the toplevel_elements GList.
3679           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
3680           Always return a reference in gst_xml_get_element() rather
3681           than only sometimes.
3682
3683         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
3684           Don't leak GstXml object.
3685
3686 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
3687
3688         * docs/gst/gstreamer-sections.txt:
3689         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
3690         (gst_caps_merge):
3691         * gst/gstcaps.h:
3692         * libs/gst/base/gstbasetransform.c:
3693         (gst_base_transform_transform_caps):
3694           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
3695           in a better way
3696
3697 2006-08-21  Edward Hervey  <edward@fluendo.com>
3698
3699         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
3700         Implement GObject::dispose virtual method in GstXML so we can free the
3701         top_elements GList.
3702
3703 2006-08-21  Wim Taymans  <wim@fluendo.com>
3704
3705         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
3706         (gst_buffer_create_sub):
3707         Copy duration/offset_end/caps when creating a subbuffer of the
3708         complete parent.
3709         Make the subbuffer read-only when we make the metadata writable for
3710         now. Fixes #351768.
3711
3712         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3713         Added check for metadata copy when creating subbuffers.
3714
3715 2006-08-21  Edward Hervey  <edward@fluendo.com>
3716
3717         * libs/gst/base/gstbasetransform.c:
3718         (gst_base_transform_buffer_alloc):
3719         Only call downstream buffer_alloc if transform element is passthrough
3720         or always_in_place. Closes #350449.
3721
3722 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3723
3724         * ChangeLog:
3725           ChangeLog surgery to add comments to previous changes
3726
3727 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3728
3729         * gst/gst.c:
3730           Add comments
3731
3732         * gst/gstpad.c: (gst_pad_set_active):
3733           Be more verbose in the log
3734
3735         * libs/gst/base/gstbasetransform.c:
3736         (gst_base_transform_transform_caps):
3737           Simplify caps to get rid of duplicates, fixes #345444
3738
3739 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3740
3741         * gst/gstvalue.c:
3742         * gst/gstvalue.h:
3743           Use these optimizations only internally.
3744
3745 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3746
3747         * gst/gstvalue.c: (gst_value_compare_list),
3748         (gst_value_compare_fraction_range),
3749         (gst_value_intersect_fraction_fraction_range),
3750         (gst_value_intersect_fraction_range_fraction_range),
3751         (gst_value_subtract_fraction_fraction_range),
3752         (gst_value_subtract_fraction_range_fraction_range),
3753         (gst_value_get_compare_func), (gst_value_compare),
3754         (gst_value_compare_with_func):
3755         * gst/gstvalue.h:
3756           Saves the expensive lookup of the compare function in many cases
3757          (#345444)
3758
3759 2006-08-18  Edward Hervey  <edward@fluendo.com>
3760
3761         * tests/check/gst/gstinfo.c: (gst_info_suite):
3762         Disable test that require gstdebug if it wasn't built in core.
3763
3764 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
3765
3766         * docs/random/ensonic/logging.txt:
3767           update ideas
3768           
3769         * gst/gstinfo.c: (gst_debug_log_default):
3770           reorder fields, save some columns, add optional color codes for log
3771           levels
3772
3773 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
3774
3775         * docs/random/ensonic/logging.txt:
3776           add ideas about making the logs a bit more useful
3777
3778 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
3779
3780         * docs/pwg/advanced-events.xml:
3781         * docs/pwg/titlepage.xml:
3782           Update for 0.10 API (#340627). Add myself
3783           to authors list.
3784
3785 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
3786
3787         * docs/libs/gstreamer-libs-docs.sgml:
3788         * docs/libs/gstreamer-libs-sections.txt:
3789         * libs/gst/check/gstbufferstraw.c:
3790           Make gstcheck stuff show up in docs (still needs to
3791           be documented properly though).
3792
3793 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
3794
3795         * docs/gst/gstreamer-sections.txt:
3796         * gst/Makefile.am:
3797         * gst/gst.c: (init_post):
3798         * gst/gst_private.h:
3799         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3800         * gst/gstquark.h:
3801         * gst/gstquery.c: (gst_query_new_position),
3802         (gst_query_set_position), (gst_query_parse_position),
3803         (gst_query_new_duration), (gst_query_set_duration),
3804         (gst_query_parse_duration), (gst_query_new_convert),
3805         (gst_query_set_convert), (gst_query_parse_convert),
3806         (gst_query_new_segment), (gst_query_set_segment),
3807         (gst_query_parse_segment), (gst_query_new_seeking),
3808         (gst_query_set_seeking), (gst_query_parse_seeking):
3809         Add internal helpers for pre-registering quarks from static strings
3810         and using the quark values directly instead of looking them up when
3811         creating and parsing queries. Can be used for event construction too.
3812         Closes #350432.
3813
3814 2006-08-16  Wim Taymans  <wim@fluendo.com>
3815
3816         * gst/gstbin.c:
3817         Fix bogus docs.
3818
3819 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3820
3821         * gst/gstutils.c: (gst_util_set_value_from_string):
3822           Fix memleak (#351502).
3823
3824         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3825           Add unit test for most of gst_util_set_value_from_string()
3826           (not that one would want to encourage use of this function).
3827
3828 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3829
3830         * libs/gst/check/gstcheck.h:
3831           Use const gchar * variables in fail_unless_equals_string
3832           macro to avoid compiler warnings (and don't use tabs for
3833           indenting).
3834
3835 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3836
3837         * tools/gst-launch.c: (print_tag):
3838           More space on the left for the tag names, to cater
3839           for the 'extended comment' tag (not touching the
3840           string for the first line since it's translated).
3841
3842 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3843
3844         * libs/gst/check/gstcheck.h:
3845           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
3846           print something when they fail.
3847
3848 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
3849
3850         * docs/gst/gstreamer-sections.txt:
3851         * gst/gsttaglist.c: (_gst_tag_initialize):
3852         * gst/gsttaglist.h:
3853           API: add GST_TAG_EXTENDED_COMMENT (#350935).
3854           Also change merge function for GST_TAG_COMMENT to
3855           use_first.
3856
3857 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
3858
3859         * gst/gstinfo.c: (gst_debug_print_object):
3860           Make GST_PTR_FORMAT print messages as well.
3861
3862         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
3863         (GST_START_TEST), (gst_info_suite):
3864           More tests.
3865
3866 2006-08-14  Edward Hervey  <edward@fluendo.com>
3867
3868         * gst/gstelementfactory.c: (gst_element_register):
3869         If the GstElementClass doesn't have a GstElementDetails with all fields
3870         filled up correctly (longname, description AND author), then error out
3871         nicely instead of crashing.
3872
3873 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
3874
3875         * gst/gststructure.c:
3876           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
3877
3878         * gst/gstvalue.h:
3879           Expand on the difference between arrays and lists as we use them.
3880           
3881 2006-08-14  Wim Taymans  <wim@fluendo.com>
3882
3883         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3884         If the parent state change function failed, don't assume we can safely
3885         stop the source, this will be done when the pads are deactivated.
3886
3887 2006-08-14  Wim Taymans  <wim@fluendo.com>
3888
3889         * gst/gstbuffer.c:
3890         * gst/gsttask.c: (gst_task_join):
3891         Small doc updates.
3892
3893         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3894         (gst_pad_stop_task):
3895         When pad (de)activation failed for some reason, restore the old
3896         activation mode and set the pad to flushing instead of assuming the
3897         pad is deactivated.
3898         If the _task_join() failed, reinstall the task on the pad so that it can
3899         be stopped later and return an error.
3900
3901 2006-08-11  Andy Wingo  <wingo@pobox.com>
3902
3903         * configure.ac:
3904         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
3905         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
3906         is only for users of API that don't want to see deprecated
3907         functions in the headers; people that want to compile out
3908         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
3909         CFLAGS. Fixes the build of multifdsink, or will soon..
3910
3911 2006-08-11  Wim Taymans  <wim@fluendo.com>
3912
3913         * docs/gst/gstreamer-sections.txt:
3914         Add GstClockClass vmethod docs.
3915
3916         * gst/gstcaps.h:
3917         Mark #endif with comment for associated #if
3918
3919         * gst/gstclock.c: (gst_clock_id_wait):
3920         * gst/gstclock.h:
3921         Add vmethod wait_jitter to avoid an unneeded _get_time() for
3922         most clock implementations.
3923         Document vmethods.
3924         Flesh out docs about resolution methods.
3925         API: GstClockClass::wait_jitter
3926
3927         * gst/gstsystemclock.c: (gst_system_clock_class_init),
3928         (gst_system_clock_async_thread),
3929         (gst_system_clock_id_wait_jitter_unlocked),
3930         (gst_system_clock_id_wait_jitter):
3931         Use base class wait_jitter variant for improved performance
3932         due to less clock polling.
3933
3934 2006-08-11  Edward Hervey  <edward@fluendo.com>
3935
3936         * gst/gst.c: (gst_init_check), (init_post):
3937         Set gst as being initialized before scanning/updating the registry,
3938         since there might be my python plugin loader that calls gst_init() and
3939         we don't want to loop back in.
3940         Closes #350879
3941
3942 2006-08-11  Wim Taymans  <wim@fluendo.com>
3943
3944         * docs/design/part-qos.txt:
3945         Bring docs in line with the code. Mostly the sign of the jitter was
3946         wrong in the docs. Fixes #349943.
3947
3948         * gst/gstclock.c:
3949         Fix the docs for the jitter.
3950
3951         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
3952         (gst_event_parse_tag), (gst_event_new_buffer_size),
3953         (gst_event_parse_buffer_size), (gst_event_parse_qos),
3954         (gst_event_new_seek), (gst_event_parse_seek),
3955         (gst_event_new_navigation):
3956         Make sure the GstStructure has no parent when creating custom
3957         events.
3958         Add some more argument checking so that we avoid 0.0 rates.
3959         Flesh out the docs for the QoS event some more.
3960
3961 2006-08-11  Wim Taymans  <wim@fluendo.com>
3962
3963         * docs/gst/gstreamer-sections.txt:
3964         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3965         (ensure_current_registry_forking), (ensure_current_registry),
3966         (parse_one_option), (parse_goption_arg), (gst_deinit),
3967         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
3968         * gst/gst.h:
3969         Doc updates.
3970         Added API and command line option to disable registry forking in
3971         addition to the environment variable.
3972         Constify some static arrays.
3973         Added some more debug.
3974         Don't deinit twice.
3975         API: gst_registry_fork_is_enabled()
3976         API: gst_registry_fork_set_enabled()
3977         API: --gst-disable-registry-fork command line option
3978         Fixes #348918.
3979
3980 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
3981
3982         * gst/gst.c: (gst_init):
3983           Fix typo in error message.
3984
3985 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
3986
3987         * libs/gst/controller/gstcontroller.h:
3988           fix ABI size-correction
3989
3990         * tests/check/libs/gdp.c: (gst_dp_suite):
3991           make tests that use deprecated API conditional
3992
3993 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
3994
3995         * docs/libs/gstreamer-libs-sections.txt:
3996         * libs/gst/controller/gstcontroller.c:
3997         (_gst_controller_get_property), (_gst_controller_set_property),
3998         (_gst_controller_init), (_gst_controller_class_init):
3999         * libs/gst/controller/gstcontroller.h:
4000         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
4001         (gst_object_set_control_rate):
4002           API: add gst_object_{s,g}et_control_rate(), add private data section,
4003           fix docs
4004
4005         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4006         * libs/gst/dataprotocol/dataprotocol.h:
4007           add deprecation guards to make gtk-doc happy and allow disabling cruft
4008
4009 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
4010
4011         * tests/check/Makefile.am:
4012         * tests/check/gst/.cvsignore:
4013           Let's enable the new unit test as well.
4014
4015 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
4016
4017         * configure.ac:
4018         * docs/gst/gstreamer-sections.txt:
4019         * gst/gstconfig.h.in:
4020         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
4021         (_gst_info_printf_extension_ptr),
4022         (_gst_info_printf_extension_segment):
4023           API: add GST_SEGMENT_FORMAT, which is a printf extension we
4024           register that lets us easily dump GstSegments into debug
4025           logs (#350419).
4026
4027         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
4028         (info_segment_format_printf_extension), (gst_info_suite):
4029           Add simple unit test that logs a bunch of different segments (not
4030           valgrinded at the moment because of leaks in
4031           gst_debug_add_log_function).
4032
4033 2006-08-09  Edward Hervey  <edward@fluendo.com>
4034
4035         * libs/gst/base/gstbasetransform.c:
4036         (gst_base_transform_buffer_alloc):
4037         Even if we can't figure out the proper format to request downstream,
4038         call buffer_alloc() downstream with the input parameters without setting
4039         the caps on the srcpad. This will force negotiation in the chain
4040         function.
4041         Closes #350449
4042
4043 2006-08-08  Edward Hervey  <edward@fluendo.com>
4044
4045         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4046         Unlinking from a pad without a target is now a perfectly valid case
4047         which should NOT raise an assertion.
4048         This case would happen if a linked ghostpad its target set to NULL after
4049         it was previously linked.
4050
4051 2006-08-08  Edward Hervey  <edward@fluendo.com>
4052
4053         * tests/check/libs/gdp.c:
4054         Also comment out the test (see below).
4055
4056 2006-08-08  Edward Hervey  <edward@fluendo.com>
4057
4058         * tests/check/libs/gdp.c: (gst_dp_suite):
4059         Use the architecture information from config.h and not gcc macros
4060         in order to properly disable a test that fails on PPC64.
4061
4062 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
4063
4064         * gst/gstelement.c: (gst_element_remove_pad):
4065           Don't crash printing the warning if the pad has no parent.
4066
4067 2006-08-02  Wim Taymans  <wim@fluendo.com>
4068
4069         * libs/gst/dataprotocol/dataprotocol.c:
4070         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
4071         (gst_dp_crc), (gst_dp_header_payload_length),
4072         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
4073         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
4074         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
4075         (gst_dp_event_from_packet), (gst_dp_validate_header),
4076         (gst_dp_validate_payload):
4077         Make debug category static
4078         Constify the crc table.
4079         Do some more arg checking in public functions.
4080         Fix some docs and do some small cleanups.
4081
4082         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
4083         Add some more checks to see if GDP deals with bogus input.
4084
4085 2006-07-31  Wim Taymans  <wim@fluendo.com>
4086
4087         * gst/gstvalue.c: (gst_value_compare_list):
4088         Fix GstValueList comparison code. Fixes #347293.
4089
4090         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4091         Check to test GstValueList comparison.
4092
4093 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4094
4095         * gst/gstelementfactory.c: (gst_element_factory_create):
4096         Remove unnecessary ref/unref pair
4097
4098         * gst/parse/grammar.y:
4099         Make sure to free the parse buffer on all code paths.
4100         Move a g_free up to the error handler where it's easier to see.
4101
4102         * tests/check/gst/gstevent.c: (test_event):
4103         Extending timeout for downstream travelling events to 10 seconds to
4104         hopefully avoid intermittent failure on the buildbots.
4105
4106         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
4107         Don't manually set the state of the src element - it will happen as a
4108         natural consequence of the pipeline changing state, and that way it
4109         will do it in the right order too.
4110
4111 2006-07-31  Wim Taymans  <wim@fluendo.com>
4112
4113         * libs/gst/base/gstbasetransform.c:
4114         (gst_base_transform_buffer_alloc):
4115         Use OBJECT_LOCK and refcounting to get the pad caps in the
4116         buffer_alloc function because the caps could change while we are
4117         busy with them. Fixes #349105
4118
4119 2006-07-31  Wim Taymans  <wim@fluendo.com>
4120
4121         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
4122         Protect _PAD_CAPS with OBJECT_LOCK.
4123
4124 2006-07-31  Wim Taymans  <wim@fluendo.com>
4125
4126         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4127         (gst_pad_get_property), (gst_pad_activate_pull),
4128         (gst_pad_activate_push), (gst_pad_set_blocked_async),
4129         (gst_pad_set_activate_function),
4130         (gst_pad_set_activatepull_function),
4131         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
4132         (gst_pad_set_getrange_function),
4133         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
4134         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4135         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
4136         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
4137         (gst_pad_set_acceptcaps_function),
4138         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
4139         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
4140         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
4141         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
4142         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
4143         (gst_pad_configure_sink), (gst_pad_configure_src),
4144         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
4145         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
4146         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
4147         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
4148         (gst_pad_send_event):
4149         Use _DEBUG_OBJECT when it makes sense.
4150         Protect GST_PAD_CAPS with the OBJECT_LOCK.
4151         Small cleanups and code reflows.
4152         Avoid caps refcounting in _accept_caps.
4153         Refactor alloc_buffer so that the code performed on the peer is in a
4154         separate function. Also if the pad does not implement a buffer alloc
4155         function, we should still check if the pad is flushing before falling
4156         back to the default allocator.
4157
4158 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4159
4160         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4161         Make all uses of identity and fakesink have silent=true to avoid
4162         serialising every passing data structure, which is breaking tests
4163         on FC4 for some unknown reason.
4164
4165 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
4166
4167         * gst/parse/Makefile.am:
4168         * gst/parse/grammar.y:
4169         * gst/parse/parse.l:
4170           Reverted previous patch as it required to bump the flex dependency to
4171           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
4172
4173 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
4174
4175         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
4176
4177         * gst/parse/Makefile.am:
4178         * gst/parse/grammar.y:
4179         * gst/parse/parse.l:
4180           push & pop the state of the lexer for reentrant use case
4181           Fixes #349180
4182
4183 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
4184
4185         * libs/gst/base/gstbasesrc.h:
4186           Note in the docs that the ::newsegment vfunc is not actually used by
4187           GstBaseSrc.
4188
4189 2006-07-28  Wim Taymans  <wim@fluendo.com>
4190
4191         * libs/gst/base/gstcollectpads.c:
4192         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
4193         (gst_collect_pads_clear), (gst_collect_pads_flush),
4194         (gst_collect_pads_event), (gst_collect_pads_chain):
4195         When flushing a pad, also clear the queued buffer so that we don't
4196         accidentally use it when we shouldn't.
4197         Fix leaks by inreffing incomming buffer.
4198         Flush out queued buffers in case of errors.
4199         Fixes #347452.
4200
4201 2006-07-28  Wim Taymans  <wim@fluendo.com>
4202
4203         * docs/random/phonon-gst:
4204         Random notes about a Phonon backend.
4205
4206 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
4207
4208         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4209         Extra debug output
4210         * tests/check/libs/gdp.c: (gst_dp_suite):
4211         Take a whack at fixing the ppc compile using a different define to
4212         disable the broken test.
4213
4214         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4215         Remove excess g_print()
4216
4217 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
4218
4219         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4220         Oops, meant to uncomment this line too to dampen the noise a bit.
4221
4222 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
4223
4224         * gst/parse/grammar.y:
4225         * gst/parse/parse.l:
4226         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4227         (GST_START_TEST), (parse_suite):
4228         Fix some of the leaks exposed by extending the parse-launch testsuite,
4229         and move the 3 I can't figure out into a separate test that won't run
4230         the pipelines unless the appropriate line is uncommented.
4231
4232 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
4233
4234         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4235           Requesting 0 bytes before the end of the file should result in
4236           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
4237           unit test.
4238
4239 2006-07-27  Wim Taymans  <wim@fluendo.com>
4240
4241         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
4242         Fix useless assert, a uint is always positive.
4243
4244         * gst/gststructure.c: (gst_structure_nth_field_name),
4245         (gst_structure_foreach), (gst_structure_map_in_place):
4246         Check input arguments for public functions to avoid obvious crashes.
4247
4248         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
4249         * plugins/elements/gstfakesink.h:
4250         Do less useless typechecking.
4251
4252 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
4253
4254         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4255           Do not use mmap() by default since there are a number of error
4256           conditions that we would like to handle in a non-fatal way that
4257           will result in a SIGBUS if we use mmap(). Examples: external
4258           devices (USB harddrive, portable music player) being unplugged
4259           while in use; file on mounted CD/DVD that can't be read because
4260           the medium is partly damaged. Fixes #348455 and #348475.
4261
4262 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
4263
4264         * gst/gstquery.h:
4265         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
4266         rates are a gdouble
4267
4268 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
4269
4270         * gst/gstregistry.c:
4271           Move big documentation comment into class section header, so that it
4272           appears in the API docs.
4273
4274 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4275
4276         * docs/gst/gstreamer-sections.txt:
4277         Oops. Commit the docs additions too for new API.
4278         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
4279
4280 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4281
4282         * gst/gststructure.c: (gst_structure_id_set),
4283         (gst_structure_id_set_valist):
4284         * gst/gststructure.h:
4285         Add API for setting values into structures without performing
4286         a quark lookup, if the appropriate quark is already known.
4287
4288         API: gst_structure_id_set
4289         API: gst_structure_id_set_valist
4290
4291         * gst/parse/grammar.y:
4292         * gst/parse/parse.l:
4293         Remove some dead code shown by the coverage information.
4294         Don't throw a critical g_warning when encountering a syntax error,
4295         just warn and let the normal error path handle it.
4296
4297         * plugins/elements/gstelements.c:
4298         Bump the rank of filesink up to PRIMARY so that it is preferred over
4299         gnomevfssink for file:// sink uri's
4300
4301         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4302         (GST_START_TEST), (run_delayed_test),
4303         (gst_parse_test_element_base_init),
4304         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
4305         (gst_parse_test_element_change_state),
4306         (gst_register_parse_element), (parse_suite):
4307         Beef up the tests for parse syntax to check that more error cases
4308         fail as they are supposed to. Increases the test coverage a bit.
4309
4310 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
4311
4312         * docs/manual/basics-elements.xml:
4313           Fix gst_element_link() example.
4314
4315         * gst/gstutils.c:
4316           Mention in API docs that one should usually gst_bin_add()
4317           elements to a bin or pipeline before doing the linking.
4318           
4319 2006-07-26  Wim Taymans  <wim@fluendo.com>
4320
4321         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4322         (gst_subbuffer_get_type), (gst_buffer_create_sub):
4323         Avoid function call for known types by keeping the buffer and
4324         subbuffer GType global.
4325
4326         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4327         Random silly optimisations in read() path.
4328
4329 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4330
4331         * tools/gst-launch.c: (main):
4332           If the top-level of the parse is a normal bin, it doesn't do the
4333           right logic to run as a top-level element, so place it inside a
4334           pipeline.
4335
4336 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
4337
4338         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
4339           Remove superfluous g_object_notify() calls, GObject does
4340           that for us automatically.
4341
4342 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
4343
4344         * gst/gstinfo.h:
4345           on Win32, use dllspec to export the debug category symbols
4346
4347 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
4348
4349         * gst/gsttaglist.c: (_gst_tag_initialize):
4350           Allow more than one GST_TAG_IMAGE per taglist.
4351
4352 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4353
4354         * gst/gstminiobject.c:
4355           update docs
4356         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
4357         (gst_fd_src_create):
4358           log recurring events at LOG level
4359           add more debug for when the fd gets set
4360
4361 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
4362
4363         * gst/gstparse.c: (gst_parse_launch):
4364           Also remove reentrance checks if flex is MT safe (#348179)
4365          Fix my empty ChangeLog entry below
4366
4367 2006-07-21  Andy Wingo  <wingo@pobox.com>
4368
4369         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
4370
4371         * libs/gst/check/Makefile.am
4372         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
4373         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
4374         * libs/gst/check/gstbufferstraw.h:
4375         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
4376         functions, thus proving I am still a GStreamer haxor. OK I wrote
4377         them a long time ago, but anyways.
4378
4379 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
4380
4381         * configure.ac:
4382         * gst/gstparse.c: (gst_parse_launch):
4383           Check for flex version and omit mutex if we have a MT save flex
4384           (fixes #348179)
4385
4386 2006-07-21  Wim Taymans  <wim@fluendo.com>
4387
4388         * gst/gstparse.c: (gst_parse_launch):
4389         Protect recursive calls to _parse with a recursive mutex
4390         and busy flag.
4391
4392 2006-07-21  Wim Taymans  <wim@fluendo.com>
4393
4394         * tests/check/gst/gstpad.c: (GST_START_TEST):
4395         Fix leak in test.
4396
4397 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
4398
4399         * gst/gstparse.c: (gst_parse_launch):
4400           Do not hang on recursive usage of gst_parse_launch()
4401
4402 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
4403
4404         * gst/gsttaglist.c:
4405           Add some more docs, comments and FIXME 0.11s here and there
4406           and also fix some typos.
4407
4408 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
4409
4410         * gst/gstsegment.h:
4411           Convert tabs to spaces for better readability. 
4412
4413 2006-07-20  Edward Hervey  <edward@fluendo.com>
4414
4415         * tests/check/libs/gdp.c: (gst_dp_suite):
4416         the test_buffer test fails at line 140 on ppc64 at the following
4417         check:
4418         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
4419                 GST_BUFFER_FLAG_IN_CAPS),
4420                 "GST_BUFFER_IN_CAPS flag should have been copied !");
4421         See bug #348114 for more details.
4422
4423 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
4424
4425         * docs/pwg/advanced-scheduling.xml:
4426         * gst/gstpad.c:
4427           Fix typos (#348000).
4428
4429 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
4430
4431         * docs/pwg/intro-basics.xml:
4432           Fix wrong links (#347927).
4433
4434 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
4435
4436         * gst/gstregistry.h:
4437         * gst/gstregistryxml.c: (load_feature),
4438         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
4439         * win32/common/config.h:
4440           make --disable-index work (#342564)
4441
4442 2006-07-18  Wim Taymans  <wim@fluendo.com>
4443
4444         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4445
4446         * gst/Makefile.am:
4447         * gst/gsttrace.h:
4448         The attached patch adds two missing defines to gsttrace.h when tracing
4449         is disabled.  It also corrects one existing define.
4450         Fixes #347756.
4451
4452 2006-07-17  Wim Taymans  <wim@fluendo.com>
4453
4454         * docs/gst/gstreamer-sections.txt:
4455         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
4456         * gst/gst.h:
4457         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
4458         Add two functions to check and change the SIGSEGV behaviour
4459         when loading plugins.
4460         Don't mess with the SIGSEGV handler when we were told not to.
4461         Fixes #347794.
4462         API: gst_segtrap_is_enabled
4463         API: gst_segtrap_set_enabled
4464
4465 2006-07-14  Wim Taymans  <wim@fluendo.com>
4466
4467         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4468         * tests/check/elements/filesrc.c: (GST_START_TEST):
4469         Revert fix for regression in #347408 after release.
4470
4471 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
4472
4473         Patch by: Antoine Tremblay <hexa00 at gmail com>
4474
4475         * gst/gstutils.c: (gst_element_unlink):
4476           Free iterator when done (#347311).
4477
4478         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4479           And add a test case for this.
4480
4481 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
4482
4483         * configure.ac:
4484         Bump nano back to CVS
4485
4486 === release 0.10.9 ===
4487
4488 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
4489
4490         * configure.ac:
4491           releasing 0.10.9, "On the road again"
4492
4493 2006-07-13  Wim Taymans  <wim@fluendo.com>
4494
4495         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4496         * tests/check/elements/filesrc.c: (GST_START_TEST):
4497         Revert pull-0 fix for release. Disable check. Fixes #347408.
4498
4499 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4500
4501         * libs/gst/dataprotocol/dataprotocol.c:
4502         (gst_dp_event_from_packet_1_0):
4503           Fixes #347337: failure to deserialize event packets with
4504           empty payload (only event type)
4505
4506 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4507
4508         * gst/Makefile.am:
4509           do not install a .c file in the header directory
4510
4511 2006-07-13  Edward Hervey  <edward@fluendo.com>
4512
4513         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
4514         GhostPad no longer implicitely use the padtemplates of the targets.
4515         Fixes #347384
4516
4517 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
4518
4519         * gst/gstvalue.c: (gst_value_compare_list),
4520         (gst_value_compare_array), (_gst_value_initialize):
4521         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4522         Make GstValueArray comparison be order dependent as designed.
4523         Add checks for value lists and value array comparisons.
4524         Fixes #347221
4525
4526 2006-07-11  Edward Hervey  <edward@fluendo.com>
4527
4528         * gst/gstbin.c: (activate_pads),
4529         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
4530         (gst_bin_change_state_func):
4531         (de)activate src pads before calling state_change on the childs.
4532         This is to avoid the case where a src ghostpad is blocked (holding the
4533         stream lock), which would block the deactivation of the ghostpad's
4534         target pad.
4535         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
4536         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
4537         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
4538         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4539         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4540         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4541         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4542         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
4543         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
4544         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4545         (gst_ghost_pad_class_init),
4546         (gst_ghost_pad_internal_do_activate_push),
4547         (gst_ghost_pad_internal_do_activate_pull),
4548         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4549         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4550         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
4551         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
4552         GhostPads now create their internal GstProxyPad at creation (and not
4553         when they're linked, as it was being done previously).
4554         The internal and target pads are linked straight away.
4555         The data will also travel through the other pad in order to make
4556         pad blocking and probes non-hackish (the probe/block now really happens
4557         on the GhostPad and not on the target).
4558         * gst/gstpad.c: (gst_pad_set_blocked_async),
4559         (gst_pad_link_prepare), (gst_pad_push_event):
4560         Remove previous ghostpad cruft.
4561         * gst/gstutils.c: (gst_pad_add_data_probe),
4562         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4563         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4564         (gst_pad_remove_buffer_probe):
4565         Remove previous ghost pad cruft.
4566         Added more detailed debug statements.
4567         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4568         Fix the testsuite for refcounting changes.
4569         The comments about who has references were correct, but the refcount
4570         being checked wasn't the same (!?!).
4571
4572         Fixes #341029
4573
4574 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
4575
4576         * docs/gst/gstreamer-sections.txt:
4577         * gst/gstconfig.h.in:
4578         More docs for configuration options, add docs to gtk-doc.
4579
4580 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
4581
4582         * gst/Makefile.am:
4583         * gst/gstconfig.h.in:
4584         * win32/common/config.h:
4585         Fix build when disabling tracing (fixes #344016). Also start to document
4586         the defines that disable the sub-systems.
4587
4588 2006-07-10  Edward Hervey  <edward@fluendo.com>
4589
4590         * gst/gst.c: (ensure_current_registry_forking):
4591         let's make valgrind happy...
4592
4593 2006-07-09  Wim Taymans  <wim@fluendo.com>
4594
4595         * gst/gstelement.c: (activate_pads),
4596         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4597         Better pad activation code: Reset the collect value too on resync.
4598         Add some comments.
4599
4600 2006-07-09  Wim Taymans  <wim@fluendo.com>
4601
4602         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
4603         (gst_pad_activate_push):
4604         Use some more macros where it makes sense.
4605         Allow pad mode switching instead of asserting. When a pad
4606         is activated in one mode and we activate it in another, 
4607         deactivate it first before activating it in a different mode.
4608         Fixes #329198.
4609
4610 2006-07-08  Andy Wingo  <wingo@pobox.com>
4611
4612         * tools/gst-launch.c (main): Handle err == NULL.
4613
4614         * gst/gst.c (init_post, ensure_current_registry)
4615         (ensure_current_registry_forking)
4616         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
4617         factoring out the registry scanning into separate functions. Don't
4618         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
4619         Better environment var name/interface suggestions accepted.
4620
4621 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4622
4623         * gst/gstobject.c: (gst_object_set_name_default),
4624         (gst_object_set_name):
4625           Random micro-optimisation: don't use a hash table
4626           with strings as keys and the usual strdup/strcmp
4627           involved, but rather just use the GQuark of the
4628           type name as key, since it needs to be looked up
4629           anyway to get the type name string.
4630
4631         * tests/check/gst/gstobject.c: (GST_START_TEST):
4632           Fix various leaks.
4633
4634 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4635
4636         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
4637         (gst_bin_iterate_all_by_interface):
4638           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
4639           GTypes are gulongs and thus the top 4 bytes might be cut
4640           off on some platforms when doing GPOINTER_TO_INT, leading
4641           to invalid GTypes and bad things happening (see RH bug #179654).
4642           Also add a check to make sure the type passed in is really
4643           an interface type.
4644
4645 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4646
4647         * .cvsignore:
4648           Ignore more.
4649
4650 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4651
4652         * Makefile.am:
4653         * configure.ac:
4654         * gst-element-check.m4:
4655         * gst-element-check.m4.in:
4656           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
4657           instead of the unversioned gst-inspect (#324176, #168659).
4658
4659 2006-07-06  Wim Taymans  <wim@fluendo.com>
4660
4661         * gst/gstmessage.h:
4662         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
4663         warnings.
4664
4665 2006-07-06  Wim Taymans  <wim@fluendo.com>
4666
4667         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4668         (gst_base_src_wait), (gst_base_src_update_length),
4669         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
4670         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
4671         (gst_base_src_loop), (gst_base_src_start),
4672         (gst_base_src_activate_pull):
4673         Update docs.
4674         blocksize == 0 now means the default blocksize when working in push
4675         based mode.
4676         Remove some pointless asserts in _wait function.
4677         Fix offset/length calculations and EOS handling. We can now pull 0
4678         bytes as well, which is allowed.
4679         use _check_get_range() to decide if we can operate in _pull based
4680         mode.
4681         Fix refcounting leak when check_get_range function was not 
4682         implemented.
4683         API GstBaseSrc::blocksize range can be 0 too now (default)
4684
4685         * tests/check/elements/filesrc.c: (GST_START_TEST),
4686         (filesrc_suite):
4687         Added check to test _get_range() behaviour.
4688
4689 2006-07-06  Wim Taymans  <wim@fluendo.com>
4690
4691         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
4692         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
4693         (gst_pad_pull_range):
4694         * gst/gstpad.h:
4695         Lots of comments and docs added to the pad functions.
4696         Flesh out the expected behaviour of the get_range() functions.
4697
4698 2006-07-06  Wim Taymans  <wim@fluendo.com>
4699
4700         * gst/gstbus.h:
4701         * gst/gstclock.h:
4702         * gst/gstevent.h:
4703         * gst/gstiterator.h:
4704         * gst/gstpad.h:
4705         * gst/gstplugin.h:
4706         * gst/gsttask.h:
4707         Remove comma at end of enumerator list. 
4708
4709 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
4710
4711         * win32/common/libgstbase.def:
4712         * win32/common/libgstdataprotocol.def:
4713         * win32/common/libsgtreamer.def:
4714         Add new exported functions.
4715
4716 2006-07-05  Wim Taymans  <wim@fluendo.com>
4717
4718         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
4719         Add some more docs here and there.
4720
4721 2006-07-05  Wim Taymans  <wim@fluendo.com>
4722
4723         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
4724         (gst_base_sink_loop), (gst_base_sink_get_position):
4725         When operating in pull mode update the offset so that we
4726         read sequentially.
4727
4728 2006-07-05  Wim Taymans  <wim@fluendo.com>
4729
4730         * gst/gstregistryxml.c: (read_string):
4731         Avoid strdup. (will happen in libxml, but hey!)
4732
4733         * gst/gsturi.c:
4734         Add some more docs.
4735
4736 2006-07-05  Wim Taymans  <wim@fluendo.com>
4737
4738         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
4739         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4740         (gst_buffer_suite):
4741         No point in checking if the size of the subbuffer > 0, the
4742         code handles it correclty as demonstrated by unit test.
4743         Also add a unit test for the zero sized _new_and_alloc and
4744         _copy. Fixes #346663.
4745
4746 2006-07-05  Wim Taymans  <wim@fluendo.com>
4747
4748         * libs/gst/base/gstbasetransform.c:
4749         (gst_base_transform_prepare_output_buffer),
4750         (gst_base_transform_buffer_alloc),
4751         (gst_base_transform_handle_buffer):
4752         Make sure the buffer we pass to transform_ip has a refcount of
4753         1 and thus is writable. Fixes #343196
4754
4755 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
4756
4757         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4758         (gst_file_src_init), (gst_file_src_set_property),
4759         (gst_file_src_get_property), (gst_file_src_map_region):
4760         * plugins/elements/gstfilesrc.h:
4761         Add "sequential" property, off by default, to use madvise and hint
4762         to the kernel that sequential access is desired.
4763         Touch all retrieved pages by default to ensure they are pulled
4764         into memory. (Closes #345720)
4765
4766 2006-07-03  Wim Taymans  <wim@fluendo.com>
4767
4768         * docs/design/part-block.txt:
4769         * docs/design/part-dynamic.txt:
4770         Small docs updates.
4771
4772 2006-07-03  Wim Taymans  <wim@fluendo.com>
4773
4774         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
4775         (gst_caps_unref), (gst_static_caps_get),
4776         (gst_caps_append_structure):
4777         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4778         Use GSlice when the glib we build against is >= 2.10
4779
4780 2006-07-03  Wim Taymans  <wim@fluendo.com>
4781
4782         * gst/gstelement.c: (gst_element_pads_activate):
4783         Small cleanup in pad activation code.
4784
4785 2006-07-03  Wim Taymans  <wim@fluendo.com>
4786
4787         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4788
4789         * gst/gst-i18n-app.h:
4790         * gst/gst-i18n-lib.h:
4791         * tools/gst-inspect.c: (print_signal_info):
4792         The attached patch will make the inclusion of gettext.h unconditional in
4793         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
4794         libintl.h in tools/gst-inspect.c.
4795         This allows use of --disable-nls again and fixes #344642.
4796
4797 2006-07-03  Edward Hervey  <edward@fluendo.com>
4798
4799         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
4800         Implement pad blocking on events according to part-block.txt.
4801         More comments on behaviour.
4802         * tests/check/gst/gstevent.c: (test_event):
4803         Send event to peer pad of blocked pad (else it will block).
4804
4805 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4806
4807         * libs/gst/check/gstcheck.c: (gst_check_message_error),
4808         (gst_check_run_suite):
4809           if we get the wrong message, give us the types as string
4810         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4811           Fix a translatable
4812         * tests/check/elements/filesrc.c: (GST_START_TEST):
4813           add a test for trying to open a non-existing file
4814
4815 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4816
4817         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4818           add a test for adding self
4819
4820 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4821
4822         * libs/gst/check/gstcheck.h:
4823           add some assert_ as alias for fail_unless_*
4824         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
4825           increase test coverage
4826
4827 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4828
4829         * Makefile.am:
4830           include lcov.mak for lcov coverage generation
4831         * tools/Makefile.am:
4832           add to CLEANFILES
4833
4834 2006-07-02  Edward Hervey  <edward@fluendo.com>
4835
4836         * tests/check/elements/.cvsignore:
4837         moaping
4838
4839 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4840
4841         * configure.ac:
4842           don't set CFLAGS and friends for gcov, done from GST_GCOV now
4843         * tests/check/Makefile.am:
4844           clean up gcov files
4845
4846 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4847
4848         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
4849           remove gst_caps_simplify; it was not declared and not used
4850           and deprecated in 0.8
4851
4852 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4853
4854         * docs/faq/gst-uninstalled:
4855           don't put empty paths on PYTHONPATH
4856         * docs/gst/gstreamer-sections.txt:
4857           remove some symbols that are not there
4858
4859 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4860
4861         * gst/gstcaps.c: (gst_caps_compare_structures):
4862           whitespace fixes
4863         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4864         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4865           add more tests
4866
4867 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4868
4869         * libs/gst/dataprotocol/Makefile.am:
4870           build dataprotocol test by linking to the lib, instead of
4871           compiling the source, so we get coverage
4872         * tests/check/Makefile.am:
4873         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
4874         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
4875           add a test for filesrc
4876
4877 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4878
4879         * tests/check/gst/gststructure.c: (GST_START_TEST),
4880         (gst_structure_suite):
4881           Push coverage from 59.04% to 70.00%
4882
4883 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4884
4885         * tests/check/Makefile.am:
4886           gst-inspect every element; this makes sure that we also get
4887           coverage on element's get/set functions
4888
4889 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4890
4891         * configure.ac:
4892           set CFLAGS and friends to -O0 if gcov is being used
4893           add GCOV LIBS
4894         * gst/Makefile.am:
4895         * libs/gst/base/Makefile.am:
4896         * libs/gst/check/Makefile.am:
4897         * libs/gst/controller/Makefile.am:
4898         * libs/gst/dataprotocol/Makefile.am:
4899         * libs/gst/net/Makefile.am:
4900         * plugins/elements/Makefile.am:
4901         * plugins/indexers/Makefile.am:
4902           add makefile rules to generate gcov data and clean up
4903         * tests/check/Makefile.am:
4904           add a coverage target that generates an html overview
4905           of coverage data
4906
4907 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4908
4909         * tests/check/elements/fakesink.c:
4910         * tests/check/elements/fakesrc.c:
4911         * tests/check/elements/fdsrc.c:
4912         * tests/check/elements/identity.c:
4913         * tests/check/generic/sinks.c: (gst_sinks_suite):
4914         * tests/check/generic/states.c:
4915         * tests/check/gst/gst.c:
4916         * tests/check/gst/gstabi.c:
4917         * tests/check/gst/gstbin.c:
4918         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
4919         * tests/check/gst/gstbus.c: (gst_bus_suite):
4920         * tests/check/gst/gstcaps.c: (GST_START_TEST):
4921         * tests/check/gst/gstelement.c:
4922         * tests/check/gst/gstevent.c: (gst_event_suite):
4923         * tests/check/gst/gstghostpad.c:
4924         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
4925         * tests/check/gst/gstmessage.c: (gst_message_suite):
4926         * tests/check/gst/gstminiobject.c:
4927         * tests/check/gst/gstobject.c:
4928         * tests/check/gst/gstpad.c:
4929         * tests/check/gst/gstpipeline.c:
4930         * tests/check/gst/gstplugin.c:
4931         * tests/check/gst/gstquery.c: (gst_query_suite):
4932         * tests/check/gst/gstsegment.c: (gst_segment_suite):
4933         * tests/check/gst/gststructure.c:
4934         * tests/check/gst/gstsystemclock.c:
4935         * tests/check/gst/gsttag.c:
4936         * tests/check/gst/gsttask.c: (gst_task_suite):
4937         * tests/check/gst/gstutils.c:
4938         * tests/check/gst/gstvalue.c:
4939         * tests/check/libs/adapter.c:
4940         * tests/check/libs/basesrc.c:
4941         * tests/check/libs/collectpads.c:
4942         * tests/check/libs/controller.c:
4943         * tests/check/libs/gdp.c: (gst_dp_suite):
4944         * tests/check/libs/gstnetclientclock.c:
4945         * tests/check/libs/gstnettimeprovider.c:
4946         * tests/check/libs/libsabi.c: (libsabi_suite):
4947         * tests/check/libs/typefindhelper.c:
4948         * tests/check/pipelines/cleanup.c:
4949         * tests/check/pipelines/parse-launch.c:
4950         * tests/check/pipelines/simple-launch-lines.c:
4951         * tests/check/pipelines/stress.c: (stress_suite):
4952           use the new macro
4953
4954 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4955
4956         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
4957         * libs/gst/check/gstcheck.h:
4958           create a macro and function so that the simple unit test
4959           case can be just one macro to create main()
4960
4961 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
4962
4963         * gst/gstbin.c: (gst_bin_restore_thyself):
4964         * gst/gstxml.c: (gst_xml_make_element):
4965           Fix deserialisation from XML. Set parent manually
4966           instead of using gst_bin_add(), since gst_bin_add()
4967           will unlink all pads of the element being added.
4968           Fixes #341667.
4969
4970 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
4971
4972         Patch by: Peter Kjellerstedt <pkj at axis com>
4973
4974         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
4975           Fix missing g_strdup() and double free when using the
4976           --gst-plugin-load command line option (#346097).
4977
4978 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
4979
4980         * gst/gstinfo.c:
4981           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
4982
4983         * libs/gst/net/gstnetclientclock.c:
4984         * libs/gst/net/gstnettimeprovider.c:
4985           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
4986
4987 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
4988
4989         * docs/manual/advanced-dataaccess.xml:
4990           Fix buffer probe example compilation in
4991           ADM (#345708).
4992         
4993 2006-06-22  Edward Hervey  <edward@fluendo.com>
4994
4995         * gst/gstelement.c: (gst_element_pads_activate):
4996         We need to deactivate src pads first and then sink pads.
4997         The reason is the src pads might be blocking while holding the streaming
4998         lock, so we need to deactivate them first so that deactivating the sink
4999         pads doesn't block (since it will require the streaming lock).
5000
5001 2006-06-22  Wim Taymans  <wim@fluendo.com>
5002
5003         * libs/gst/base/gstbasetransform.c:
5004         (gst_base_transform_buffer_alloc):
5005         Forgot to remove two unneeded unrefs.
5006         Simplify a check _is_equal allready checks the obvious case.
5007
5008 2006-06-22  Wim Taymans  <wim@fluendo.com>
5009
5010         * docs/design/part-block.txt:
5011         Some docs about what pad_block should do.
5012
5013 2006-06-22  Wim Taymans  <wim@fluendo.com>
5014
5015         * gst/gstcaps.c: (gst_caps_replace):
5016         Fix crasher when passed NULL. Doc clarification.
5017         Optimize for the trivial case.
5018
5019         * gst/gstpipeline.c: (gst_pipeline_change_state):
5020         Small cleanups.
5021
5022         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5023         Small documentation cleanup.
5024
5025         * libs/gst/base/gstbasetransform.c:
5026         (gst_base_transform_buffer_alloc):
5027         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
5028         is what we need and it avoids a whole lot of redundant 
5029         refcount operations.
5030
5031 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
5032
5033         Patch by: Philip Jägenstedt  <philip at lysator liu se>
5034
5035         * docs/manual/advanced-dataaccess.xml:
5036           Fix 'Embedding static elements' section to use
5037           GST_PLUGIN_DEFINE_STATIC (#345607).
5038
5039 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5040
5041         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
5042           Attempt to 'fix' spuriously failing test case: it seems like the
5043           timeout of half a second is simply too small when the system is under
5044           load otherwise, and the timeout doesn't really seem to serve any
5045           particular purpose here. Give the pipeline a few seconds to preroll
5046           first, and then give it another half a second to go from PAUSED to
5047           PLAYING and marshal the message into the main thread.
5048
5049 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5050
5051         * tools/gst-feedback-m.m:
5052           Don't only use unversioned tools, try versioned tools as well
5053           (#345086).
5054
5055 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5056
5057         * gst/gstbus.c: (gst_bus_class_init):
5058           Fix some typos, make docs more explicit.
5059
5060 2006-06-20  Wim Taymans  <wim@fluendo.com>
5061
5062         * tests/check/gst/gstghostpad.c: (block_callback),
5063         (GST_START_TEST), (gst_ghost_pad_suite):
5064         Added some more ghostpad tests, mainly blocking
5065         and probes.
5066
5067 2006-06-16  Wim Taymans  <wim@fluendo.com>
5068
5069         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5070         (gst_file_sink_close_file), (gst_file_sink_do_seek),
5071         (gst_file_sink_event), (gst_file_sink_render):
5072         * plugins/elements/gstfilesink.h:
5073         Check if we can seek in the file instead of assuming
5074         we always can. Post an error when we are asked to seek in a
5075         non-seekable file (like a fifo). Fixes #343312.
5076         Some cleanups.
5077
5078 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
5079
5080         * tools/gst-launch.1.in:
5081           Un-garble (fourcc) bit in filtered caps section.
5082
5083 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
5084
5085         * docs/manual/advanced-autoplugging.xml:
5086         * docs/manual/basics-helloworld.xml:
5087         * docs/manual/highlevel-components.xml:
5088           Don't leak bus reference in sample code.
5089
5090 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
5091
5092         * autogen.sh:
5093           Add default for new --enable-plugin-docs switch.
5094
5095         * configure.ac:
5096           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
5097           Fixes #344039.
5098
5099         * docs/Makefile.am:
5100           Use new ENABLE_PLUGIN_DOCS conditional.
5101
5102 2006-06-14  Wim Taymans  <wim@fluendo.com>
5103
5104         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
5105         Make it clear with a FIXME and a real define what the #if 0
5106         previously disabled.
5107
5108 2006-06-14  Wim Taymans  <wim@fluendo.com>
5109
5110         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5111         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5112         * libs/gst/base/gstbasetransform.c:
5113         (gst_base_transform_sink_eventfunc):
5114         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5115         Don't randomly and silently reset a segment when the format 
5116         changes as this is a bug somewhere upstream. Fixes #330379.
5117
5118 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5119
5120         Patch by: Wouter Paesen  <wouter at kangaroot net>
5121
5122         * libs/gst/controller/gstcontroller.c:
5123         (gst_controlled_property_new):
5124           Fix controlling of float properties (#344849).
5125
5126         * tests/check/libs/controller.c:
5127         (gst_test_mono_source_get_property),
5128         (gst_test_mono_source_set_property),
5129         (gst_test_mono_source_class_init), (GST_START_TEST):
5130           While we're at it, add some float stuff to unit test.
5131
5132 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5133
5134         * docs/README:
5135         * docs/images/gdp-header.svg:
5136           add a gdp image
5137         * docs/libs/Makefile.am:
5138         * docs/libs/gdp-header.png:
5139         * libs/gst/dataprotocol/dataprotocol.c:
5140           add it to the API docs
5141         * docs/manual/intro-motivation.xml:
5142           fix typo
5143
5144 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
5145
5146         * gst/gst.c: (scan_and_update_registry), (init_post):
5147           If the fork()'ed child process can't write the updated registry cache
5148           file to disk for some reason, make it exit with a failure exit code,
5149           so that the parent can then re-scan the plugins itself and update the
5150           registry structures in memory and work with that (rather than failing
5151           when creating elements because seemingly no plugins are available).
5152           Refactor registry scanning code into separate function for this and
5153           also separate fork() and non-fork() code paths. Fixes #344748.
5154
5155 2006-06-13  Wim Taymans  <wim@fluendo.com>
5156
5157         * docs/manual/advanced-dataaccess.xml:
5158         Fix wrong PluginDesc. Fixes #344755.
5159
5160 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
5161
5162         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5163           Fix silly bug that prevented us from creating
5164           ~/.gstreamer-0.10 and writing the registry in one
5165           go (the first call to g_mkstemp() would overwrite the
5166           placeholder in the template string, so the second call
5167           to g_mkstemp() after creating the missing directory
5168           would then error out with 'invalid argument').
5169
5170 2006-06-13  Edward Hervey  <edward@fluendo.com>
5171
5172         * gst/gst.c: (init_post):
5173         Free string.
5174
5175 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5176
5177         * gst/glib-compat-private.h:
5178         * gst/glib-compat.c:
5179         * gst/glib-compat.h:
5180         * gst/gstvalue.c: (gst_value_serialize_flags):
5181           remove GLib 2.6 compatibility code
5182
5183 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
5184
5185         * gst/parse/Makefile.am:
5186           Fix build with 'make -j N' even more (#340016).
5187
5188 2006-06-12  Wim Taymans  <wim@fluendo.com>
5189
5190         * docs/gst/gstreamer-sections.txt:
5191         Fix docs.
5192
5193 2006-06-12  Wim Taymans  <wim@fluendo.com>
5194
5195         * gst/gstsegment.c: (gst_segment_set_duration),
5196         (gst_segment_set_last_stop), (gst_segment_set_seek),
5197         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5198         (gst_segment_to_running_time), (gst_segment_clip):
5199         Use G_UNLIKELY to help the compiler a bit.
5200
5201 2006-06-12  Wim Taymans  <wim@fluendo.com>
5202
5203         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
5204
5205         * gst/gstevent.c: (gst_event_get_type):
5206         * gst/gstmessage.c:
5207         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5208         (gst_pad_push):
5209         constify quark registration strings. Fixes #344115
5210         Avoid unneeded type checking is _pad_push() by internally
5211         calling gst_pad_chain_unchecked().
5212
5213 2006-06-12  Wim Taymans  <wim@fluendo.com>
5214
5215         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
5216         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
5217         (gst_subbuffer_finalize), (gst_buffer_create_sub),
5218         (gst_buffer_is_span_fast), (gst_buffer_span):
5219         Init _type for consistency.
5220         Use _FLAGS macro to avoid type check.
5221         Avoid unneeded type checks in subbufer code.
5222
5223 2006-06-12  Wim Taymans  <wim@fluendo.com>
5224
5225         * gst/gst.c: (gst_debug_help):
5226         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
5227         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5228         (gst_plugin_feature_list_free):
5229         * gst/gstregistry.c: (gst_registry_add_plugin),
5230         (gst_registry_add_feature), (gst_registry_plugin_filter),
5231         (gst_registry_feature_filter), (gst_registry_find_plugin),
5232         (gst_registry_find_feature), (gst_registry_get_plugin_list),
5233         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
5234         * gst/gstregistryxml.c: (load_feature),
5235         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
5236         * gst/gstminiobject.c: (gst_mini_object_unref),
5237         (gst_mini_object_replace), (gst_value_mini_object_free),
5238         (gst_value_mini_object_copy):
5239         Use _CAST macros to avoid unneeded type checking.
5240         Added some more G_UNLIKELY.
5241
5242 2006-06-12  Wim Taymans  <wim@fluendo.com>
5243
5244         * gst/gstbuffer.h:
5245         Avoid unneeded type checking.
5246         API: GST_BUFFER_IS_DISCONT
5247
5248         * gst/gstminiobject.h:
5249         Avoid type check in flag accessor.
5250
5251         * gst/gstelementfactory.h:
5252         * gst/gstplugin.h:
5253         * gst/gstpluginfeature.h:
5254         Add _CAST macros.
5255         API: GST_ELEMENT_FACTORY_CAST
5256         API: GST_PLUGIN_CAST
5257         API: GST_PLUGIN_FEATURE_CAST
5258
5259 2006-06-12  Wim Taymans  <wim@fluendo.com>
5260
5261         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
5262         (gst_object_unref):
5263         Add G_UNLIKELY in type registration.
5264         Avoid type check in _ref/_unref since that is also
5265         done in glib.
5266
5267 2006-06-12  Wim Taymans  <wim@fluendo.com>
5268
5269         * gst/gsterror.c: (gst_g_error_get_type):
5270         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5271         (gst_static_pad_template_get_type):
5272         * gst/gsttaglist.c: (gst_tag_list_get_type):
5273         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
5274         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
5275         * gst/gsturi.c: (gst_uri_handler_get_type):
5276         * gst/gstvalue.c: (gst_date_get_type):
5277         * gst/gstxml.c: (gst_xml_get_type):
5278         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5279         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5280         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
5281         Add G_UNLIKELY in type registration.
5282
5283 2006-06-12  Wim Taymans  <wim@fluendo.com>
5284
5285         * tools/gst-inspect.c: (print_signal_info):
5286         Properly print enum values.
5287
5288 2006-06-12  Wim Taymans  <wim@fluendo.com>
5289
5290         * gst/gstinfo.c: (gst_debug_set_active),
5291         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
5292         * gst/gstinfo.h:
5293         Add some G_[UN]LIKELY.
5294         Maintain __gst_debug_min to avoid formatting the arguments of
5295         debug messages that will be dropped anyway to avoid a lot of 
5296         overhead from the debugging system.
5297
5298 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5299
5300         * po/POTFILES.in:
5301         * po/POTFILES.skip:
5302           add missing files containing translatable strings, tell intltool about
5303           one exception
5304
5305 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5306
5307         * tests/check/libs/.cvsignore:
5308         add test-binary to ignore list
5309
5310 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5311
5312         * docs/libs/gstreamer-libs-docs.sgml:
5313         reorder (put dp into a chapter) and indent
5314
5315 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5316
5317         * configure.ac:
5318           back to HEAD
5319
5320 === release 0.10.8 ===
5321
5322 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
5323
5324         * configure.ac:
5325           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
5326
5327 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5328
5329         * gst/gst.c: (init_post):
5330           move pid declaration to declaration block
5331
5332 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5333
5334         * gst/gst.c: (init_post):
5335           use _exit() instead of exit() in our forked child; this ensures
5336           that none of the registered exit handlers from whatever is using
5337           GStreamer get executed.  This fixes gnome-mixer-applet failing
5338           to load, because ORBit would shut down.
5339           Spotted by: Edward Hervey  <edward@fluendo.com>
5340           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
5341           Fixes #344474
5342
5343 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5344
5345         * configure.ac:
5346           back to TRUNK
5347
5348 === release 0.10.7 ===
5349
5350 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
5351
5352         * configure.ac:
5353           releasing 0.10.7, "Soepeke, ik zie ou"
5354
5355 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5356
5357         * configure.ac:
5358         * po/af.po:
5359         * po/az.po:
5360         * po/bg.po:
5361         * po/ca.po:
5362         * po/cs.po:
5363         * po/de.po:
5364         * po/en_GB.po:
5365         * po/fr.po:
5366         * po/it.po:
5367         * po/nb.po:
5368         * po/nl.po:
5369         * po/ru.po:
5370         * po/sq.po:
5371         * po/sr.po:
5372         * po/sv.po:
5373         * po/tr.po:
5374         * po/uk.po:
5375         * po/vi.po:
5376         * po/zh_CN.po:
5377         * po/zh_TW.po:
5378         * win32/common/config.h:
5379           0.10.6.2 prerelease
5380
5381 2006-06-07  Wim Taymans  <wim@fluendo.com>
5382
5383         * gst/gstindex.c: (gst_index_gtype_resolver):
5384         * tools/gst-xmlinspect.c: (print_plugin_info):
5385         Fix leak spotted by coverity checker. Fixes #343827
5386         Fix another other leak found by paolo borelli.
5387
5388 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5389
5390         * libs/gst/dataprotocol/dataprotocol.c:
5391         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5392         (gst_dp_version_get_type), (gst_dp_init),
5393         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
5394         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
5395         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
5396         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
5397         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
5398         (gst_dp_packetizer_free):
5399         * libs/gst/dataprotocol/dataprotocol.h:
5400           API: add a GstDPPacketizer object, and create/free functions
5401           API: add GstDPVersion enum
5402           Add 1.0 event function that uses the string serialization
5403           Serialize more useful buffer flags
5404           Fixes #343988
5405
5406 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5407
5408         * tests/check/Makefile.am:
5409         * tests/check/gst/gstabi.c:
5410         * tests/check/gst/struct_ppc64.h:
5411         * tests/check/libs/libsabi.c:
5412         * tests/check/libs/struct_ppc64.h:
5413           add ppc64 structure sizes
5414
5415 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5416
5417         * tests/check/Makefile.am:
5418         * tests/check/gst/gstabi.c:
5419         * tests/check/gst/struct_x86_64.h:
5420         * tests/check/libs/libsabi.c:
5421         * tests/check/libs/struct_x86_64.h:
5422           generate and add structure size lists for x86_64
5423
5424 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5425
5426         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5427         * libs/gst/check/gstcheck.h:
5428           factor out the method from tests that checks size of structures,
5429           and add code to generate the header containing these sizes
5430         * tests/check/gst/gstabi.c: (GST_START_TEST):
5431         * tests/check/gst/struct_i386.h:
5432         * tests/check/libs/libsabi.c: (GST_START_TEST):
5433         * tests/check/libs/struct_i386.h:
5434           use it
5435
5436 2006-06-06  Michael Smith  <msmith@fluendo.com>
5437
5438         * gst/gstsegment.h:
5439           Don't use c++-style comments, fixes #343929
5440
5441 2006-06-05  Edward Hervey  <edward@fluendo.com>
5442
5443         * gst/gst.c:
5444         plugin_paths is not used if we build without registry support.
5445
5446         * gst/gstsegment.c: (gst_segment_copy): 
5447         _copy() was always returning NULL...
5448
5449 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5450
5451         * libs/gst/dataprotocol/dataprotocol.c:
5452         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5453         (gst_dp_packet_from_event):
5454           factor out CRC code
5455
5456 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5457
5458         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
5459           make sure we unset caps
5460
5461 2006-06-02  Michael Smith  <msmith@fluendo.com>
5462
5463         * libs/gst/check/gstcheck.c: (gst_check_init),
5464         (gst_check_chain_func):
5465         * libs/gst/check/gstcheck.h:
5466           Add a cond/mutex to the check support lib, signal this whenever we
5467           add to the buffers list. This will allow tests to not busy-wait on
5468           the buffer-list.
5469
5470 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5471
5472         * libs/gst/dataprotocol/dataprotocol.c:
5473         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5474         (gst_dp_packet_from_event):
5475           factor out some common header init code
5476
5477 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5478
5479         * docs/libs/gstreamer-libs-sections.txt:
5480         * docs/libs/tmpl/gstdataprotocol.sgml:
5481         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
5482         * libs/gst/dataprotocol/dataprotocol.h:
5483           API: make gst_dp_crc() public
5484
5485 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
5486
5487         * plugins/indexers/gstindexers.c: (plugin_init):
5488         conditionally register fileindexer (fixes #343598)
5489
5490 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
5491
5492         * gst/gsttagsetter.h:
5493         Can't cast ifaces to a class
5494
5495         * libs/gst/net/gstnetclientclock.h:
5496         * libs/gst/net/gstnettimeprovider.h:
5497         * plugins/elements/gstfakesink.h:
5498         * plugins/elements/gstfakesrc.h:
5499         * plugins/elements/gstfdsink.h:
5500         * plugins/elements/gstfdsrc.h:
5501         * plugins/elements/gstfilesink.h:
5502         * plugins/elements/gstfilesrc.h:
5503         * plugins/elements/gstidentity.h:
5504         * plugins/elements/gstqueue.h:
5505         * plugins/elements/gsttee.h:
5506         * plugins/indexers/gstfileindex.c:
5507         * plugins/indexers/gstmemindex.c:
5508         * tests/old/examples/plugins/example.h:
5509         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
5510
5511 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5512
5513         * libs/gst/dataprotocol/dataprotocol.c:
5514         (gst_dp_header_from_buffer):
5515           make sure we zero the whole ABI-compatible area
5516
5517 2006-06-01  Wim Taymans  <wim@fluendo.com>
5518
5519         Patch by: Alessandro Decina <alessandro at nnva dot org>
5520
5521         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
5522         Make sure the EOS flag is cleared from pads after a flush
5523         or stop. Fixes #343538.
5524
5525         * tests/check/libs/collectpads.c: (GST_START_TEST),
5526         (gst_collect_pads_suite):
5527         Added test for collectpads reusage after EOS.
5528
5529 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
5530
5531         * gst/gst.c:
5532          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
5533         * win32/common/libgstbase.def:
5534          export gst_collect_pads_set_flushing
5535         * win32/common/libgstreamer.def:
5536          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
5537          gst_value_fraction_multiply
5538         * win32/vs6/gst_inspect.dsp:
5539          add a link to intl.lib
5540
5541 2006-05-30  Wim Taymans  <wim@fluendo.com>
5542
5543         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5544         (gst_collect_pads_chain):
5545         Handle the case where a pad is removed from the collection
5546         that could cause the other pads to become collectable.
5547
5548 2006-05-30  Wim Taymans  <wim@fluendo.com>
5549
5550         * gst/gstelement.c:
5551         Clarify the use of _release_request_pad() and
5552         _get_request_pad() a bit better.
5553
5554         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
5555         (gst_adapter_take_buffer):
5556         Fix some doc and comment typos.
5557
5558 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5559
5560         * docs/gst/gstreamer-sections.txt:
5561         * docs/libs/gstreamer-libs-sections.txt:
5562           add declared symbols
5563
5564 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
5565
5566         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5567         Add debug that can be enabled using a #define at the top of the file,
5568         for dumping stats about how late/early we were when waking up from
5569         waiting on the clock.
5570
5571 2006-05-30  Wim Taymans  <wim@fluendo.com>
5572
5573         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
5574         When rebuilding the pad list, don't leak the previous list.
5575
5576 2006-05-30  Wim Taymans  <wim@fluendo.com>
5577
5578         Patch by: Lutz Mueller <lutz at topfrose dot de>
5579
5580         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5581         (gst_base_src_get_query_types), (gst_base_src_update_length):
5582         Publish supported query types.
5583         Update last_stop field in get_range mode so the position
5584         query works. Fixes #342321.
5585
5586 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
5587
5588         * docs/gst/gstreamer-sections.txt:
5589         * gst/gsttaglist.c: (_gst_tag_initialize):
5590         * gst/gsttaglist.h:
5591           API: add GST_TAG_PREVIEW_IMAGE (#343341).
5592
5593 2006-05-30  Wim Taymans  <wim@fluendo.com>
5594
5595         Patch by: Alessandro Decina <alessandro at nnva dot org>
5596
5597         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5598         Unlock mutex when removing an unknown pad.
5599         Fixes #343334.
5600
5601         * tests/check/Makefile.am:
5602         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
5603         (push_event), (setup), (teardown), (GST_START_TEST),
5604         (gst_collect_pads_suite), (main):
5605         Added collecpads check, disabled for now as check crashes for
5606         some reason.
5607
5608 2006-05-29  Wim Taymans  <wim@fluendo.com>
5609
5610         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
5611         Don't leak pads lists.
5612
5613 2006-05-29  Wim Taymans  <wim@fluendo.com>
5614
5615         * docs/libs/gstreamer-libs-sections.txt:
5616         * libs/gst/base/gstcollectpads.c:
5617         (gst_collect_pads_set_flushing_unlocked),
5618         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5619         (gst_collect_pads_stop):
5620         * libs/gst/base/gstcollectpads.h:
5621         API: gst_collect_pads_set_flushing()
5622         Added api to set the pads to flushing, useful for seeking
5623         code in elements using collectpads.
5624         Clear segment when receiving a flush.
5625
5626 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
5627
5628         * gst/gst.c: (add_path_func), (init_post):
5629           Don't scan registry paths passed via --gst-plugin-path immediately
5630           (will crash, because absolutely nothing is set up and no types are
5631           registered etc.); do this later in init_post(). Fixes #343057.
5632
5633 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5634
5635         * gst/gst.c: (init_post):
5636           if we have fork, fork while reading/rebuilding the registry
5637           so the parent doesn't take the hit of having all plugins loaded
5638           in memory.  Fixes #342777.
5639         * configure.ac:
5640           Check if we have fork()
5641         * win32/common/config.h.in:
5642           no fork() on win32
5643
5644 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
5645
5646         * plugins/elements/gstelements.c:
5647         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5648         (gst_file_src_init), (gst_file_src_set_property),
5649         (gst_file_src_get_property), (gst_file_src_start):
5650         * plugins/elements/gstfilesrc.h:
5651           API: GstFileSrc::use-mmap
5652
5653         Add a use-mmap property to enable easier testing of all code paths.
5654         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
5655         in the absence of gnomevfssrc. (Closes #340501)
5656
5657 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5658
5659         * tools/gst-inspect.c:
5660         Add missing include, removes warning of ngettext not being defined on
5661         some arches.
5662
5663 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
5664
5665         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5666         Handle NULL input and output pointers silently as a failed conversion,
5667         rather than g_warnings.
5668
5669 2006-05-25  Wim Taymans  <wim@fluendo.com>
5670
5671         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
5672         Initialize variable before using. Fixes #342820.
5673
5674 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
5675
5676         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
5677           Fix off-by-one bug that would only allow peeks of N-1 bytes
5678           from the start even if the buffer to typefind on contains
5679           in fact N bytes of data (makes vorbis typefinding from a
5680           vorbis identification header buffer work).
5681
5682         * tests/check/Makefile.am:
5683         * tests/check/libs/.cvsignore:
5684         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
5685         (gst_typefindhelper_suite), (main), (foobar_typefind),
5686         (plugin_init):
5687           Add very basic unit test for gst_type_find_helper_for_buffer()
5688           that checks for the problem fixed above.
5689
5690 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5691
5692         * tools/gst-inspect.c: (print_interfaces),
5693         (print_element_properties_info), (print_element_list), (main):
5694           add more translatable strings
5695
5696 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
5697
5698         Patch by: Julien Moutte  <julien at moutte net>
5699
5700         * docs/gst/gstreamer-sections.txt:
5701           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
5702           
5703         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5704         (gst_fake_sink_preroll):
5705         * plugins/elements/gstfakesink.h:
5706           API: Add new GstFakeSink::preroll-handoff signal (#337100).
5707
5708 2006-05-23  Wim Taymans  <wim@fluendo.com>
5709
5710         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
5711         * gst/gstpad.h:
5712         Added _CUSTOM error and success GstFlowReturn that can be
5713         used be elements internally. 
5714         Added macro to check for SUCCESS flowreturns.
5715         API: GST_FLOW_CUSTOM_SUCCESS
5716         API: GST_FLOW_CUSTOM_ERROR
5717         API: GST_FLOW_IS_SUCCESS
5718
5719         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5720         Added check for GstFlowReturn sanity.
5721
5722 2006-05-23  Wim Taymans  <wim@fluendo.com>
5723
5724         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5725
5726         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5727         (gst_collect_pads_event):
5728         clear/reset segment info in FLUSH_STOP.
5729         Fixes #336929.
5730
5731 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
5732
5733         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
5734         (gst_collect_pads_check_collected):
5735         Flush queued buffer on _stop(), fixes playing again (#342454)
5736
5737 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5738
5739         * tests/check/gst/gststructure.c: (GST_START_TEST),
5740         (gst_structure_suite):
5741           add a test for a complete structure
5742
5743 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
5744
5745         * docs/faq/developing.xml:
5746         * docs/faq/faq.xml:
5747         * docs/faq/troubleshooting.xml:
5748         * docs/faq/using.xml:
5749           Some minor FAQ updates that won't change the fact that
5750           our FAQ is badly structured, full of information hardly
5751           anyone new to GStreamer needs to know and lacking lots
5752           of information people constantly ask for.
5753           
5754 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
5755
5756         * gst/gstpad.c: (gst_pad_set_caps):
5757           Short-circuit gst_pad_set_caps if setting the existing
5758           caps pointer again, and avoid printing debug and 
5759           reffing/unreffing the caps.
5760
5761         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5762           There's actually no need to set the caps before pushing -
5763           the acceptcaps method will handle it anyway.
5764
5765 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
5766
5767         * docs/gst/gstreamer-sections.txt:
5768         * win32/common/libgstreamer.def:
5769         * gst/gstutils.c: (gst_element_seek_simple):
5770         * gst/gstutils.h:
5771           API: add gst_element_seek_simple() (#342238).
5772
5773 2006-05-18  Edward Hervey  <edward@fluendo.com>
5774
5775         * gst/gsttypefind.c: (gst_type_find_get_type):
5776         * gst/gsttypefind.h:
5777         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
5778         registered for GstTypeFind pointers. This allows wrapping the structure
5779         in bindings (i.e. gst-python).
5780
5781 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
5782
5783         * gst/gsttagsetter.c:
5784           Docs additions and fixes (see #339918).
5785
5786 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
5787
5788         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5789         The caps intersection algorithm can produce multiple copies of the
5790         caps. Until that is fixed, we need to simplify the result to be
5791         sure whether the allowed caps are fixed or not.
5792
5793         * plugins/elements/gstqueue.c: (gst_queue_init),
5794         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
5795         (gst_queue_push_one):
5796         Proxied buffer alloc should not set the caps on the source pad.
5797         When pushing buffers, we always accept the caps change that triggers.
5798         This prevents negotiation errors caused by caps changing mid-stream 
5799         and then being refused on our source pad (because upstream is now
5800         refusing those caps).
5801
5802 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
5803
5804         * tests/examples/helloworld/helloworld.c: (main):
5805           Must plug audioconvert and audioresample between decoder
5806           and audio sink.
5807
5808 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
5809
5810         * gst/gstregistryxml.c: (read_string), (load_pad_template),
5811         (load_feature), (load_plugin):
5812         Allow empty strings for some of the plugin fields so we don't 
5813         drop valid plugin entries that were written out correctly
5814         (Fixes #341479)
5815
5816 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
5817         
5818         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5819           Use g_remove and g_rename instead of remove and rename that don't 
5820           handle utf8 characters. rename was failing for users who had specific
5821           characters in their name then the registry was built at each 
5822           gstreamer init.
5823         * win32/vs6/gst_inspect.dsp:
5824         * win32/vs6/gst_launch.dsp:
5825         * win32/vs6/libgstbase.dsp:
5826         * win32/vs6/libgstcoreelements.dsp:
5827         * win32/vs6/libgstreamer.dsp:
5828           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
5829           build of libgstreamer and clean unused libraries in projects link 
5830           settings.
5831
5832 2006-05-17  Edward Hervey  <edward@fluendo.com>
5833
5834         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5835         The queue is not responsible for pushing an EOS when receiving a fatal
5836         flow error. It's up to the real element driving the pipeline to do that.
5837
5838 2006-05-16  Edward Hervey  <edward@fluendo.com>
5839
5840         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5841         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
5842         buffer returned a fatal error. It should just send an EOS and stop
5843         its task.
5844         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
5845         when pushing buffers on the queue and will be able to handle the event.
5846
5847 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
5848
5849         * docs/manual/basics-bins.xml:
5850         * docs/manual/basics-init.xml:
5851           Fix typos and minor errors in sample code (#341856).
5852
5853 2006-05-16  Wim Taymans  <wim@fluendo.com>
5854
5855         * docs/design/part-qos.txt:
5856         Fix indexes in formulas to make more sense.
5857
5858 2006-05-15  Wim Taymans  <wim@fluendo.com>
5859
5860         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5861         Don't report POSITION based on clock time if sync is
5862         disabled in a sink.
5863
5864 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
5865
5866         * gst/gstobject.h:
5867           Add cast to make compiler happy - refcount variable was a gint
5868           in GstObject but is a guint in GObject and g_atomic_int_get()
5869           wants a gint *.
5870
5871 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5872
5873         * gst/parse/Makefile.am:
5874           chain commands using &&, which also makes parallel make work
5875
5876 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
5877
5878         * docs/gst/gstreamer-sections.txt:
5879         * gst/gstevent.c:
5880         * gst/gstevent.h:
5881         * gst/gstmessage.h:
5882           Minor docs fixes.
5883
5884 === release 0.10.6 ===
5885
5886 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
5887
5888         * configure.ac:
5889           releasing 0.10.6, "Take the cannoli"
5890
5891 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
5892
5893         * tools/gst-launch.c: (print_tag):
5894           Fix use of uninitialized variable in the hypothetical
5895           case that some broken plugin creates a GST_TAG_IMAGE
5896           tag containing a NULL buffer (#341667).
5897
5898 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
5899
5900         * tools/gst-launch.c: (print_tag):
5901           Print something more intelligible for image tags when
5902           using the -t switch (#341556).
5903
5904 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5905
5906         * Makefile.am:
5907           updates for win32
5908         * configure.ac:
5909           define GST_MAJORMINOR so we have it available in win32/common/config.h
5910           Possibly remove it from our Makefile.am files later
5911         * win32/common/config.h:
5912         * win32/common/config.h.in:
5913           added GST_MAJORMINOR
5914         * win32/common/gstenumtypes.c: (register_gst_resource_error):
5915         * win32/common/gstversion.h:
5916           updated
5917
5918 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
5919
5920         * win32/MANIFEST:
5921           Update win32 files listing.
5922         * win32/common/gstversion.h:
5923           Add GST_MAJORMINOR definition.
5924         * win32/common/libgstreamer.def:
5925           Add new exported functions.
5926           
5927 2006-05-12  Michael Smith  <msmith@fluendo.com>
5928
5929         * gst/gstplugin.c: (gst_plugin_load_file):
5930           If an so file has no plugin entry point, unload the module.
5931
5932 2006-05-11  Wim Taymans  <wim@fluendo.com>
5933
5934         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
5935         (gst_queue_set_property):
5936         Don't forget to signal the _chain or _loop function 
5937         when the queue size or thresholds change since that might
5938         cause them to make progres again.
5939
5940 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
5941
5942         * gst/gstclock.c: (gst_clock_class_init):
5943         * gst/gstindex.c: (gst_index_class_init):
5944         * gst/gstobject.c: (gst_object_class_init):
5945         * gst/gstpad.c: (gst_pad_class_init):
5946         * gst/gstpipeline.c: (gst_pipeline_class_init):
5947         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
5948         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
5949         * libs/gst/base/gstbasetransform.c:
5950         (gst_base_transform_class_init):
5951         * libs/gst/net/gstnetclientclock.c:
5952         (gst_net_client_clock_class_init):
5953         * libs/gst/net/gstnettimeprovider.c:
5954         (gst_net_time_provider_class_init):
5955         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
5956         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
5957         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
5958         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
5959         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
5960         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5961         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
5962         * plugins/elements/gstidentity.c: (gst_identity_class_init):
5963         * plugins/elements/gsttee.c: (gst_tee_class_init):
5964         * tests/old/examples/plugins/example.c: (gst_example_class_init):
5965         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
5966           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
5967
5968 2006-05-11  Wim Taymans  <wim@fluendo.com>
5969
5970         * gst/gstbuffer.c: (_gst_buffer_initialize):
5971         Register subbufer along with the buffer type so that
5972         it does not accidentally gets registered from N
5973         different streaming threads in a non threadsafe way.
5974
5975 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
5976
5977         * gst/gstbuffer.h:
5978         * gst/gstevent.h:
5979         * gst/gstmessage.h:
5980           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
5981           gst_event_ref() and gst_message_ref() functions again
5982           (ugly hack, please do fix if there's a better way besides
5983           overrides.txt, which doesn't seem to work).
5984
5985 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5986
5987         * libs/gst/check/gstcheck.h:
5988           add an assert for setting state to avoid lots of repetitive code
5989           in the future
5990
5991 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5992
5993         * gst/gstvalue.c: (gst_value_serialize_flags):
5994           fix a leak if no flags are set
5995         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5996           fix leak in tests
5997
5998 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
5999
6000         * docs/manual/basics-pads.xml:
6001           Expand a bit on caps and filtered links and update
6002           examples that were still using the no longer existing
6003           gst_pad_link_filtered() (#338206).
6004
6005 2006-05-10  Wim Taymans  <wim@fluendo.com>
6006
6007         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6008         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6009         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
6010         (gst_collect_pads_stop):
6011         * libs/gst/base/gstcollectpads.h:
6012         No need to call _stop in _finalize.
6013         Iterate the main pad list in _finalize.
6014         Added some more debug.
6015         Free lists and data in the right order.
6016         Also free data whem doing _remove_pad when stopped for
6017         backward compatibility protect ::started with PAD_LOCK as
6018         well.
6019
6020 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6021
6022         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
6023         (gst_structure_parse_value):
6024           add some comments
6025           rename a method so that it actually says what it does better
6026
6027 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6028
6029         * gst/gstevent.c: (_gst_event_initialize):
6030         * gst/gstformat.c: (_gst_format_initialize):
6031           make sure some essential types used by events are registered
6032           as part of gst_init()
6033         * gst/gstvalue.c: (gst_value_serialize_flags):
6034           if no flags are set, serialize them to a value that represents NONE
6035           so that deserializing them works
6036         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6037           add tests for serialization and deserialization of flags
6038
6039 2006-05-10  Wim Taymans  <wim@fluendo.com>
6040
6041         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
6042         (gst_collect_pads_collect_range), (gst_collect_pads_available),
6043         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
6044         (gst_collect_pads_event), (gst_collect_pads_chain):
6045         Update docs.
6046         Better debug info.
6047         Catch and return errors from the collect function
6048         Refuse data on eos pads.
6049
6050 2006-05-10  Edward Hervey  <edward@fluendo.com>
6051
6052         * gst/gstinterface.h:
6053         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
6054         GInterface type checking.
6055         They were previously using non-defined macros.
6056
6057 2006-05-09  Wim Taymans  <wim@fluendo.com>
6058
6059         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
6060         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
6061         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
6062         (gst_collect_pads_start), (gst_collect_pads_stop),
6063         (gst_collect_pads_peek), (gst_collect_pads_pop),
6064         (gst_collect_pads_available), (gst_collect_pads_read),
6065         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
6066         (gst_collect_pads_is_collected), (gst_collect_pads_event),
6067         (gst_collect_pads_chain):
6068         * libs/gst/base/gstcollectpads.h:
6069         Clean up the mess that is collectpads, add comments and
6070         FIXMEs where needed.
6071         Maintain a separate pad list so we can add pads while
6072         collecting the other ones. For this we need a new separate 
6073         lock (see comics).
6074         Fix memory leak in finalize.
6075         Refactor some weird code to set/unset pad flushing flags, mark
6076         with comments.
6077         Don't crash in _available, _read, _flush when we're EOS.
6078
6079         * tests/check/libs/.cvsignore:
6080         Ignore adapter check binary.
6081
6082 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6083
6084         * gst/gstindex.c: (gst_index_resolver_get_type):
6085         * plugins/elements/gstfakesink.c:
6086         (gst_fake_sink_state_error_get_type):
6087         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6088         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
6089         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6090           Const-ify GEnumValue arrays.
6091
6092 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6093
6094         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6095           Add test case for flags + gst_buffer_make_metadata_writable().
6096
6097 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6098
6099         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
6100           gst_buffer_make_metadata_writable() should maintain the
6101           buffer flags (those that make sense at least) (see #340859).
6102
6103 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6104
6105         * tools/gst-inspect.c:
6106         * tools/gst-launch.c:
6107         * tools/gst-typefind.c:
6108         * tools/gst-xmlinspect.c:
6109         * tools/tools.h:
6110           Fix up includes: need to include stdlib.h in tools.h for exit().
6111
6112 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6113
6114         * gst/gsttaglist.c: (_gst_tag_initialize):
6115         * gst/gsttaglist.h:
6116           API: add GST_TAG_IMAGE tag (#340721).
6117
6118 2006-05-08  Wim Taymans  <wim@fluendo.com>
6119
6120         * gst/gstquery.c:
6121         Added some docs for the segment query.
6122
6123 2006-05-08  Wim Taymans  <wim@fluendo.com>
6124
6125         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6126         (gst_base_src_loop), (gst_base_src_change_state):
6127         Always push non-flushing serialized events in the streaming 
6128         thread.
6129
6130 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6131
6132         * gst/gsterror.c: (_gst_stream_errors_init):
6133           Add a missing error string.
6134
6135 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
6136
6137         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
6138         Add applied_rate to the debug
6139
6140         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6141         Copy applied_rate into the outgoing NEWSEGMENT event
6142
6143 2006-05-08  Wim Taymans  <wim@fluendo.com>
6144
6145         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
6146
6147         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6148         (gst_base_sink_change_state):
6149         call ::unlock before taking the PREROLL_LOCK so we can safely
6150         handle elements that lock in ::render.
6151         Fixes #340174.
6152
6153 2006-05-08  Edward Hervey  <edward@fluendo.com>
6154
6155         * autogen.sh: (CONFIGURE_DEF_OPT): 
6156         Darwin's libtoolize is in fact called glibtoolize.
6157         Adding glibtoolize to the list of accepted names for libtoolize.
6158
6159 2006-05-08  Wim Taymans  <wim@fluendo.com>
6160
6161         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6162         Unify error handling, don't post an error message
6163         when a push() returns EOS but perform our normal EOS
6164         handling code. Fixes #340772.
6165
6166 2006-05-08  Wim Taymans  <wim@fluendo.com>
6167
6168         * docs/design/part-overview.txt:
6169         Make upsteam/downstream concepts more clear.
6170         Give an example of serialized/non-serialized events.
6171
6172         * docs/design/part-events.txt:
6173         * docs/design/part-streams.txt:
6174         Mention applied_rate.
6175
6176         * docs/design/part-trickmodes.txt:
6177         Mention applied rate, flesh out some more use cases.
6178
6179         * gst/gstevent.c: (gst_event_new_new_segment),
6180         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
6181         (gst_event_parse_new_segment_full), (gst_event_new_tag),
6182         (gst_event_parse_tag), (gst_event_new_buffer_size),
6183         (gst_event_parse_buffer_size), (gst_event_new_qos),
6184         (gst_event_parse_qos), (gst_event_parse_seek),
6185         (gst_event_new_navigation):
6186         * gst/gstevent.h:
6187         Add applied_rate field to NEWSEGMENT event.
6188         API: gst_event_new_new_segment_full()
6189         API: gst_event_parse_new_segment_full()
6190
6191         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
6192         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
6193         (gst_segment_to_stream_time), (gst_segment_to_running_time):
6194         * gst/gstsegment.h:
6195         Add applied_rate to GstSegment structure.
6196         Make calculation of stream_time and running_time more correct
6197         wrt rate/applied_rate.
6198         Add some more docs.
6199         API: GstSegment::applied_rate field
6200         API: gst_segment_set_newsegment_full();
6201
6202         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6203         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
6204         * libs/gst/base/gstbasetransform.c:
6205         (gst_base_transform_sink_eventfunc),
6206         (gst_base_transform_handle_buffer):
6207         Parse and use applied_rate in the GstSegment field.
6208
6209         * tests/check/gst/gstevent.c: (GST_START_TEST):
6210         Add check for applied_rate field.
6211
6212         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6213         (gstsegments_suite):
6214         Add more checks for various GstSegment operations.
6215
6216 2006-05-08  Wim Taymans  <wim@fluendo.com>
6217
6218         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6219         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
6220         (gst_base_sink_get_position), (gst_base_sink_change_state):
6221         Store the sync time of the buffer end position separatly in a
6222         new variable eos_rtime so we can properly sync the EOS event.
6223         Fixes #340697.
6224         Fix the docs for gst_base_sink_set_qos_enabled().
6225         Don't set segment start to invalid value when we receive a 
6226         non TIME newsegment.
6227         get closer to handling position reporting for negative rates 
6228         correctly.
6229
6230 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
6231
6232         * gst/gstcaps.c:
6233         Docs about how to print caps for debug purposes.
6234
6235         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
6236         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
6237
6238 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
6239
6240         * gst/gstelement.c:
6241           use full enum names and preprend a '%' in docs strings to make recent 
6242           gtk-doc turn that into a link
6243
6244 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6245
6246         * docs/manual/basics-bins.xml:
6247         * docs/manual/basics-bus.xml:
6248         * docs/manual/basics-pads.xml:
6249           Some typo fixes, some additions, some clarifications. 
6250
6251 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6252
6253         * tools/gst-inspect.c: (main):
6254         * tools/gst-launch.c: (main):
6255         * tools/gst-run.c: (main):
6256         * tools/gst-typefind.c: (main):
6257         * tools/gst-xmlinspect.c: (main):
6258           Use the string passed to g_option_context_new() for
6259           what it's intended for - the program name is already
6260           printed elsewhere.
6261
6262 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6263
6264         * tools/Makefile.am:
6265         * tools/gst-inspect.c: (main):
6266         * tools/gst-launch.c: (main):
6267         * tools/gst-xmlinspect.c: (main):
6268         * tools/tools.h:
6269           Add back --version command line option (#340460).
6270
6271         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
6272           Add --version option and use GOption for argument parsing; refactor a
6273           bit; accept directories as arguments and recurse into them; lastly,
6274           print a decent error message when things go wrong.
6275
6276 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6277
6278         * docs/manual/basics-bins.xml:
6279         Don't mention GstThread (#340611)
6280         * docs/manual/basics-elements.xml:
6281         Update link to GObject tutorial (#340607)
6282         
6283 2006-05-05  Wim Taymans  <wim@fluendo.com>
6284
6285         * gst/gstbuffer.h:
6286         * gst/gstminiobject.c:
6287         Add note about refcounting and miniobject/buffer writeability
6288         to docs. Fixes #340604
6289
6290         * gst/gstelementfactory.h:
6291         Added some explanation about @klass.
6292
6293 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6294
6295         * docs/manual/intro-motivation.xml:
6296         * docs/manual/manual.xml:
6297         Avoid CORBA & Bonobo references (#340598)
6298
6299 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6300
6301         * docs/manual/basics-bus.xml:
6302         * docs/manual/basics-pads.xml:
6303         Fix up some inaccuracies and omissions (#340609)
6304         
6305 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6306
6307         * gst/gstghostpad.c:
6308           Small typo in docs (#340625)
6309
6310 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6311
6312         * gst/parse/Makefile.am:
6313           Make 'make -j' proof (see #340698).
6314
6315 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6316
6317         * configure.ac:
6318           Require GLib-2.8 here as well.
6319
6320 2006-05-05  Wim Taymans  <wim@fluendo.com>
6321
6322         * gst/glib-compat.c:
6323         * gst/gst.c: (init_pre):
6324         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6325         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
6326         (gst_object_dispatch_properties_changed):
6327         * gst/gstobject.h:
6328         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6329         * gst/gststructure.c: (gst_structure_set_valist):
6330         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6331         Remove pre glib2.8 compatibility, fixes #340508
6332
6333 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6334
6335         * gst/gsttaglist.h:
6336           Mention type of tags in doc blurbs.
6337
6338 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
6339
6340         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6341         (gst_pad_configure_src), (gst_pad_push):
6342         Restore acceptcaps checking behaviour now that good plugins have
6343         been released.
6344
6345 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6346
6347         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
6348
6349         * gst/gst.c:
6350         * gst/gstbus.c:
6351         * gst/gstclock.c:
6352         * gst/gstevent.c:
6353         * gst/gstformat.c:
6354         * gst/gstmessage.c:
6355         * gst/gstparse.c:
6356         * gst/gstquery.c:
6357         * gst/gstutils.c:
6358         * gst/parse/Makefile.am:
6359         * libs/gst/base/gstadapter.c:
6360         * libs/gst/base/gstbasesrc.c:
6361         * libs/gst/base/gstpushsrc.c:
6362         * libs/gst/base/gsttypefindhelper.c:
6363         * plugins/elements/gstfakesrc.c:
6364         * plugins/elements/gstidentity.c:
6365           Make sure gstprivate.h and/or config.h are
6366           always included first, otherwise some of our
6367           defines (like _FILE_OFFSET_BITS) might be
6368           redefined in the system headers. Fixes build
6369           on opensolaris (#340016).
6370
6371 2006-05-04  Wim Taymans  <wim@fluendo.com>
6372
6373         * docs/libs/gstreamer-libs-sections.txt:
6374         API: addition: gst_adapter_take_buffer()
6375         
6376         * libs/gst/base/gstadapter.c: (gst_adapter_push),
6377         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
6378         (gst_adapter_available_fast):
6379         * libs/gst/base/gstadapter.h:
6380         Prepare for optimizing the hell out of this hugely inefficient
6381         piece of code. 
6382         Added gst_adapter_take_buffer() so we can at least start thinking
6383         about subbuffering and merging.
6384         Added some comments.
6385
6386         * tests/check/Makefile.am:
6387         * tests/check/libs/adapter.c: (GST_START_TEST),
6388         (gst_adapter_suite), (main):
6389         Added GstAdapter check.
6390
6391 2006-05-04  Wim Taymans  <wim@fluendo.com>
6392
6393         * docs/design/part-overview.txt:
6394         Fix some typos, add blurb about buffer flags.
6395
6396 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6397
6398         * docs/libs/gstreamer-libs-sections.txt:
6399           make sure GstBaseTransformClass shows up in the docs
6400         * libs/gst/base/gstbasetransform.c:
6401         * libs/gst/base/gstbasetransform.h:
6402           move docs so gtk-doc picks it up now
6403
6404 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
6405
6406         * docs/libs/gstreamer-libs-sections.txt:
6407           add missing symbols to docs
6408
6409 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
6410
6411         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6412           back out the newsegment handling change, see #340060 for ongoing
6413           discussion
6414
6415 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
6416
6417         * tools/gst-run.c: (get_candidates), (main):
6418           Fix wrong g_file_test() usage (see glib docs for why it doesn't
6419           work); fix typo in error message. Fixes #340079.
6420
6421 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6422
6423         * common/Makefile.am:
6424         * docs/Makefile.am:
6425         * docs/faq/Makefile.am:
6426         * docs/gst/Makefile.am:
6427         * docs/libs/Makefile.am:
6428         * docs/manual/Makefile.am:
6429         * docs/plugins/Makefile.am:
6430         * docs/pwg/Makefile.am:
6431         * docs/slides/Makefile.am:
6432         * docs/upload.mak:
6433         * common/upload.mak:
6434           move upload.mak to common
6435
6436 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6437
6438         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6439           add more asserts on refcounts
6440           do more cleanup at end of tests
6441           fix test leaks showing in FC5
6442
6443 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
6444
6445         * plugins/elements/gsttypefindelement.c:
6446         (gst_type_find_element_handle_event):
6447         reverted wrong change and reflowed code to avoid others falling into
6448         this trap
6449
6450 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6451
6452         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6453           fix changelog entry about last collectpads change,
6454           add notes about proper fix
6455
6456 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6457
6458         * gst/gst.c:
6459         * gst/gstregistry.c: (gst_registry_scan_path_level),
6460         (gst_registry_scan_path):
6461         * gst/gstregistry.h:
6462           only write out registry if it has changed, fixes #338339
6463
6464 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6465
6466         * gst/gstbin.c:
6467         * gst/gstpipeline.c:
6468         * plugins/elements/gstcapsfilter.c:
6469         * plugins/elements/gstfakesink.c:
6470         * plugins/elements/gstfakesrc.c:
6471         * plugins/elements/gstfdsink.c:
6472         * plugins/elements/gstfdsrc.c:
6473         * plugins/elements/gstfilesink.c:
6474         * plugins/elements/gstfilesrc.c:
6475         * plugins/elements/gstidentity.c:
6476         * plugins/elements/gstqueue.c:
6477         * plugins/elements/gsttee.c:
6478         * plugins/elements/gsttypefindelement.c:
6479         (gst_type_find_element_handle_event):
6480           make GstElementDetails const
6481
6482 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6483
6484         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6485         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6486         (gst_collect_pads_is_collected), (gst_collect_pads_event):
6487           more detailed debug and formatting cleanup,
6488           forward newsegments to src-pad (so that e.g. adder not eats them)
6489
6490 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6491
6492         * gst/gstutils.c: (gst_element_link_pads):
6493           cleanup double code
6494
6495 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6496
6497         * libs/gst/controller/gstcontroller.c:
6498         (gst_controller_sync_values):
6499           some little tuning
6500         * tests/check/libs/controller.c: (GST_START_TEST),
6501         (gst_controller_suite):
6502           a new test for live value handling
6503
6504 2006-04-28  Wim Taymans  <wim@fluendo.com>
6505
6506         * gst/gstutils.c: (push_and_ref):
6507         Added some more docs.
6508         Fix refcount issue whith gst_element_found_tags() helper 
6509         function. Fixes #338335
6510
6511         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6512         Added testsuite for gst_element_found_tags().
6513
6514 2006-04-28  Michael Smith  <msmith@fluendo.com>
6515
6516         * gst/gstvalue.c: (gst_value_serialize_flags):
6517           Avoid NULL dereference when trying to serialize flags containing
6518           invalid values.
6519
6520 2006-04-28  Michael Smith  <msmith@fluendo.com>
6521
6522         * plugins/elements/gsttypefindelement.c:
6523         (gst_type_find_element_handle_event):
6524           If we get EOS before any data is accumulated, don't use
6525           uninitialised local variables.
6526
6527 2006-04-28  Michael Smith  <msmith@fluendo.com>
6528
6529         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6530         (gst_dp_event_from_packet):
6531           Fixes in reading/writing events over GDP (not currently used?) - 
6532           dereferencing NULL events for unknown/invalid event types, memory
6533           leak, and change g_warning to GST_WARNING.
6534
6535 2006-04-28  Wim Taymans  <wim@fluendo.com>
6536
6537         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
6538         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6539         (gst_base_sink_get_position), (gst_base_sink_change_state):
6540         When frame dropping is enabled, we should not ignore frames
6541         without a duration.
6542         Update some documentation.
6543
6544 2006-04-28  Wim Taymans  <wim@fluendo.com>
6545
6546         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6547         (gst_base_src_send_event), (gst_base_src_change_state):
6548         Documentation updates.
6549
6550 2006-04-28  Wim Taymans  <wim@fluendo.com>
6551
6552         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
6553         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
6554         handle EAGAIN, EINTR and short writes correctly. Also clean
6555         up some error cases, avoid a deadlock on bad file descriptors and
6556         use GST_DEBUG_OBJECT.
6557         Fixes #339843
6558
6559 2006-04-28  Wim Taymans  <wim@fluendo.com>
6560
6561         * gst/gstvalue.c: (gst_value_serialize_buffer),
6562         (gst_value_deserialize_buffer):
6563         Don't try to serialize a GValue with a NULL buffer. 
6564         Fixes #339821.
6565
6566         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6567         Added check for serialisation of NULL buffers.
6568
6569 2006-04-28  Wim Taymans  <wim@fluendo.com>
6570
6571         * gst/gstminiobject.c: (gst_value_take_mini_object):
6572         Taking a NULL miniobject is valid, fix the case where
6573         we try to unref the NULL miniobject.
6574
6575 2006-04-28  Wim Taymans  <wim@fluendo.com>
6576
6577         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6578
6579         * gst/gstbin.c: (gst_bin_handle_message_func):
6580         Update docs.
6581         Don't leak bin refcount when a state recalc is
6582         in progress and we delay another one #339808.
6583
6584 2006-04-28  Wim Taymans  <wim@fluendo.com>
6585
6586         * docs/design/part-TODO.txt:
6587         Mention QoS as an ongoing work item.
6588
6589         * docs/design/part-buffering.txt:
6590         New doc about buffering that needs to be fleshed out
6591         at some point.
6592
6593         * docs/design/part-qos.txt:
6594         More QoS policy for decoders/demuxers/transforms
6595
6596         * docs/design/part-trickmodes.txt:
6597         Small update.
6598
6599 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6600
6601         * configure.ac:
6602           back to HEAD
6603
6604 === release 0.10.5 ===
6605
6606 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
6607
6608         * configure.ac:
6609           releasing 0.10.5, "Fogo"
6610
6611 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6612
6613         patch by: Wim Taymans
6614
6615         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6616         (gst_pad_configure_src), (gst_pad_push):
6617         * gst/gstpipeline.c: (gst_pipeline_init):
6618           Fix internal data flow errors.  Fixes #338711.
6619
6620 2006-04-12  Wim Taymans  <wim@fluendo.com>
6621
6622         * tests/check/gst/gstelement.c: (GST_START_TEST):
6623         Don't leak the factory.
6624
6625 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6626
6627         * configure.ac:
6628         * win32/common/config.h:
6629           prerelease
6630
6631 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
6632
6633         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6634         (gst_controller_unset_all):
6635           Free allocated GstTimedValues when freeing list nodes.
6636           Should fix leaks 'make check-valgrind' complains about.
6637
6638         * win32/common/libgstcontroller.def:
6639           Add gst_controller_unset_all.
6640
6641 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
6642
6643         * docs/libs/gstreamer-libs-sections.txt:
6644         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6645         (gst_controller_unset_all):
6646         * libs/gst/controller/gstcontroller.h:
6647         API: Added new method gst_controller_unset_all()
6648         fixed gst_controller_unset()
6649         * tests/check/libs/controller.c: (GST_START_TEST),
6650         (gst_controller_suite):
6651         Added two testcases for new and fixed method
6652
6653 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
6654
6655         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6656           MSG_DONTWAIT is not defined on Cygwin, so work
6657           around that (fixes #317048).
6658           
6659 2006-04-11  Wim Taymans  <wim@fluendo.com>
6660
6661         * gst/gstelementfactory.c: (gst_element_register),
6662         (gst_element_factory_create), (gst_element_factory_make):
6663         Some cleanups.
6664         Fixed a FIXME.
6665         Updated docs (Fixes #131079)
6666
6667         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6668         Small cleanups.
6669
6670         * tests/check/gst/gstelement.c: (GST_START_TEST),
6671         (gst_element_suite):
6672         Added testcase for elementfactory class field.
6673
6674 2006-04-10  Wim Taymans  <wim@fluendo.com>
6675
6676         * gst/gstsegment.c:
6677         Added some more docs.
6678
6679         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
6680         (gst_base_sink_reset_qos):
6681         Calculate more accurate rate values.
6682
6683 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
6684
6685         * gst/gst_private.h:
6686           add a new #ifdef to use __declspec(dllimport) only for
6687           other modules and not for gstreamer core
6688         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
6689           use gst_guint64_to_gdouble for conversion
6690         * win32/common/libgstreamer.def:
6691           add new exported functions
6692         * win32/vs6/gst_inspect.dsp:
6693         * win32/vs6/gst_launch.dsp:
6694         * win32/vs6/libgstbase.dsp:
6695         * win32/vs6/libgstcontroller.dsp:
6696         * win32/vs6/libgstcoreelements.dsp:
6697         * win32/vs6/libgstdataprotocol.dsp:
6698         * win32/vs6/libgstnet.dsp:
6699           update project files
6700
6701 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
6702
6703         * gst/gstbuffer.c: (gst_subbuffer_class_init):
6704         * gst/gstclock.c: (gst_clock_class_init):
6705         * gst/gstelement.c: (gst_element_class_init):
6706         * gst/gstindex.c: (gst_index_class_init):
6707         * gst/gstindexfactory.c: (gst_index_factory_class_init):
6708         * gst/gstobject.c: (gst_object_class_init),
6709         (gst_signal_object_class_init):
6710         * gst/gstpad.c: (gst_pad_class_init):
6711         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
6712         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
6713         * gst/gstregistry.c: (gst_registry_class_init):
6714         * gst/gstsystemclock.c: (gst_system_clock_class_init):
6715         * gst/gsttask.c: (gst_task_class_init):
6716         * gst/gstxml.c: (gst_xml_class_init):
6717         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6718         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6719         (gst_base_src_loop):
6720         * libs/gst/controller/gstcontroller.c:/
6721         (_gst_controller_class_init):
6722         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6723         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
6724         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
6725         * tests/old/examples/plugins/example.c: (gst_example_class_init):
6726         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6727         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
6728
6729 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
6730
6731         * gst/gstpad.c: (gst_pad_link):
6732           Must set peer pads before calling the link function, otherwise
6733           a task started from a link function might get a flow-not-linked
6734           result when trying to push because the other thread where the
6735           linking happens hasn't had a chance to set the peers yet. This
6736           might happen for example when a queue gets linked to a downstream
6737           element, as queue starts a streaming task when its source pad
6738           gets linked. Happens in real life when playing back flac/musepack
6739           files in playbin (#332390).
6740           
6741 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
6742
6743         * gst/gstindex.h:
6744         * gst/gstxml.h:
6745         * libs/gst/base/gstadapter.h:
6746         * libs/gst/base/gstbasesink.h:
6747         * libs/gst/base/gstbasesrc.h:
6748         * libs/gst/base/gstbasetransform.h:
6749         * libs/gst/base/gstcollectpads.h:
6750         * libs/gst/base/gstpushsrc.h:
6751         Fix broken GObject macros
6752
6753 2006-04-07  Wim Taymans  <wim@fluendo.com>
6754
6755         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6756         Initialize start and stop times, thanks valgrind.
6757
6758 2006-04-07  Wim Taymans  <wim@fluendo.com>
6759
6760         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6761         Be a bit nicer to badly behaving upstream elements that expect
6762         us to deal with non TIME segments and timestamps (such as fakesrc
6763         in the testsuite).
6764
6765 2006-04-07  Wim Taymans  <wim@fluendo.com>
6766
6767         * gst/gstbus.c:
6768         Small documentation clarification about the signal watch.
6769
6770         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6771         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6772         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6773         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6774         (gst_base_sink_get_position_last),
6775         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
6776         Convert and store timestamps in stream time and running time, the
6777         raw timestamps are not useful, also document this better.
6778         Use different window sizes for good and bad QoS observations so
6779         we react to badness a little quicker.
6780         Keep track of the amount of rendered and dropped buffers.
6781         Send QoS timestamps in running time.
6782
6783         * libs/gst/base/gstbasetransform.c:
6784         (gst_base_transform_sink_eventfunc),
6785         (gst_base_transform_handle_buffer):
6786         Compare QoS timestamps against running time.
6787
6788 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
6789
6790         * gst/gstpad.c:
6791           Typo fixes in docs.
6792
6793 2006-04-06  Michael Smith  <msmith@fluendo.com>
6794
6795         * gst/gstpad.c: (gst_pad_set_property):
6796           Use g_value_get_object() instead of g_value_dup_gst_object(),
6797           to avoid double-reffing the pad template (which we then sink,
6798           so this worked previously if (and only if) the pad template
6799           was floating.
6800
6801         * gst/gstpadtemplate.c: (gst_pad_template_init),
6802         (gst_pad_template_pad_created):
6803           Never return floating references to pad templates, create
6804           them as initially-sunken.
6805
6806           Document an extra function (and make this stop sinking our
6807           pad template, since that is now guaranteed to do nothing,
6808           since we created it sunken).
6809
6810         * gst/gstghostpad.c:
6811           Fix docs typo.
6812
6813 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
6814
6815         * gst/gstinfo.c: (__gst_in_valgrind):
6816           Add some newlines.
6817
6818         * plugins/elements/gsttypefindelement.c:
6819         (gst_type_find_element_chain):
6820           Don't leak buffer caps.
6821
6822 2006-04-06  Michael Smith  <msmith@fluendo.com>
6823
6824         * gst/parse/grammar.y:
6825           Fix a leak in parse-launch for any source-or-sink named element 
6826           references used.
6827
6828         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6829           Unref the pipeline if it exists after we've failed parsing.
6830
6831 2006-04-05  Michael Smith  <msmith@fluendo.com>
6832
6833         * gst/gstpipeline.c: (gst_pipeline_init):
6834           When we create a pipeline bus, initially create it in flushing mode.
6835           Fixes leaks in at least one test, and makes a new pipeline work the
6836           same as one that has gone to READY and then back to NULL.
6837
6838         * gst/gstelement.c:
6839           Typo fix in docs.
6840
6841 2006-04-05  Michael Smith  <msmith@fluendo.com>
6842
6843         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6844           Unref a pad we reffed.
6845         * tests/check/gst/gstutils.c: (GST_START_TEST):
6846           Unref bins
6847
6848 2006-04-05  Michael Smith  <msmith@fluendo.com>
6849
6850         * gst/gstquery.c: (gst_query_set_formats),
6851         (gst_query_set_formatsv):
6852           Fix leaking GValues in queries, as shown by valgrind/testsuite.
6853
6854 2006-04-05  Michael Smith  <msmith@fluendo.com>
6855
6856         * tests/check/generic/sinks.c: (GST_START_TEST):
6857           Fix a variety of memleaks in sinks check, which are only sometimes 
6858           shown by running the tests under valgrind (weird?).
6859
6860 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
6861
6862         * docs/version.entities.in:
6863           Fix the substituted entity name after thomas' changes on the
6864           weekend.
6865
6866 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6867
6868         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
6869         VALGRIND_PRINTF
6870         
6871 2006-04-05  Andy Wingo  <wingo@pobox.com>
6872
6873         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
6874
6875         * libs/gst/base/gstbasetransform.c
6876         (gst_base_transform_sink_eventfunc): When resetting our segment on
6877         FLUSH_STOP, also update the flag saying we haven't seen a
6878         newsegment.
6879
6880 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
6881
6882         Patch by: Paolo Borelli  <pborelli at katamail dot com>
6883
6884         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6885         (gst_plugin_check_license):
6886           minor clean-ups: G_DEFINE_TYPE already takes care of the
6887           parent_class stuff, no need to do it twice. Mark array of
6888           license strings as constant. (#337103)
6889           
6890 2006-04-04  Michael Smith  <msmith@fluendo.com>
6891
6892         * tools/gst-inspect.c: (print_element_list):
6893           Free the right plugin list; fixes a memory leak.
6894
6895 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
6896
6897         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
6898
6899         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
6900           Don't error out on empty buffers (#336945).
6901           
6902 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
6903
6904         * docs/libs/gstreamer-libs-sections.txt:
6905         * gst/gsttaglist.c:
6906         * libs/gst/base/gstbasesink.c:
6907         * libs/gst/base/gstbasesink.h:
6908         * libs/gst/base/gstbasesrc.c:
6909         * libs/gst/base/gstbasesrc.h:
6910           Documentation updates. Make BaseSink and BaseSrc docs contain the
6911           class structure so that people can actually see the prototypes for
6912           virtual functions they're supposed to be overriding.
6913
6914 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
6915
6916         * plugins/elements/gsttypefindelement.c:
6917         (gst_type_find_element_chain):
6918           More debug info; when skipping typefinding, send cached
6919           events in all cases.
6920
6921 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6922
6923         * configure.ac:
6924           use new AS_VERSION and AS_NANO macros
6925         * gst/gst-i18n-lib.h:
6926         * gst/gst.c:
6927         * gst/gsterror.c:
6928         * gst/gstversion.h.in:
6929         * win32/common/config.h:
6930         * win32/common/config.h.in:
6931           update accordingly
6932
6933 2006-03-31  Michael Smith  <msmith@fluendo.com>
6934
6935         * plugins/elements/gsttypefindelement.c:
6936         (gst_type_find_element_chain):
6937           Do not typefind content if the buffers already have caps.
6938           Neccesary for icydemux (#333657), and the right thing to do anyway.
6939
6940 2006-03-30  Wim Taymans  <wim@fluendo.com>
6941
6942         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6943         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
6944         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
6945         (gst_base_sink_record_qos_observation),
6946         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6947         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
6948         (gst_base_sink_change_state):
6949         More QoS measurements as described in the design doc.
6950         Get rid of ringbuffer with observations, running average is
6951         more simple and equally good.
6952         Calculates valid proportion now.
6953         Added beginning of flood measurement.
6954
6955 2006-03-29  Wim Taymans  <wim@fluendo.com>
6956
6957         * docs/design/part-qos.txt:
6958         * gst/gstclock.c:
6959         Small documentation updates and additions.
6960
6961 2006-03-29  Wim Taymans  <wim@fluendo.com>
6962
6963         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
6964         (gst_base_src_send_event), (gst_base_src_loop),
6965         (gst_base_src_change_state):
6966         Perform the EOS logic when we reach the segment stop position.
6967         Fix compilation on gcc4.1
6968
6969 2006-03-29  Wim Taymans  <wim@fluendo.com>
6970
6971         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
6972
6973         * plugins/elements/gstqueue.c: (gst_queue_init),
6974         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
6975         (gst_queue_set_property):
6976         * plugins/elements/gstqueue.h:
6977         In queue, when EOS is received, if minimum threshold > max_size -
6978         current_level, there is chance that queue blocks forever in conditional
6979         item del wait. This is because the queue is not emptied completely due
6980         to minimum threshold.  Here is another approach. Instead of setting
6981         cur_levels to max in EOS, just zero all minimum threshold levels. This
6982         should make sure that queue gives out all data. When going to READY
6983         (stop) state, just reset the original minimum threshold levels.
6984         Fixes #336336.
6985
6986 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
6987
6988         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
6989         (gst_type_find_element_handle_event),
6990         (gst_type_find_element_send_cached_events),
6991         (gst_type_find_element_change_state):
6992         * plugins/elements/gsttypefindelement.h:
6993           When typefinding is done in push mode, we should cache
6994           events we receive during typefinding instead of just
6995           dropping them (e.g. newsegment, custom events from
6996           dvdreadsrc etc.) and then send them out once we've
6997           determined the type of the stream (and decodebin
6998           has had a chance to plug in a decoder/demuxer).
6999           
7000 2006-03-27  Wim Taymans  <wim@fluendo.com>
7001
7002         * docs/design/part-qos.txt:
7003         First QoS ideas.
7004
7005 2006-03-27  Wim Taymans  <wim@fluendo.com>
7006
7007         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
7008
7009         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7010         (gst_base_src_send_event), (gst_base_src_change_state):
7011         Handle element seek correctly when we are streaming.
7012         Fixes #326998.
7013
7014 2006-03-24  Michael Smith  <msmith@fluendo.com>
7015
7016         * docs/faq/gst-uninstalled:
7017           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
7018           allow you to correctly run intalled applications built against old 
7019           core, using plugins that require updated core (e.g. running
7020           installed totem against a full uninstalled gstreamer stack)
7021
7022 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
7023
7024         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
7025         more debug details
7026
7027 2006-03-24  Wim Taymans  <wim@fluendo.com>
7028
7029         * docs/gst/gstreamer-sections.txt:
7030         Rearrange the order of the methods so that related methods
7031         are grouped together in sections.
7032
7033 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
7034
7035         * gst/gstelement.c:
7036           Little clarification in the docs
7037
7038 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
7039
7040         * docs/README:
7041         formatting fix
7042         * plugins/elements/gstidentity.c:
7043         * plugins/elements/gstqueue.c:
7044         * plugins/elements/gsttee.c:
7045         * plugins/elements/gsttypefindelement.c:
7046         GST_ELEMENT_DETAILS formatting
7047
7048 2006-03-24  Wim Taymans  <wim@fluendo.com>
7049
7050         * libs/gst/base/gstbasesink.h:
7051         Only add fields, not insert or we break ABI.
7052
7053 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7054
7055         * win32/common/libgstbase.def:
7056         * win32/common/libgstreamer.def:
7057           Update, add recently added functions.
7058
7059 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7060
7061         * docs/gst/gstreamer-sections.txt:
7062         * gst/gstutils.c: (gst_pad_query_peer_position),
7063         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
7064         * gst/gstutils.h:
7065           API: add some new utility functions:
7066            - gst_pad_query_peer_position()
7067            - gst_pad_query_peer_duration()
7068            - gst_pad_query_peer_convert()
7069           
7070 2006-03-23  Wim Taymans  <wim@fluendo.com>
7071
7072         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7073         (gst_base_sink_init), (gst_base_sink_finalize),
7074         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
7075         (gst_base_sink_set_property), (gst_base_sink_get_property),
7076         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
7077         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7078         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
7079         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7080         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7081         (gst_base_sink_preroll_object), (gst_base_sink_event),
7082         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
7083         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
7084         (gst_base_sink_query), (gst_base_sink_change_state):
7085         Decouple max-lateness and the fact that QoS messages are generated
7086         with a new property (qos).
7087         added API: GstBaseSink::async_play()
7088         Add vmethod so subclasses can be notified of ASYNC playing
7089         state changes.
7090         Collect timestamp start and stop to report better current
7091         position in EOS/PLAYING/PAUSED/READY/NULL.
7092         Refactor QoS/frame dropping and other measurements.
7093         API: GstBaseSrc::qos
7094         Fixes #326311
7095
7096         * libs/gst/base/gstbasesink.h:
7097         Added Private struct.
7098         API: gst_base_sink_set_qos_enabled()
7099         API: gst_base_sink_is_qos_enabled()
7100
7101 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7102
7103         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7104           If compiling against GLib-2.8 or newer, try to read the
7105           registry file using GMappedFile first before falling back
7106           to fopen() + fread() (#332151).
7107
7108 2006-03-22  Wim Taymans  <wim@fluendo.com>
7109
7110         * gst/gstinfo.c: (gst_debug_set_active),
7111         (gst_debug_category_set_threshold):
7112         Disable debugging unless explicitly activated.
7113         Fixes #335480.
7114
7115 2006-03-22  Wim Taymans  <wim@fluendo.com>
7116
7117         * gst/gstelement.c: (gst_element_set_locked_state),
7118         (gst_element_dispose):
7119         Cleanup the error case.
7120
7121         * gst/gstobject.c: (gst_object_dispose):
7122         print a critical when some object was disposed with
7123         a parent, also revive the object since it might
7124         crash the parent.
7125
7126 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
7127
7128         * tools/gst-launch.1.in:
7129           Fix another typo.
7130
7131 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7132
7133         * configure.ac:
7134         * tests/check/Makefile.am:
7135           disable some tests when we don't have a registry
7136         * tests/check/gst/gstutils.c: (gst_utils_suite):
7137           don't build the part that needs parsing
7138
7139 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7140
7141         * gst/Makefile.am
7142         * tests/examples/Makefile.am:
7143           fix --disable-parse build
7144
7145 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7146
7147         * tools/gst-feedback.1.in:
7148           Fix typo: s/feeback/feedback/ (#133494).
7149
7150 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7151
7152         * tools/Makefile.am:
7153         * tools/gst-launch.1.in:
7154           Add FILES section and correct entry about GST_REGISTRY_PATH
7155           environment variable (#133495; #133494).
7156
7157 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7158
7159         * tools/Makefile.am:
7160         * tools/gst-md5sum.1.in:
7161         * tools/gst-md5sum.c:
7162           Remove gst-md5sum and man page (the md5sink element
7163           required was removed ages ago)
7164
7165 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7166
7167         * gst/gststructure.c: (gst_structure_id_set_value):
7168           Make sure that string fields in structures/taglists
7169           contain valid UTF-8 - we don't want to pass rubbish to
7170           applications because of a buggy plugin (cp. #334167).
7171
7172 2006-03-21  Edward Hervey  <edward@fluendo.com>
7173
7174         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7175         (gst_bin_handle_message_func):
7176         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
7177         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
7178         (gst_element_set_bus_func):
7179         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
7180         * gst/gstminiobject.c: (gst_value_set_mini_object),
7181         (gst_value_take_mini_object):
7182         * gst/gstpad.c: (gst_pad_set_pad_template):
7183         * gst/gstpipeline.c: (gst_pipeline_dispose),
7184         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
7185         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
7186         (gst_collect_pads_chain):
7187         * libs/gst/net/gstnettimeprovider.c:
7188         (gst_net_time_provider_set_property):
7189         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
7190         It's in fact all issues with gst_*object_replace().
7191
7192 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7193
7194         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
7195         
7196         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7197         * pkgconfig/gstreamer-check.pc.in:
7198           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
7199
7200 2006-03-21  Edward Hervey  <edward@fluendo.com>
7201
7202         * gst/gstbuffer.h:
7203         * gst/gstevent.h:
7204         * gst/gstmessage.h:
7205         gst_[buffer|event|message]_ref() macros are replaced by a static
7206         inline functions because gcc-4.1 will about if the return value
7207         isn't used.
7208         * tests/check/gst/gstevent.c: (event_probe):
7209         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
7210
7211 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
7212
7213         * gst/gstutils.h:
7214         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
7215         the type' case. (Closes: #335195 for now). In the future, when we
7216         depend on GLib 2.10, we could also intern the type name using
7217         g_intern_static_string()
7218
7219 2006-03-20  Wim Taymans  <wim@fluendo.com>
7220
7221         * gst/gstbin.c: (gst_bin_handle_message_func),
7222         (bin_query_max_init), (bin_query_position_fold),
7223         (bin_query_position_done), (gst_bin_query):
7224         Position query should also take max of all streams.
7225
7226 2006-03-20  Wim Taymans  <wim@fluendo.com>
7227
7228         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7229         (gst_fake_src_finalize):
7230         Fix leaks in fakesrc.
7231
7232         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7233         Fix leaks in the testcase.
7234
7235 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
7236
7237         * gst/gst_private.h:
7238           add win32 specific import decoration(__declspec(dllimport)) 
7239           for all extern GstDebugCategory * variables
7240         * win32/common/libgstbase.def:
7241         * win32/common/libgstcontroller.def:
7242         * win32/common/libgstreamer.def:
7243           Add some exports, remove empty lines
7244         * win32/common/libgstdataprotocol.def:
7245         * win32/common/libgstdataprotocol.dsp:
7246         * win32/common/libgstnet.def:
7247         * win32/common/libgstnet.dsp:
7248           new project files and exportation files added
7249         
7250 2006-03-19  Wim Taymans  <wim@fluendo.com>
7251
7252         * tests/check/libs/basesrc.c: (eos_event_counter):
7253         Use proper return value for probe.
7254
7255 2006-03-17  Wim Taymans  <wim@fluendo.com>
7256
7257         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7258         (gst_pad_push):
7259         Don't leak buffers, caps and pads on negotiation errors.
7260
7261 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
7262
7263         * docs/faq/cvs.xml:
7264         * docs/faq/dependencies.xml:
7265         * docs/faq/developing.xml:
7266         * docs/faq/faq.xml:
7267         * docs/faq/general.xml:
7268         * docs/faq/getting.xml:
7269         * docs/faq/legal.xml:
7270         * docs/faq/troubleshooting.xml:
7271         * docs/faq/using.xml:
7272         Faq review and update.
7273
7274 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
7275
7276         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7277         (gst_pad_push):
7278         Don't pound the cpu to pieces by checking get_caps when accept_caps
7279         is called with the same caps as the pad already has.
7280         Use GST_DEBUG_OBJECT when outputting caps change information.
7281
7282 2006-03-15  Wim Taymans  <wim@fluendo.com>
7283
7284         * gst/gstclock.c: (gst_clock_class_init):
7285         Fix docs.
7286
7287 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
7288
7289         * gst/gstbuffer.h:
7290         Documentation fix.
7291
7292         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
7293         (gst_pad_accept_caps), (gst_pad_configure_sink),
7294         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
7295         Make the default acceptcaps behaviour be to check the requested 
7296         caps against the gst_pad_get_caps output. 
7297
7298         Ensure that gst_pad_accept_caps is used to check caps when a pad
7299         doesn't have a setcaps function, so that pads automatically refuse 
7300         caps that they don't allow in their pad template. (Fixes #332986)
7301
7302         When a buffer with attached caps is pushed, ensure that the source 
7303         pad receives those caps even if the element didn't call
7304         gst_pad_set_caps first.
7305
7306 2006-03-15  Wim Taymans  <wim@fluendo.com>
7307
7308         * libs/gst/base/gstadapter.c:
7309         Add some docs.
7310
7311 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7312
7313         * win32/common/libgstbase.def:
7314         * win32/common/libgstcontroller.def:
7315         * win32/common/libgstreamer.def:
7316           Add a whole bunch of missing functions (#334434).
7317
7318 2006-03-14  Wim Taymans  <wim@fluendo.com>
7319
7320         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7321         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7322         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
7323         Better debug info when we receive a segment event.
7324         Reorganize a bit so we can pass the get_times() results around.
7325         Use the segment format when calculating the running time.
7326         Don't do QoS is sync is disabled or we have no clock or the
7327         element does not want us to sync to the clock.
7328         Don't drop buffers if QoS is disabled for now.
7329
7330 2006-03-14  Wim Taymans  <wim@fluendo.com>
7331
7332         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
7333         Marked the stats property as unimplemented so people don't get
7334         wild ideas.
7335         Add debug message when regression goes wrong.
7336         Added some more docs.
7337
7338 2006-03-14  Wim Taymans  <wim@fluendo.com>
7339
7340         * gst/gstsegment.c: (gst_segment_to_stream_time):
7341         Return correct return type in case of errors.
7342
7343 2006-03-14  Wim Taymans  <wim@fluendo.com>
7344
7345         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
7346           Don't segfault on invalid formats.
7347
7348 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7349
7350         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7351           Can't use gst_segment_to_running_time() when the segment
7352           is not in GST_TIME_FORMAT (like with filesink, for example).
7353           Stops flac encoding pipelines from spewing critical warnings
7354           at EOS (#331248).
7355           
7356 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7357
7358         * gst/gstpipeline.c: (gst_pipeline_class_init):
7359           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
7360
7361         * plugins/elements/gsttypefindelement.c:
7362         (gst_type_find_element_handle_event):
7363           Don't try to typefind empty streams.
7364
7365 2006-03-14  Wim Taymans  <wim@fluendo.com>
7366
7367         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7368         (gst_base_sink_do_qos):
7369         Separate QoS calculation.
7370         Only drop buffers when lateness is bigger than the 
7371         duration of the buffer.
7372
7373 2006-03-13  Wim Taymans  <wim@fluendo.com>
7374
7375         * gst/gstpipeline.c: (gst_pipeline_set_property),
7376         (gst_pipeline_get_property), (do_pipeline_seek),
7377         (gst_pipeline_change_state), (gst_pipeline_set_delay),
7378         (gst_pipeline_get_delay):
7379         Don't deadlock when reading properties.
7380
7381 2006-03-13  Wim Taymans  <wim@fluendo.com>
7382
7383         * libs/gst/base/gstbasetransform.c:
7384         (gst_base_transform_class_init), (gst_base_transform_init),
7385         (gst_base_transform_sink_event),
7386         (gst_base_transform_sink_eventfunc),
7387         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
7388         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7389         (gst_base_transform_set_property),
7390         (gst_base_transform_get_property),
7391         (gst_base_transform_change_state), (gst_base_transform_update_qos),
7392         (gst_base_transform_set_qos_enabled),
7393         (gst_base_transform_is_qos_enabled):
7394         * libs/gst/base/gstbasetransform.h:
7395         Make basetransform virtual method for src events too.
7396         Handle QOS in basetransform.
7397         API: gst_base_transform_update_qos()
7398         API: gst_base_transform_set_qos_enabled()
7399         API: gst_base_transform_is_qos_enabled()
7400
7401 2006-03-13  Wim Taymans  <wim@fluendo.com>
7402
7403         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7404         (gst_base_sink_do_sync):
7405         Small cleanups.
7406         Use QOS debug category.
7407
7408 2006-03-13  Wim Taymans  <wim@fluendo.com>
7409
7410         * plugins/elements/gstqueue.c:
7411         Very small doc update.
7412
7413 2006-03-13  Wim Taymans  <wim@fluendo.com>
7414
7415         * gst/gst_private.h:
7416         * gst/gstinfo.c: (_gst_debug_init):
7417         Added QOS debug category
7418
7419 2006-03-13  Wim Taymans  <wim@fluendo.com>
7420
7421         * docs/gst/gstreamer-sections.txt:
7422         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
7423         * gst/gstbin.h:
7424         * gst/gstbus.c: (gst_bus_class_init):
7425         * gst/gstbus.h:
7426         * gst/gstclock.c:
7427         * gst/gstelement.c: (gst_element_set_locked_state):
7428         * gst/gstsegment.c:
7429         Documentation updates.
7430
7431         * gst/gstpipeline.c: (gst_pipeline_get_type),
7432         (gst_pipeline_class_init), (gst_pipeline_init),
7433         (gst_pipeline_dispose), (gst_pipeline_set_property),
7434         (gst_pipeline_get_property), (do_pipeline_seek),
7435         (gst_pipeline_send_event), (gst_pipeline_change_state),
7436         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
7437         (gst_pipeline_get_delay):
7438         * gst/gstpipeline.h:
7439         Added methods for setting the delay.
7440         API: gst_pipeline_set_delay()
7441         API: gst_pipeline_get_delay()
7442         Add pipeline debug category
7443         Various cleanups.
7444         Updated docs.
7445         Don't reset stream time when seek failed.
7446
7447 2006-03-13  Wim Taymans  <wim@fluendo.com>
7448
7449         * docs/design/draft-klass.txt:
7450         * docs/design/part-clocks.txt:
7451         * docs/design/part-events.txt:
7452         * docs/design/part-gstbin.txt:
7453         * docs/design/part-gstpipeline.txt:
7454         * docs/design/part-messages.txt:
7455         * docs/design/part-negotiation.txt:
7456         * docs/design/part-overview.txt:
7457         * docs/design/part-preroll.txt:
7458         * docs/design/part-seeking.txt:
7459         * docs/design/part-states.txt:
7460         * docs/design/part-streams.txt:
7461         Documentation updates.
7462
7463 2006-03-12  Julien MOUTTE  <julien@moutte.net>
7464
7465         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
7466         us to leak strings...
7467
7468 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7469
7470         * libs/gst/net/gstnettimeprovider.c:
7471           fix docs
7472         * win32/common/config.h:
7473           update
7474
7475 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7476
7477         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
7478
7479         * configure.ac:
7480           Don't check for libgnomeui (leftover from old examples
7481           that aren't built or disted any longer) (#334303).
7482           
7483 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
7484
7485         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
7486         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7487           Emit RESOURCE_NO_SPACE_LEFT error here as well when
7488           there's no space left on the device.
7489
7490 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
7491
7492         * gst/gstclock.h:
7493           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
7494           to cast the input to GstClockTime before comparing with
7495           another GstClockTime value.
7496
7497 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7498
7499         * configure.ac:
7500           back to trunk
7501
7502 === release 0.10.4 ===
7503
7504 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
7505
7506         * configure.ac:
7507           releasing 0.10.4, "Light"
7508
7509 2006-03-10  Michael Smith  <msmith@fluendo.com>
7510
7511         * libs/gst/dataprotocol/dataprotocol.c:
7512           Fix docs for dataprocotol to not get the return types completely
7513           wrong for a few functions.
7514
7515 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7516
7517         * docs/gst/gstreamer-sections.txt:
7518         * gst/gstpipeline.c: (gst_pipeline_class_init),
7519         (gst_pipeline_init), (gst_pipeline_set_property),
7520         (gst_pipeline_get_property), (gst_pipeline_change_state),
7521         (gst_pipeline_set_auto_flush_bus),
7522         (gst_pipeline_get_auto_flush_bus):
7523         * gst/gstpipeline.h:
7524           Add new API: gst_pipeline_set_auto_flush_bus() and
7525           gst_pipeline_get_auto_flush_bus() to disable automatic
7526           flushing of the pipeline's GstBus when going from READY
7527           to NULL state (#332045).
7528
7529 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7530
7531         * docs/gst/gstreamer-sections.txt:
7532         * gst/gsturi.c: (gst_uri_has_protocol):
7533         * gst/gsturi.h:
7534            Add new API: gst_uri_has_protocol() (#333779).
7535
7536 2006-03-09  Wim Taymans  <wim@fluendo.com>
7537
7538         * gst/gstclock.c: (gst_clock_entry_new),
7539         (gst_clock_id_compare_func), (gst_clock_id_wait),
7540         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
7541         (gst_clock_init), (gst_clock_get_internal_time),
7542         (gst_clock_set_master), (do_linear_regression),
7543         (gst_clock_add_observation), (gst_clock_set_property):
7544         * gst/gstclock.h:
7545         Review docs.
7546         Small cleanups.
7547         Fix a possible segfault when the window-size is made smaller.
7548         Calculate jitter before performing the clock wait. Ideally
7549         the clock implementation should calculate jitter but we need
7550         API breakage for that.
7551
7552         * gst/gstsystemclock.c: (gst_system_clock_init):
7553         Docs review.
7554         
7555         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7556         Remove leftover else
7557
7558         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7559         (gst_systemclock_suite):
7560         Added check to test GST_CLOCK_DIFF.
7561
7562 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7563
7564         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
7565         (gst_type_find_helper_get_range):
7566           If we are provided with the size, we should implement
7567           GstTypeFind::get_length, so that typefind functions who
7568           want to can actually peek at the middle of a file.
7569
7570 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
7571
7572         * docs/manual/advanced-dataaccess.xml:
7573           Add some very very basic error checking.
7574
7575         * docs/pwg/appendix-checklist.xml:
7576           Some updates to the list of things to check when writing an element.
7577
7578 2006-03-08  Wim Taymans  <wim@fluendo.com>
7579
7580         * docs/design/part-element-transform.txt:
7581         Added some docs about the design of tranform elements.
7582
7583         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7584         (gst_base_src_loop), (gst_base_src_change_state):
7585         Mark buffers with the DISCONT flag.
7586
7587 2006-03-08  Michael Smith  <msmith@fluendo.com>
7588
7589         * gst/gstregistry.h:
7590         * gst/gstregistryxml.c: (gst_registry_save),
7591         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
7592         (gst_registry_xml_save_pad_template),
7593         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
7594         (gst_registry_xml_write_cache):
7595           Rewrite registry-saving to avoid race conditions and check for
7596           failed writes.
7597
7598 2006-03-08  Wim Taymans  <wim@fluendo.com>
7599
7600         * libs/gst/base/gstbasetransform.c:
7601         (gst_base_transform_transform_caps),
7602         (gst_base_transform_transform_size),
7603         (gst_base_transform_prepare_output_buffer),
7604         (gst_base_transform_get_unit_size),
7605         (gst_base_transform_buffer_alloc),
7606         (gst_base_transform_handle_buffer),
7607         (gst_base_transform_change_state):
7608         Cleanups, separate normal flow from errors, add sensible
7609         DEBUG lines.
7610         Don't try to renegotiate when allocating an output buffer.
7611         Also copy DISCONT buffer flag when copying a buffer.
7612         Reset the transform after we finish streaming, not during.
7613
7614 2006-03-08  Wim Taymans  <wim@fluendo.com>
7615
7616         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7617         Use last buffer timestamp in qos message.
7618
7619 2006-03-07  Wim Taymans  <wim@fluendo.com>
7620
7621         Patch by: Christophe Fergeau
7622
7623         * docs/pwg/advanced-tagging.xml:
7624         * docs/pwg/building-pads.xml:
7625           fixes #333416
7626
7627 2006-03-07  Wim Taymans  <wim@fluendo.com>
7628
7629         * docs/libs/gstreamer-libs-sections.txt:
7630         Added basesink new methods.
7631
7632         * gst/gstevent.c:
7633         * gst/gstevent.h:
7634         Docs updates. Flesh out the QoS docs.
7635
7636         * libs/gst/base/gstadapter.c:
7637         Small doc clarification about ownership and flushing.
7638
7639         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
7640         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7641         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
7642         (gst_base_sink_get_property), (gst_base_sink_do_sync):
7643         * libs/gst/base/gstbasesink.h:
7644         API additions: 
7645         Added new methods to allow subclass to control max-lateness 
7646         and sync.
7647         Generate very basic QoS events based on last sync observation.
7648         Updated docs, fix typo, added some QoS blurb.
7649
7650         * libs/gst/base/gstbasesrc.c:
7651         Remove obsolete _get_state() calls from docs.
7652
7653 2006-03-07  Wim Taymans  <wim@fluendo.com>
7654
7655         * docs/libs/gstreamer-libs-sections.txt:
7656         * libs/gst/base/gstbasetransform.h:
7657         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
7658         Fix docs for GstBaseSrc.
7659
7660 2006-03-07  Wim Taymans  <wim@fluendo.com>
7661
7662         * docs/gst/gstreamer-sections.txt:
7663         * gst/gstbuffer.h:
7664         * gst/gstvalue.c:
7665         * libs/gst/base/gstbasetransform.h:
7666         Small documentation fixes.
7667
7668 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7669
7670         * gst/gstvalue.c:
7671           Document thread-unsafety of gst_value_register_foo_func()
7672           when used at the same time as gst_value_foo() (#322628).
7673
7674 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7675
7676         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
7677         (gst_push_src_check_get_range):
7678           Push sources don't support pull mode by default.
7679
7680 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
7681
7682         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7683         (gst_base_src_init), (gst_base_src_pad_check_get_range),
7684         (gst_base_src_default_check_get_range):
7685         * libs/gst/base/gstbasesrc.h:
7686           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
7687           provide default implementation, and rename
7688           gst_base_src_check_get_range() to
7689           gst_base_src_pad_check_get_range() for clarity.
7690
7691 2006-03-06  Wim Taymans  <wim@fluendo.com>
7692
7693         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7694         Make property overridable.
7695
7696 2006-03-06  Wim Taymans  <wim@fluendo.com>
7697
7698         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7699         (gst_base_sink_init), (gst_base_sink_set_property),
7700         (gst_base_sink_get_property), (gst_base_sink_do_sync):
7701         * libs/gst/base/gstbasesink.h:
7702         API addition: Make max-lateness a property.
7703
7704 2006-03-06  Wim Taymans  <wim@fluendo.com>
7705
7706         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
7707         (gst_base_sink_do_sync), (gst_base_sink_render_object):
7708         Don't ever draw a frame that is >10ms late.
7709
7710 2006-03-06  Michael Smith  <msmith@fluendo.com>
7711
7712         * gst/gstmessage.c: (_gst_message_copy):
7713           When copying a message, set the parent_refcount of the enclosed
7714           structure to point at the copy, not the original message.
7715
7716 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
7717
7718         Patch by: Christophe Fergeau
7719
7720         * gst/gstutils.h:
7721           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
7722           usable in c++ code (#333417)
7723
7724 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7725
7726         * gst/gstclock.h:
7727           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
7728
7729 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
7730
7731         * libs/gst/base/gstbasetransform.c:
7732         (gst_base_transform_transform_caps):
7733           Make sure caps are writable before passing them to
7734           gst_caps_append().
7735
7736 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
7737
7738         * gst/gsterror.h:
7739           Fix some minor docs errors.
7740
7741 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
7742
7743           Patch by: Ross Burton <ross at burtonini dot com>
7744
7745         * gst/gsterror.c: (_gst_resource_errors_init):
7746         * gst/gsterror.h:
7747           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
7748
7749 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
7750
7751         * gst/gst.c:
7752         Add a check and output a g_warning when GStreamer is built
7753         against GLib 2.6 but running against 2.8 or higher, and vice 
7754         versa. (Closes: #323542)
7755
7756 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
7757
7758         * gst/parse/parse.l:
7759           Commit patch for parse_launch syntax from #331255. Removes 
7760           support for quoted strings and mimetypes when writing filtered 
7761           caps. See the bug report for more details - I'm pretty sure this
7762           obscure feature is not in use by _anyone_ anywhere.
7763
7764           With this simple change, the size of the gstreamer.so here 
7765           drops from 2193KB to 1565KB.
7766
7767 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
7768
7769         * plugins/elements/gsttypefindelement.h:
7770         * plugins/elements/gsttypefindelement.c:
7771         (gst_type_find_element_src_event), (start_typefinding),
7772         (stop_typefinding), (gst_type_find_element_handle_event),
7773         (gst_type_find_element_chain),
7774         (gst_type_find_element_chain_do_typefinding):
7775           Use gst_type_find_helper_for_buffer() for chain-based
7776           typefinding.
7777
7778 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
7779
7780         * plugins/elements/gsttypefindelement.c:
7781         (gst_type_find_element_class_init),
7782         (gst_type_find_element_set_property),
7783         (gst_type_find_element_get_property):
7784           Deprecate "maximum" property (not only was it only taken into
7785           account for typefinding in push-mode anyway, it also was never
7786           actually possible to set it in the first place because the
7787           property was registered with the numeric property ID for the
7788           "minimum" property). Register "maximum" property correctly,
7789           for the sake of future copy'n'pasters. Remove some cruft
7790           from property get/set functions.
7791
7792 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
7793
7794         * plugins/elements/gsttypefindelement.c:
7795         (gst_type_find_element_activate):
7796           Use gst_type_find_helper_get_range() here, so we
7797           can honour the "minimum" property and also emit
7798           the signal with the correct probability of the found caps.
7799
7800 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
7801
7802         * docs/libs/gstreamer-libs-sections.txt:
7803         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7804         (helper_find_suggest), (gst_type_find_helper_get_range),
7805         (gst_type_find_helper):
7806         * libs/gst/base/gsttypefindhelper.h:
7807           New API: gst_type_find_helper_get_range() (#333042).
7808
7809 2006-03-02  Michael Smith  <msmith@fluendo.com>
7810
7811         * gst/gstregistryxml.c: (load_feature):
7812           Asserting on a failure to read part of the registry is Not Cool.
7813           Just log a warning and return NULL (which is already handled)
7814
7815 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
7816
7817         * win32/common/libgstbase.def:
7818           added export of gst_type_find_helper_for_buffer
7819         * win32/common/libgstbase.def:
7820           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
7821           gst_ghost_pad_get_target
7822
7823 2006-02-28  Wim Taymans  <wim@fluendo.com>
7824
7825         * docs/design/draft-klass.txt:
7826         We use Filter now.
7827         Added Connector to mark elements that are only used to
7828         allow pipeline connections.
7829         Moved Debug to extra feature since most of them are 
7830         functionally something else.
7831
7832 2006-02-28  Wim Taymans  <wim@fluendo.com>
7833
7834         * docs/design/draft-klass.txt:
7835         Some updates and clarifications.
7836
7837 2006-02-28  Wim Taymans  <wim@fluendo.com>
7838
7839         * docs/design/draft-klass.txt:
7840         Proposal for klass field values.
7841
7842         * docs/design/part-streams.txt:
7843         Start of a doc describing stream anatomy.
7844
7845 2006-02-28  Wim Taymans  <wim@fluendo.com>
7846
7847         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
7848         Help the compiler a bit with type registration.
7849         Use existing forward cod path instead of duplicating it when 
7850         handling a message.
7851         
7852         * gst/gstbus.c: (gst_bus_get_type):
7853         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
7854         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
7855         * gst/gstclock.c: (gst_clock_get_type):
7856         * gst/gstelement.c: (gst_element_get_type),
7857         * gst/gstelementfactory.c: (gst_element_factory_get_type):
7858         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7859         * gst/gstminiobject.c: (gst_mini_object_get_type):
7860         * gst/gstpad.c: (gst_pad_get_type):
7861         * gst/gstsegment.c: (gst_segment_get_type):
7862         * gst/gststructure.c: (gst_structure_get_type):
7863         * gst/gstsystemclock.c: (gst_system_clock_get_type):
7864         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
7865         * gst/gstvalue.c:
7866         Help compiler with type registration.
7867
7868         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
7869         Small doc update.
7870
7871 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7872
7873         * plugins/elements/gsttypefindelement.c:
7874         (gst_type_find_element_handle_event):
7875           When we get an EOS event and have not found a type yet
7876           (most likely because we had not yet accumulated
7877           TYPE_FIND_MIN_SIZE of data yet), try to determine the
7878           type given the data we have so far. Fixes typefinding
7879           for very short streams again, most notably quicktime
7880           redirections as used on Apple's trailer site (#331701).
7881
7882 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7883
7884         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
7885         (gst_type_find_helper):
7886           Try typefinding factories with the highest rank first.
7887
7888 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7889
7890         * docs/libs/gstreamer-libs-docs.sgml:
7891         * docs/libs/gstreamer-libs-sections.txt:
7892         * libs/gst/base/gsttypefindhelper.c:
7893           Add section for typefind helper and add documentation
7894           for the old and the new function.
7895
7896 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7897
7898         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
7899         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
7900         (gst_type_find_helper_for_buffer):
7901         * libs/gst/base/gsttypefindhelper.h:
7902           New API: gst_type_find_helper_for_buffer() (#332723).
7903           
7904 2006-02-27  Michael Smith  <msmith@fluendo.com>
7905
7906         Patch by: Loïc Minier
7907
7908         * configure.ac:
7909         * docs/Makefile.am:
7910         * docs/slides/Makefile.am:
7911           prevent CVS directories getting disted.
7912
7913 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7914
7915         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
7916           Use the REFCOUNTING category for caps refcounting.
7917           
7918 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
7919
7920         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
7921           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
7922
7923 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
7924
7925         * plugins/elements/gsttypefindelement.c:
7926         (gst_type_find_element_activate):
7927           Use gst_pad_check_pull_range() before _activate_pull()
7928           to avoid unnecessary open/close (see #331690).
7929
7930 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
7931
7932         * gst/gstutils.c:
7933           Docs enhancement: make it crystal clear what the
7934           gst_pad_add_*_probe() callbacks should look like.
7935
7936 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
7937
7938         * libs/gst/base/gstbasesrc.c:
7939           Document how applications can stop recording from
7940           live sources (see #330996).
7941
7942 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7943
7944         * tests/check/Makefile.am:
7945         * tests/check/libs/basesrc.c: (eos_event_counter),
7946         (basesrc_eos_events_pull), (basesrc_eos_events_push),
7947         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
7948         (gst_basesrc_suite), (main):
7949           ... and add some tests for the base source EOS stuff.
7950
7951 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7952
7953         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
7954           Test case originally showed the problem fixed below,
7955           but was then amended. Add checks back at the place
7956           where they used to be.
7957
7958 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7959
7960         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7961         (gst_base_src_init), (gst_base_src_loop),
7962         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7963         (gst_base_src_change_state):
7964         * libs/gst/base/gstbasesrc.h:
7965           Don't unconditionally send EOS when going from PAUSED to
7966           READY state, esp. make sure we don't send two EOS events
7967           in some cases (e.g. one when reaching EOS and one when
7968           going from PAUSED to READY). Also, we don't want to send
7969           EOS events when operating in pull mode. However, we do
7970           want to send an EOS event when shutting down a live
7971           source explicitly, for example (fixes #330996).
7972           
7973 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7974
7975         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7976           Update src->read_position after a seek when not using mmap.
7977           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
7978
7979 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
7980
7981         * gst/Makefile.am:
7982         * gst/gstparse.h:
7983         * gst/gstutils.c:
7984         * gst/gstutils.h:
7985         Make things work with --disable-parse as they do with 
7986         --disable-load-save - the symbols involved disappear, but the
7987         header is still installed and GST_DISABLE_PARSE is included via
7988         gstconfig.h
7989
7990 2006-02-20  Julien MOUTTE  <julien@moutte.net>
7991
7992         * libs/gst/base/gstbasetransform.c:
7993         (gst_base_transform_change_state): Fix a stupid bug. I was 
7994         sure I compiled that.
7995
7996 2006-02-20  Julien MOUTTE  <julien@moutte.net>
7997
7998         * gst/gstpad.c: (gst_pad_set_blocked_async):
7999         * gst/gstutils.c: (gst_pad_add_data_probe),
8000         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8001         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8002         (gst_pad_remove_buffer_probe): Make those function act on the
8003         ghostpad target when it's a ghostpad. (Closes #331727)
8004
8005 2006-02-20  Julien MOUTTE  <julien@moutte.net>
8006
8007         * libs/gst/base/gstbasetransform.c:
8008         (gst_base_transform_change_state): Make basetransform reusable.
8009         (Closes #331898)
8010
8011 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
8012
8013         * docs/random/release:
8014         Move the current documentation of how to do a release to the top
8015         of the file.
8016
8017         * gst/gstbin.c: (gst_bin_class_init),
8018         (gst_bin_handle_message_func):
8019         Allow multiple state-recalculation threads. (Closes #328873)
8020
8021 2006-02-19  Julien MOUTTE  <julien@moutte.net>
8022
8023         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
8024         * gst/gstpad.c: (gst_pad_set_event_function),
8025         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8026         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
8027         2 strings. You can't use the STR_NULL macro on that.
8028
8029 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
8030
8031         * gst/gstpad.c: (gst_pad_set_event_function),
8032         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8033         (gst_pad_set_getcaps_function)
8034         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
8035           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
8036           So now, we can use --gst-debug-level=5 on Windows
8037         * win32/common/libgstcontroller.def:
8038           Added export of gst_controller_init
8039         * win32/vs6/libgstcontroller.dsp:
8040           Fixed Release post build configuration
8041
8042 2006-02-17  Wim Taymans  <wim@fluendo.com>
8043
8044         * tests/check/gst/gstquery.c: (GST_START_TEST):
8045         Added another check.
8046
8047 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
8048
8049         * plugins/elements/gsttypefindelement.c: (find_peek):
8050           We can do peeks at non-zero offsets, as long as they
8051           fall within the buffer we have.
8052
8053 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
8054
8055         * tests/check/Makefile.am:
8056         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
8057         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
8058         (parse_suite), (main):
8059           Add testsuite for parse launch syntax
8060
8061 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
8062
8063         * plugins/elements/gsttypefindelement.c:
8064         (gst_type_find_element_chain):
8065           When typefinding is unsuccessful in the chain function, don't
8066           error out immediately. Only error out with NO_CAPS_FOUND if
8067           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
8068           otherwise simply wait for more data so we can try typefinding
8069           again with more data later. Also, don't attempt to typefind
8070           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
8071           this should improve typefinding from network sources where the
8072           size of the first buffer can be somewhat random.
8073
8074 2006-02-14  Wim Taymans  <wim@fluendo.com>
8075
8076         * docs/gst/gstreamer-sections.txt:
8077         * gst/gstpadtemplate.c:
8078         * gst/gstpadtemplate.h:
8079         Fix padtemplate docs, fixes #328805.
8080
8081 2006-02-14  Wim Taymans  <wim@fluendo.com>
8082
8083         * tools/gst-launch.c: (main):
8084         NO_PREROLL is not an ERROR so don't send confusing messages
8085         to the user.
8086
8087 2006-02-14  Wim Taymans  <wim@fluendo.com>
8088
8089         Patch by: Torsten Schoenfeld
8090
8091         * gst/gstregistry.c: (gst_registry_get_default),
8092         (_gst_registry_cleanup):
8093         Protect default registry with lock and ref/sink it.
8094         Fixes #324818
8095
8096 2006-02-14  Wim Taymans  <wim@fluendo.com>
8097
8098         * gst/gstbuffer.c:
8099         * gst/gstquery.c: (gst_query_list_add_format),
8100         (gst_query_set_formatsv), (gst_query_parse_formats_length),
8101         (gst_query_parse_formats_nth):
8102         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8103         Docs fixes.
8104
8105 2006-02-14  Wim Taymans  <wim@fluendo.com>
8106
8107         * docs/gst/gstreamer-sections.txt:
8108         Reworked query docs.
8109
8110         * gst/gstquery.c: (gst_query_new_formats),
8111         (gst_query_list_add_format), (gst_query_set_formats),
8112         (gst_query_set_formatsv), (gst_query_parse_formats_length),
8113         (gst_query_parse_formats_nth):
8114         * gst/gstquery.h:
8115         Flesh out formats query, added some new methods.
8116         Fix part of #324398.
8117
8118         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
8119         Added query creation tests.
8120
8121 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
8122
8123         * gst/gstpad.c: (fixate_value):
8124         Add a default fixation for fraction lists.
8125
8126 2006-02-13  Wim Taymans  <wim@fluendo.com>
8127
8128         * gst/gsttask.c: (gst_task_init), (gst_task_func),
8129         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
8130         (gst_task_join):
8131         * gst/gsttask.h:
8132         Detect and warn for obvious deadlocks. fixes #320340
8133         Fix error case where lock was not released.
8134
8135         * tests/check/Makefile.am:
8136         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
8137         (task_func), (gst_element_suite), (main):
8138         Add task check.
8139
8140 2006-02-13  Wim Taymans  <wim@fluendo.com>
8141
8142         * docs/gst/gstreamer-sections.txt:
8143         * gst/gstbus.c:
8144         Add new functions to docs.
8145
8146 2006-02-13  Wim Taymans  <wim@fluendo.com>
8147
8148         * docs/design/part-TODO.txt:
8149         Updated TODO list, basesrc supports seeking to non-bytes
8150         formats.
8151
8152         * docs/design/part-element-sink.txt:
8153         Update docs.
8154
8155         * gst/gstbin.c: (bin_replace_message),
8156         (gst_bin_handle_message_func):
8157         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
8158         * gst/gstevent.c: (gst_event_finalize):
8159         * gst/gstpad.c: (gst_pad_event_default_dispatch),
8160         (gst_pad_send_event):
8161         Use shiny new _TYPE_NAME macros.
8162
8163         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8164         Move debug statement up.
8165
8166         * gst/gstelement.c: (gst_element_set_locked_state):
8167         Add some debugging.
8168
8169 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
8170
8171         * docs/gst/gstreamer-sections.txt:
8172         * gst/gstmessage.h:
8173         * gst/gstquery.h:
8174           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
8175           macros (#330906). Also, document the already existing
8176           GST_QUERY_TYPE macro.
8177
8178 2006-02-13  Wim Taymans  <wim@fluendo.com>
8179
8180         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
8181         (event_probe), (GST_START_TEST):
8182         Only events up to the pipeline EOS are counted, there are
8183         some more when going to NULL currently which we don't care
8184         about for now.
8185
8186 2006-02-13  Wim Taymans  <wim@fluendo.com>
8187
8188         * gst/gstpad.c: (gst_pad_send_event):
8189         Correctly check flushing and emit probes. fixes #330125
8190
8191 2006-02-10  Andy Wingo  <wingo@pobox.com>
8192
8193         * gst/gstbus.c (gst_bus_class_init): Declare our private data
8194         structure.
8195         (gst_bus_init): Cache the location of the private data in the
8196         instance structure.
8197         (gst_bus_enable_sync_message_emission) 
8198         (gst_bus_disable_sync_message_emission): Implement new public
8199         functions.
8200         (gst_bus_post): Emit the sync-message signal if the user asked for
8201         it. Fixes #330684.
8202
8203         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
8204         location of the bus-private structure.
8205         (gst_bus_enable_sync_message_emission)
8206         (gst_bus_disable_sync_message_emission): API addition
8207
8208 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
8209
8210         Patch by: Vincent Torri
8211
8212         * docs/pwg/building-boiler.xml:
8213         PWG patch from #326800
8214
8215 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8216
8217         * configure.ac:
8218         * docs/Makefile.am:
8219         * docs/design/Makefile.am:
8220           Dist design docs.
8221
8222 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
8223
8224         * configure.ac:
8225           back to CVS
8226
8227 === release 0.10.3 ===
8228
8229 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
8230
8231         * configure.ac:
8232           releasing 0.10.3, "Like a virgin"
8233
8234 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
8235
8236         * configure.ac:
8237           2nd prerelease of 0.10.3
8238           Bump libtool versioning.
8239
8240 2006-02-07  Andy Wingo  <wingo@pobox.com>
8241
8242         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
8243         update last_stop if we're in TIME format and the timestamp is
8244         valid.
8245
8246         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
8247         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
8248         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
8249         If we get a new newsegment with a different format, adapt
8250         accordingly.
8251
8252         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
8253         of 0. Not a problem, really.
8254
8255         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
8256         warn if sync=true.
8257
8258 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
8259
8260         * configure.ac:
8261           Prelease of 0.10.3
8262
8263 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
8264
8265         * win32/vs7:
8266           project files updated to the default vs7 configuration
8267         * win32/common/libgstbase.def:
8268         * win32/common/libgstreamer.def:
8269           added new symbols,
8270           removed empty lines,
8271           sorted all exported symbols alphabetically
8272         * win32/common/dirent.c:
8273         * win32/common/dirent.h:
8274         * win32/common/gchar.h:
8275           use windows line end.
8276           
8277 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
8278
8279         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8280           Send EOS event when stopping.
8281
8282 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
8283
8284         * docs/README:
8285           Tell folks what to do if the plugin-foobar.xml file
8286           hasn't been generated for a newly-added plugin.
8287
8288 2006-02-05  Julien MOUTTE  <julien@moutte.net>
8289
8290         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8291         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8292         (gst_collect_pads_start), (gst_collect_pads_stop),
8293         (gst_collect_pads_event): Collectpads now holds a reference
8294         to the GstPad that was added. Indeed we don't want to look
8295         at pads that might just go away with no warning...
8296
8297 2006-02-05  Julien MOUTTE  <julien@moutte.net>
8298
8299         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8300         (gst_collect_pads_start), (gst_collect_pads_stop),
8301         (gst_collect_pads_event), (gst_collect_pads_chain):
8302         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
8303         Mark Nauwelaerts's patch on bug #328491.
8304
8305 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8306
8307         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
8308         (gst_utils_suite):
8309           Add some simple tests for gst_parse_bin_from_description() and
8310           gst_bin_find_unconnected_pad() (#329069).
8311
8312 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8313
8314         * tools/gst-launch.c: (event_loop), (main):
8315           Catch errors during preroll (#320084).
8316
8317 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
8318
8319         * plugins/elements/gsttypefindelement.c:
8320         (gst_type_find_element_activate):
8321           Post TYPE_NOT_FOUND error message when typefinding
8322           is unsuccessful in the activate function as well.
8323
8324 2006-02-02  Wim Taymans  <wim@fluendo.com>
8325
8326         * docs/design/part-element-sink.txt:
8327         Updated doc.
8328
8329 2006-02-02  Wim Taymans  <wim@fluendo.com>
8330
8331         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8332         (gst_base_sink_render_object),
8333         (gst_base_sink_queue_object_unlocked):
8334         Only keep track of prerollable items when we are 
8335         prerolling.
8336         Before rendering after preroll, always check if we
8337         have queued items.
8338         Added some more debugging.
8339
8340 2006-02-02  Wim Taymans  <wim@fluendo.com>
8341
8342         * gst/gstelement.c: (gst_element_continue_state),
8343         (gst_element_set_state_func), (gst_element_change_state):
8344         Fixed #326576, been running this for quite some time with
8345         no regressions at all.
8346
8347 2006-02-02  Wim Taymans  <wim@fluendo.com>
8348
8349         * common/gst.supp:
8350         Added more suppressions
8351
8352 2006-02-02  Wim Taymans  <wim@fluendo.com>
8353
8354         * docs/design/part-element-sink.txt:
8355         Updated document.
8356
8357         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8358         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
8359         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
8360         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8361         (gst_base_sink_do_sync), (gst_base_sink_render_object),
8362         (gst_base_sink_preroll_object),
8363         (gst_base_sink_queue_object_unlocked),
8364         (gst_base_sink_queue_object), (gst_base_sink_event),
8365         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
8366         (gst_base_sink_loop), (gst_base_sink_activate_pull),
8367         (gst_base_sink_get_position), (gst_base_sink_change_state):
8368         * libs/gst/base/gstbasesink.h:
8369         Totally refactored matching the design doc.
8370         Use two segments, one to clip incomming buffers and another to
8371         perform sync.
8372         Handle queueing correctly, bypass the queue when playing.
8373         Make EOS cancelable.
8374         Handle errors correctly when operating in pull based mode.
8375
8376         * tests/check/elements/fakesink.c: (GST_START_TEST),
8377         (fakesink_suite):
8378         Added new check for sinks.
8379
8380 2006-02-02  Wim Taymans  <wim@fluendo.com>
8381
8382         * gst/gstsegment.c: (gst_segment_clip):
8383         No reason to refuse to clip when start == -1
8384
8385 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
8386
8387         * docs/README:
8388         * docs/manual/intro-basics.xml:
8389         * docs/manual/intro-preface.xml:
8390         * docs/manual/manual.xml:
8391         * docs/pwg/advanced-dparams.xml:
8392         * docs/pwg/intro-basics.xml:
8393         * docs/pwg/intro-preface.xml:
8394         * docs/pwg/pwg.xml:
8395           describe dparams (controller) for plugins
8396           unify docs a little more
8397
8398 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
8399
8400         * docs/gst/gstreamer-sections.txt:
8401         * gst/gstutils.c: (element_find_unconnected_pad),
8402         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
8403         * gst/gstutils.h:
8404           Add new API: gst_parse_bin_from_description() and
8405           gst_bin_find_unconnected_pad() (#329069).
8406
8407 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
8408
8409         * docs/manual/README:
8410           uncover a nasty detail of the docs build
8411
8412 2006-01-31  Wim Taymans  <wim@fluendo.com>
8413
8414         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
8415         Don't cache duration messages if we're not going to use or
8416         free them.
8417
8418 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
8419
8420         * docs/manual/advanced-dparams.xml:
8421         * docs/pwg/advanced-dparams.xml:
8422           more dparam docs
8423         * gst/gstindex.c:
8424           fix docs
8425         * libs/gst/controller/lib.c: (gst_controller_init):
8426           init just once
8427
8428 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
8429
8430         * gst/gstelement.c: (gst_element_message_full):
8431           also show file/line/func if no additional debug was given
8432
8433 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
8434         
8435         * win32/vs7/grammar.vcproj:
8436           activate copy of autogenerated files for Release mode
8437
8438 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
8439         
8440         * win32/common/libgstreamer.def:
8441           export gst_value_compare
8442
8443 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
8444
8445         * plugins/elements/Makefile.am:
8446         * plugins/elements/gstelements.c:
8447         * plugins/elements/gstfdsink.c: (_do_init),
8448         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
8449         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
8450         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
8451         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
8452         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
8453         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
8454         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
8455         * plugins/elements/gstfdsink.h:
8456         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
8457
8458 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
8459
8460         * docs/manual/advanced-dparams.xml:
8461           describe controller
8462         * docs/manual/advanced-position.xml:
8463         * docs/manual/basics-init.xml:
8464         * docs/manual/manual.xml:
8465         * docs/manual/titlepage.xml:
8466         * docs/pwg/pwg.xml:
8467         * docs/pwg/titlepage.xml:
8468           cleanup xml (more to come)
8469         * libs/gst/controller/gstcontroller.c:
8470           fix typo
8471
8472 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
8473         
8474         * win32/vs6/grammar.dsp:
8475           add autogen of gstmarshal.c,h for Release mode
8476                 
8477 2006-01-30  Wim Taymans  <wim@fluendo.com>
8478
8479         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8480         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
8481         (gst_base_sink_handle_object), (gst_base_sink_event),
8482         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
8483         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8484         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
8485         (gst_base_sink_deactivate), (gst_base_sink_activate),
8486         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8487         (gst_base_sink_query), (gst_base_sink_change_state):
8488         Basesink cleanups, remove some old code.
8489         Handle the case where a subclass can preroll in the render
8490         method (mostly audiosinks).
8491         Handle more events.
8492         Remove some locks around variables that are now protected
8493         with the PREROLL_LOCK (clock_id, flushing, ..).
8494         Optimize position query some more, do correct locking.
8495         Remove old code to push queue in state change, this is not
8496         needed anymore since preroll blocks on all prerollable items 
8497         now.
8498         Almost implemented as described in design doc.
8499
8500 2006-01-30  Wim Taymans  <wim@fluendo.com>
8501
8502         * tests/check/gst/gstbin.c: (GST_START_TEST):
8503         Wait for refcount to settle down before checking.
8504
8505 2006-01-30  Wim Taymans  <wim@fluendo.com>
8506
8507         * docs/design/part-element-sink.txt:
8508         Pseudo code overview of desired sink behaviour regarding
8509         preroll.
8510
8511 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8512         * win32/vs6/grammar.dsp:
8513           fix some bugs in Release mode for autogenerated files
8514                 
8515 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8516         * win32/common/libgstbase.def:
8517         * win32/common/libgstreamer.def:
8518           export some new symbols: gst_base_src_set_format,
8519           gst_iterator_next, gst_structure_set_valist
8520
8521 2006-01-29  Julien MOUTTE  <julien@moutte.net>
8522
8523         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8524         Set pad functions unconditionally. Fixes #329105.
8525
8526 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8527         * win32/vs8:
8528           add vs8 project files created by Sergey Scobich
8529
8530 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
8531
8532         * gst/gstutils.c: (gst_element_unlink_pads):
8533         Don't leak pad references.
8534
8535         * tests/check/elements/fakesink.c: (GST_START_TEST):
8536         * tests/check/generic/sinks.c: (GST_START_TEST):
8537         * tests/check/generic/states.c: (GST_START_TEST):
8538         * tests/check/gst/gstbin.c: (GST_START_TEST):
8539         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8540         * tests/check/gst/gstelement.c: (GST_START_TEST):
8541         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8542         * tests/check/gst/gstiterator.c: (GST_START_TEST):
8543         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8544         Fix a bunch of leaks. Make generic/sinks.c
8545         use a bit less cpu by slowing the buffer rate
8546         between fakesrc and fakesink.
8547         
8548 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
8549         * gst/gstcaps.c:
8550         * gst/gstelement.c: (gst_element_send_event):
8551         * gst/gstevent.c:
8552         * gst/gstinfo.c:
8553         * gst/gstiterator.c:
8554         * gst/gstiterator.h:
8555         * gst/gstpad.c: (gst_pad_send_event):
8556         * gst/gststructure.c:
8557         * gst/gsturi.c:
8558         * gst/gstutils.c:
8559         * gst/gstvalue.c:
8560         * libs/gst/base/gstadapter.c:
8561           doc fixes, to link to function, just write gst_cool_function(), don't
8562           prefix with '#'
8563
8564 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8565
8566         * plugins/elements/gsttee.c: (gst_tee_do_push),
8567         (gst_tee_handle_buffer):
8568         Always prefer an actual return value from a src
8569         pad in place of NOT_LINKED. This means we return
8570         WRONG_STATE when all src pads are WRONG_STATE
8571         instead of NOT_LINKED.
8572
8573         Lock when replacing the last message to prevent
8574         racing with the get_property method.
8575
8576         Add debug output
8577
8578 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8579
8580         * tests/check/Makefile.am:
8581         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
8582         (main):
8583         Add a very simple check that should have caught the memleak I fixed
8584         last night (if not for the slice allocator hiding it)
8585
8586 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8587
8588         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8589         (gst_bin_remove_func), (gst_bin_handle_message_func),
8590         (bin_query_duration_fold), (bin_query_generic_fold):
8591         Clean up references to the clock provider when disposed or when
8592         handling a clock-lost message from it.
8593
8594         Unref sinks when performing a query via gst_iterator_fold, as the
8595         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
8596
8597         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
8598         (gst_clock_set_master):
8599         Drop our reference to the master clock, if any, when we are disposed.
8600
8601         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
8602         Chain up in dispose. 
8603
8604 2006-01-26  Wim Taymans  <wim@fluendo.com>
8605
8606         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8607         Add some debugging.
8608
8609 2006-01-26  Julien MOUTTE  <julien@moutte.net>
8610
8611         * plugins/elements/gsttee.c: (gst_tee_do_push),
8612         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
8613         handles pad being NOT_LINKED or in WRONG_STATE.
8614
8615 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8616
8617         * win32/MANIFEST:
8618           more updating
8619
8620 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8621
8622         * win32/MANIFEST:
8623           remove obsolete entry
8624
8625 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8626
8627         * docs/gst/gstreamer-sections.txt:
8628         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
8629         (gst_bin_iterate_sources), (gst_bin_send_event):
8630         * gst/gstbin.h:
8631         * gst/gstelement.c: (gst_element_send_event):
8632         * gst/gstevent.c:
8633         * gst/gstpad.c: (gst_pad_send_event):
8634           added code for downstream events, reviewed docs in gstevent.c
8635
8636 2006-01-25  Julien MOUTTE  <julien@moutte.net>
8637
8638         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8639         We only query position using the clock in the playing state.
8640         Query peer in the other cases.
8641         * win32/common/config.h: Updates.
8642
8643 2006-01-24  Wim Taymans  <wim@fluendo.com>
8644
8645         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8646         A clock entry that is scheduled for the exact time of the
8647         clock is still in time.
8648
8649         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8650         (gst_base_sink_do_sync):
8651         Add some more debug info.
8652
8653 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
8654
8655         * win32/vs7:
8656           Add new vs7 project files and solution.
8657
8658 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
8659
8660         * win32/vs7:
8661           all files removed as they were out-dated.
8662
8663 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8664
8665         * docs/random/release:
8666           update notes
8667         * gst/gstbin.c: (gst_bin_init):
8668         * gst/gstbus.c: (gst_bus_new):
8669         * gst/gstbus.h:
8670         * gst/gstpipeline.c: (gst_pipeline_init):
8671           use gst_bus_new(), improve logging, fix docs
8672         * win32/common/config.h:
8673           update for cvs build
8674
8675 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8676
8677         * autogen.sh:
8678           up required version of automake to 1.7
8679
8680 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
8681
8682         * win32/common/libgstreamer.def:
8683           export gst_buffer_is_metadata_writable
8684
8685 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
8686
8687         * docs/gst/gstreamer-sections.txt:
8688         * gst/gstevent.h:
8689           Add gst_event_replace() (#327001)
8690
8691 2006-01-20  Wim Taymans  <wim@fluendo.com>
8692
8693         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8694         Make it actually compile too..
8695
8696 2006-01-20  Wim Taymans  <wim@fluendo.com>
8697
8698         * gst/gstcaps.c:
8699         Clarify behaviour of _is_equal() when passing NULL parameters.
8700
8701         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8702         (gst_pad_set_caps):
8703         Cleanups. Don't unref NULL caps.
8704         When setting the same caps, protect caps of the pad with
8705         proper lock.
8706         Use full functionality of _is_equal() when comparing caps.
8707
8708 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
8709
8710         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8711         Don't loop infinitely if there are no buffers to present. Partially
8712         fixes #327197, but collectpads is just broken for reusing elements
8713         to do multiple encodes atm.
8714
8715 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
8716
8717         * tools/gst-inspect.c: (print_element_features):
8718         * tools/gst-xmlinspect.c: (main):
8719         URL_HANDLER is not a plugin feature we can search for in
8720         the registry.
8721
8722 2006-01-19  Edward Hervey  <edward@fluendo.com>
8723
8724         * gst/gstelement.c: (gst_element_pads_activate): 
8725         When activating, do src pads first, then sink pads.
8726         When de-activating, do sink pads first, then src pads.
8727
8728 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8729
8730         * docs/gst/gstreamer-sections.txt:
8731         Add gst_index_add_associationv to the docs
8732
8733 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8734
8735         * gst/gstevent.c:
8736           Fix docs typo
8737
8738         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
8739         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
8740           Do some refactoring. Doesn't actually change functionality,
8741           but makes landing the DRAIN event easier later.
8742
8743 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
8744
8745         * docs/pwg/advanced-scheduling.xml:
8746           Update from 0.9.x to 0.10 API and make example a bit
8747           clearer.
8748
8749 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8750
8751         * docs/gst/gstreamer-sections.txt:
8752         Add gst_buffer_(is|make)_metadata_writable methods.
8753
8754 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8755
8756         * docs/design/part-sparsestreams.txt:
8757         Update sparse streams doc, hopefully for greater clarity
8758
8759 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
8760
8761         * docs/design/part-events.txt:
8762         Remove mention of FILLER events.
8763         Add DRAIN event.
8764
8765         * docs/design/part-sparsestreams.txt:
8766         Write some things about using NEWSEGMENT to keep sparse streams
8767         flowing.
8768
8769 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
8770
8771         * gst/gstbin.c: (gst_bin_dispose):
8772           Guard gst_object_unref call against a NULL object (dispose
8773           can theoretically be called multiple times).
8774           
8775 2006-01-18  Wim Taymans  <wim@fluendo.com>
8776
8777         * gst/gstbin.c: (gst_bin_element_set_state):
8778         * gst/gstclock.c: (gst_clock_id_wait):
8779         Added some more debug info.
8780
8781         * libs/gst/base/gstadapter.c:
8782         Added more docs.
8783
8784         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8785         (gst_base_sink_do_sync), (gst_base_sink_chain):
8786         Added some comments.
8787
8788 2006-01-18  Wim Taymans  <wim@fluendo.com>
8789
8790         * tests/check/Makefile.am:
8791         * tests/check/elements/fakesink.c: (chain_async_buffer),
8792         (chain_async), (chain_async_return), (GST_START_TEST),
8793         (fakesink_suite), (main):
8794         Added fakesink test that checks prerolling and clipping
8795         behaviour.
8796
8797         * tests/check/gst/gstutils.c: (GST_START_TEST):
8798         Make check run faster so that buildbots don't timeout.
8799
8800 2006-01-18  Wim Taymans  <wim@fluendo.com>
8801
8802         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8803         (gst_base_sink_do_sync):
8804         Some cleanups.
8805         When the sink finishes blocking on the preroll buffer, it can
8806         immediatly render it instead of rendering when the next buffer
8807         arrives.
8808
8809 2006-01-18  Wim Taymans  <wim@fluendo.com>
8810
8811         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
8812         (gst_base_sink_get_property), (gst_base_sink_do_sync),
8813         (gst_base_sink_chain):
8814         Small cleanups.
8815         GST_ELEMENT_CLOCK and sync are protected with LOCK.
8816         Don't store _last_stop if the buffer is dropped.
8817
8818 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
8819
8820         * plugins/elements/gsttypefindelement.c:
8821         (gst_type_find_element_class_init):
8822           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
8823           object method handler that sets the caps on the pad and we want
8824           that to happen before we emit the signal (fixes e.g. feeding a
8825           plain text file to decodebin).
8826
8827 2006-01-18  Christian Schaller  <Christian@fluendo.com>
8828
8829         * gst/gstplugin.c: Add MPL and Proprietary as license options
8830
8831 2006-01-18  Andy Wingo  <wingo@pobox.com>
8832
8833         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
8834         symbol was exported before, it appears this was just an oversight.
8835         Fixes #168703.
8836         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
8837
8838         * gst/gstindex.c (gst_index_add_associationv): Changed int in
8839         prototype to gint. OK since this prototype was not in the header.
8840
8841 2006-01-17  Andy Wingo  <wingo@pobox.com>
8842
8843         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
8844         registry while we remove plugins.
8845
8846         * tools/gst-inspect.c (print_element_info): Don't unref the
8847         factory arg, that should be the responsibility of whatever code
8848         received the ref. Fixes a double-free when called from
8849         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
8850         (main): Unref the factory if we have one.
8851         (print_element_list): No change -- relies on the
8852         plugin_feature_list_free to free the list of features.
8853
8854 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
8855
8856         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8857         (gst_buffer_make_metadata_writable):
8858         * gst/gstbuffer.h:
8859         * libs/gst/base/gstbasetransform.c:
8860         (gst_base_transform_prepare_output_buf):
8861         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8862         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8863           Replace gst_buffer_(make|is)_metadata_writable patch now
8864           that the release is out.
8865
8866 2006-01-17  Andy Wingo  <wingo@pobox.com>
8867
8868         * gst/gstregistry.c: Reflow design comment. Update so as to speak
8869         in the present tense without reference to versions.
8870
8871         * gst/gstregistry.c (gst_registry_add_plugin)
8872         (gst_registry_remove_plugin, gst_registry_remove_feature)
8873         (gst_registry_find_feature, gst_registry_get_feature_list)
8874         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
8875         (gst_registry_lookup, gst_registry_scan_path)
8876         (_gst_registry_remove_cache_plugins)
8877         (gst_registry_get_feature_list_by_plugin): Add argument
8878         validation.
8879
8880 === release 0.10.2 ===
8881
8882 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
8883
8884         * configure.ac:
8885           releasing 0.10.2, "If man is five"
8886
8887 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
8888
8889         * gst/gstbuffer.c:
8890         * gst/gstbuffer.h:
8891         * libs/gst/base/gstbasetransform.c:
8892         (gst_base_transform_prepare_output_buf):
8893         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8894         * tests/check/gst/gstbuffer.c: (gst_test_suite):
8895           Back out patch until after the release.
8896
8897 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
8898
8899         * gst/gstminiobject.c:
8900           Spelling fix in docs.
8901         * ChangeLog - remove conflict indicator
8902
8903 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
8904
8905         Reviewed By: Andy Wingo
8906
8907         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8908         (gst_buffer_make_metadata_writable):
8909         * gst/gstbuffer.h:
8910           Add gst_buffer_(is|make)_metadata_writable as analogues of
8911           gst_buffer_(is|make)_writable.
8912
8913         * libs/gst/base/gstbasetransform.c:
8914         (gst_base_transform_prepare_output_buf):
8915         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8916           Use name gst_buffer_(is|make)_metadata_writable functions.
8917
8918         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8919           Test gst_buffer_(is|make)_metadata_writable
8920         
8921           (Closes: #324162)
8922
8923 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8924
8925         * docs/manual/Makefile.am:
8926           don't do parallel make
8927         * configure.ac:
8928           AC_SUBST HOST_CPU
8929         * win32/common/config.h.in:
8930           add generations for HOST_CPU and GST_MAJORMINOR
8931         * win32/common/config.h:
8932           commit generated result
8933
8934 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
8935
8936         * docs/manual/appendix-integration.xml:
8937           Update GNOME integration section to use gst_init_get_option_group()
8938           instead of the old popt stuff (#322911). Also, GNOME applications
8939           should  now use gconf*sink and gconf*src instead of the old gconf
8940           helper lib we had.
8941
8942 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
8943
8944
8945         * docs/gst/gstreamer-docs.sgml:
8946         * docs/gst/gstreamer-sections.txt:
8947         * docs/libs/gstreamer-libs-sections.txt:
8948           add new API entries to the docs
8949         * libs/gst/controller/Makefile.am:
8950         * libs/gst/controller/gstcontroller.c:
8951         * libs/gst/controller/gstcontroller.h:
8952         * libs/gst/controller/gstcontrollerprivate.h:
8953         * libs/gst/controller/gsthelper.c:
8954         * libs/gst/controller/gstinterpolation.c:
8955           move private structs to private header
8956         * po/README:
8957           gstreamer-0.7 -> gstreamer-0.10
8958         * tests/check/libs/struct_i386.h:
8959           remove private structs
8960
8961 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8962
8963         * plugins/indexers/Makefile.am:
8964           Fixes as part of #317048
8965
8966 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8967
8968         * plugins/indexers/Makefile.am:
8969           fix #316086 - compilation when mmap is missing
8970
8971 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
8972
8973         * libs/gst/base/gstbasesink.c:
8974           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
8975           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
8976         * win32/common/config.h:
8977           added some defines GST_MAJORMINOR and HOST_CPU
8978         * win32/common/libgstbase.def:
8979         * win32/common/libgstreamer.def:
8980           added some exported functions.
8981
8982 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
8983
8984         * libs/gst/controller/gstcontroller.c:
8985         (gst_controlled_property_set_interpolation_mode),
8986         (gst_controlled_property_new):
8987         * libs/gst/controller/gstcontroller.h:
8988         * libs/gst/controller/gstinterpolation.c:
8989         (interpolate_none_get_string_value_array):
8990           make G_TYPE_STRING controlable
8991
8992 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
8993
8994         * tools/README:
8995         * tools/gst-feedback.1.in:
8996         * tools/gst-inspect.1.in:
8997         * tools/gst-launch.1.in:
8998         * tools/gst-md5sum.1.in:
8999         * tools/gst-typefind.1.in:
9000         * tools/gst-xmlinspect.1.in:
9001         * tools/gst-xmllaunch.1.in:
9002           cleanup man-pages, remove reference to gst-register, document env-vars
9003
9004 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
9005
9006         * gst/gstbuffer.c: (gst_buffer_span):
9007           gst_buffer_span should copy the timestamp of the first buffer
9008           if they were both originally overlapping subbuffers of the 
9009           same parent, using the same logic as the 'slow copy' case.
9010
9011 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
9012
9013         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
9014           Need to awaken ALL the pads when we pop a buffer, otherwise
9015           collectpads only works when there is 2 input streams.
9016
9017 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
9018
9019         * docs/random/ensonic/media-device-daemon.txt:
9020           more ideas (dbus)
9021         * gst/gstbuffer.c:
9022           fix doc example, add clarification
9023         * tools/gst-launch.1.in:
9024           add initial info about GST_PLUGIN_PATH, needs more work
9025
9026 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
9027
9028         * docs/manual/basics-bins.xml:
9029         * docs/manual/basics-elements.xml:
9030         * docs/manual/intro-basics.xml:
9031           Some more minor docs additions and updates.
9032
9033 2006-01-11  Wim Taymans  <wim@fluendo.com>
9034
9035         * docs/manual/basics-bins.xml:
9036         * docs/manual/basics-elements.xml:
9037         Some small fixes as pointed out by Ser-ver on IRC.
9038
9039 2006-01-10  Edward Hervey  <edward@fluendo.com>
9040
9041         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9042         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
9043         the single-segment mode.
9044
9045 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
9046
9047         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9048
9049         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
9050         (gst_base_src_perform_seek), (gst_base_src_send_event),
9051         (gst_base_src_set_property), (gst_base_src_get_property),
9052         (gst_base_src_loop), (gst_base_src_start),
9053         (gst_base_src_activate_push):
9054         * libs/gst/base/gstbasesrc.h:
9055           Name (private) union; makes Sun's Forte compiler happy (#324900).
9056
9057 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
9058
9059         * README:
9060           gst-register is gone.
9061
9062 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9063
9064         * gst/gstvalue.c: (_gst_value_initialize):
9065           make the G_TYPE_DATE instantiation work if debug is disabled
9066
9067 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
9068
9069         * gst/gstmessage.c: (gst_message_parse_tag),
9070         (gst_message_parse_error), (gst_message_parse_warning):
9071           Don't crash when return location for error/warning debug
9072           string is NULL; add fact that return locations can be
9073           NULL to docs where appropriate.
9074
9075 2006-01-05  Wim Taymans  <wim@fluendo.com>
9076
9077         * gst/gstplugin.c: (gst_plugin_load_file):
9078         Replace strdup by g_strdup.
9079
9080 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9081
9082         * docs/pwg/advanced-types.xml:
9083           fix doc borkage
9084
9085 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9086
9087         submitted by: Abel Cheung
9088
9089         * po/LINGUAS:
9090         * po/zh_TW.po:
9091           Added Chinese (traditional) translation
9092
9093 2006-01-04  Wim Taymans  <wim@fluendo.com>
9094
9095         * docs/manual/basics-pads.xml:
9096         * docs/plugins/Makefile.am:
9097         * docs/plugins/gstreamer-plugins-docs.sgml:
9098         * docs/plugins/gstreamer-plugins-sections.txt:
9099         * docs/pwg/advanced-clock.xml:
9100         * docs/pwg/advanced-scheduling.xml:
9101         * docs/pwg/advanced-types.xml:
9102         * plugins/elements/gstfdsink.c:
9103         * plugins/elements/gstfdsrc.c:
9104         * plugins/elements/gstfdsrc.h:
9105         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9106         * plugins/elements/gstidentity.h:
9107         * plugins/elements/gstqueue.h:
9108         * plugins/elements/gsttee.c:
9109         * plugins/elements/gsttee.h:
9110         * plugins/elements/gsttypefindelement.c:
9111         (gst_type_find_element_class_init):
9112         * plugins/elements/gsttypefindelement.h:
9113         Small updates to various docs.
9114         Added core plugins to docs.
9115
9116 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9117
9118         * common/gst.supp:
9119           add a suppression for liboil's uninitialized variable
9120
9121 2006-01-02  James Livingston  <jrl at ids dot org dot au>
9122
9123         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9124
9125         * gst/gstutils.h:
9126           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
9127           macro, so that gcc doesn't complain if the -Wmissing-prototypes
9128           compiler switch is being used (#325429).
9129
9130 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
9131
9132         * gst/gstbin.c: (gst_bin_query):
9133           Disable duration query caching in bins until it gets
9134           fixed (see #324807).
9135
9136 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
9137
9138         * tools/gst-inspect.c: (print_element_properties_info):
9139           Handle properties of POINTER and BOXED type.
9140
9141 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
9142
9143         * gst/gst.c: (init_post):
9144           Init tags stuff and some other things before loading
9145           any static plugins (there may be other static plugins
9146           than just the GStreamer ones, and they may want to
9147           register their own tags or formats or whatever, and
9148           preferably without segfaulting).
9149
9150         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
9151           Print at least a warning in the debug logs if we drop a
9152           query just because we don't know how to adjust the value
9153           in the particular format.
9154
9155 2005-12-24  David Schleef  <ds@schleef.org>
9156
9157         * tools/gstreamer-completion:
9158           Replacement for gst-complete written in sh and sed.  Only
9159           completes names of features, but that's 90% of what I want
9160           it for.  Properties are not available in registry.xml.  (Maybe
9161           they should be...)
9162
9163 === release 0.10.1 ===
9164
9165 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
9166
9167         * configure.ac:
9168           releasing 0.10.1, "Nollaig chridheil"
9169
9170 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
9171
9172         * docs/faq/cvs.xml:
9173           Add missing quote, should be make ERROR_CFLAGS="".
9174
9175 2005-12-20  Wim Taymans  <wim@fluendo.com>
9176
9177         * docs/design/part-trickmodes.txt:
9178         More documentation on trickmodes.
9179
9180 2005-12-20  Edward Hervey  <edward@fluendo.com>
9181
9182         * gst/gstcaps.c: (gst_static_caps_get_type):
9183         * gst/gstcaps.h:
9184           API addition: GST_TYPE_STATIC_CAPS
9185         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
9186         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
9187         * gst/gstpadtemplate.h:
9188           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
9189         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
9190         bindings.
9191
9192 2005-12-18  Wim Taymans  <wim@fluendo.com>
9193
9194         * libs/gst/base/gstadapter.c:
9195         * libs/gst/base/gstadapter.h:
9196         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9197         (gst_base_sink_get_position):
9198         * libs/gst/base/gstbasesink.h:
9199         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9200         (gst_base_src_default_query), (gst_base_src_default_do_seek),
9201         (gst_base_src_do_seek), (gst_base_src_perform_seek),
9202         (gst_base_src_send_event), (gst_base_src_update_length),
9203         (gst_base_src_get_range), (gst_base_src_loop),
9204         (gst_base_src_start):
9205         * libs/gst/base/gstbasesrc.h:
9206         * libs/gst/base/gstbasetransform.h:
9207         * libs/gst/base/gstcollectpads.h:
9208         * libs/gst/base/gstpushsrc.c:
9209         * libs/gst/base/gstpushsrc.h:
9210         * libs/gst/dataprotocol/dataprotocol.c:
9211         * libs/gst/dataprotocol/dataprotocol.h:
9212         * libs/gst/net/gstnetclientclock.h:
9213         * libs/gst/net/gstnettimeprovider.h:
9214         Documentation updates.
9215
9216 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
9217
9218         * docs/manual/basics-helloworld.xml:
9219           Remove superfluous closing bracket in helloworld example.
9220
9221 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
9222
9223         * tools/gst-launch.1.in:
9224           Update gst-launch man page; add a section with useful
9225           environment variables. Fixes #323882.
9226
9227 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
9228
9229         * gst/gst.c:
9230         * gst/gst_private.h:
9231           change some char* into char[]
9232
9233 2005-12-16  Wim Taymans  <wim@fluendo.com>
9234
9235         * gst/gstregistryxml.c: (load_feature):
9236         Cleanups.
9237         Don't use g_object_unref on GstObjects so that we avoid
9238         leaks on unsafe glibs.
9239
9240 2005-12-16  Wim Taymans  <wim@fluendo.com>
9241
9242         * gst/gstbin.c: (gst_bin_recalc_state):
9243         Small doc updates.
9244
9245 2005-12-16  Wim Taymans  <wim@fluendo.com>
9246
9247         * common/check.mak:
9248         Added make forever target for check.
9249
9250 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9251
9252         * gst/gst.c: (init_post):
9253           make the registry cache file HOST_CPU-dependent
9254
9255 2005-12-16  Andy Wingo  <wingo@pobox.com>
9256
9257         * plugins/elements/gstbufferstore.c
9258         (gst_buffer_store_cleared_func): Pay attention to g_list_append
9259         return value.
9260
9261         * tests/check/gst/gstobject.c
9262         (test_fake_object_name_threaded_unique): Pay attention to
9263         g_list_sort return value.
9264
9265 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9266
9267         * tools/gst-feedback-m.m:
9268           Update for 0.9/0.10 (fixes #323870).
9269
9270 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
9271
9272         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
9273           Fix lcopy for mini objects, the mini object needs to be ref'ed.
9274           
9275         * tests/check/gst/gstminiobject.c: (my_foo_init),
9276         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
9277         (test_value_collection), (gst_mini_object_suite):
9278           Add test to ensure refcounts end up as expected when passing
9279           GstMiniObjects through g_object_get() and g_object_set().
9280
9281 2005-12-14  Julien MOUTTE  <julien@moutte.net>
9282
9283         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9284         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
9285         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
9286         of collectpads. This version removes a lot of races without
9287         touching API/ABI. Yay !
9288
9289 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
9290
9291         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
9292           Don't allow activation of a srcpad in pull_range if it has no
9293           getrange function.
9294           Change some debug statements to be a little clearer
9295
9296         * plugins/elements/gsttypefindelement.c:
9297         (gst_type_find_handle_src_query):
9298           Check that we have a peer before executing queries thereupon.
9299
9300         * tests/examples/metadata/read-metadata.c: (message_loop):
9301           Use gst_bus_pop instead of gst_bus_poll when we just want it to
9302           immediately return us any available message with 0 timeout.
9303
9304 2005-12-12  Michael Smith  <msmith@fluendo.com>
9305
9306         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9307           Don't unref factories after calling them.
9308         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
9309         * plugins/elements/gsttypefindelement.c:
9310         (gst_type_find_element_chain):
9311           Free lists of factories after using them. Fixing typefinding memory
9312           leaks.
9313
9314 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9315
9316         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9317         (gst_plugin_feature_load):
9318           more meaningful debug output
9319         * configure.ac:
9320         * tests/Makefile.am:
9321         * tests/old/examples/Makefile.am:
9322           make make distcheck happy again
9323
9324 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9325
9326         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9327           Catch the special case where we are operating chain-based,
9328           but the downstream peer pad has no chain function. Emit a
9329           custom error message in this case instead of letting the
9330           core generate one implying that this is some sort of core
9331           bug. It's not, it just means that whatever got plugged
9332           into the pipeline downstream when we announced the type
9333           can only operate pull-based, while our source can only
9334           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
9335           Error string has not been marked for translation yet, as
9336           it probably needs some more work first.
9337
9338         (gst_type_find_element_get_best_possibility):
9339           Add helper function to find the best of all available
9340           found possibilities that qualify given the min. threshold.
9341
9342         (gst_type_find_element_handle_event):
9343           Fix the case where we get an EOS while still in TYPEFIND
9344           mode (we want to chose the best of all possible types,
9345           not just the first type that happens to be in our unsorted
9346           list of possible types).
9347
9348         (gst_type_find_element_chain):
9349           Make sure we return GST_FLOW_ERROR when we errored out
9350           in stop_typefinding(); also, don't just find the best of
9351           all found type entries and then use the last examined
9352           type entry, but actually use the best entry.
9353
9354 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9355
9356         * tests/examples/typefind/typefind.c: (type_found):
9357         * tests/examples/xml/runxml.c: (xml_loaded):
9358           More gcc4 fixes and a mem leak fix.
9359
9360 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9361
9362         * tests/examples/xml/createxml.c: (object_saved):
9363           gcc 4 fixes
9364
9365 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9366
9367         * tests/Makefile.am:
9368           enable the examples even more
9369
9370 2005-12-12  Andy Wingo  <wingo@pobox.com>
9371
9372         * libs/gst/net/gstnettimeprovider.c
9373         (gst_net_time_provider_class_init, gst_net_time_provider_init)
9374         (gst_net_time_provider_set_property)
9375         (gst_net_time_provider_get_property):
9376         API addition: Export "active" as a GObject property.
9377         (gst_net_time_provider_thread): Only respond to time queries if
9378         the time provider is active.
9379
9380         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
9381         NetTimeProvider, preserving binary compat.
9382
9383 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9384
9385         * tests/examples/controller/audio-example.c: (main):
9386         * tests/examples/launch/Makefile.am:
9387           convert comments again
9388
9389 2005-12-12  Wim Taymans  <wim@fluendo.com>
9390
9391         * libs/gst/base/gstpushsrc.c:
9392         Fix typo.
9393
9394 2005-12-12  Wim Taymans  <wim@fluendo.com>
9395
9396         * docs/libs/gstreamer-libs-sections.txt:
9397         Added new symbol to docs.
9398
9399         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9400         (gst_base_src_init), (gst_base_src_set_format),
9401         (gst_base_src_default_query), (gst_base_src_query),
9402         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
9403         (gst_base_src_perform_seek), (gst_base_src_send_event),
9404         (gst_base_src_default_event), (gst_base_src_event_handler),
9405         (gst_base_src_set_property), (gst_base_src_get_property),
9406         (gst_base_src_wait), (gst_base_src_do_sync),
9407         (gst_base_src_update_length), (gst_base_src_get_range),
9408         (gst_base_src_check_get_range), (gst_base_src_loop),
9409         (gst_base_src_default_negotiate), (gst_base_src_start),
9410         (gst_base_src_activate_push), (gst_base_src_activate_pull),
9411         (gst_base_src_change_state):
9412         * libs/gst/base/gstbasesrc.h:
9413         Implement seeking to other formats than _BYTES.
9414         Implement more seeking methods correctly.
9415         Doc updates.
9416         Added query vmethod.
9417         Added do_seek vmethod to make life easier for subclasses
9418         when seeking.
9419         API addition: gst_base_src_set_format()
9420
9421 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9422
9423         * tests/examples/Makefile.am:
9424           added that too
9425
9426 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9427
9428         * configure.ac:
9429         * docs/random/ensonic/media-device-daemon.txt:
9430         * tests/examples/controller/.cvsignore:
9431         * tests/examples/controller/Makefile.am:
9432         * tests/examples/controller/audio-example.c: (main):
9433         * tests/examples/helloworld/.cvsignore:
9434         * tests/examples/helloworld/Makefile.am:
9435         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
9436         * tests/examples/launch/.cvsignore:
9437         * tests/examples/launch/Makefile.am:
9438         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
9439         * tests/examples/metadata/.cvsignore:
9440         * tests/examples/metadata/Makefile.am:
9441         * tests/examples/metadata/read-metadata.c: (message_loop),
9442         (make_pipeline), (print_tag), (main):
9443         * tests/examples/queue/.cvsignore:
9444         * tests/examples/queue/Makefile.am:
9445         * tests/examples/queue/queue.c: (event_loop), (main):
9446         * tests/examples/typefind/.cvsignore:
9447         * tests/examples/typefind/Makefile.am:
9448         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
9449         (main):
9450         * tests/examples/xml/.cvsignore:
9451         * tests/examples/xml/Makefile.am:
9452         * tests/examples/xml/createxml.c: (object_saved), (main):
9453         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
9454         * tests/old/examples/Makefile.am:
9455         * tests/old/examples/TODO:
9456         * tests/old/examples/controller/.cvsignore:
9457         * tests/old/examples/controller/Makefile.am:
9458         * tests/old/examples/controller/audio-example.c:
9459         * tests/old/examples/helloworld/.cvsignore:
9460         * tests/old/examples/helloworld/Makefile.am:
9461         * tests/old/examples/helloworld/helloworld.c:
9462         * tests/old/examples/launch/.cvsignore:
9463         * tests/old/examples/launch/Makefile.am:
9464         * tests/old/examples/launch/mp3parselaunch.c:
9465         * tests/old/examples/launch/mp3play:
9466         * tests/old/examples/manual/Makefile.am:
9467         * tests/old/examples/metadata/Makefile.am:
9468         * tests/old/examples/metadata/read-metadata.c:
9469         * tests/old/examples/queue/.cvsignore:
9470         * tests/old/examples/queue/Makefile.am:
9471         * tests/old/examples/queue/queue.c:
9472         * tests/old/examples/typefind/.cvsignore:
9473         * tests/old/examples/typefind/Makefile.am:
9474         * tests/old/examples/typefind/typefind.c:
9475         * tests/old/examples/xml/.cvsignore:
9476         * tests/old/examples/xml/Makefile.am:
9477         * tests/old/examples/xml/createxml.c:
9478         * tests/old/examples/xml/runxml.c:
9479           applied some simple fixing to some examples
9480           re-enabled the working examples
9481
9482 2005-12-12  Wim Taymans  <wim@fluendo.com>
9483
9484         * gst/gstsegment.c: (gst_segment_init),
9485         (gst_segment_set_last_stop), (gst_segment_set_seek),
9486         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
9487         (gst_segment_to_running_time):
9488         Added more documentation.
9489         Make sure the last_pos value is updated properly.
9490         Make sure to_stream_time and to_running_time don't
9491         operate on wrong values.
9492
9493         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9494         Update check.
9495
9496 2005-12-12  Michael Smith  <msmith@fluendo.com>
9497
9498         * plugins/elements/gsttypefindelement.c: (free_entry),
9499         (gst_type_find_element_chain):
9500           Now that we're not leaking factories, make sure we keep references
9501           to them while we need them.
9502
9503 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9504
9505         * tests/check/gst/struct_i386.h:
9506           ifdef out the XML structs
9507
9508 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9509
9510         * gst/gstvalue.c: (gst_value_transform_double_fraction):
9511           floor is not needed, F is always positive; this obviates the
9512           need for adding -lm when building without libxml
9513
9514 2005-12-12  Wim Taymans  <wim@fluendo.com>
9515
9516         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9517         Take current playback rate into account when reporting
9518         the position.
9519
9520 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9521
9522         * docs/manual/mime-world.fig:
9523           Let's try this again, this time with a file that is
9524           actually in XFig format.
9525
9526 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9527
9528         * docs/manual/mime-world.fig:
9529           Add audioconvert element to diagram so that it
9530           matches the text and the code (fixes #319526).
9531
9532 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9533
9534         * docs/pwg/building-chainfn.xml:
9535         * docs/pwg/building-pads.xml:
9536         * docs/pwg/building-state.xml:
9537         * docs/pwg/other-source.xml:
9538           Update state change stuff for 0.10 (fixes #322969).
9539
9540 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9541
9542         * docs/manual/advanced-dataaccess.xml:
9543         * docs/manual/appendix-checklist.xml:
9544         * docs/manual/appendix-programs.xml:
9545         * docs/manual/basics-pads.xml:
9546         * docs/manual/highlevel-components.xml:
9547         * docs/manual/manual.xml:
9548           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
9549           add converters in front of pipelines; remove curly
9550           brackets for threads stuff, they no longer exist; use
9551           GST_TYPE_FRACTION for framerates; update some pieces of
9552           code to 0.10, but there's plenty more to do.
9553
9554         * docs/manual/appendix-porting.xml:
9555           Expand on asynchroneous state changes; s/0.9/0.10/;
9556           mention disappearance of gst_init_get_popt_table()
9557           (fixes #322916).
9558
9559 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9560
9561         * docs/faq/using.xml:
9562           Spider no longer exists, and neither does gst-launch-ext.
9563           Update examples to use decodebin and playbin and put
9564           converters in front of sinks (fixes #323726).
9565
9566 2005-12-09  Michael Smith  <msmith@fluendo.com>
9567
9568         * plugins/elements/gsttypefindelement.c: (find_peek),
9569         (gst_type_find_element_chain):
9570           Fix leaking element factories in typefinding.
9571           Fix problem where we forgot about a probable type on non-seekable
9572           files, and thus later mis-typefound it.
9573
9574 2005-12-09  Michael Smith  <msmith@fluendo.com>
9575
9576         * common/m4/gst-makecontext.m4:
9577         * common/m4/gst-mcsc.m4:
9578         * configure.ac:
9579         * win32/common/config.h:
9580         * win32/common/config.h.in:
9581           Remove makecontext stuff; not used in 0.10 and causes problems on
9582           HPUX according to bug #322441
9583
9584 2005-12-07  Wim Taymans  <wim@fluendo.com>
9585
9586         * tests/check/Makefile.am:
9587         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
9588         (main):
9589         * tests/check/libs/struct_i386.h:
9590         Added ABI check for libs
9591
9592 2005-12-07  Wim Taymans  <wim@fluendo.com>
9593
9594         * tests/check/Makefile.am:
9595         And add the struct_i386.h to dist.
9596
9597 2005-12-07  Wim Taymans  <wim@fluendo.com>
9598
9599         * tests/check/Makefile.am:
9600         * tests/check/gst/.cvsignore:
9601         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
9602         (main):
9603         * tests/check/gst/struct_i386.h:
9604         Added check for ABI compatibility.
9605
9606 2005-12-07  Wim Taymans  <wim@fluendo.com>
9607
9608         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9609         (gst_fake_src_get_times), (gst_fake_src_create):
9610         Fix broken sync option, fixes #323259
9611
9612 2005-12-07  Wim Taymans  <wim@fluendo.com>
9613
9614         * gst/gstbuffer.c:
9615         Small docs update.
9616
9617         * gst/gstcaps.c: (gst_caps_is_equal):
9618         Don't assert on NULL <--> X. Fixes #323260
9619
9620         * gst/gstminiobject.c: (gst_mini_object_replace):
9621         If we're doing atomic operations, we might just as well use
9622         the proper way to get an atomic pointer.
9623
9624         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9625         Clean up debugging.
9626
9627 2005-12-07  Michael Smith  <msmith@fluendo.com>
9628
9629         * gst/parse/grammar.y:
9630           Remove handling of { } for threads.
9631
9632 2005-12-06  David Schleef  <ds@schleef.org>
9633
9634         * libs/gst/base/gstbasetransform.c: speling fix.
9635
9636 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9637
9638         * docs/libs/tmpl/gstdataprotocol.sgml:
9639         * docs/random/omega/testing/gstobject.c:
9640         * gst/gst.c:
9641         * gst/gstclock.c:
9642         * gst/gstelement.c:
9643         * gst/gstelementfactory.c:
9644         * gst/gsterror.c:
9645         * gst/gstevent.c:
9646         * gst/gstghostpad.c:
9647         * gst/gstinfo.c:
9648         * gst/gstpadtemplate.c:
9649         * gst/gstregistryxml.c:
9650         * gst/gsttaglist.c:
9651         * gst/gsttagsetter.c:
9652         * gst/gsttypefind.c:
9653         * gst/gstvalue.c:
9654         * libs/gst/base/gstbasesrc.c:
9655         * libs/gst/net/gstnetclientclock.c:
9656         * libs/gst/net/gstnettimeprovider.c:
9657         * plugins/elements/gstfakesrc.c:
9658         * plugins/elements/gstfdsrc.c:
9659         * plugins/elements/gstfilesrc.c:
9660         * plugins/elements/gstidentity.c:
9661         * plugins/elements/gstqueue.c:
9662         * plugins/elements/gsttypefindelement.c:
9663         * plugins/indexers/gstfileindex.c:
9664         * plugins/indexers/gstmemindex.c:
9665         * tests/check/gst/gsttag.c:
9666         * tests/old/examples/cutter/cutter.c:
9667         * tests/old/examples/mixer/mixer.c:
9668         * tests/old/examples/xml/runxml.c: (main):
9669         * tests/old/testsuite/caps/normalisation.c:
9670         * tests/old/testsuite/debug/global.c:
9671         * tests/old/testsuite/parse/parse1.c:
9672         * tools/gst-xmlinspect.c:
9673         * win32/common/dirent.c:
9674           expand tabs
9675
9676 === release 0.10.0 ===
9677
9678 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9679
9680         * configure.ac:
9681           releasing 0.10.0, "Maroilles"
9682
9683 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9684
9685         submitted by: Funda Wang <fundawang@linux.net.cn>
9686
9687         * po/LINGUAS:
9688         * po/zh_CN.po:
9689           added Chinese (Traditional) translation
9690
9691 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9692
9693         * docs/gst/gstreamer-sections.txt:
9694         * docs/libs/tmpl/gstdataprotocol.sgml:
9695         * docs/random/thomasvs/TODO:
9696         * gst/gstutils.c:
9697         * gst/gstutils.h:
9698           fix docs
9699
9700 2005-12-05  Andy Wingo  <wingo@pobox.com>
9701
9702         patch by: Wim Taymans <wim@fluendo.com>
9703
9704         * libs/gst/base/gstbasetransform.c
9705         (gst_base_transform_prepare_output_buf)
9706         (gst_base_transform_buffer_alloc):
9707         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
9708         alloc_buffer_and_set_caps.
9709
9710         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
9711         set_caps on the source pad.
9712         (gst_pad_alloc_buffer_and_set_caps): New function, does what
9713         alloc_buffer used to do. Fixes #322874.
9714
9715         * docs/gst/gstreamer-sections.txt: 
9716         * docs/design/part-negotiation.txt: 
9717         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
9718         changes.
9719
9720 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9721
9722         patch by: Sebastien Moutte
9723
9724         * win32/MANIFEST:
9725         * win32/common/config.h.in:
9726         * win32/vs6/libgstcontroller.dsp:
9727           win32 build fixes
9728
9729 2005-12-05  Wim Taymans  <wim@fluendo.com>
9730
9731         * gst/gstcaps.c: (gst_caps_is_equal):
9732         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9733         (gst_fake_src_create):
9734         Back out previous code changes, leave doc updates, file bugs 
9735         instead. 
9736
9737 2005-12-05  Wim Taymans  <wim@fluendo.com>
9738
9739         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9740         (gst_fake_src_get_times), (gst_fake_src_create):
9741         * plugins/elements/gstfakesrc.h:
9742         Fix broken sync code.
9743
9744 2005-12-05  Wim Taymans  <wim@fluendo.com>
9745
9746         * gst/gstcaps.c: (gst_caps_is_equal):
9747         Comparing NULL against !NULL yields different caps, not a
9748         failure.
9749
9750 2005-12-05  Wim Taymans  <wim@fluendo.com>
9751
9752         * gst/gstpipeline.c:
9753         Fix small typo in docs.
9754
9755 2005-12-05  Andy Wingo  <wingo@pobox.com>
9756
9757         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
9758
9759         * gst/gst.c (init_post): remove hard-coded 0.9 location for
9760         registries/plugins with a MAJORMINOR one.
9761         (plugin_desc): Rename library from gstcoreleements to
9762         staticelements. Fixes #323222.
9763
9764 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
9765
9766         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
9767           Change debug category to 'collectpads' from 'collect_pads'
9768           (fixes #323250).
9769
9770 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9771
9772         patch by: Sebastien Moutte
9773
9774         * libs/gst/controller/gstinterpolation.c:
9775           use convert function for uint64/double
9776         * win32/vs6/libgstcontroller.dsp:
9777           link to GLib
9778
9779 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9780
9781         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
9782         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
9783         * gst/gstutils.h:
9784         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9785           add tests that seem to show that the guint64/gdouble conversions
9786           are correct.
9787
9788 2005-12-02  Wim Taymans  <wim@fluendo.com>
9789
9790         * gst/gstregistry.c: (gst_registry_add_path):
9791         * gst/gstregistry.h:
9792         * gst/gstregistryxml.c:
9793         Fix docs again.
9794
9795 2005-12-02  Wim Taymans  <wim@fluendo.com>
9796
9797         * gst/gstutils.c: (gst_util_uint64_scale_int64),
9798         (gst_util_uint64_scale_int):
9799         Small cleanup.
9800
9801         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9802         Add debug log line.
9803
9804         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
9805         Add FIXME.
9806
9807 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9808
9809         * win32/MANIFEST:
9810         * win32/common/config.h:
9811         * win32/vs6/gstreamer.dsw:
9812         * win32/vs6/libgstcoreelements.dsp:
9813         * win32/vs6/libgstelements.dsp:
9814           renamed core elements plugin
9815
9816 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9817
9818         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
9819         (get_candidates):
9820           do piece-wise major/minor comparison so 0.9 < 0.10
9821           also allow .exe extensions for tools
9822
9823 2005-12-02  Michael Smith  <msmith@fluendo.com>
9824
9825         * gst/gst.c:
9826           Escape a % to make gtkdoc happier; bug 322958.
9827
9828 === release 0.9.7 ===
9829
9830 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9831
9832         * configure.ac:
9833           releasing 0.9.7, "My Dog Has No Nose"
9834
9835 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9836
9837         * common/gst-xmlinspect.py:
9838         * configure.ac:
9839         * docs/libs/tmpl/gstdataprotocol.sgml:
9840         * docs/random/release:
9841         * po/af.po:
9842         * po/az.po:
9843         * po/bg.po:
9844         * po/ca.po:
9845         * po/cs.po:
9846         * po/de.po:
9847         * po/en_GB.po:
9848         * po/fr.po:
9849         * po/it.po:
9850         * po/nb.po:
9851         * po/nl.po:
9852         * po/ru.po:
9853         * po/sq.po:
9854         * po/sr.po:
9855         * po/sv.po:
9856         * po/tr.po:
9857         * po/uk.po:
9858         * po/vi.po:
9859         * win32/common/config.h:
9860         * win32/common/config.h.in:
9861         * win32/vs6/gst_inspect.dsp:
9862         * win32/vs6/gst_launch.dsp:
9863         * win32/vs6/libgstbase.dsp:
9864         * win32/vs6/libgstelements.dsp:
9865         * win32/vs6/libgstreamer.dsp:
9866         * win32/vs7/GStreamer.vcproj:
9867         * win32/vs7/gst-inspect.vcproj:
9868         * win32/vs7/gst-launch.vcproj:
9869         * win32/vs7/libgstbase.vcproj:
9870           bump GST_MAJORMINOR to 0.10
9871           reset libtool version
9872
9873 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9874
9875         * po/LINGUAS:
9876         * po/bg.po:
9877           Added Bulgarian translation by (Alexander Shopov)
9878
9879 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9880
9881         * tests/check/gst/gstplugin.c:
9882           fix test
9883
9884 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9885
9886         * common/gst-xmlinspect.py:
9887         * common/gtk-doc-plugins.mak:
9888         * configure.ac:
9889         * docs/Makefile.am:
9890         * docs/gst/Makefile.am:
9891         * docs/gst/gstreamer-docs.sgml:
9892         * docs/gst/gstreamer-sections.txt:
9893         * docs/gst/gstreamer.types:
9894         * docs/gst/gstreamer.types.in:
9895         * docs/plugins/Makefile.am:
9896         * docs/plugins/gstreamer-plugins-docs.sgml:
9897         * docs/plugins/gstreamer-plugins-sections.txt:
9898         * docs/plugins/gstreamer-plugins.types:
9899         * docs/plugins/inspect.stamp:
9900         * docs/plugins/inspect/plugin-coreelements.xml:
9901         * docs/plugins/inspect/plugin-coreindexers.xml:
9902         * docs/plugins/scanobj-build.stamp:
9903         * gstreamer.spec.in:
9904         * plugins/elements/Makefile.am:
9905         * plugins/elements/gstelements.c:
9906         * plugins/elements/gstfakesink.c:
9907         * plugins/elements/gstfakesrc.c:
9908         * plugins/elements/gstfilesink.c:
9909         * plugins/elements/gstfilesrc.c:
9910         * plugins/elements/gstqueue.c:
9911         * plugins/indexers/Makefile.am:
9912         * plugins/indexers/gstindexers.c:
9913           document core plugins in a separate document just like all the
9914           others
9915           rename these plugins to something starting with core
9916
9917 2005-12-01  Andy Wingo  <wingo@pobox.com>
9918
9919         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
9920         padding here before, but it missed the commit.
9921
9922 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9923
9924         * libs/gst/controller/gstinterpolation.c:
9925           whitespace prices have crashed, we should feel free to use some now
9926           use gst_guint64_to_gdouble
9927
9928 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9929
9930         * libs/gst/controller/gstcontroller.c:
9931         * libs/gst/controller/gsthelper.c:
9932         * libs/gst/controller/gstinterpolation.c:
9933         * libs/gst/controller/lib.c:
9934           wrap config.h include
9935
9936 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9937
9938         * docs/gst/gstreamer-sections.txt:
9939           update docs
9940
9941 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9942
9943         * plugins/elements/gstelements.c:
9944         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
9945         (gst_fd_sink__class_init), (gst_fd_sink__init),
9946         (gst_fd_sink__chain), (gst_fd_sink__set_property),
9947         (gst_fd_sink__get_property):
9948         * plugins/elements/gstfdsink.h:
9949         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
9950         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
9951         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
9952         (gst_fd_src_unlock), (gst_fd_src_set_property),
9953         (gst_fd_src_get_property), (gst_fd_src_create),
9954         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
9955         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
9956         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
9957         (gst_fd_src_uri_handler_init):
9958         * plugins/elements/gstfdsrc.h:
9959         * plugins/elements/gstqueue.c: (gst_queue_get_type):
9960           more anal cleanup
9961
9962 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9963
9964         * docs/gst/Makefile.am:
9965         * docs/gst/gstreamer.types.in:
9966         * gst/Makefile.am:
9967           fix the docs build
9968
9969 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
9970
9971         * configure.ac:
9972         * gst/Makefile.am:
9973         * gst/gst.c:
9974         * gst/gstplugin.h:
9975         * gst/gstregistry.h:
9976         * tests/benchmarks/complexity.c:
9977         * tests/benchmarks/mass-elements.c:
9978         * tests/check/Makefile.am:
9979         * tools/Makefile.am:
9980         * tools/gst-inspect.c:
9981         * tools/gst-xmlinspect.c:
9982           various fixes to make
9983           --disable-nls --disable-registry --disable-loadsave
9984           --disable-parse --disable-gst-debug
9985           work and get the core .so down to 360444 bytes after stripping
9986
9987 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
9988
9989         * Makefile.am:
9990         * configure.ac:
9991           descend into tests
9992         * docs/random/thomasvs/TODO:
9993         * tests/Makefile.am:
9994         * tests/README:
9995           add a README
9996
9997 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
9998
9999         * win32/GStreamer.vcproj:
10000         * win32/MANIFEST:
10001         * win32/Makefile:
10002         * win32/Makefile.inspect:
10003         * win32/Makefile.launch:
10004         * win32/Makefile.register:
10005         * win32/README.txt:
10006         * win32/gst-inspect.vcproj:
10007         * win32/gst-launch.vcproj:
10008         * win32/gst-register.vcproj:
10009         * win32/gstelements.vcproj:
10010         * win32/gstgetbits.def:
10011         * win32/gstgetbits.vcproj:
10012         * win32/gstreamer-dbg.def:
10013         * win32/gstreamer.def:
10014         * win32/libgstbase.def:
10015         * win32/libgstbase.vcproj:
10016         * win32/link_oldruntime.c:
10017         * win32/mman.c:
10018         * win32/mman.h:
10019         * win32/mman.inl:
10020         * win32/msvc71.sln:
10021           move even more stuff, win32/ is nice and clean now
10022
10023 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10024
10025         * libs/gst/control/.cvsignore:
10026         * win32/MANIFEST:
10027         * win32/config.h:
10028         * win32/dirent.c:
10029         * win32/dirent.h:
10030         * win32/gstbytestream.def:
10031         * win32/gstbytestream.vcproj:
10032         * win32/gstconfig.h:
10033         * win32/gstenumtypes.c:
10034         * win32/gstenumtypes.h:
10035         * win32/gstoptimalscheduler.vcproj:
10036         * win32/gstversion.h:
10037         * win32/gtchar.h:
10038         * win32/testsuite/bins.vcproj:
10039         * win32/testsuite/bytestream.vcproj:
10040         * win32/testsuite/caps.vcproj:
10041         * win32/testsuite/cleanup.vcproj:
10042         * win32/testsuite/clock.vcproj:
10043         * win32/testsuite/debug.vcproj:
10044         * win32/testsuite/dlopen.vcproj:
10045         * win32/testsuite/dynparams.vcproj:
10046         * win32/testsuite/elements.vcproj:
10047         * win32/testsuite/ghostpads.vcproj:
10048         * win32/testsuite/indexers.vcproj:
10049         * win32/testsuite/negotiation.vcproj:
10050         * win32/testsuite/parse.vcproj:
10051         * win32/testsuite/plugin.vcproj:
10052         * win32/testsuite/refcounting.vcproj:
10053         * win32/testsuite/schedulers.vcproj:
10054         * win32/testsuite/states.vcproj:
10055         * win32/testsuite/tags.vcproj:
10056         * win32/testsuite/threads.vcproj:
10057           remove old win32 stuff that isn't maintained and should be
10058           reorganized
10059
10060 2005-11-30  Andy Wingo  <wingo@pobox.com>
10061
10062         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
10063         loading the gst.interfaces python module bork.
10064
10065         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
10066         available since GLib 2.2. Fixes #318031.
10067
10068 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10069
10070         * Makefile.am:
10071         * check/.cvsignore:
10072         * check/Makefile.am:
10073         * check/elements/.cvsignore:
10074         * check/elements/fakesrc.c:
10075         * check/elements/fdsrc.c:
10076         * check/elements/identity.c:
10077         * check/generic/.cvsignore:
10078         * check/generic/states.c:
10079         * check/gst-libs/.cvsignore:
10080         * check/gst-libs/controller.c:
10081         * check/gst-libs/gdp.c:
10082         * check/gst/.cvsignore:
10083         * check/gst/capslist.h:
10084         * check/gst/gst.c:
10085         * check/gst/gstbin.c:
10086         * check/gst/gstbuffer.c:
10087         * check/gst/gstbus.c:
10088         * check/gst/gstcaps.c:
10089         * check/gst/gstelement.c:
10090         * check/gst/gstevent.c:
10091         * check/gst/gstghostpad.c:
10092         * check/gst/gstiterator.c:
10093         * check/gst/gstmessage.c:
10094         * check/gst/gstminiobject.c:
10095         * check/gst/gstobject.c:
10096         * check/gst/gstpad.c:
10097         * check/gst/gstpipeline.c:
10098         * check/gst/gstplugin.c:
10099         * check/gst/gstsegment.c:
10100         * check/gst/gststructure.c:
10101         * check/gst/gstsystemclock.c:
10102         * check/gst/gsttag.c:
10103         * check/gst/gstutils.c:
10104         * check/gst/gstvalue.c:
10105         * check/net/.cvsignore:
10106         * check/net/gstnetclientclock.c:
10107         * check/net/gstnettimeprovider.c:
10108         * check/pipelines/.cvsignore:
10109         * check/pipelines/cleanup.c:
10110         * check/pipelines/simple_launch_lines.c:
10111         * check/pipelines/stress.c:
10112         * check/states/.cvsignore:
10113         * check/states/sinks.c:
10114         * configure.ac:
10115         * examples/Makefile.am:
10116         * examples/appreader/.cvsignore:
10117         * examples/appreader/Makefile.am:
10118         * examples/appreader/appreader.c:
10119         * examples/controller/.cvsignore:
10120         * examples/controller/Makefile.am:
10121         * examples/controller/audio-example.c:
10122         * examples/cutter/.cvsignore:
10123         * examples/cutter/Makefile.am:
10124         * examples/cutter/cutter.c:
10125         * examples/cutter/cutter.h:
10126         * examples/events/Makefile.am:
10127         * examples/events/seek.c:
10128         * examples/helloworld/.cvsignore:
10129         * examples/helloworld/Makefile.am:
10130         * examples/helloworld/helloworld.c:
10131         * examples/helloworld2/.cvsignore:
10132         * examples/helloworld2/Makefile.am:
10133         * examples/helloworld2/helloworld2.c:
10134         * examples/launch/.cvsignore:
10135         * examples/launch/Makefile.am:
10136         * examples/launch/mp3parselaunch.c:
10137         * examples/launch/mp3play:
10138         * examples/manual/.cvsignore:
10139         * examples/manual/Makefile.am:
10140         * examples/manual/extract.pl:
10141         * examples/metadata/Makefile.am:
10142         * examples/metadata/read-metadata.c:
10143         * examples/mixer/.cvsignore:
10144         * examples/mixer/Makefile.am:
10145         * examples/mixer/mixer.c:
10146         * examples/mixer/mixer.h:
10147         * examples/pingpong/.cvsignore:
10148         * examples/pingpong/Makefile.am:
10149         * examples/pingpong/pingpong.c:
10150         * examples/plugins/.cvsignore:
10151         * examples/plugins/Makefile.am:
10152         * examples/plugins/example.c:
10153         * examples/plugins/example.h:
10154         * examples/pwg/.cvsignore:
10155         * examples/pwg/Makefile.am:
10156         * examples/pwg/extract.pl:
10157         * examples/queue/.cvsignore:
10158         * examples/queue/Makefile.am:
10159         * examples/queue/queue.c:
10160         * examples/queue2/.cvsignore:
10161         * examples/queue2/Makefile.am:
10162         * examples/queue2/queue2.c:
10163         * examples/queue3/.cvsignore:
10164         * examples/queue3/Makefile.am:
10165         * examples/queue3/queue3.c:
10166         * examples/queue4/.cvsignore:
10167         * examples/queue4/Makefile.am:
10168         * examples/queue4/queue4.c:
10169         * examples/retag/.cvsignore:
10170         * examples/retag/Makefile.am:
10171         * examples/retag/retag.c:
10172         * examples/retag/transcode.c:
10173         * examples/thread/.cvsignore:
10174         * examples/thread/Makefile.am:
10175         * examples/thread/thread.c:
10176         * examples/typefind/.cvsignore:
10177         * examples/typefind/Makefile.am:
10178         * examples/typefind/typefind.c:
10179         * examples/xml/.cvsignore:
10180         * examples/xml/Makefile.am:
10181         * examples/xml/createxml.c:
10182         * examples/xml/runxml.c:
10183         * tests/Makefile.am:
10184         * tests/check/Makefile.am:
10185         * testsuite/.cvsignore:
10186         * testsuite/Makefile.am:
10187         * testsuite/Rules:
10188         * testsuite/caps/.cvsignore:
10189         * testsuite/caps/Makefile.am:
10190         * testsuite/caps/app_fixate.c:
10191         * testsuite/caps/audioscale.c:
10192         * testsuite/caps/caps.c:
10193         * testsuite/caps/caps.h:
10194         * testsuite/caps/caps_strings:
10195         * testsuite/caps/compatibility.c:
10196         * testsuite/caps/deserialize.c:
10197         * testsuite/caps/enumcaps.c:
10198         * testsuite/caps/eratosthenes.c:
10199         * testsuite/caps/filtercaps.c:
10200         * testsuite/caps/fixed.c:
10201         * testsuite/caps/fraction-convert.c:
10202         * testsuite/caps/fraction-multiply-and-zero.c:
10203         * testsuite/caps/intersect2.c:
10204         * testsuite/caps/intersection.c:
10205         * testsuite/caps/normalisation.c:
10206         * testsuite/caps/random.c:
10207         * testsuite/caps/renegotiate.c:
10208         * testsuite/caps/sets.c:
10209         * testsuite/caps/simplify.c:
10210         * testsuite/caps/string-conversions.c:
10211         * testsuite/caps/structure.c:
10212         * testsuite/caps/subtract.c:
10213         * testsuite/caps/union.c:
10214         * testsuite/debug/.cvsignore:
10215         * testsuite/debug/Makefile.am:
10216         * testsuite/debug/category.c:
10217         * testsuite/debug/commandline.c:
10218         * testsuite/debug/global.c:
10219         * testsuite/debug/output.c:
10220         * testsuite/debug/printf_extension.c:
10221         * testsuite/dlopen/.cvsignore:
10222         * testsuite/dlopen/Makefile.am:
10223         * testsuite/dlopen/dlopen_gst.c:
10224         * testsuite/dlopen/loadgst.c:
10225         * testsuite/elements/.cvsignore:
10226         * testsuite/elements/Makefile.am:
10227         * testsuite/elements/gst-inspect-check.in:
10228         * testsuite/elements/struct_i386.h:
10229         * testsuite/elements/struct_size.c:
10230         * testsuite/indexers/.cvsignore:
10231         * testsuite/indexers/Makefile.am:
10232         * testsuite/indexers/cache1.c:
10233         * testsuite/indexers/indexdump.c:
10234         * testsuite/parse/.cvsignore:
10235         * testsuite/parse/Makefile.am:
10236         * testsuite/parse/parse1.c:
10237         * testsuite/parse/parse2.c:
10238         * testsuite/plugin/.cvsignore:
10239         * testsuite/plugin/Makefile.am:
10240         * testsuite/plugin/README:
10241         * testsuite/plugin/dynamic.c:
10242         * testsuite/plugin/linked.c:
10243         * testsuite/plugin/loading.c:
10244         * testsuite/plugin/registry.c:
10245         * testsuite/plugin/static.c:
10246         * testsuite/plugin/static2.c:
10247         * testsuite/plugin/testplugin.c:
10248         * testsuite/plugin/testplugin2.c:
10249         * testsuite/plugin/testplugin2_s.c:
10250         * testsuite/plugin/testplugin_s.c:
10251         * testsuite/refcounting/.cvsignore:
10252         * testsuite/refcounting/Makefile.am:
10253         * testsuite/refcounting/bin.c:
10254         * testsuite/refcounting/element.c:
10255         * testsuite/refcounting/element_pad.c:
10256         * testsuite/refcounting/mainloop.c:
10257         * testsuite/refcounting/mem.c:
10258         * testsuite/refcounting/mem.h:
10259         * testsuite/refcounting/object.c:
10260         * testsuite/refcounting/pad.c:
10261         * testsuite/refcounting/sched.c:
10262         * testsuite/refcounting/thread.c:
10263         * testsuite/states/.cvsignore:
10264         * testsuite/states/Makefile.am:
10265         * testsuite/states/bin.c:
10266         * testsuite/states/locked.c:
10267         * testsuite/states/parent.c:
10268         * testsuite/threads/.cvsignore:
10269         * testsuite/threads/159566.c:
10270         * testsuite/threads/159852.c:
10271         * testsuite/threads/Makefile.am:
10272         * testsuite/threads/queue.c:
10273         * testsuite/threads/signals.c:
10274         * testsuite/threads/staticrec.c:
10275         * testsuite/threads/thread.c:
10276         * testsuite/threads/threadb.c:
10277         * testsuite/threads/threadc.c:
10278         * testsuite/threads/threadd.c:
10279         * testsuite/threads/threade.c:
10280         * testsuite/threads/threadf.c:
10281         * testsuite/threads/threadg.c:
10282         * testsuite/threads/threadh.c:
10283         * testsuite/threads/threadi.c:
10284           move all of these under tests
10285
10286 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10287
10288         * configure.ac:
10289         * tests/Makefile.am:
10290           fix distcheck
10291
10292 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10293
10294         * docs/gst/gstreamer-sections.txt:
10295         * tests/sched/.cvsignore:
10296         * tests/sched/Makefile.am:
10297         * tests/sched/cases/(fs-fs).xml:
10298         * tests/sched/cases/(fs-i-fs).xml:
10299         * tests/sched/cases/(fs-i-i-fs).xml:
10300         * tests/sched/cases/(fs-i-q[i-fs]).xml:
10301         * tests/sched/dynamic-pipeline.c:
10302         * tests/sched/interrupt1.c:
10303         * tests/sched/interrupt2.c:
10304         * tests/sched/interrupt3.c:
10305         * tests/sched/runtestcases:
10306         * tests/sched/runxml.c:
10307         * tests/sched/sched-stress.c:
10308         * tests/sched/sort.c:
10309         * tests/sched/testcases:
10310         * tests/sched/testcases1.tc:
10311         * tests/seeking/.cvsignore:
10312         * tests/seeking/Makefile.am:
10313         * tests/seeking/seeking1.c:
10314         * tests/threadstate/.cvsignore:
10315         * tests/threadstate/Makefile.am:
10316         * tests/threadstate/test1.c:
10317         * tests/threadstate/test2.c:
10318         * tests/threadstate/threadstate1.c:
10319         * tests/threadstate/threadstate2.c:
10320         * tests/threadstate/threadstate3.c:
10321         * tests/threadstate/threadstate4.c:
10322         * tests/threadstate/threadstate5.c:
10323           remove obsolete tests
10324         * configure.ac:
10325         * tests/bench-complexity.scm:
10326         * tests/bench-mass_elements.scm:
10327         * tests/complexity.c:
10328         * tests/complexity.gnuplot:
10329         * tests/instantiate/.cvsignore:
10330         * tests/instantiate/Makefile.am:
10331         * tests/instantiate/caps.c:
10332         * tests/mass_elements.c:
10333         * tests/network-clock-utils.scm:
10334         * tests/network-clock.scm:
10335         * tests/plot-data:
10336         First pass at cleaning up tests/ dir before moving the rest
10337         Combined with CVS surgery
10338
10339 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10340
10341         * po/POTFILES.in:
10342           queue has moved, update
10343
10344 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10345
10346         * docs/gst/gstreamer-sections.txt:
10347           remove double entries from the docs
10348         * gst/gst_private.h:
10349         * gst/gstinfo.c: (_gst_debug_init):
10350           remove the THREAD debug category
10351         * gst/Makefile.am:
10352         * gst/gstqueue.c:
10353         * gst/gstqueue.h:
10354         * docs/gst/gstreamer.types:
10355         * plugins/elements/gstqueue.c: (gst_queue_get_type),
10356         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
10357           completely move queue and fix up debugging categories
10358
10359 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10360
10361         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10362           make initialization portable, using LL is not
10363
10364 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10365
10366         * win32/common/gstconfig.h:
10367           add large padding
10368
10369 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10370
10371         * win32/common/libgstreamer.def:
10372           rename symbols; sort base section
10373
10374 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10375
10376         * gst/gstclock.c: (do_linear_regression):
10377           remove crack non-portable handrolled DEBUG macro
10378
10379 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10380
10381         * docs/random/release:
10382           update notes
10383         * win32/common/gstenumtypes.c: (register_gst_object_flags),
10384         (gst_object_flags_get_type), (register_gst_bin_flags),
10385         (gst_bin_flags_get_type), (register_gst_buffer_flag),
10386         (gst_buffer_flag_get_type), (register_gst_bus_flags),
10387         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10388         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
10389         (gst_caps_flags_get_type), (register_gst_clock_return),
10390         (gst_clock_return_get_type), (register_gst_clock_entry_type),
10391         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10392         (gst_clock_flags_get_type), (register_gst_state),
10393         (gst_state_get_type), (register_gst_state_change_return),
10394         (gst_state_change_return_get_type), (register_gst_state_change),
10395         (gst_state_change_get_type), (register_gst_element_flags),
10396         (gst_element_flags_get_type), (register_gst_core_error),
10397         (gst_core_error_get_type), (register_gst_library_error),
10398         (gst_library_error_get_type), (register_gst_resource_error),
10399         (gst_resource_error_get_type), (register_gst_stream_error),
10400         (gst_stream_error_get_type), (register_gst_event_type_flags),
10401         (gst_event_type_flags_get_type), (register_gst_event_type),
10402         (gst_event_type_get_type), (register_gst_seek_type),
10403         (gst_seek_type_get_type), (register_gst_seek_flags),
10404         (gst_seek_flags_get_type), (register_gst_format),
10405         (gst_format_get_type), (register_gst_index_certainty),
10406         (gst_index_certainty_get_type), (register_gst_index_entry_type),
10407         (gst_index_entry_type_get_type),
10408         (register_gst_index_lookup_method),
10409         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10410         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10411         (gst_index_resolver_method_get_type), (register_gst_index_flags),
10412         (gst_index_flags_get_type), (register_gst_debug_level),
10413         (gst_debug_level_get_type), (register_gst_debug_color_flags),
10414         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10415         (gst_iterator_result_get_type), (register_gst_iterator_item),
10416         (gst_iterator_item_get_type), (register_gst_message_type),
10417         (gst_message_type_get_type), (register_gst_mini_object_flags),
10418         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10419         (gst_pad_link_return_get_type), (register_gst_flow_return),
10420         (gst_flow_return_get_type), (register_gst_activate_mode),
10421         (gst_activate_mode_get_type), (register_gst_pad_direction),
10422         (gst_pad_direction_get_type), (register_gst_pad_flags),
10423         (gst_pad_flags_get_type), (register_gst_pad_presence),
10424         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10425         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10426         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10427         (gst_plugin_error_get_type), (register_gst_plugin_flags),
10428         (gst_plugin_flags_get_type), (register_gst_rank),
10429         (gst_rank_get_type), (register_gst_query_type),
10430         (gst_query_type_get_type), (register_gst_tag_merge_mode),
10431         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10432         (gst_tag_flag_get_type), (register_gst_task_state),
10433         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10434         (gst_alloc_trace_flags_get_type),
10435         (register_gst_type_find_probability),
10436         (gst_type_find_probability_get_type), (register_gst_uri_type),
10437         (gst_uri_type_get_type), (register_gst_parse_error),
10438         (gst_parse_error_get_type):
10439         * win32/common/gstenumtypes.h:
10440         * win32/common/gstversion.h:
10441           update visual studio generated files
10442
10443 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10444
10445         * win32/vs6/libgstbase.dsp:
10446         * win32/vs6/libgstelements.dsp:
10447           update project files for new locations
10448
10449 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10450
10451         * Makefile.am:
10452           remove some files
10453         * README:
10454           reinstate and update
10455         * DEVEL:
10456         * REQUIREMENTS:
10457           removed
10458         * LICENSE:
10459         * docs/random/LICENSE:
10460           moved to random
10461
10462 2005-11-30  Edward Hervey  <edward@fluendo.com>
10463
10464         * gst/gsttypefind.c: (gst_type_find_register):
10465         * gst/gsttypefind.h:
10466         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
10467         (gst_type_find_factory_dispose):
10468         * gst/gsttypefindfactory.h:
10469         Fix memory leak in GstTypeFindFactory.
10470
10471 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10472
10473         * gst/gst.c:
10474         * plugins/elements/Makefile.am:
10475         * plugins/elements/gstelements.c:
10476         * plugins/elements/gstqueue.c:
10477           move queue from core to the elements plugin
10478
10479 2005-11-29  Andy Wingo  <wingo@pobox.com>
10480
10481         * libs/gst/base/gstbasetransform.h: 
10482         * libs/gst/base/gstbasesrc.h: 
10483         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
10484
10485         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
10486         of pointers by which to pad very extensible base classes (like the
10487         ones in libs/gst/base).
10488
10489 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10490
10491         * docs/gst/gstreamer-docs.sgml:
10492         * docs/gst/gstreamer-sections.txt:
10493         * docs/libs/gstreamer-libs-docs.sgml:
10494         * docs/libs/gstreamer-libs-sections.txt:
10495           moving documentation from core to lib
10496
10497 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10498
10499         * check/Makefile.am:
10500         * configure.ac:
10501         * docs/gst/Makefile.am:
10502         * gst/Makefile.am:
10503         * gst/base/.cvsignore:
10504         * gst/base/Makefile.am:
10505         * gst/base/README:
10506         * gst/base/gstadapter.c:
10507         * gst/base/gstadapter.h:
10508         * gst/base/gstbasesink.c:
10509         * gst/base/gstbasesink.h:
10510         * gst/base/gstbasesrc.c:
10511         * gst/base/gstbasesrc.h:
10512         * gst/base/gstbasetransform.c:
10513         * gst/base/gstbasetransform.h:
10514         * gst/base/gstcollectpads.c:
10515         * gst/base/gstcollectpads.h:
10516         * gst/base/gstpushsrc.c:
10517         * gst/base/gstpushsrc.h:
10518         * gst/base/gsttypefindhelper.c:
10519         * gst/base/gsttypefindhelper.h:
10520         * gst/check/Makefile.am:
10521         * gst/check/gstcheck.c:
10522         * gst/check/gstcheck.h:
10523         * gst/net/Makefile.am:
10524         * gst/net/gstnet.h:
10525         * gst/net/gstnetclientclock.c:
10526         * gst/net/gstnetclientclock.h:
10527         * gst/net/gstnettimepacket.c:
10528         * gst/net/gstnettimepacket.h:
10529         * gst/net/gstnettimeprovider.c:
10530         * gst/net/gstnettimeprovider.h:
10531         * libs/gst/Makefile.am:
10532         * libs/gst/base/Makefile.am:
10533         * libs/gst/base/gstbasetransform.c:
10534         * libs/gst/check/Makefile.am:
10535         * plugins/elements/Makefile.am:
10536         * po/POTFILES.in:
10537           CVS surgery + support to move base, check, and net out of gst
10538           and into libs/gst
10539
10540 2005-11-29  Andy Wingo  <wingo@pobox.com>
10541
10542         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
10543
10544         * gst/gststructure.h (struct _GstStructure): Only one pointer of
10545         padding.
10546
10547         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
10548
10549         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
10550
10551         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
10552
10553         * gst/gstobject.h: (struct _GstObject): Only one pointer of
10554         padding; reduces object size by about 30%. We don't expect
10555         anything else to go into gstobject.
10556
10557         * gst/gstminiobject.h (struct _GstMiniObject)
10558         (struct _GstMiniObjectClass): Only one pointer of padding; the
10559         payload is only a pointer and two ints anyway. For the class there
10560         are only two methods as well.
10561         
10562         * gst/gstelement.h (struct _GstElementClass): Removed
10563         the state_changed signal callback, it is not used.
10564
10565 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10566
10567         * docs/gst/gstreamer.types:
10568           fix includes, though they are a little dinky
10569
10570 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10571
10572         * check/Makefile.am:
10573           look in the right place for elements, a lot more chance of
10574           success
10575         * gst/Makefile.am:
10576           remove indexers and elements subdirs
10577         * plugins/Makefile.am:
10578           make indexers conditional
10579
10580 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10581
10582         * Makefile.am:
10583         * configure.ac:
10584         * plugins/elements/Makefile.am:
10585         * plugins/elements/gstcapsfilter.c:
10586         * plugins/elements/gstfilesink.c:
10587         * plugins/elements/gstfilesrc.c:
10588         * plugins/elements/gstidentity.c:
10589         * plugins/indexers/Makefile.am:
10590           do CVS surgery and related build fixery to move elements
10591           and indexers in a new gstreamer/plugins directory, out of the
10592           gst/ directory
10593
10594 2005-11-29  Andy Wingo  <wingo@pobox.com>
10595
10596         * check/Makefile.am:
10597         * pkgconfig/gstreamer-net-uninstalled.pc.in:
10598         * pkgconfig/gstreamer-net.pc.in:
10599         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
10600         #322257.
10601
10602 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10603
10604         * tools/Makefile.am:
10605         * tools/gst-complete.1.in:
10606         * tools/gst-complete.c:
10607         * tools/gst-compprep.1.in:
10608         * tools/gst-compprep.c:
10609           removing -compprep and -complete
10610
10611 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10612
10613         * gst/gstevent.c: (gst_event_new_new_segment),
10614         (gst_event_parse_new_segment):
10615         * gst/gstevent.h:
10616           fix #320529 - clean up new_segment API and structure.
10617           Let's hope everyone was using the methods, and not the structure.
10618
10619 2005-11-29  Edward Hervey  <edward@fluendo.com>
10620
10621         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10622         (gst_base_sink_event), (gst_base_sink_do_sync),
10623         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
10624         Properly handle non GST_FORMAT_TIME segment
10625         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
10626         Properly handle non GST_FORMAT_TIME segment
10627         * gst/gstsegment.c:
10628         This function is valid if the accumulator is 0 and the format
10629         is different from the requested format.
10630         
10631 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
10632
10633         * docs/gst/gstreamer-sections.txt:
10634         Add gst_query_new_seeking and gst_query_parse_seeking to the
10635         docs.
10636
10637 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
10638
10639         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
10640           Treat a pad alloc with new caps the same as if we were not
10641           negotiated, in order to allow a changing upstream output
10642           to produce a new format of data.
10643
10644 2005-11-29  Edward Hervey  <edward@fluendo.com>
10645
10646         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10647         (gst_base_transform_event), (gst_base_transform_eventfunc):
10648         The event virtual method is now properly implemented, with a default
10649         handler
10650         Sub classes should call the parent_class event method. They should
10651         return FALSE if they had a problem handling the given event, or don't
10652         want GstBaseTransform to send that even downstream
10653         * gst/elements/gstidentity.c: (gst_identity_class_init),
10654         (gst_identity_init), (gst_identity_event),
10655         (gst_identity_transform_ip), (gst_identity_set_property),
10656         (gst_identity_get_property):
10657         * gst/elements/gstidentity.h:
10658         Added the single-segment boolean property.
10659         If set to TRUE, it will output a single segment of data, starting from
10660         0, will eat up all incoming newsegment, and modify the timestamp of the
10661         buffers accordingly
10662
10663 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
10664
10665         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
10666           Don't ref NULL target pad (#322751). Improve docs.
10667
10668 2005-11-29  Michael Smith  <msmith@fluendo.com>
10669
10670         * gst/gstregistryxml.c: (load_plugin):
10671           Don't crash if we failed to load a feature from a plugin. 
10672
10673 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10674
10675         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10676         (GST_START_TEST):
10677           use more check API and less GLib API
10678
10679 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10680
10681         * Makefile.am:
10682           don't run checks if we don't have check
10683         * common/check.mak:
10684           remove the registry when running make torture
10685         * docs/gst/gstreamer-sections.txt:
10686           remove second multiply
10687         * gst/gstqueue.c: (gst_queue_loop):
10688           fix a compile warning when disabling debug
10689
10690 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10691
10692         * gst/gstinfo.h:
10693         Hey! Let's print the pad name if the pointer != NULL instead
10694         of when it == NULL :-)
10695
10696 2005-11-28  Wim Taymans  <wim@fluendo.com>
10697
10698         * check/gst/gstutils.c: (GST_START_TEST):
10699         Updated check, add some scaling accuracy checking code.
10700
10701         * gst/gstutils.c: (gst_util_div128_64),
10702         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
10703         (gst_util_uint64_scale_int):
10704         Fix 6 times faster division code. Optimize for common 
10705         1/1 and less common X/1 cases.
10706
10707 2005-11-28  Wim Taymans  <wim@fluendo.com>
10708
10709         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10710         More checks.
10711
10712         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
10713         (do_linear_regression), (gst_clock_add_observation):
10714         Cleanups.
10715         Release lock when the clock cannot be slaved.
10716         Catch the case where the regression returned an invalid denominator.
10717
10718         * gst/gstutils.c: (gst_util_div128_64_iterate),
10719         (gst_util_div128_64), (gst_util_uint64_scale_int64),
10720         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10721         Add protentially more performant non-iterative 128/64 divide function
10722         that unfortunatly does not work yet.
10723         Shortcut the trivial 0/X = 0 case.
10724         Remove the warnings on overflow.
10725
10726 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10727
10728         * gst/gstplugin.c: (gst_plugin_register_func):
10729           everything causing a plugin not to load should be at least a WARNING
10730
10731 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
10732
10733         * docs/random/ensonic/dparams.txt:
10734           some TODOs for the next dev cycle
10735         * libs/gst/controller/gstcontroller.c:
10736         (gst_controlled_property_set_interpolation_mode),
10737         (gst_controlled_property_new):
10738         * libs/gst/controller/gstcontroller.h:
10739           use base type to assign acccessor functions
10740
10741 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10742
10743         * check/Makefile.am:
10744         Oops, that should have been top_srcdir
10745
10746 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10747
10748         * check/Makefile.am:
10749         * check/elements/fdsrc.c: (GST_START_TEST):
10750         Use a cmdline define to specify the location of a file to use for
10751         testing, to avoid breaking distcheck.
10752
10753 2005-11-28  Andy Wingo  <wingo@pobox.com>
10754
10755         * gst/gstpad.c (fixate_value): Use array functions for arrays.
10756
10757 2005-11-28  Edward Hervey  <edward@fluendo.com>
10758
10759         * tools/gst-launch.c: (main):
10760         Clarify the output strings, makes it easier to translate.
10761         Fixes #322626
10762
10763 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10764
10765         * gst/Makefile.am:
10766           don't try and build net if we don't even have <sys/socket.h>
10767
10768 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
10769
10770         * check/Makefile.am:
10771         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
10772         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
10773           Add tests for fdsrc seekability
10774
10775         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10776         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
10777         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
10778         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
10779         * gst/elements/gstfdsrc.h:
10780           fdsrc should not be a 'live' source.
10781           Implement seeking on seekable fd's.
10782
10783         * gst/gstquery.c: (gst_query_new_seeking),
10784         (gst_query_parse_seeking):
10785         * gst/gstquery.h:
10786           Implement SEEKING query functions: 
10787             *_new_seeking and *_parse_seeking
10788
10789 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
10790
10791         * gst/gstelement.c: (gst_element_dispose):
10792           don't loop forever
10793
10794         * gst/gstiterator.c:
10795         * gst/gststructure.c:
10796           doc fixes
10797
10798         * libs/gst/controller/gstcontroller.c:
10799         (gst_controlled_property_set_interpolation_mode):
10800         * libs/gst/controller/gstcontroller.h:
10801         * libs/gst/controller/gstinterpolation.c:
10802         (interpolate_none_get_enum_value_array):
10803           support controlling enums
10804
10805 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
10806
10807         * gst/gstvalue.c:
10808           Improve documentation for gst_value_union().
10809
10810         * gst/gstvalue.h:
10811           Change return value for union, intersect and subtract functions
10812           from gint to gboolean.
10813
10814 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
10815
10816         * gst/gstvalue.c: (gst_value_serialize_any_list),
10817         (gst_value_transform_any_list_string),
10818         (gst_value_deserialize_list), (gst_value_deserialize_array),
10819         (gst_value_set_int_range), (gst_value_deserialize_int_range),
10820         (gst_value_set_double_range), (gst_value_deserialize_double_range),
10821         (gst_value_set_fraction_range_full),
10822         (gst_value_deserialize_fraction_range),
10823         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
10824         (gst_value_deserialize_boolean),
10825         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
10826         (gst_value_serialize_float), (gst_value_deserialize_float),
10827         (gst_string_wrap), (gst_value_deserialize_string),
10828         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
10829         (gst_value_union_int_range_int_range),
10830         (gst_value_intersect_int_range_int_range),
10831         (gst_value_intersect_double_range_double_range),
10832         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
10833         (gst_value_subtract_int_range_int_range),
10834         (gst_value_subtract_double_double_range),
10835         (gst_value_subtract_double_range_double_range),
10836         (gst_value_deserialize_fraction):
10837         * gst/gstvalue.h:
10838           Use gint, gdouble and gchar in our API instead of int, double and
10839           char (and make usage in gstvalue.c more consistent).
10840
10841 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10842
10843         * check/Makefile.am:
10844         * libs/gst/controller/Makefile.am:
10845         * libs/gst/dataprotocol/Makefile.am:
10846           fix up Makefile.am and remove GST_ENABLE_NEW
10847
10848 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10849
10850         * configure.ac:
10851         * gst/Makefile.am:
10852         * gst/base/Makefile.am:
10853         * gst/check/Makefile.am:
10854         * gst/elements/Makefile.am:
10855         * gst/net/Makefile.am:
10856           update LDFLAGS use some more
10857
10858 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10859
10860         * common/m4/gst-doc.m4:
10861           Fixes #312589
10862
10863 2005-11-26  Edward Hervey  <edward@fluendo.com>
10864
10865         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10866         This shouldn't issue a g_warning since it returns NULL if it
10867         couldn't find the plugin, and all functions using this behave
10868         properly on a NULL return. Switching to a GST_WARNING.
10869
10870 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
10871
10872         * gst/gstbin.c: (gst_bin_handle_message_func):
10873         Don't leak clock messages.
10874
10875 2005-11-25  Wim Taymans  <wim@fluendo.com>
10876
10877         * gst/gstutils.c: (gst_util_uint64_scale_int64),
10878         (gst_util_uint64_scale_int):
10879         Optimisations, remove unneeded vars.
10880
10881 2005-11-25  Wim Taymans  <wim@fluendo.com>
10882
10883         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10884         Added more checks for the high precision uint64 cases.
10885
10886         * gst/gstutils.c: (gst_util_uint64_scale_int64),
10887         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10888         Implement high precision (guint64 * guint64) / guint64.
10889
10890 2005-11-24  Wim Taymans  <wim@fluendo.com>
10891
10892         * gst/base/gstbasesrc.c: (gst_base_src_query):
10893         Fix wrong percentage query.
10894
10895         * gst/gstutils.c: (gst_util_uint64_scale),
10896         (gst_util_uint64_scale_int):
10897         Add some more common cases that can be handled 
10898         efficiently to _scale.
10899
10900 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10901
10902         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
10903         (gst_mini_object_suite):
10904           don't use check calls from threads; check probably isn't
10905           threadsafe and using a lock to make it threadsafe would
10906           defeat the purpose of this check
10907         * gst/check/gstcheck.c:
10908         * gst/check/gstcheck.h:
10909           use GST_DEBUG some more
10910
10911 2005-11-24  Wim Taymans  <wim@fluendo.com>
10912
10913         * gst/gstutils.c: (gst_util_uint64_scale),
10914         (gst_util_uint64_scale_int):
10915         Chain trivial case to _scale_int.
10916
10917 2005-11-24  Wim Taymans  <wim@fluendo.com>
10918
10919         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10920         Added test for scaling.
10921
10922         * gst/gstclock.h:
10923         Small doc fix.
10924
10925         * gst/gstutils.c: (gst_util_uint64_scale_int):
10926         Implemented high precision scaling code.
10927
10928 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
10929
10930         * gst/gstinfo.h:
10931           do not crash on pad==NULL
10932
10933 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10934
10935         Patch by: Stefan Kost
10936
10937         * common/gtk-doc.mak:
10938         * docs/gst/Makefile.am:
10939         * docs/libs/Makefile.am:
10940           Fix distcheck issues for the libraries docs build
10941           Closes #319599.
10942
10943 2005-11-24  Michael Smith <msmith@fluendo.com>
10944
10945         * docs/manual/basics-helloworld.xml:
10946           Fix bug #315027: memory leak in example code in docs.
10947
10948 2005-11-24  Michael Smith <msmith@fluendo.com>
10949
10950         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10951           Unlock the PREROLL_LOCK in a failure case.
10952
10953 2005-11-24  Wim Taymans  <wim@fluendo.com>
10954
10955         * docs/gst/gstreamer-sections.txt:
10956         * gst/base/gstadapter.h:
10957         * gst/base/gstbasesink.h:
10958         * gst/base/gstbasesrc.h:
10959         * gst/base/gstbasetransform.h:
10960         * gst/base/gstpushsrc.h:
10961         * gst/elements/gstfakesink.h:
10962         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
10963         * gst/elements/gstfakesrc.h:
10964         * gst/elements/gstfilesink.h:
10965         * gst/elements/gstfilesrc.h:
10966         * gst/gst.c:
10967         * gst/gstbin.c:
10968         * gst/gstbuffer.c: (_gst_buffer_copy):
10969         * gst/gstbus.h:
10970         * gst/gstcaps.c:
10971         * gst/gstchildproxy.c:
10972         * gst/gstclock.c:
10973         * gst/gstelement.c:
10974         * gst/gstelementfactory.c:
10975         * gst/gstelementfactory.h:
10976         * gst/gstevent.c:
10977         * gst/gstghostpad.h:
10978         * gst/gstindex.h:
10979         * gst/gstinterface.h:
10980         * gst/gstminiobject.c:
10981         * gst/gstminiobject.h:
10982         * gst/gstpad.c:
10983         * gst/gstpad.h:
10984         * gst/gstpadtemplate.h:
10985         * gst/gstpipeline.h:
10986         * gst/gstpluginfeature.h:
10987         * gst/gstquery.h:
10988         * gst/gstqueue.h:
10989         * gst/gsttaglist.c:
10990         * gst/gsttaglist.h:
10991         * gst/gsttagsetter.c:
10992         * gst/gsttagsetter.h:
10993         * gst/gsttrace.c:
10994         * gst/gsttrace.h:
10995         * gst/gsttypefind.h:
10996         * gst/gsturi.h:
10997         * gst/gstvalue.c:
10998         * gst/net/gstnetclientclock.c:
10999         * gst/net/gstnetclientclock.h:
11000         * gst/net/gstnettimepacket.c:
11001         * gst/net/gstnettimeprovider.c:
11002         * gst/net/gstnettimeprovider.h:
11003         Doc fixes.
11004
11005 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11006
11007         * configure.ac: back to HEAD
11008
11009 === release 0.9.6 ===
11010
11011 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
11012
11013         * configure.ac:
11014           releasing 0.9.6, "Always On Time"
11015
11016 2005-11-23  Wim Taymans  <wim@fluendo.com>
11017
11018         * docs/gst/gstreamer-sections.txt:
11019         * gst/glib-compat.c:
11020         * gst/gsttagsetter.c:
11021         * gst/gstvalue.c:
11022         * gst/net/gstnetclientclock.c:
11023         * gst/net/gstnettimepacket.h:
11024         Doc updates.
11025
11026 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11027
11028         * docs/faq/using.xml:
11029         * docs/libs/tmpl/gstcontrol.sgml:
11030         * docs/manual/advanced-dparams.xml:
11031         * docs/manual/appendix-checklist.xml:
11032         * docs/manual/basics-elements.xml:
11033         * docs/pwg/other-source.xml:
11034         * docs/random/moving-plugins:
11035         * gst/gstpad.c:
11036         * tools/gst-launch.1.in:
11037           remove mentions of sinesrc
11038
11039 2005-11-23  Michael Smith <msmith@fluendo.com>
11040
11041         * docs/gst/gstreamer-sections.txt:
11042           Update for new API and API changes.
11043         * gst/gstobject.h:
11044           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
11045         * gst/gstvalue.c:
11046           Documentation typo fix.
11047         * gst/net/gstnettimepacket.c:
11048           Documentation fixes for arguments.
11049
11050 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
11051
11052         * gst/gststructure.c: (gst_structure_get_fraction),
11053         (gst_structure_parse_value),
11054         (gst_structure_fixate_field_nearest_fraction):
11055         * gst/gststructure.h:
11056         * gst/gstutils.c: (gst_util_uint64_scale_int):
11057         * gst/gstutils.h:
11058         * scripts/update-funcnames:
11059         API Changes. 
11060         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
11061         Make gst_structure_fixate_field_nearest_fraction take a numerator
11062         and denominator argument instead of a GValue
11063         add gst_structure_get_fraction helper function.
11064
11065 2005-11-23  Wim Taymans  <wim@fluendo.com>
11066
11067         * docs/design/part-TODO.txt:
11068         Update TODO.
11069
11070         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11071         * gst/net/gstnetclientclock.h:
11072         Use parent fields for timeout and window_size.
11073
11074 2005-11-23  Andy Wingo  <wingo@pobox.com>
11075
11076         * check/net/gstnetclientclock.c (test_functioning): Adjust to
11077         rate_num/rate_denom change.
11078
11079         * gst/net/gstnetclientclock.c
11080         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
11081         OBJECT_LOCK. Don't call add_observation with the lock.
11082
11083         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
11084         fraction.
11085         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
11086         rate fraction.
11087         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
11088         deal with rate as a fraction whose numerator and denominator are
11089         GstClockTime values.
11090         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
11091         master; the other fields are protected by the SLAVE_LOCK.
11092         (do_linear_regression): Note that this must be called with the
11093         SLAVE_LOCK.
11094         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
11095         OBJECT_LOCK. Call set_calibration instead of touching the
11096         variables directly.
11097         (gst_clock_set_property, gst_clock_get_property): Protect
11098         master/slave parameters with the SLAVE_LOCK.
11099
11100         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
11101         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
11102         note that all of the instance variables that add_observation and
11103         the set_master functions use are protected by that lock and not
11104         the OBJECT_LOCK.
11105         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
11106
11107         * gst/gstclock.c (gst_clock_add_observation): No longer requires
11108         the caller to take the object lock.
11109
11110 2005-11-23  Wim Taymans  <wim@fluendo.com>
11111
11112         * gst/gsterror.c: (_gst_core_errors_init):
11113         * gst/gsterror.h:
11114         Add error for clock stuff.
11115
11116         * gst/gstpipeline.c: (gst_pipeline_change_state),
11117         (gst_pipeline_set_clock):
11118         Post clock error when clock cannot be used in a pipeline.
11119
11120 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
11121
11122         * docs/gst/gstreamer-sections.txt:
11123           make two symbols from gstinfo private for the docs
11124         * gst/base/gstcollectpads.h:
11125         * gst/gstutils.c:
11126           fix doc typos, update docs
11127
11128 2005-11-22  Wim Taymans  <wim@fluendo.com>
11129
11130         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11131         (gst_base_sink_wait), (gst_base_sink_do_sync),
11132         (gst_base_sink_handle_event):
11133         * gst/base/gstbasesink.h:
11134         No need to store the clock, the parent element class already
11135         has it.
11136
11137         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
11138         Updates for clock_set returning a gboolean
11139
11140         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
11141         (gst_clock_id_wait_async), (gst_clock_class_init),
11142         (gst_clock_init), (gst_clock_finalize),
11143         (gst_clock_get_internal_time), (gst_clock_get_time),
11144         (gst_clock_slave_callback), (gst_clock_set_master),
11145         (gst_clock_get_master), (do_linear_regression),
11146         (gst_clock_add_observation), (gst_clock_set_property),
11147         (gst_clock_get_property):
11148         * gst/gstclock.h:
11149         Implement master/slave. When setting a clock as a slave, a
11150         periodic timeout is scheduled to sample master and slave times.
11151         Then the slave clock is recalibrated to match offset and rate
11152         of the master clock.
11153         Update logging a bit.
11154         Add flag so that a clock can state that is cannot be slaved to
11155         another clock.
11156
11157         * gst/gstelement.c: (gst_element_set_clock):
11158         * gst/gstelement.h:
11159         The set clock returns a gboolean for when an element cannot
11160         deal with the selected clock in the pipeline. 
11161
11162         * gst/gstpipeline.c: (gst_pipeline_change_state),
11163         (gst_pipeline_set_clock):
11164         * gst/gstpipeline.h:
11165         Handle the case where the selected clock cannot be set on
11166         the pipeline.
11167
11168         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
11169         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11170         (gst_net_client_clock_set_property),
11171         (gst_net_client_clock_get_property),
11172         (gst_net_client_clock_observe_times):
11173         * gst/net/gstnetclientclock.h:
11174         Use regression code in GstClock parent, remove duplicated
11175         functionality.
11176
11177 2005-11-22  Michael Smith <msmith@fluendo.com>
11178
11179         * gst/gstutils.c: (gst_util_clock_time_scale):
11180         * gst/gstutils.h:
11181         * docs/gst/gstreamer-sections.txt:
11182           Rename method to have extra underscore.
11183
11184 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11185
11186         * gst/elements/Makefile.am:
11187         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
11188         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11189         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
11190         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
11191         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
11192         * gst/elements/gstfakesrc.h:
11193         * gst/gstqueue.c: (queue_leaky_get_type):
11194           correctly fix GEnumValues so that nick is the short lowercase
11195           dashed tag
11196         * tools/gst-inspect.c: (print_element_properties_info):
11197           also show the nick, since it's useful to use from parse_launch
11198           syntax
11199           Fixes #322139
11200
11201 2005-11-22  Michael Smith <msmith@fluendo.com>
11202
11203         * gst/gstutils.c: (gst_util_clocktime_scale):
11204         * gst/gstutils.h:
11205         * docs/gst/gstreamer-sections.txt:
11206           Add util method for scaling a clocktime by a fraction. Useful 
11207           implementation is left as an exercise for the reader.
11208
11209 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11210
11211         * gst/gstvalue.c: (gst_value_collect_fraction_range):
11212         If needed, allocate storage in the destination value during
11213         collection.
11214
11215 2005-11-22  Edward Hervey  <edward@fluendo.com>
11216
11217         * docs/gst/gstreamer-sections.txt:
11218         * gst/Makefile.am:
11219         * gst/gst.h:
11220         * gst/gsturitype.c:
11221         * gst/gsturitype.h:
11222         * gst/gstutils.c: (gst_util_set_object_arg):
11223         * tools/gst-compprep.c: (main):
11224         * tools/gst-inspect.c: (print_element_properties_info):
11225         Removed GstURI, closes bug #321061
11226
11227 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11228
11229         * check/gst/gststructure.c: (GST_START_TEST):
11230         * gst/gststructure.c: (gst_structure_parse_value):
11231           Oops, broke automatic string type parsing.
11232           Add a test to catch it in future.
11233
11234 2005-11-22  Andy Wingo  <wingo@pobox.com>
11235
11236         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
11237         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
11238         Actually rename the function implementations. Grr.
11239
11240 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11241
11242         * check/gst/capslist.h:
11243           Comment test cases
11244         * check/gst/gststructure.c: (GST_START_TEST),
11245         (gst_structure_suite):
11246           Test automatic value type detection in gst_structure_from_string.
11247         * gst/gststructure.c: (gst_structure_parse_value):
11248           Add fraction as a type we try and guess automatically in
11249           caps/structure strings.
11250
11251 2005-11-22  Andy Wingo  <wingo@pobox.com>
11252
11253         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
11254
11255         * gst/gsttagsetter.h:
11256         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
11257         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
11258         (gst_tag_setter_add_tag_valist)
11259         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
11260         _add_values, _add_valist, and _add_valist_values. Since this is an
11261         interface the function suffixes should be more explicit so
11262         language binding don't end up with element.add_valist ->
11263         gst_tag_setter_add_valist, for example. Fixes #322069.
11264
11265 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11266
11267         * check/gst/gstcaps.c: (GST_START_TEST):
11268           Extend caps string tests to check that a caps to string
11269           conversion is reversible and produces the same caps.
11270
11271         * gst/gststructure.c: (gst_structure_value_get_generic_type):
11272           Output "fraction" as the generic type fraction range, so caps
11273           serialisation and deserialisation works.
11274         * check/gst/capslist.h:
11275         * gst/gstvalue.c: (gst_value_deserialize_fraction):
11276           Support 'MIN' and 'MAX' for deserialising fractions.
11277
11278 2005-11-22  Andy Wingo  <wingo@pobox.com>
11279
11280         * gst/gstevent.h (gst_event_new_new_segment)
11281         (gst_event_parse_new_segment, gst_event_new_buffer_size)
11282         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
11283         Renamed from *_newsegment, *_buffersize, *_notarget.
11284
11285         * scripts/update-funcnames: New script, performs the changes
11286         listed above.
11287
11288 2005-11-22  Wim Taymans  <wim@fluendo.com>
11289
11290         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11291         Make sure the GstFlowReturn is returned.
11292
11293         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
11294         (gst_bus_add_signal_watch):
11295         * gst/gstbus.h:
11296         add gst_bus_add_signal_watch_full.
11297
11298         * gst/gstplugin.c: (gst_plugin_load_file):
11299         Small style cleanup.
11300
11301 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11302
11303         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
11304           Block the fakesrc srcpad when we send an event, to avoid
11305           contention on the stream_lock causing random test failures.
11306
11307 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11308
11309         * check/gst/gstvalue.c: (GST_START_TEST):
11310         * gst/gstvalue.c: (gst_value_fraction_subtract):
11311           Fix subtraction.
11312
11313 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
11314
11315         * gst/gst.h:
11316           include "gstchildproxy.h"
11317         * gst/gstchildproxy.h:
11318         * libs/gst/controller/gstcontroller.h:
11319           use G_GNUC_NULL_TERMINATED
11320
11321 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11322
11323         * check/gst/capslist.h:
11324         * check/gst/gstcaps.c: (GST_START_TEST):
11325         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11326         * gst/gststructure.c: (gst_structure_parse_range),
11327         (gst_structure_fixate_field_nearest_fraction):
11328         * gst/gststructure.h:
11329         * gst/gstvalue.c: (gst_value_init_fraction_range),
11330         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11331         (gst_value_collect_fraction_range),
11332         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
11333         (gst_value_set_fraction_range_full),
11334         (gst_value_get_fraction_range_min),
11335         (gst_value_get_fraction_range_max),
11336         (gst_value_serialize_fraction_range),
11337         (gst_value_transform_fraction_range_string),
11338         (gst_value_compare_fraction_range),
11339         (gst_value_deserialize_fraction_range),
11340         (gst_value_intersect_fraction_fraction_range),
11341         (gst_value_intersect_fraction_range_fraction_range),
11342         (gst_value_subtract_fraction_fraction_range),
11343         (gst_value_subtract_fraction_range_fraction),
11344         (gst_value_subtract_fraction_range_fraction_range),
11345         (gst_value_collect_fraction), (gst_value_fraction_multiply),
11346         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
11347         (gst_value_transform_string_fraction), (_gst_value_initialize):
11348         * gst/gstvalue.h:
11349           Implement fraction ranges and extend GstFraction to support
11350           arithmetic subtraction, as well as deserialization from integer
11351           strings such as "100"
11352           Add a testsuite as for int and double range set operations
11353
11354 2005-11-21  Andy Wingo  <wingo@pobox.com>
11355
11356         * gst/gsttaglist.h: 
11357         * gst/gstcaps.h: 
11358         * gst/gststructure.h: Add glib-compat.h.
11359
11360 2005-11-21  Wim Taymans  <wim@fluendo.com>
11361
11362         * gst/gstbin.c: (gst_bin_change_state_func):
11363         Fix for #321595
11364
11365 2005-11-21  Wim Taymans  <wim@fluendo.com>
11366
11367         * gst/gstsegment.h:
11368         And add a nice define too.
11369
11370 2005-11-21  Wim Taymans  <wim@fluendo.com>
11371
11372         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
11373         (gst_segment_new), (gst_segment_free), (gst_segment_init),
11374         (gst_segment_set_duration), (gst_segment_set_last_stop),
11375         (gst_segment_set_seek), (gst_segment_set_newsegment),
11376         (gst_segment_to_stream_time), (gst_segment_to_running_time),
11377         (gst_segment_clip):
11378         * gst/gstsegment.h:
11379         Make binding friendly.
11380
11381 2005-11-21  Andy Wingo  <wingo@pobox.com>
11382
11383         * gst/gsttagsetter.h: 
11384         * gst/gsttaglist.h: 
11385         * gst/gststructure.h: 
11386         * gst/gstcaps.h: 
11387         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
11388         #319940.
11389
11390         * gst/gsterror.c (_gst_core_errors_init):
11391         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
11392         category.
11393
11394         * gst/Makefile.am (gst_headers): Add glib-compat.h.
11395         (noinst_HEADERS): noinst the -private.
11396
11397 2005-11-21  Michael Smith <msmith@fluendo.com>
11398
11399         * gst/gstplugin.h:
11400         * gst/gstregistry.h:
11401           Remove unimplemented declarations for which we can see no sensible
11402           use.
11403
11404 2005-11-21  Andy Wingo  <wingo@pobox.com>
11405
11406         * gst/gst.h: Include glib-compat.h.
11407
11408         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
11409
11410         * gst/glib-compat.c: Include the public and the private header.
11411
11412         * gst/glib-compat-private.h: Copied here from glib-compat.h.
11413
11414         * gst/gstvalue.c: 
11415         * gst/gstpad.c: 
11416         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
11417
11418         * check/gst/gstevent.c (create_custom_events): Check that
11419         FLUSH_STOP is serialized.
11420
11421         * check/elements/identity.c (event_func): 
11422         * check/elements/fakesrc.c (event_func): No stream lock, the core
11423         takes it.
11424
11425         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
11426         stream lock taking, yay.
11427
11428         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
11429         ensure that core takes the stream lock.
11430
11431         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
11432         lock name change.
11433
11434         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
11435         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
11436         it already. For the flush start we do take it though so we get the
11437         right preroll state change messages.
11438
11439         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
11440         the stream lock here, the core does it for us.
11441
11442         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
11443         GST_STREAM_GET_LOCK.
11444         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
11445         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
11446         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
11447         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
11448         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
11449         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
11450
11451         * gst/gstpad.c: Update for stream lock name change.
11452
11453         * gst/base/gstbasesink.c: Update for preroll lock name change.
11454
11455 2005-11-21  Wim Taymans  <wim@fluendo.com>
11456
11457         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
11458         (gst_clock_get_master):
11459         * gst/gstclock.h:
11460         * gst/gstsystemclock.c: (gst_system_clock_init):
11461         Convert Clock flags to object flags.
11462         Added methods to manage master/slave clocks.
11463
11464 2005-11-21  Wim Taymans  <wim@fluendo.com>
11465
11466         * check/gst/gstsegment.c: (GST_START_TEST):
11467         * docs/design/part-TODO.txt:
11468         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11469         (gst_base_sink_event), (gst_base_sink_do_sync),
11470         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11471         (gst_base_sink_query), (gst_base_sink_change_state):
11472         * gst/base/gstbasesink.h:
11473         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
11474         (gst_base_src_default_newsegment),
11475         (gst_base_src_configure_segment), (gst_base_src_do_seek),
11476         (gst_base_src_get_range), (gst_base_src_loop),
11477         (gst_base_src_change_state):
11478         * gst/base/gstbasesrc.h:
11479         * gst/base/gstbasetransform.c:
11480         (gst_base_transform_prepare_output_buf),
11481         (gst_base_transform_event), (gst_base_transform_change_state):
11482         * gst/base/gstbasetransform.h:
11483         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11484         (gst_collect_pads_event):
11485         * gst/base/gstcollectpads.h:
11486         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
11487         (gst_fake_src_create):
11488         * gst/elements/gstfakesrc.h:
11489         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11490         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11491         (gst_segment_set_last_stop), (gst_segment_set_seek),
11492         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11493         (gst_segment_to_running_time), (gst_segment_clip):
11494         * gst/gstsegment.h:
11495         More segment updates, replace code in plugins with segment
11496         helper functions.
11497
11498 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11499
11500         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
11501         Don't ignore sscanf results
11502
11503 2005-11-21  Andy Wingo  <wingo@pobox.com>
11504
11505         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
11506
11507         * *.h:
11508         * *.c: Ran scripts/update-macros. Oh yes.
11509
11510         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
11511         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
11512         GST_GET_LOCK, etc.
11513
11514         * scripts/update-macros: New script. Run it on your files to
11515         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
11516         well.
11517
11518 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
11519
11520         * docs/gst/Makefile.am:
11521         * docs/gst/gstreamer-docs.sgml:
11522         * docs/gst/gstreamer-sections.txt:
11523         * docs/gst/gstreamer.types:
11524         * gst/gstinfo.h:
11525           more docs fixes, add new api to the docs
11526
11527 2005-11-21  Andy Wingo  <wingo@pobox.com>
11528
11529         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
11530         state_broadcast call.
11531
11532         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
11533
11534 2005-11-21  Julien MOUTTE  <julien@moutte.net>
11535
11536         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
11537         function calls for arrays.
11538
11539 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
11540
11541         * docs/random/ensonic/media-device-daemon.txt:
11542           wild idea, can this be done?
11543         * docs/gst/gstreamer-sections.txt:
11544         * gst/gsterror.h:
11545         * gst/gstfilter.c:
11546         * gst/gstfilter.h:
11547         * gst/gstplugin.h:
11548         * gst/gstpluginfeature.c:
11549         * gst/gsttrace.c:
11550         * gst/gstvalue.c:
11551         * gst/gstvalue.h:
11552           doc fixes and additions
11553
11554 2005-11-21  Andy Wingo  <wingo@pobox.com>
11555
11556         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
11557         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
11558         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
11559         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
11560         private to the basesrc implementation.
11561
11562         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
11563         behalf of event function if necessary. It should no longer be
11564         necessary to take the stream lock in pad's event functions. Fixes
11565         #320299.
11566
11567 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11568         * docs/gst/gstreamer-sections.txt:
11569         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
11570         (gst_structure_fixate_field_nearest_double),
11571         (gst_structure_fixate_field_boolean):
11572         * gst/gststructure.h:
11573         * win32/common/libgstreamer.def:
11574         * win32/gstreamer.def:
11575
11576         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
11577         (#322027)
11578
11579 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11580
11581         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
11582         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
11583         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
11584         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
11585         (gst_fdsrc_uri_handler_init):
11586         * gst/elements/gstfdsrc.h:
11587           Port fd:// URI handler from 0.8 to fdsrc
11588
11589 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11590
11591         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
11592         (gst_value_serialize_fourcc):
11593         * gst/gstvalue.h:
11594           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
11595           consistent with our other format defines (#320324).
11596
11597 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11598
11599         * gst/gstvalue.c: (gst_value_is_fixed):
11600           Revert previous commit. Value lists are by definition
11601           not fixed, as they are a list of possible values.
11602
11603 2005-11-21  Andy Wingo  <wingo@pobox.com>
11604
11605         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
11606         during the stable series if we need it. Fixes #319178.
11607
11608         * gst/gstevent.c (gst_event_new_filler): Removed.
11609
11610         * check/gst/gstevent.c: Update comment about filler events.
11611
11612 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11613
11614         * gst/gstvalue.c: (gst_value_is_fixed):
11615           Should handle both value arrays and value lists.
11616
11617 2005-11-21  Andy Wingo  <wingo@pobox.com>
11618
11619         patch by: Alessandro Dessina <alessandro nnva org>
11620
11621         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
11622         functions to access arrays. Fixes #321962.
11623
11624 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11625
11626         * docs/gst/gstreamer.types:
11627           gst_collectpads_get_type => gst_collect_pads_get_type.
11628           
11629         * gst/base/gstbasetransform.c:
11630           Remove unused SIGNAL_HANDOFF enum.
11631
11632 2005-11-21  Andy Wingo  <wingo@pobox.com>
11633
11634         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
11635         the event type (upstream, downstream, serialized). Renamed
11636         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
11637         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
11638         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
11639
11640         * gst/gstevent.c: Update for new CUSTOM event names.
11641
11642         * check/gst/gstevent.c: Update check for new CUSTOM event names.
11643
11644         * gst/gstevent.h:
11645         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
11646         bug #319392.
11647
11648 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11649
11650         * docs/gst/gstreamer-sections.txt:
11651         * win32/common/libgstbase.def:
11652         * win32/libgstbase.def:
11653         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11654         (gst_collect_pads_class_init), (gst_collect_pads_init),
11655         (gst_collect_pads_finalize), (gst_collect_pads_new),
11656         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
11657         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
11658         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
11659         (gst_collect_pads_start), (gst_collect_pads_stop),
11660         (gst_collect_pads_peek), (gst_collect_pads_pop),
11661         (gst_collect_pads_available), (gst_collect_pads_read),
11662         (gst_collect_pads_flush), (gst_collect_pads_event),
11663         (gst_collect_pads_chain):
11664         * gst/base/gstcollectpads.h:
11665           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
11666           unimplemented functions as unimplemented. Add padding to
11667           GstCollectData. (#320766, #320423)
11668
11669 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11670
11671         * gst/gstmessage.c:
11672           Improve docs for DURATION message (usage of duration parameter)
11673           (#320113)
11674
11675 2005-11-20  Wim Taymans  <wim@fluendo.com>
11676
11677         * check/Makefile.am:
11678         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
11679         (main):
11680         * gst/Makefile.am:
11681         * gst/gst.h:
11682         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11683         (gst_segment_set_seek), (gst_segment_set_newsegment),
11684         (gst_segment_to_stream_time), (gst_segment_to_running_time),
11685         (gst_segment_clip):
11686         * gst/gstsegment.h:
11687         Added segment helper structure and methods. Not fully implemented
11688         yet.
11689         Added segment check.
11690
11691 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
11692
11693         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11694           Add a deserialisation test for fractions
11695         * examples/metadata/read-metadata.c: (message_loop),
11696         (make_pipeline), (main):
11697           Fix up metadata reading sample.
11698         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11699           Debug format fix
11700         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
11701           Don't try and fixate empty caps
11702         * gst/gst_private.h:
11703           Wrap in G_BEGIN_DECLS/G_END_DECLS
11704         * gst/gstvalue.c: (gst_value_collect_fraction),
11705         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
11706         (gst_value_transform_string_fraction),
11707         (gst_value_compare_fraction):
11708           Add some extra guards to ensure that we don't end up 
11709           with an invalid denominator of 0 in a gstfraction and
11710           that fractions always get reduced.
11711
11712 2005-11-20  Wim Taymans  <wim@fluendo.com>
11713
11714         * docs/gst/gstreamer-sections.txt:
11715         * gst/gstbuffer.h:
11716         * gst/gstelement.c:
11717         * gst/gstformat.c:
11718         * gst/gstformat.h:
11719         * gst/gstindex.h:
11720         * gst/gstquery.c:
11721         * gst/gstquery.h:
11722         * gst/gstvalue.c:
11723         Doc fixes.
11724
11725 2005-11-20  Wim Taymans  <wim@fluendo.com>
11726
11727         * docs/design/part-TODO.txt:
11728         * gst/gstcaps.h:
11729         Make a proper enum of the flag.
11730
11731 2005-11-19  Wim Taymans  <wim@fluendo.com>
11732
11733         * docs/design/part-TODO.txt:
11734         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
11735         (gst_format_to_quark), (gst_format_register):
11736         * gst/gstformat.h:
11737         * gst/gstquery.c: (_gst_query_initialize),
11738         (gst_query_type_get_name), (gst_query_type_to_quark),
11739         (gst_query_type_register):
11740         * gst/gstquery.h:
11741         Add type to quark and type to string conversions.
11742
11743 2005-11-19  Andy Wingo  <wingo@pobox.com>
11744
11745         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
11746         #320097.
11747
11748 2005-11-19  Wim Taymans  <wim@fluendo.com>
11749
11750         * docs/design/part-TODO.txt:
11751         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11752         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
11753         (gst_bin_handle_message_func):
11754         * gst/gstbin.h:
11755         Make message handling overridable.
11756
11757 2005-11-19  Andy Wingo  <wingo@pobox.com>
11758
11759         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
11760
11761         * gst/gstclock.h:
11762         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
11763         be a GstClockTime.
11764         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
11765         is a GstClockTime. Fixes #321710.
11766
11767         * gst/gstclock.h (GstClock): Remove offset property. Add
11768         internal_calibration and external_calibration. Fix padding. Pad
11769         also by GstClockTime so we don't run into problems.
11770
11771         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
11772         (gst_clock_get_rate_offset): Remove.
11773         (gst_clock_set_time_adjust): Remove. Fixes #321712.
11774
11775         * gst/gstutils.h:
11776         * gst/gstutils.c (g_static_rec_cond_wait)
11777         (g_static_rec_cond_timed_wait): Removed, no longer needed.
11778
11779         * gst/gstbin.c: Remove terrible continue_state prototype.
11780
11781         * gst/gstelement.h (gst_element_continue_state): Make public.
11782
11783         * gst/gstelement.h:
11784         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
11785         by continue_state. Fixes #319389.
11786
11787         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
11788         Really fixes #168438. However I don't see anywhere where the
11789         filter function is called... stupid GStreamer...
11790         
11791         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
11792         don't have a dispose function, so it won't get called when the
11793         object is unreffed, but oh well!
11794
11795         * gst/gstindex.c (gst_index_set_filter_full): New API function,
11796         allows a destroy function to be set so user_data can be freed.
11797         Fixes #168438.
11798         (gst_index_set_filter): Call gst_index_set_filter_full.
11799
11800         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
11801
11802         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
11803         string should produce an error, given the lack of a way to
11804         represent NULL strings. Fixes #165650.
11805         
11806         * gst/gstvalue.h: 
11807         * gst/gstvalue.c (gst_value_array_append_value) 
11808         (gst_value_array_prepend_value, gst_value_array_get_size) 
11809         (gst_value_array_get_value): New API, copied from
11810         gst_value_list_*, only operates on arrays.
11811         (gst_value_list_append_value, gst_value_list_prepend_value) 
11812         (gst_value_list_concat, gst_value_list_get_size) 
11813         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
11814
11815         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
11816         init_list, because it works on both.
11817         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
11818         (gst_value_copy_list_or_array): Renamed from copy_list.
11819         (gst_value_free_list_or_array): Renamed from free_list.
11820         (gst_value_collect_list_or_array): Renamed from collect_list.
11821         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
11822         (gst_value_list_or_array_peek_pointer): Renamed from
11823         list_peek_pointer.
11824         (_gst_value_array_value_table, _gst_value_list_value_table):
11825         Update value table functions.
11826         (gst_value_compare_list_or_array): Renamed from compare_list.
11827
11828         * gsttaglist.h: Whoops, foreach function returns void. Also fix
11829         some constness.
11830
11831         * gst/gsttaglist.c:
11832         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
11833         GstTagList*. Fixes #143472.
11834
11835         * gst/gststructure.h: Clarify what the foreach/map functions can
11836         or can't do to their arguments.
11837
11838 2005-11-18  Wim Taymans  <wim@fluendo.com>
11839
11840         * gst/gstclock.c: (gst_clock_set_calibration),
11841         (gst_clock_get_calibration):
11842         Doc and API fixes.
11843         Calibration can be set with internal time equal to current
11844         internal time too.
11845
11846 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
11847
11848         * gst/gsterror.c:
11849         * gst/gsterror.h:
11850           document
11851
11852 2005-11-18  Andy Wingo  <wingo@pobox.com>
11853
11854         * configure.ac: 
11855         * pkgconfig/gstreamer-net.pc.in:
11856         * pkgconfig/gstreamer-net-uninstalled.pc.in:
11857         * pkgconfig/Makefile.am: Add net pkgconfig files.
11858
11859 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
11860
11861         * gst/gstcaps.c:
11862         * gst/gstghostpad.c:
11863         * gst/gsttrace.c:
11864         * gst/gstvalue.c:
11865         * gst/gstvalue.h:
11866           docs fixes
11867
11868 2005-11-18  Andy Wingo  <wingo@pobox.com>
11869
11870         * gst/net/gstnetclientclock.c: Turn off debugging.
11871
11872         * check/net/gstnetclientclock.c (test_functioning): Assert that the
11873         times connverge somewhat. Can't make a real test.
11874
11875         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
11876         integer arithmetic. Return the minimum of the domain, which can be
11877         set as "internal" for gst_clock_set_calibration.
11878         (gst_net_client_clock_observe_times): Call _set_calibration.
11879         (gst_net_client_clock_new): Call _set_calibration instead of
11880         rate_offset.
11881
11882         * check/net/gstnetclientclock.c (test_functioning): Use the right
11883         adjustment api.
11884
11885         * gst/gstclock.h:
11886         * gst/gstclock.c (gst_clock_get_calibration) 
11887         (gst_clock_set_calibration): New functions, obsolete the ones I
11888         added yesterday. Doh. Precision issues mean we have to extrapolate
11889         from a point in the more recent past than 1970.
11890         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
11891         obsolete.
11892         (gst_clock_adjust_unlocked): Use the right calibration data.
11893
11894 2005-11-18  Edward Hervey  <edward@fluendo.com>
11895
11896         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
11897         Also reset the ->current_* values in READY->PAUSED
11898
11899 2005-11-18  Andy Wingo  <wingo@pobox.com>
11900
11901         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
11902         Whoops, check the right fd. Also add some debugging.
11903         (gst_net_client_clock_observe_times): Adjust for int64 offset.
11904         (do_linear_regression): Add a crapload of debugging. Subtract off
11905         the minimum values from the input series to discard unneeded bits.
11906         Use only int arithmetic. There is still double arithmetic when
11907         calculating the intercept that needs fixing. Return boolean to
11908         indicate success; FALSE would mean the domain or range is too
11909         great. Still needs fixes.
11910
11911 2005-11-18  Wim Taymans  <wim@fluendo.com>
11912
11913         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
11914         For the current position in stream time, we need to subtract
11915         accumulated time.
11916         
11917         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11918         Release lock before calling the callback function of async
11919         entries.
11920
11921 2005-11-18  Andy Wingo  <wingo@pobox.com>
11922
11923         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
11924         Port goes all the way to MAXUINT16.
11925
11926         * gst/net/gstnettimeprovider.c: Make the port range the same as
11927         for the kernel: 0 assigns, otherwise ports are less than
11928         MAXUINT16.
11929
11930         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
11931         port change.
11932
11933         * check/net/gstnetclientclock.c (test_functioning): Add the start
11934         of another test. 
11935
11936 2005-11-18  Wim Taymans  <wim@fluendo.com>
11937
11938         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11939         (gst_bin_remove_func), (bin_bus_handler):
11940         * gst/gstbin.h:
11941         Removing a clock provider from a bin, triggers a clock lost message
11942         so that a new clock will be selected.
11943         Adding a clock to a bin triggers a clock provider message.
11944         Make sure we reselect a clock when we received a clock lost message.
11945         Keep a reference to the element that provided the clock.
11946
11947 2005-11-18  Andy Wingo  <wingo@pobox.com>
11948
11949         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
11950         the clock initially so it produces values around the base time.
11951         (gst_net_client_clock_class_init): Typo fix.
11952         (gst_net_client_clock_thread): Add note on when the socket gets
11953         closed.
11954
11955 2005-11-17  Wim Taymans  <wim@fluendo.com>
11956
11957         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
11958         Free remote and local time arrays.
11959
11960 2005-11-17  Wim Taymans  <wim@fluendo.com>
11961
11962         * gst/net/gstnetclientclock.c: (do_linear_regression),
11963         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
11964         Fix compilation, uninitialized vars and a forgotten continue.
11965
11966 2005-11-17  Andy Wingo  <wingo@pobox.com>
11967
11968         * check/Makefile.am (check_PROGRAMS): 
11969         * check/net/gstnetclientclock.c: Add a most minimal test for the
11970         net client clock. More to come later.
11971
11972         * gst/net/gstnet.h: 
11973         * gst/net/Makefile.am: Add netclientclock.
11974
11975         * gst/net/gstnetclientclock.h:
11976         * gst/net/gstnetclientclock.c: New files, implement an untested
11977         GstClock that takes its time from a network time provider.
11978         Implements the algorithm in network-clock.scm.
11979
11980         * tests/network-clock.scm (*window-size*): Rename from
11981         *queue-length*.
11982         * tests/network-clock.scm (network-time): 
11983         * tests/network-clock-utils.scm (q-push): Update callers.
11984
11985 2005-11-17  Wim Taymans  <wim@fluendo.com>
11986
11987         * gst/gstbin.c: (gst_bin_provide_clock_func),
11988         (gst_bin_sort_iterator_new):
11989         And unref the child too..
11990
11991 2005-11-17  Wim Taymans  <wim@fluendo.com>
11992
11993         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11994         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
11995         Refactor the sort iterator so it can be used while holding the
11996         LOCK too.
11997         Make clock selection select a clock closest to the source.
11998
11999 2005-11-17  Michael Smith <msmith@fluendo.com>
12000
12001         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
12002         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
12003         * gst/gstclock.h:
12004           Anonymous structs are a gcc (and some other compilers) extension, so
12005           don't use them. Since this is only for ABI-compatibility, and our
12006           API/ABI freeze is over in a few days, this whole thing will only
12007           last a few days, so don't bother trying to think up a meaningful
12008           name for the struct.
12009
12010 2005-11-17  Andy Wingo  <wingo@pobox.com>
12011
12012         * gst/gstclock.h (GstClock): Add rate and offset properties,
12013         preserving ABI stability. Add rate/offset accessors. Will file bug
12014         for the freeze break.
12015
12016         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
12017         and offset, trying to keep precision and avoiding
12018         underflow/overflow.
12019         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
12020         functions. Make gst_clock_set_time_adjust obsolete.
12021         (gst_clock_set_time_adjust): Note that this function is obsolete.
12022         Will file bug soon.
12023
12024         * gst/base/gstbasetransform.h: Make the ABI-stability hack
12025         greppable by using GST_PADDING-1+1.
12026
12027 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
12028
12029         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12030
12031         * gst/gstmessage.c: (gst_message_parse_clock_lost):
12032           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
12033
12034         * gst/gstpadtemplate.h:
12035         * gst/gstpluginfeature.h:
12036           Don't use c++ style comments in headers (#321638).
12037
12038 2005-11-16  Andy Wingo  <wingo@pobox.com>
12039
12040         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
12041         buffer.
12042
12043         * check/net/gstnettimeprovider.c: Check to see that the time
12044         provider actually provides times. Works, yo!
12045
12046 2005-11-16  Wim Taymans  <wim@fluendo.com>
12047
12048         * check/Makefile.am:
12049         Enable more tests.
12050
12051         * check/elements/fakesrc.c: (GST_START_TEST):
12052         Set element to NULL before disposing it.
12053
12054 2005-11-16  Andy Wingo  <wingo@pobox.com>
12055
12056         * gst/net/Makefile.am:
12057         * gst/net/gstnet.h:
12058         * gst/net/gstnettimeprovider.c: 
12059         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
12060         provider, include it from gstnet.h, and add it to the build.
12061
12062         * gst/net/gstnettimepacket.h: 
12063         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
12064         sending and receiving.
12065
12066 2005-11-16  Wim Taymans  <wim@fluendo.com>
12067
12068         * check/Makefile.am:
12069         Enable valgrind check.
12070
12071         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
12072         (gst_fake_src_alloc_buffer):
12073         Fix memleak.
12074
12075 2005-11-16  Wim Taymans  <wim@fluendo.com>
12076
12077         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
12078         Call parent finalize too.
12079
12080 2005-11-16  Wim Taymans  <wim@fluendo.com>
12081
12082         * check/Makefile.am:
12083         Enable valgrind check that should work fine now.
12084
12085         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12086         * gst/gstqueue.c: (gst_queue_init):
12087         Fix memleaks in pad allocation.
12088
12089 2005-11-16  Andy Wingo  <wingo@pobox.com>
12090
12091         * gst/net/Makefile.am:
12092         * gst/net/gstnet.h: New part of core to hold network elements and
12093         objects. Put in core because it exposes API that applications want
12094         to use. The library is named libgstnet-tempname right now because
12095         of the existing libgstnet in gst-plugins-base. Solution is
12096         probably to rename the one in plugins-base; will file a bug for
12097         the freeze break.
12098
12099         * gst/net/gstnettimeprovider.c: 
12100         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
12101         get_time call over the network.
12102
12103         * configure.ac: 
12104         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
12105
12106         * check/Makefile.am:
12107         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
12108         get additions shortly.
12109
12110 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12111
12112         * gst/gstpad.c: (gst_pad_new_from_static_template):
12113         * gst/gstpad.h:
12114           add gst_pad_new_from_static_template functions
12115         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
12116         (gst_check_setup_sink_pad):
12117         * gst/elements/gsttee.c: (gst_tee_init):
12118           and use them
12119
12120 2005-11-16  Wim Taymans  <wim@fluendo.com>
12121
12122         * gst/gstpad.c: (gst_pad_pause_task):
12123         Removed warning, it's not really an error either.
12124
12125 2005-11-16  Wim Taymans  <wim@fluendo.com>
12126
12127         * gst/base/gstbasetransform.c:
12128         (gst_base_transform_prepare_output_buf),
12129         (gst_base_transform_event):
12130         Check if the caps are NULL, this can happen if the element
12131         is shutting down and the pad caps are set to NULL.
12132
12133 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12134
12135         * gst/elements/gsttee.c: (gst_tee_init):
12136           fix pad template leak in tee
12137
12138 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12139
12140         * gst/glib-compat.c: (g_value_dup_gst_object):
12141         * gst/glib-compat.h:
12142         * gst/gstpad.c: (gst_pad_set_property):
12143           use gst_object_ref when setting the pad template; this will
12144           trigger the pad template leaks on GLib 2.6 and the slaves
12145
12146 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12147
12148         * gst/glib-compat.c: (gst_flags_get_first_value):
12149         * gst/glib-compat.h:
12150         * gst/gstregistryxml.c:
12151           remove functions copied from GLib 2.6
12152
12153 2005-11-16  Michael Smith <msmith@fluendo.com>
12154
12155         * gst/Makefile.am:
12156           Don't link against VALGRIND_LIBS. That was always the wrong thing to
12157           do, but only breaks with newer valgrind versions. We're not a
12158           valgrind tool, we have no link-time dependencies on libcoregrind.
12159
12160 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12161
12162         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12163           some debug changes
12164         * gst/gstmessage.h:
12165           typo fixes
12166
12167 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12168
12169         * gst/base/gstbasesrc.c: (gst_base_src_init):
12170         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12171         * gst/gstqueue.c: (gst_queue_init):
12172         * gst/gstregistryxml.c: (load_feature):
12173           Revert all these unrefs, they don't even pass make check !
12174
12175 2005-11-15  Johan Dahlin  <johan@gnome.org>
12176
12177         * gst/base/gstbasesrc.c: (gst_base_src_init):
12178         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12179         * gst/gstqueue.c: (gst_queue_init): 
12180         Free pad templates, fixes a couple of leaks.
12181
12182 2005-11-15  Daniel Fischer  <dan at f3c dot com>
12183
12184         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12185
12186         * gst/gstpad.c: (gst_pad_get_property):
12187           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
12188           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
12189           (#321452)
12190
12191 2005-11-15  Wim Taymans  <wim@fluendo.com>
12192
12193         * gst/gstevent.c:
12194         Small doc update.
12195
12196 2005-11-15  Andy Wingo  <wingo@pobox.com>
12197
12198         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
12199
12200         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
12201         using GST_CLOCK_TIME_NONE to disable base time management.
12202         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
12203         time if it was NONE before.
12204         (gst_pipeline_change_state): Only munge the base time if
12205         stream_time != GST_CLOCK_TIME_NONE.
12206
12207         * check/gst/gstpipeline.c (test_base_time): Punt around the
12208         problem of the probe not being called, because that's not the
12209         issue I'm looking at. Add a check that setting stream_time to NONE
12210         disables base time management.
12211         
12212 2005-11-15  Wim Taymans  <wim@fluendo.com>
12213
12214         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12215         segment_stop == -1 at startup.
12216
12217         * gst/base/gstbasetransform.c: (gst_base_transform_event),
12218         (gst_base_transform_change_state):
12219         Init segment values at start.
12220
12221 2005-11-15  Wim Taymans  <wim@fluendo.com>
12222
12223         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12224         0 segment values are 0 in any format.
12225
12226         * gst/base/gstbasetransform.c: (gst_base_transform_event):
12227         * gst/base/gstbasetransform.h:
12228         Parse newsegment correctly in basetransform
12229
12230         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12231         Sync to clock using updated segment values.
12232
12233 2005-11-15  Andy Wingo  <wingo@pobox.com>
12234
12235         * check/gst/gstpipeline.c (test_base_time): Add check that the
12236         base time and stream time are reset correctly.
12237
12238 2005-11-15  Wim Taymans  <wim@fluendo.com>
12239
12240         * docs/design/part-TODO.txt:
12241         Some more TODO items.
12242
12243 2005-11-15  Andy Wingo  <wingo@pobox.com>
12244
12245         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
12246         error if the user selected "no clock" as the clocking method.
12247
12248         * check/gst/gstpipeline.c (test_base_time): New test for buffer
12249         timestamps with live capture.
12250
12251         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
12252         is 0 but we are a live source, timestamp the buffers using the
12253         element's clock.
12254
12255 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
12256
12257         * docs/gst/gstreamer-sections.txt:
12258         * gst/gsterror.c:
12259         * gst/gstghostpad.c:
12260         * gst/gstobject.h:
12261         * gst/gstxml.c:
12262           more section docs
12263
12264 2005-11-14  Wim Taymans  <wim@fluendo.com>
12265
12266         * common/gst.supp:
12267           add suppressions from Wim's Debian machine
12268
12269 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12270
12271         * common/gst.supp:
12272           add suppressions from Andy's AMD64 Ubuntu machine
12273
12274 2005-11-14  Andy Wingo  <wingo@pobox.com>
12275
12276         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
12277         STATE_LOCK not necessary. Fixes #311489.
12278
12279         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
12280         #305291.
12281
12282         * gst/gstindex.c (gst_index_add_object): Note in the docs that
12283         this function is not implemented.
12284
12285 2005-11-14  Julien MOUTTE  <julien@moutte.net>
12286
12287         * gst/base/gstbasetransform.c:
12288         (gst_base_transform_prepare_output_buf):
12289         Ref the source pad caps while we need them.
12290         Fixes (#321386)
12291
12292 2005-11-11  Wim Taymans  <wim@fluendo.com>
12293
12294         * docs/gst/gstreamer-sections.txt:
12295         Added some docs for GstCollectData.
12296
12297         * gst/base/gstadapter.c:
12298         Some small code example fix.
12299
12300         * gst/base/gstcollectpads.c:
12301         * gst/base/gstcollectpads.h:
12302         Document some more.
12303
12304 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12305
12306         * configure.ac: back to HEAD
12307
12308 === release 0.9.5 ===
12309
12310 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
12311
12312         * configure.ac:
12313           releasing 0.9.5, "Bike Lunch Day"
12314
12315 2005-11-11  Wim Taymans  <wim@fluendo.com>
12316
12317         * gst/gstbuffer.c: (_gst_buffer_copy):
12318         Copy more flags.
12319
12320         * gst/gstcaps.c: (gst_caps_is_equal):
12321         Fix some docs.
12322         Make _is_equal fast in the trivial cases.
12323
12324         * gst/gstminiobject.c:
12325         * gst/gstminiobject.h:
12326         More docs. Spifify .h file.
12327
12328         * gst/gstutils.c:
12329         Small doc update.
12330
12331 2005-11-11  Wim Taymans  <wim@fluendo.com>
12332
12333         * gst/base/gstbasetransform.c:
12334         (gst_base_transform_prepare_output_buf),
12335         (gst_base_transform_handle_buffer):
12336         Small cleanups.
12337         If we're processing a buffer and need to allocate an output
12338         buffer, we cannot accept a format change. If we did get a 
12339         format change, we have to alloc a buffer ourselves of the 
12340         right size.
12341
12342 2005-11-11  Wim Taymans  <wim@fluendo.com>
12343
12344         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
12345         While checking the flag for reentrancy in the gstcaps function
12346         is nice to detect recursive invocations, it also makes it 
12347         impossible to call getcaps from multiple threads, which must be
12348         possible. So, checking for recursive calls has to go.
12349
12350 2005-11-11  Michael Smith <msmith@fluendo.com>
12351
12352         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12353           Don't sync on buffers that fall partially outside our current
12354           segment. Prevents an assertion failure/abort playing some files.
12355
12356 2005-11-10  Andy Wingo  <wingo@pobox.com>
12357
12358         * check/gst/gstbin.c (test_message_state_changed_children): Style
12359         fix..
12360
12361         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
12362         gst_bus_poll with the signal watch. Ensures that poll and a signal
12363         watch see the same messages.
12364
12365         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
12366         a poll and a watch at the same time get the same messages.
12367
12368 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12369
12370         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
12371         * gst/gstcaps.c: (gst_caps_intersect):
12372           Don't call gst_caps_do_simplify - it doesn't respect order of caps
12373           and it's not needed.
12374
12375 2005-11-10  Wim Taymans  <wim@fluendo.com>
12376
12377         * docs/design/part-TODO.txt:
12378         Updated todo.
12379
12380 2005-11-10  Wim Taymans  <wim@fluendo.com>
12381
12382         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12383         * gst/base/gstbasesrc.c: (gst_base_src_wait),
12384         (gst_base_src_do_sync), (gst_base_src_get_range):
12385         Implement clock sync in base class.
12386
12387 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12388
12389         patch by: Tim-Philipp Müller <tim at centricular dot net>
12390
12391         * gst/gststructure.c: (gst_structure_parse_field),
12392         (gst_structure_from_string):
12393           Forward-port a 0.8 patch to handle escaped spaces in structure string,
12394           so that gst_parse_launch() can deal with spaces in filtered link
12395           caps (fixes #164479)
12396         * check/gst/capslist.h:
12397         * check/gst/gststructure.c: (GST_START_TEST):
12398           add unit tests for this change
12399
12400 2005-11-10  Wim Taymans  <wim@fluendo.com>
12401
12402         * docs/gst/gstreamer-sections.txt:
12403         * gst/gstelement.c:
12404         * gst/gstelement.h:
12405         Fix docs, move some STATE macros to private.
12406
12407 2005-11-10  Wim Taymans  <wim@fluendo.com>
12408
12409         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12410         Added check for bug #317341
12411
12412         * gst/gstbuffer.c:
12413         * gst/gstbuffer.h:
12414         Some more spiffifying.
12415
12416         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
12417         Call peer linkfunction if we are a source pad. Totally fixes
12418         #317341
12419
12420         * gst/gstpad.c:
12421         Update docs, source pads should call the peer linkfunction
12422         so they can atomically perform the pad link.
12423
12424 2005-11-09  Wim Taymans  <wim@fluendo.com>
12425
12426         * gst/gstbuffer.c:
12427         * gst/gstbuffer.h:
12428         Uber-spiffy-spiffify some more.
12429
12430 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
12431
12432         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
12433         * gst/elements/gstfilesink.c: (gst_file_sink_init):
12434         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12435         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
12436         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
12437         * gst/gstpad.c: (gst_pad_init):
12438           Use GST_DEBUG_FUNCPTR() more extensively.
12439
12440 2005-11-09  Wim Taymans  <wim@fluendo.com>
12441
12442         * gst/gstobject.c: (gst_object_class_init):
12443         * gst/gstobject.h:
12444         Documentation fixes.
12445
12446 2005-11-09  Edward Hervey  <edward@fluendo.com>
12447
12448         * gst/gsttypefindfactory.c:
12449         Fix docs.
12450         
12451 2005-11-09  Edward Hervey  <edward@fluendo.com>
12452
12453         * gst/base/gsttypefindhelper.c:
12454         * gst/gsttypefind.c:
12455         * gst/gsttypefind.h:
12456         Fix docs.
12457
12458 2005-11-09  Wim Taymans  <wim@fluendo.com>
12459
12460         * gst/gstiterator.c:
12461         Fix revision data.
12462
12463         * gst/gsttask.c:
12464         * gst/gsttask.h:
12465         Fix docs.
12466
12467 2005-11-09  Wim Taymans  <wim@fluendo.com>
12468
12469         * gst/gstevent.h:
12470         * gst/gsturi.h:
12471         Fix docs.
12472
12473 2005-11-09  Wim Taymans  <wim@fluendo.com>
12474
12475         * docs/gst/gstreamer-sections.txt:
12476         Moved the message async delivery private lock and cond
12477         to the private section.
12478
12479         * gst/gstmessage.c:
12480         * gst/gstmessage.h:
12481         Fixed docs.
12482
12483 2005-11-09  Edward Hervey  <edward@fluendo.com>
12484
12485         * docs/gst/gstreamer-sections.txt:
12486         * gst/gsturi.c:
12487         * gst/gsturi.h:
12488         Document GstURIHandler
12489
12490 2005-11-09  Wim Taymans  <wim@fluendo.com>
12491
12492         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
12493         (gst_iterator_find_custom):
12494         * gst/gstiterator.h:
12495         Fix iterator docs.
12496
12497 2005-11-09  Wim Taymans  <wim@fluendo.com>
12498
12499         * gst/gstbin.h:
12500         Document another field.
12501
12502         * gst/gststructure.c:
12503         * gst/gststructure.h:
12504         Document.
12505
12506 2005-11-09  Wim Taymans  <wim@fluendo.com>
12507
12508         * gst/gstbin.h:
12509         Documented structs.
12510
12511 2005-11-09  Wim Taymans  <wim@fluendo.com>
12512
12513         * docs/gst/gstreamer-sections.txt:
12514         Added some new macros.
12515
12516         * gst/gstclock.c:
12517         * gst/gstclock.h:
12518         * gst/gstobject.h:
12519         Docs updates.
12520
12521 2005-11-09  Wim Taymans  <wim@fluendo.com>
12522
12523         * docs/design/part-TODO.txt:
12524         Some more items for the TODO
12525
12526         * gst/gstcaps.c:
12527         * gst/gstcaps.h:
12528         Document GstCaps.
12529
12530 2005-11-09  Andy Wingo  <wingo@pobox.com>
12531
12532         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
12533         to work on something else now tho...
12534
12535         * gst/base/gstadapter.c: More adapter docs.
12536
12537         * gst/elements/gstfilesink.c (gst_file_sink_start) 
12538         (gst_file_sink_stop): New functions, replace the state change
12539         handler.
12540         (gst_file_sink_class_init): Hook up the start and stop functions.
12541         (gst_file_sink_base_init): Don't set the state change handler any
12542         more. It was a bit ugly too, being set from here...
12543         (gst_file_sink_get_property, gst_file_sink_set_property):
12544         Cleanups...
12545         (gst_file_sink_set_location): More robust check that doesn't call
12546         GST_STATE. Ugggggg.
12547
12548 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
12549
12550         * gst/base/gstbasetransform.c: (gst_base_transform_event):
12551           Hold STREAM_LOCK while pushing newsegment or tag events as well.
12552
12553 2005-11-08  Wim Taymans  <wim@fluendo.com>
12554
12555         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
12556         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12557         (gst_base_sink_chain), (gst_base_sink_change_state):
12558         * gst/base/gstbasesink.h:
12559         * gst/base/gstbasesrc.h:
12560         * gst/gstelement.h:
12561         * gst/gstevent.h:
12562         Avoid excessive typechecking in macros.
12563
12564         * gst/gstminiobject.c: (gst_mini_object_get_type),
12565         (gst_mini_object_init), (gst_mini_object_new),
12566         (gst_mini_object_free):
12567         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12568         (gst_object_finalize):
12569         Remove cruft code, optimize alloc_trace.
12570
12571 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12572
12573         * docs/faq/gst-uninstalled:
12574           fix up PS1 for systems that try to reset it
12575
12576 2005-11-07  Wim Taymans  <wim@fluendo.com>
12577
12578         * gst/base/gstbasesrc.c: (gst_base_src_init),
12579         (gst_base_src_get_range):
12580         Set the segment_end to -1 initially. Fixed typefind.
12581
12582 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
12583
12584         * gst/base/gstadapter.c:
12585           Debug category should be 'adapter', not 'GstAdapter'.
12586           
12587         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
12588         (gst_collectpads_class_init), (gst_collectpads_init),
12589         (gst_collectpads_peek), (gst_collectpads_pop),
12590         (gst_collectpads_event), (gst_collectpads_chain):
12591           Add debug category and some debugging output. Use boilerplate
12592           macros. Remove some extraneous words from docs.
12593
12594 2005-11-05  Andy Wingo  <wingo@pobox.com>
12595
12596         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
12597         macro.
12598
12599 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
12600
12601         * docs/gst/gstreamer-sections.txt:
12602         * gst/gstcaps.h:
12603         * gst/gstinfo.c:
12604         * gst/gstminiobject.h:
12605         * gst/gstobject.h:
12606         * gst/gstutils.h:
12607           more docs added
12608
12609 2005-11-04  Wim Taymans  <wim@fluendo.com>
12610
12611         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12612         Small update to stop at the configured segment_end
12613         position.
12614
12615 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
12616
12617         * gst/gstregistry.c:
12618         * gst/gstregistry.h:
12619           added missing docs
12620
12621 2005-11-04  Edward Hervey  <edward@fluendo.com>
12622
12623         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12624         Check if we are doing a segment seek and have arrived at the
12625         end of that segment.
12626
12627 2005-11-04  Wim Taymans  <wim@fluendo.com>
12628
12629         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
12630         Don't leak a mutex unlock in case of an error.
12631
12632         * gst/gstbus.h:
12633         Doc fixes.
12634
12635 2005-11-04  Wim Taymans  <wim@fluendo.com>
12636
12637         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
12638         (gst_bus_post):
12639         Get the context to wake up only once.
12640
12641 2005-11-03  Wim Taymans  <wim@fluendo.com>
12642
12643         * check/states/sinks.c: (GST_START_TEST):
12644         Uncomment fixed check.
12645
12646         * docs/design/part-TODO.txt:
12647         Updated TODO.
12648
12649         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12650         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12651         (gst_base_sink_get_position):
12652         If we are going to PLAYING, post the right pending state
12653         when we post the intermediate paused message.
12654
12655         * gst/gstelement.c: (gst_element_continue_state),
12656         (gst_element_set_state_func), (gst_element_change_state):
12657         Don't post state changes that were between the same state
12658         and were not ASYNC.
12659
12660 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
12661
12662         * docs/gst/gstreamer-sections.txt:
12663         * gst/gstcaps.h:
12664         * gst/gstinfo.c:
12665         * gst/gstminiobject.h:
12666         * gst/gstobject.h:
12667         * gst/gstutils.h:
12668           more docs and doc style fixes
12669
12670 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
12671
12672         * docs/gst/gstreamer-sections.txt:
12673         * gst/gstelement.c:
12674         * gst/gstminiobject.c:
12675         doc fixes
12676
12677 2005-11-03  Andy Wingo  <wingo@pobox.com>
12678
12679         * check/states/sinks.c (test_livesrc_sink): Add checks that the
12680         state-changed messages actually have the right order and the right
12681         values.
12682
12683 2005-11-03  Wim Taymans  <wim@fluendo.com>
12684
12685         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
12686         Added some more checks. Specifically the case where NO_PREROLL
12687         elements are in the pipeline.
12688
12689         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12690         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12691         (gst_base_sink_get_position):
12692         Post READY->PAUSED state change messages too.
12693         Fix bug where VOID was posted as pending state...
12694
12695         * gst/gstbin.c: (gst_bin_recalc_state):
12696         use _element_continue_state() to continue the state change.
12697
12698         * gst/gstelement.c: (gst_element_continue_state),
12699         (gst_element_commit_state), (gst_element_set_state_func),
12700         (gst_element_change_state), (gst_element_change_state_func):
12701         Lots of state change cleanups, assign the STATE_RETURN in
12702         a new continue_state() function that also propagates the
12703         last return value from a state change to the app.
12704         Update some debug statements with proper category.
12705
12706 2005-11-03  Wim Taymans  <wim@fluendo.com>
12707
12708         * docs/design/part-events.txt:
12709         * docs/design/part-gstpipeline.txt:
12710         * docs/design/part-messages.txt:
12711         * docs/design/part-overview.txt:
12712         * docs/design/part-seeking.txt:
12713         * docs/design/part-states.txt:
12714         * docs/design/part-trickmodes.txt:
12715         * docs/manual/advanced-position.xml:
12716         Small docs updates.
12717
12718         * gst/gstobject.h:
12719         People think !! is ugly, this looks better.
12720
12721         * gst/gstpad.c: (gst_pad_set_blocked_async):
12722         Remove !! since it's fixed elsewhere now.
12723
12724 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12725
12726         * gst/gstminiobject.h:
12727         * gst/gstobject.h:
12728           Add !! to _FLAG_IS_SET macros to make the result boolean.
12729
12730 2005-11-03  Edward Hervey  <edward@fluendo.com>
12731
12732         * gst/gstpad.c: (gst_pad_set_blocked_async):
12733         comparing a flag and a gboolean rarely returns coherent results...
12734         Added two characters (!!) to make that work correctly.
12735         
12736 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12737
12738         * gst/gstbus.c: (gst_bus_class_init):
12739           Fix some typos.
12740           
12741         * gst/gstqueue.c: (gst_queue_loop):
12742           Don't assume a miniobject that isn't a buffer is an
12743           event (it could be that there is a refcounting
12744           problem somewhere and the pointer is stale and
12745           refers to an already destroyed miniobject).
12746
12747 2005-11-03  Julien MOUTTE  <julien@moutte.net>
12748
12749         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
12750
12751 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12752
12753         * docs/manual/advanced-position.xml:
12754           Update seek example and explanations to current 0.9 API.
12755
12756         * gst/elements/gsttypefindelement.c:
12757         (gst_type_find_element_activate):
12758           Remove FIXME comment now that the found caps
12759           are unreffed.
12760
12761 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12762
12763         * gst/gstregistryxml.c: (load_feature):
12764           Add another GST_STR_NULL instance
12765
12766 2005-11-02  Edward Hervey  <edward@fluendo.com>
12767
12768         * gst/gstpad.c: (handle_pad_block):
12769         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
12770         
12771 2005-11-02  Wim Taymans  <wim@fluendo.com>
12772
12773         * gst/gstbin.c:
12774         Fix typo in docs.
12775
12776         * gst/gstelement.c: (gst_element_commit_state):
12777         Remove unused value.
12778
12779         * gst/gstiterator.c:
12780         Mention that the returned element is reffed in the docs.
12781
12782 2005-11-02  Wim Taymans  <wim@fluendo.com>
12783
12784         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
12785         (gst_pad_push), (gst_pad_push_event):
12786         Unlock blocked pads when they are flushed.
12787
12788 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12789
12790         * docs/README:
12791         * docs/gst/gstreamer-sections.txt:
12792         * gst/gstbin.c:
12793           doc updates
12794         * gst/gstregistry.c: (gst_registry_scan_path_level):
12795           fix for a nasty little missed situation where an installed plug-in
12796           which was in the cache did not get overridden by an uninstalled one
12797           which was earlier in the plugin path because the newly created plugin
12798           for the uninstalled one (not in the registry) didn't get its
12799           ->registered set to TRUE
12800
12801 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
12802
12803         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
12804         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
12805         (gst_collectpads_is_active), (gst_collectpads_collect),
12806         (gst_collectpads_collect_range), (gst_collectpads_start),
12807         (gst_collectpads_stop), (gst_collectpads_peek),
12808         (gst_collectpads_pop), (gst_collectpads_available),
12809         (gst_collectpads_read), (gst_collectpads_flush):
12810           Guard public API with assertions.
12811         
12812         * gst/gstpad.c:
12813           Fix docs for gst_pad_set_link_function().
12814
12815 2005-11-02  Johan Dahlin  <johan@gnome.org>
12816
12817         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
12818         Unref found_caps after we used it.
12819
12820 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
12821
12822         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
12823           Don't try to ref NULL.
12824
12825 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12826
12827         * win32/common/config.h.in:
12828           provide a GST_FUNCTION that just gives a string for now
12829
12830 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12831
12832         * win32/common/gstenumtypes.c: (register_gst_object_flags),
12833         (gst_object_flags_get_type), (register_gst_bin_flags),
12834         (gst_bin_flags_get_type), (register_gst_buffer_flag),
12835         (gst_buffer_flag_get_type), (register_gst_bus_flags),
12836         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12837         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
12838         (gst_clock_return_get_type), (register_gst_clock_entry_type),
12839         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12840         (gst_clock_flags_get_type), (register_gst_state),
12841         (gst_state_get_type), (register_gst_state_change_return),
12842         (gst_state_change_return_get_type), (register_gst_state_change),
12843         (gst_state_change_get_type), (register_gst_element_flags),
12844         (gst_element_flags_get_type), (register_gst_core_error),
12845         (gst_core_error_get_type), (register_gst_library_error),
12846         (gst_library_error_get_type), (register_gst_resource_error),
12847         (gst_resource_error_get_type), (register_gst_stream_error),
12848         (gst_stream_error_get_type), (register_gst_event_type),
12849         (gst_event_type_get_type), (register_gst_seek_type),
12850         (gst_seek_type_get_type), (register_gst_seek_flags),
12851         (gst_seek_flags_get_type), (register_gst_format),
12852         (gst_format_get_type), (register_gst_index_certainty),
12853         (gst_index_certainty_get_type), (register_gst_index_entry_type),
12854         (gst_index_entry_type_get_type),
12855         (register_gst_index_lookup_method),
12856         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12857         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12858         (gst_index_resolver_method_get_type), (register_gst_index_flags),
12859         (gst_index_flags_get_type), (register_gst_debug_level),
12860         (gst_debug_level_get_type), (register_gst_debug_color_flags),
12861         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12862         (gst_iterator_result_get_type), (register_gst_iterator_item),
12863         (gst_iterator_item_get_type), (register_gst_message_type),
12864         (gst_message_type_get_type), (register_gst_mini_object_flags),
12865         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12866         (gst_pad_link_return_get_type), (register_gst_flow_return),
12867         (gst_flow_return_get_type), (register_gst_activate_mode),
12868         (gst_activate_mode_get_type), (register_gst_pad_direction),
12869         (gst_pad_direction_get_type), (register_gst_pad_flags),
12870         (gst_pad_flags_get_type), (register_gst_pad_presence),
12871         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12872         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12873         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12874         (gst_plugin_error_get_type), (register_gst_plugin_flags),
12875         (gst_plugin_flags_get_type), (register_gst_rank),
12876         (gst_rank_get_type), (register_gst_query_type),
12877         (gst_query_type_get_type), (register_gst_tag_merge_mode),
12878         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12879         (gst_tag_flag_get_type), (register_gst_task_state),
12880         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12881         (gst_alloc_trace_flags_get_type),
12882         (register_gst_type_find_probability),
12883         (gst_type_find_probability_get_type), (register_gst_uri_type),
12884         (gst_uri_type_get_type), (register_gst_parse_error),
12885         (gst_parse_error_get_type):
12886         * win32/common/gstversion.h:
12887           update win32 copies
12888
12889 2005-11-01  Luca Ognibene  <luogni@tin.it>
12890
12891         * gst/gst.c:
12892           fix docs. popt is dead, long live GOption.
12893
12894 2005-10-31  Wim Taymans  <wim@fluendo.com>
12895
12896         * gst/gstbuffer.h:
12897         Small doc fix.
12898
12899 2005-10-31  Andy Wingo  <wingo@pobox.com>
12900
12901         * Boo!
12902
12903         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
12904
12905         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
12906         need to serialize property notifications on GLib 2.8. GLib 2.6 has
12907         the possibility of deadlocks here if code calling notify() or
12908         set() has a lock that can be taken in another notify handler (ABBA
12909         with class lock and e.g. python GIL state lock).
12910
12911 2005-10-28  Julien MOUTTE  <julien@moutte.net>
12912
12913         * gst/gstbus.c: Doc updates.
12914
12915 2005-10-28  Wim Taymans  <wim@fluendo.com>
12916
12917         * docs/design/part-TODO.txt:
12918         * gst/gstiterator.c:
12919         * gst/gstsystemclock.c:
12920         * gst/gstsystemclock.h:
12921         Doc updates.
12922
12923 2005-10-28  Edward Hervey  <edward@fluendo.com>
12924
12925         * docs/gst/gstreamer-docs.sgml:
12926         * docs/gst/gstreamer-sections.txt:
12927         the GstURIType documentation page is private, it only defines GstURIType
12928         which should be defined in the GstURIHandler page
12929         
12930 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12931
12932         * gst/gstbin.c: (gst_bin_class_init):
12933         * gst/gstbin.h:
12934         * gst/gstutils.c:
12935         Documentation updates.
12936
12937 2005-10-28  Wim Taymans  <wim@fluendo.com>
12938
12939         * docs/gst/gstreamer-sections.txt:
12940         * gst/gstclock.c:
12941         * gst/gstclock.h:
12942         Documented the clocks.
12943
12944 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
12945
12946         * docs/gst/gstreamer-sections.txt:
12947           move some macros to private sections
12948         * gst/gstminiobject.c:
12949         * gst/gstminiobject.h:
12950           add descriptions provided by ds and some more
12951         * gst/gstpad.h:
12952           mark macro as to be removed
12953
12954 2005-10-28  Wim Taymans  <wim@fluendo.com>
12955
12956         * docs/design/part-TODO.txt:
12957         Add an item to TODO.
12958
12959         * gst/gstiterator.c: (gst_iterator_fold),
12960         (gst_iterator_find_custom):
12961         * gst/gstiterator.h:
12962         Add iterator docs.
12963
12964 2005-10-28  Wim Taymans  <wim@fluendo.com>
12965
12966         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12967         (gst_base_transform_init):
12968         Don't leak class.
12969
12970         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
12971         An EOS event marks the queue as completely filled.
12972
12973 2005-10-27  Wim Taymans  <wim@fluendo.com>
12974
12975         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12976         (gst_base_sink_do_sync), (gst_base_sink_get_position):
12977         Some more debugging.
12978
12979         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
12980         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
12981         (gst_base_transform_event), (gst_base_transform_getrange),
12982         (gst_base_transform_chain):
12983         * gst/base/gstbasetransform.h:
12984         Fix debugging,
12985         Protect transform and concurrent buffer alloc with a new lock.
12986         Try not to break ABI/API.
12987
12988 2005-10-27  Wim Taymans  <wim@fluendo.com>
12989
12990         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12991         (gst_base_src_init), (gst_base_src_query),
12992         (gst_base_src_default_newsegment),
12993         (gst_base_src_configure_segment), (gst_base_src_do_seek),
12994         (gst_base_src_send_event), (gst_base_src_event_handler),
12995         (gst_base_src_pad_get_range), (gst_base_src_loop),
12996         (gst_base_src_unlock), (gst_base_src_default_negotiate),
12997         (gst_base_src_start), (gst_base_src_deactivate),
12998         (gst_base_src_activate_push), (gst_base_src_change_state):
12999         Move some stuff around and cleanup things.
13000
13001 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
13002
13003         * gst/base/gstbasesrc.c: (gst_base_src_query):
13004           Add missing break statements.
13005
13006 2005-10-27  Wim Taymans  <wim@fluendo.com>
13007
13008         * check/gst/gstbin.c: (GST_START_TEST):
13009         An extra refcount is taken in basesrc.
13010
13011         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13012         (gst_base_src_get_range), (gst_base_src_pad_get_range),
13013         (gst_base_src_loop):
13014         Small cleanups, check for flushing after being unlocked from the 
13015         LIVE_LOCK. take refcounts correctly (not yet everywhere).
13016         Don't send out EOS when going to READY.
13017
13018 2005-10-27  Wim Taymans  <wim@fluendo.com>
13019
13020         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13021         (gst_base_sink_get_position):
13022         Some more debug.
13023
13024         * gst/gstbin.c: (message_check), (bin_replace_message),
13025         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13026         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13027         (bin_query_duration_init), (bin_query_duration_fold),
13028         (bin_query_duration_done), (bin_query_generic_fold),
13029         (gst_bin_query):
13030         * tools/gst-launch.c: (main):
13031         Remove old option.
13032
13033 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
13034
13035         * examples/controller/audio-example.c: (main):
13036         * examples/queue/queue.c: (event_loop):
13037         * gst/base/gstbasetransform.h:
13038         * gst/gstelement.c: (gst_element_send_event):
13039         * gst/gstevent.h:
13040         * gst/gstpad.c: (gst_pad_send_event):
13041           fixing examples
13042           fixing docs typos
13043           changing log priority in error situations
13044
13045 2005-10-25  Wim Taymans  <wim@fluendo.com>
13046
13047         * gst/gstbin.c: (message_check), (bin_replace_message),
13048         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13049         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13050         (bin_query_duration_init), (bin_query_duration_fold),
13051         (bin_query_duration_done), (bin_query_generic_fold),
13052         (gst_bin_query):
13053         Some doc and debug updates.
13054         Cache previously requested query DURATION for speed. invalidate
13055         cached duration if element posts a DURATION message.
13056
13057 2005-10-25  Wim Taymans  <wim@fluendo.com>
13058
13059         * docs/design/part-TODO.txt:
13060         Update TODO.
13061
13062         * gst/gstbin.c: (message_check), (bin_replace_message),
13063         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13064         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13065         (bin_query_duration_init), (bin_query_duration_fold),
13066         (bin_query_duration_done), (bin_query_generic_fold),
13067         (gst_bin_query):
13068         Handle SEGMENT_START/DONE messages correctly.
13069         More evolved query algorithm that handles duration queries
13070         correctly.
13071
13072         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
13073         (gst_element_get_state_func), (gst_element_abort_state),
13074         (gst_element_commit_state), (gst_element_lost_state):
13075         Some more debugging.
13076
13077         * gst/gstmessage.h:
13078         Added doc.
13079
13080 2005-10-25  Wim Taymans  <wim@fluendo.com>
13081
13082         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13083         Don't use invalid stream_time.
13084
13085         * gst/gstevent.c: (gst_event_new_newsegment):
13086         stream_time in newsegment cannot be undefined.
13087
13088 2005-10-24  Wim Taymans  <wim@fluendo.com>
13089
13090         * gst/gstbus.c:
13091         Doc fix.
13092
13093         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13094         (gst_queue_loop):
13095         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
13096
13097 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
13098
13099         * docs/libs/tmpl/gstdparam.sgml:
13100         * docs/libs/tmpl/gstdplinint.sgml:
13101         * docs/libs/tmpl/gstdpman.sgml:
13102         * docs/libs/tmpl/gstdpsmooth.sgml:
13103         * docs/libs/tmpl/gstunitconvert.sgml:
13104           these are obsolete
13105
13106 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13107
13108         * configure.ac:
13109           back to HEAD
13110
13111 === release 0.9.4 ===
13112
13113 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13114
13115         * configure.ac:
13116           releasing 0.9.4, "Tyrannosaurus Rex"
13117
13118 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
13119
13120         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13121         (gst_file_sink_get_current_offset):
13122           Use fseeko() and ftello() if available. When falling back on
13123           lseek() to get the current offset, fflush() first to make sure
13124           everything is up-to-date and we get the right offset.
13125
13126 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13127
13128         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13129         * gst/base/gstbasesrc.c: (gst_base_src_loop):
13130         * gst/gsterror.c: (_gst_stream_errors_init):
13131         * gst/gsterror.h:
13132         * gst/gstqueue.c: (gst_queue_loop):
13133         * po/POTFILES.in:
13134           remove prematurely added error category and clean up the instances
13135
13136 2005-10-21  Wim Taymans  <wim@fluendo.com>
13137
13138         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13139         (gst_base_sink_get_position), (gst_base_sink_query),
13140         (gst_base_sink_change_state):
13141         Simply set the right flag when going to playing, that's all
13142         we need to do instead of calling a function inside the object
13143         lock (that could take the lock as well and deadlock)
13144
13145 2005-10-21  Wim Taymans  <wim@fluendo.com>
13146
13147         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
13148         (gst_base_src_loop):
13149         Don't warn, the peer element knows what to do best when
13150         the seek failed, it might try something else.
13151
13152 2005-10-21  Wim Taymans  <wim@fluendo.com>
13153
13154         * gst/base/gstbasesrc.c: (gst_base_src_init),
13155         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13156         Fix seeking.
13157
13158 2005-10-21  Wim Taymans  <wim@fluendo.com>
13159
13160         * docs/design/part-segments.txt:
13161         More docs.
13162
13163         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13164         Correctly set caps, even on the subbufer.
13165
13166 2005-10-21  Wim Taymans  <wim@fluendo.com>
13167
13168         * docs/gst/gstreamer-docs.sgml:
13169         * docs/gst/gstreamer-sections.txt:
13170         * gst/gstelement.h:
13171         * gst/gstevent.c:
13172         * gst/gstevent.h:
13173         * gst/gstmessage.h:
13174         * gst/gstpad.h:
13175         * gst/gstparse.h:
13176         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
13177         * gst/gsttask.h:
13178         * gst/gstutils.c:
13179         * gst/gstutils.h:
13180         And 2% more doc coverage.
13181
13182 2005-10-21  Andy Wingo  <wingo@pobox.com>
13183
13184         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
13185         position reporting.
13186
13187 2005-10-20  Wim Taymans  <wim@fluendo.com>
13188
13189         * gst/gsterror.c: (gst_error_get_message):
13190         * gst/gstparse.h:
13191         * gst/gstquery.h:
13192         * gst/gststructure.c:
13193         * gst/gsttrace.c:
13194         * gst/gstutils.c:
13195         More docs.
13196
13197 2005-10-20  Wim Taymans  <wim@fluendo.com>
13198
13199         * gst/gstbuffer.h:
13200         * gst/gstpad.c:
13201         * gst/gstparse.c:
13202         Another 1% more coverage.
13203
13204 2005-10-20  Wim Taymans  <wim@fluendo.com>
13205
13206         * docs/gst/gstreamer-sections.txt:
13207         * gst/gstelement.c: (gst_element_get_state_func),
13208         (gst_element_abort_state), (gst_element_commit_state),
13209         (gst_element_lost_state):
13210         * gst/gstevent.h:
13211         * gst/gstquery.c: (gst_query_set_position),
13212         (gst_query_parse_position), (gst_query_set_duration),
13213         (gst_query_parse_duration), (gst_query_new_convert):
13214         * gst/gstutils.c:
13215         Yay! 1% more docs coverage.
13216
13217 2005-10-20  Wim Taymans  <wim@fluendo.com>
13218
13219         * gst/gstpad.h:
13220         * gst/gstquery.c: (gst_query_set_position),
13221         (gst_query_parse_position), (gst_query_set_duration),
13222         (gst_query_parse_duration), (gst_query_new_convert):
13223         * gst/gstquery.h:
13224         * gst/gstutils.c: (gst_element_query_convert):
13225         * gst/gstutils.h:
13226         Docs and consistency fixes.
13227
13228 2005-10-20  Wim Taymans  <wim@fluendo.com>
13229
13230         * gst/gsttask.c:
13231         * gst/gsttask.h:
13232         More docs.
13233
13234 2005-10-20  Wim Taymans  <wim@fluendo.com>
13235
13236         * gst/gstbin.c: (message_check), (bin_replace_message),
13237         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13238         (update_degree), (gst_bin_sort_iterator_next),
13239         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
13240         Reworked the message handling a bit, cache the messages instead of
13241         only the senders. alows us to do more in the future.
13242
13243 2005-10-20  Wim Taymans  <wim@fluendo.com>
13244
13245         * docs/design/part-TODO.txt:
13246         Update TODO
13247
13248         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13249         (gst_base_sink_query):
13250         Don't use clock time to report position when in EOS.
13251
13252 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
13253
13254         * tools/gst-inspect.c: (print_interfaces),
13255         (print_element_properties_info), (print_element_info):
13256           Fix interface output with gst-inspect -a; don't print
13257           newlines after double/float properties.
13258
13259 2005-10-20  Wim Taymans  <wim@fluendo.com>
13260
13261         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13262         (gst_base_sink_query):
13263         Speed up current position calculation.
13264
13265         * gst/base/gstbasesrc.c: (gst_base_src_query),
13266         (gst_base_src_default_newsegment):
13267         Correctly set stream position in newsegment.
13268
13269         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
13270         (update_degree), (gst_bin_sort_iterator_next),
13271         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
13272         * gst/gstmessage.c: (gst_message_new_custom):
13273         Clean up debugging info
13274
13275         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13276         (gst_queue_loop), (gst_queue_handle_src_query):
13277         Pause task faster.
13278
13279 2005-10-19  Wim Taymans  <wim@fluendo.com>
13280
13281         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13282         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13283         Fix query handling again.
13284
13285 2005-10-19  Wim Taymans  <wim@fluendo.com>
13286
13287         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13288         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13289         * gst/base/gstbasesrc.c: (gst_base_src_query):
13290         * gst/elements/gstfilesink.c: (gst_file_sink_query):
13291         * gst/elements/gsttypefindelement.c:
13292         (gst_type_find_handle_src_query), (find_element_get_length),
13293         (gst_type_find_element_activate):
13294         API change fix.
13295
13296         * gst/gstquery.c: (gst_query_new_position),
13297         (gst_query_set_position), (gst_query_parse_position),
13298         (gst_query_new_duration), (gst_query_set_duration),
13299         (gst_query_parse_duration), (gst_query_set_segment),
13300         (gst_query_parse_segment):
13301         * gst/gstquery.h:
13302         Bundling query position/duration is not a good idea since duration
13303         does not change much and we don't want to recalculate it for every
13304         position query, so they are separated again..
13305         Base value in segment query is not needed.
13306
13307         * gst/gstqueue.c: (gst_queue_handle_src_query):
13308         * gst/gstutils.c: (gst_element_query_position),
13309         (gst_element_query_duration), (gst_pad_query_position),
13310         (gst_pad_query_duration):
13311         * gst/gstutils.h:
13312         Updates for query API change.
13313         Added some docs here and there.
13314
13315 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13316
13317         * check/gst/gstbin.c: (GST_START_TEST):
13318         * check/gst/gstghostpad.c: (GST_START_TEST):
13319         * check/pipelines/cleanup.c: (GST_START_TEST):
13320           wait on thread to die so we can check refcount correctly
13321
13322 2005-10-18  Wim Taymans  <wim@fluendo.com>
13323
13324         * check/pipelines/stress.c: (GST_START_TEST):
13325         Make check a little more time consuming.
13326
13327 2005-10-18  Wim Taymans  <wim@fluendo.com>
13328
13329         * check/Makefile.am:
13330         * check/pipelines/stress.c: (GST_START_TEST),
13331         (simple_launch_lines_suite), (main):
13332         Small state change torture test.
13333
13334         * docs/design/part-states.txt:
13335         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13336         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
13337         (gst_base_sink_change_state):
13338         Never take state lock from streaming thread, clean up ugly
13339         hacks. Unfortunatly core does not yet support nice ways to
13340         async commit state.
13341         
13342         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
13343         (bin_bus_handler):
13344         Start state recalc if a STATE_DIRTY message is posted, but only
13345         on the toplevel bin.
13346
13347         * gst/gstelement.c: (gst_element_sync_state_with_parent),
13348         (gst_element_get_state_func), (gst_element_abort_state),
13349         (gst_element_commit_state), (gst_element_lost_state),
13350         (gst_element_set_state_func), (gst_element_change_state):
13351         * gst/gstelement.h:
13352         State variables are now protected with the LOCK, the state
13353         lock is only used to serialize _set_state().
13354
13355 2005-10-18  Wim Taymans  <wim@fluendo.com>
13356
13357         * check/gst/gstbin.c: (GST_START_TEST):
13358         * check/gst/gstmessage.c: (GST_START_TEST):
13359         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13360         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
13361         (bin_bus_handler):
13362         * gst/gstelement.c: (gst_element_abort_state),
13363         (gst_element_commit_state), (gst_element_lost_state):
13364         * gst/gstmessage.c: (gst_message_new_state_changed),
13365         (gst_message_new_state_dirty), (gst_message_new_segment_start),
13366         (gst_message_new_segment_done), (gst_message_new_duration),
13367         (gst_message_parse_state_changed),
13368         (gst_message_parse_segment_start),
13369         (gst_message_parse_segment_done), (gst_message_parse_duration):
13370         * gst/gstmessage.h:
13371         * tools/gst-launch.c: (event_loop):
13372         Seriously, this is better than a previous commit as we only need
13373         to notify the fact that an element changed state in a streaming
13374         thread, marking the state of the parents dirty, hence the 
13375         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
13376         message.
13377
13378 2005-10-18  Wim Taymans  <wim@fluendo.com>
13379
13380         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
13381         (gst_bin_recalc_func):
13382         * gst/gstelement.c: (gst_element_set_clock),
13383         (gst_element_abort_state), (gst_element_lost_state):
13384         Cleanups, prepare for state change fixes.
13385
13386 2005-10-18  Wim Taymans  <wim@fluendo.com>
13387
13388         * gst/gstbin.h:
13389         * gst/gstelement.c: (gst_element_class_init),
13390         (gst_element_set_state), (gst_element_set_state_func):
13391         * gst/gstelement.h:
13392         Pending ABI changes.
13393         GThreadPool in GstBinClass to monitor async state changes.
13394         state_cookie in GstElement to detect concurrent gst/set state.
13395         set_state is now virtual too in case a very complicated element
13396         has to be constructed.
13397
13398 2005-10-18  Wim Taymans  <wim@fluendo.com>
13399
13400         * check/gst/gstbin.c: (GST_START_TEST):
13401         * check/gst/gstmessage.c: (GST_START_TEST):
13402         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13403         * gst/gstbin.c: (bin_bus_handler):
13404         * gst/gstelement.c: (gst_element_commit_state),
13405         (gst_element_lost_state):
13406         * gst/gstmessage.c: (gst_message_new_state_changed),
13407         (gst_message_new_segment_start), (gst_message_new_segment_done),
13408         (gst_message_new_duration), (gst_message_parse_state_changed),
13409         (gst_message_parse_segment_start),
13410         (gst_message_parse_segment_done), (gst_message_parse_duration):
13411         * gst/gstmessage.h:
13412         * tools/gst-launch.c: (event_loop):
13413         Make messages future proof.
13414         state-change gets a flag if it was a message comming from the
13415         streaming thread.
13416         segment-start/stop can also be specified in other formats.
13417         A message to notify an app that a pipeline changed playback 
13418         duration.
13419         Also fix a GstMessage leak in -launch
13420
13421 2005-10-18  Andy Wingo  <wingo@pobox.com>
13422
13423         * gst/gstelement.c (gst_element_dispose): More helpful message.
13424
13425 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13426
13427         reviewed by: <delete if not using a buddy>
13428
13429         * common/gtk-doc.mak:
13430
13431 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13432
13433         * gst/gstregistry.c: (gst_registry_scan_path_level):
13434           unref a plug-in we get that was already initialized
13435
13436 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
13437
13438         * docs/gst/gstreamer-sections.txt:
13439         * docs/libs/gstreamer-libs-sections.txt:
13440         * gst/gstelement.h:
13441           add new api entries
13442           hide internal macro
13443
13444 2005-10-17  Andy Wingo  <wingo@pobox.com>
13445
13446         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
13447         cleanup.
13448
13449         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
13450
13451         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
13452
13453         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
13454         (gst_element_get_state_func): Better debug message.
13455         (gst_element_commit_state): s/INFO/DEBUG/.
13456         (gst_element_lost_state, gst_element_change_state): 
13457
13458         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
13459         (gst_message_new_custom): s/INFO/LOG/.
13460
13461 2005-10-17  Michael Smith <msmith@fluendo.com>
13462
13463         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13464           Check if end time is valid using end time, not start time.
13465
13466 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
13467
13468         * check/gst-libs/controller.c: (GST_START_TEST),
13469         (gst_controller_suite):
13470         * libs/gst/controller/gstcontroller.c:
13471         (gst_controlled_property_set_interpolation_mode):
13472         * libs/gst/controller/gstcontroller.h:
13473         * libs/gst/controller/gstinterpolation.c:
13474         * testsuite/controller/.cvsignore:
13475         * testsuite/controller/Makefile.am:
13476         * testsuite/controller/interpolator.c:
13477           merge controller testsuites
13478           fix broken tests
13479           remove mem-chunk from docs
13480
13481 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
13482
13483         * gst/gstmemchunk.c:
13484         * gst/gstmemchunk.h:
13485         * gst/gsttrashstack.c:
13486         * gst/gsttrashstack.h:
13487           out.  get out.  you're fired.  to the Attic !
13488
13489 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
13490
13491         * gst/gstcaps.c: (gst_caps_intersect):
13492           fix signedness issues in a (hopefully) correct way
13493         * gst/gstelement.c: (gst_element_pads_activate):
13494           some debugging
13495         * gst/gstobject.c: (gst_object_set_parent):
13496           some debugging
13497
13498 2005-10-17  Julien MOUTTE  <julien@moutte.net>
13499
13500         * gst/gstvalue.h: Fix prototypes.
13501
13502 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13503
13504         * docs/gst/gstreamer-sections.txt:
13505         * gst/gst.c: (gst_version_string):
13506         * gst/gst.h:
13507         * gst/gstversion.h.in:
13508         * win32/common/libgstreamer.def:
13509           add gst_version_string ()
13510
13511 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13512
13513         * configure.ac:
13514           clean up further
13515         * gst/gst.c: (init_post):
13516         * win32/common/config.h.in:
13517           it's PLUGINDIR now
13518         * gst/gstcaps.c: (gst_caps_intersect):
13519           use gint64, the range could be bigger than a guint
13520
13521 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13522
13523         * gst/gstclock.h:
13524           document potential problem in 2038
13525
13526 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13527
13528         * gst/gstcaps.c: (gst_caps_intersect):
13529           Fix guint j diving under 0
13530
13531 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13532
13533         * configure.ac:
13534         * win32/common/config.h:
13535         * win32/common/config.h.in:
13536           check for process.h, declares getpid() on Windows
13537         * gst/gstinfo.c:
13538           include process.h if we have it
13539         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
13540         * gst/gstmemchunk.h:
13541           fix signedness issues
13542         * win32/common/libgstreamer.def:
13543           fix get_type's
13544
13545 2005-10-16  Julien MOUTTE  <julien@moutte.net>
13546
13547         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
13548         fix. Because of unsigned ints, caps intersection was going nuts and
13549         trying to access structures with G_MAXUINT index. That fixes
13550         videotestsrc ! ffmpegcolorspace ! fakesink
13551         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
13552         consistency.
13553
13554 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13555
13556         * configure.ac:
13557           use the gettext macro
13558         * gst/elements/gstelements.c:
13559         * gst/gst.c:
13560         * gst/indexers/gstindexers.c:
13561           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
13562         * win32/common/config.h:
13563           updated config.h
13564         * win32/common/config.h.in:
13565           add the template to generate config.h
13566         * win32/common/gstenumtypes.c:
13567         * win32/common/gstversion.h:
13568           updated copies
13569
13570 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13571
13572         * gst/gst.c: (gst_version):
13573         * gst/gstversion.h.in:
13574           add the nano
13575
13576 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
13577
13578         * gst/gstevent.h:
13579           Oops, add missing closing bracket.
13580
13581 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13582
13583         * configure.ac:
13584           use common m4's for argument checking
13585
13586 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
13587
13588         * docs/gst/gstreamer-sections.txt:
13589         * gst/gstevent.h:
13590           Add GST_EVENT_TYPE_NAME() macro.
13591
13592 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13593
13594         * gst/gstinfo.c:
13595         * gst/gstpluginfeature.c:
13596         * gst/gsttask.c:
13597           privatize more symbols
13598
13599 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13600
13601         * configure.ac:
13602           add srcdir, builddir includes to GST_ALL_CFLAGS, since
13603           everything that uses GStreamer API should have the includes
13604
13605 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13606
13607         * docs/gst/gstreamer-sections.txt:
13608         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13609         * gst/gstvalue.h:
13610           give each value a _get_type, removes the DATA exports
13611
13612 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13613
13614         * gst/gst.c:
13615         * gst/gst.h:
13616           remove _gst_registry_auto_load, not used anymore
13617         * gst/gstbin.c: (gst_bin_get_type):
13618         * gst/gstbin.h:
13619         * gst/gstelement.c: (gst_element_get_type):
13620         * gst/gstelement.h:
13621         * gst/gstobject.c: (gst_object_get_type):
13622         * gst/gstobject.h:
13623         * gst/gstpad.c: (gst_pad_get_type):
13624         * gst/gstpad.h:
13625           make _get_type functions similar, fixes data export from library
13626
13627 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13628
13629         * configure.ac:
13630           correctly make conditionals
13631         * gst/elements/Makefile.am:
13632         * gst/elements/gstelements.c:
13633           fix typo causing fdsrc not to build
13634
13635 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13636
13637         * testsuite/Makefile.am:
13638         * testsuite/bytestream/.cvsignore:
13639         * testsuite/bytestream/Makefile.am:
13640         * testsuite/bytestream/filepadsink.c:
13641         * testsuite/bytestream/gstbstest.c:
13642         * testsuite/bytestream/test1.c:
13643         * testsuite/bytestream/testfile1:
13644         * testsuite/caps/normalisation.c:
13645         * testsuite/caps/random.c: (main):
13646         * testsuite/cleanup/.cvsignore:
13647         * testsuite/cleanup/Makefile.am:
13648         * testsuite/cleanup/cleanup1.c:
13649         * testsuite/cleanup/cleanup2.c:
13650         * testsuite/cleanup/cleanup3.c:
13651         * testsuite/cleanup/cleanup4.c:
13652         * testsuite/cleanup/cleanup5.c:
13653         * testsuite/controller/interpolator.c:
13654         * testsuite/debug/printf_extension.c: (main):
13655         * testsuite/elements/tee.c:
13656         * testsuite/negotiation/.cvsignore:
13657         * testsuite/negotiation/Makefile.am:
13658         * testsuite/negotiation/pad_link.c:
13659         * testsuite/pad/Makefile.am:
13660         * testsuite/pad/chainnopull.c:
13661         * testsuite/pad/getnopush.c:
13662         * testsuite/pad/link.c:
13663         * testsuite/refcounting/sched.c: (create_pipeline):
13664         * testsuite/registry/Makefile.am:
13665         * testsuite/registry/gst-print-formats.c:
13666         * testsuite/schedulers/.cvsignore:
13667         * testsuite/schedulers/142183-2.c:
13668         * testsuite/schedulers/142183.c:
13669         * testsuite/schedulers/143777-2.c:
13670         * testsuite/schedulers/143777.c:
13671         * testsuite/schedulers/147713.c:
13672         * testsuite/schedulers/147819.c:
13673         * testsuite/schedulers/147894-2.c:
13674         * testsuite/schedulers/147894.c:
13675         * testsuite/schedulers/Makefile.am:
13676         * testsuite/schedulers/group_link.c:
13677         * testsuite/schedulers/queue_link.c:
13678         * testsuite/schedulers/relink.c:
13679         * testsuite/schedulers/unlink.c:
13680         * testsuite/schedulers/unref.c:
13681         * testsuite/schedulers/useless_iteration.c:
13682         * testsuite/states/bin.c:
13683           clean out/remove some stuff from the testsuite directories
13684
13685 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13686
13687         * configure.ac:
13688           check for some headers
13689         * gst/elements/Makefile.am:
13690         * gst/elements/gstelements.c:
13691           don't compile fdsrc without sys/socket.h
13692         * gst/indexers/Makefile.am:
13693         * gst/indexers/gstindexers.c: (plugin_init):
13694           don't compile fileindex without mmap
13695
13696 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13697
13698         * configure.ac:
13699           reorganize
13700           clean up
13701           document more
13702           remove cruft
13703         * check/Makefile.am:
13704         * docs/gst/Makefile.am:
13705         * examples/helloworld/Makefile.am:
13706         * gst/Makefile.am:
13707         * gst/base/Makefile.am:
13708         * gst/check/Makefile.am:
13709         * gst/elements/Makefile.am:
13710         * gst/indexers/Makefile.am:
13711         * gst/parse/Makefile.am:
13712         * libs/gst/controller/Makefile.am:
13713         * libs/gst/dataprotocol/Makefile.am:
13714         * examples/helloworld/helloworld.c: (event_loop):
13715           compile fixes, though it's not being compiled currently
13716
13717 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13718
13719         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
13720           Add some simple tests for the new taglist date API.
13721
13722 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13723
13724         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
13725         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
13726           Beautify 'last-message' output: print 'none' for buffer timestamps
13727           and durations if none is set; improve alignment with next messages.
13728
13729 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13730
13731         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
13732         * gst/gstpluginfeature.h:
13733         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
13734         * gst/gstregistry.h:
13735         * docs/gst/gstreamer-sections.txt:
13736           Add new API to check plugin feature version requirements.
13737
13738         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
13739           Some basic tests for the above.         
13740
13741 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13742
13743         * gst/gststructure.c: (gst_structure_to_string):
13744           guard against NULL printf - happens when for example
13745           a message structure with GstClock gets serialized
13746
13747 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
13748
13749         * gst/base/gstcollectpads.c: (gst_collectpads_event):
13750           Fix presumable copy'n'pasto.
13751
13752 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13753
13754         * gst/elements/gstfakesrc.h:
13755         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
13756         * gst/elements/gsttypefindelement.c:
13757           fix some signedness
13758         * gst/elements/gstfilesink.c: (gst_file_sink_render):
13759           I wonder if this could actually write +2GB files before
13760
13761 2005-10-13  Andy Wingo  <wingo@pobox.com>
13762
13763         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
13764         Fix Timmeke Waymans bug.
13765         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
13766         string of the proper length to gst_caps_from_string. There's a
13767         potential for, before this fix, that this could cause someone
13768         connecting over the network to cause a segfault if the payload is
13769         not NUL-terminated.
13770
13771 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
13772
13773         * docs/design/draft-push-pull.txt:
13774         * docs/design/part-overview.txt:
13775         * docs/random/TODO-pre-0.9:
13776         * docs/random/old/ChangeLog.gstreamer:
13777         * gst/base/gstpushsrc.c:
13778         * gst/gstclock.c:
13779           fixed typos
13780
13781 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13782
13783         * gst/glib-compat.c: (gst_flags_get_first_value):
13784         * gst/glib-compat.h:
13785         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
13786         (gst_value_compare_double), (gst_value_serialize_flags):
13787           GLib 2.6 g_flags_get_first_value has a bug that triggers an
13788           infinite loop
13789
13790 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13791
13792         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13793         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13794           fix up debugging
13795         * tools/gst-launch.c: (event_loop):
13796           print out clock nicely
13797
13798 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
13799
13800         * docs/gst/gstreamer-sections.txt:
13801         * gst/gsttaglist.h:
13802         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
13803         (gst_tag_list_get_date_index):
13804           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
13805           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
13806
13807 2005-10-13  Julien MOUTTE  <julien@moutte.net>
13808
13809         * gst/base/gstcollectpads.c: (gst_collectpads_event),
13810         (gst_collectpads_chain):
13811         * gst/base/gstcollectpads.h: Handle newsegment and store informations
13812         in CollectData.
13813
13814 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
13815
13816         * docs/gst/gstreamer-sections.txt:
13817         * gst/gst.c:
13818         * gst/gsterror.h:
13819         * tools/gst-inspect.c: (main):
13820         * tools/gst-launch.c: (main):
13821         * tools/gst-run.c: (main):
13822         * tools/gst-xmlinspect.c: (main):
13823           fix GOption context leaks
13824           doc fixes
13825
13826 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13827
13828         * gst/gstbus.c:
13829           use HAVE_UNISTD_H
13830         * win32/common/config.h:
13831           update config
13832         * win32/vs6/grammar.dsp:
13833         * win32/vs6/libgstelements.dsp:
13834         * win32/vs6/libgstreamer.dsp:
13835           update vs6 files
13836
13837 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13838
13839         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13840         * gst/base/gstbasesrc.c: (gst_base_src_query):
13841           fix more guint64<->gdouble conversions
13842
13843 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13844
13845         * Makefile.am:
13846           add win32-update target
13847         * win32/common/gstconfig.h:
13848         * win32/common/gstenumtypes.c:
13849         * win32/common/gstenumtypes.h:
13850         * win32/common/gstversion.h:
13851           add files that visual studio can't generate
13852
13853 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13854
13855         * Makefile.am:
13856           add a win32-update target
13857         * configure.ac:
13858
13859 2005-10-12  Wim Taymans  <wim@fluendo.com>
13860
13861         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13862         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
13863         * gst/gstelement.c: (gst_element_commit_state),
13864         (gst_element_set_state):
13865         Protect flags with proper lock.
13866         unref provided cached clock in dispose.
13867
13868 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
13869
13870         * gst/gst.c:
13871         * gst/gstminiobject.h:
13872         * gst/gstpad.h:
13873         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
13874           removed unused flags from miniobject
13875           doc fixes
13876
13877 2005-10-12  Wim Taymans  <wim@fluendo.com>
13878
13879         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13880         (gst_file_sink_event), (gst_file_sink_render):
13881         Flush before seeking.
13882
13883 2005-10-12  Andy Wingo  <wingo@pobox.com>
13884
13885         * gst/gst.c (gst_init_check): Ignore unknown options, as has
13886         always been the case.
13887
13888 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
13889
13890         * check/gst/gstbin.c: (GST_START_TEST):
13891         * docs/gst/gstreamer-sections.txt:
13892         * gst/base/gstbasesink.c: (gst_base_sink_init):
13893         * gst/base/gstbasesrc.c: (gst_base_src_init),
13894         (gst_base_src_get_range), (gst_base_src_check_get_range),
13895         (gst_base_src_start), (gst_base_src_stop):
13896         * gst/base/gstbasesrc.h:
13897         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
13898         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13899         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
13900         (bin_bus_handler):
13901         * gst/gstbin.h:
13902         * gst/gstbuffer.h:
13903         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
13904         * gst/gstbus.h:
13905         * gst/gstelement.c: (gst_element_is_locked_state),
13906         (gst_element_set_locked_state), (gst_element_commit_state),
13907         (gst_element_set_state):
13908         * gst/gstelement.h:
13909         * gst/gstindex.c: (gst_index_init):
13910         * gst/gstindex.h:
13911         * gst/gstminiobject.h:
13912         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
13913         (gst_object_set_parent):
13914         * gst/gstobject.h:
13915         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
13916         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
13917         * gst/gstpad.h:
13918         * gst/gstpadtemplate.h:
13919         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
13920         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
13921         * gst/gstpipeline.h:
13922         * gst/indexers/gstfileindex.c: (gst_file_index_load),
13923         (gst_file_index_commit):
13924         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
13925         * testsuite/pad/link.c: (gst_test_src_init),
13926         (gst_test_filter_init), (gst_test_sink_init):
13927         * testsuite/states/locked.c: (main):
13928           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
13929           moved bitshift from macro to enum definition
13930
13931 2005-10-12  Wim Taymans  <wim@fluendo.com>
13932
13933         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
13934         * gst/elements/gstfilesink.c: (gst_file_sink_event),
13935         (gst_file_sink_render):
13936         Some more debugging info.
13937
13938 2005-10-12  Wim Taymans  <wim@fluendo.com>
13939
13940         * docs/design/part-states.txt:
13941         * tools/gst-launch.c: (main):
13942         Some doc updates.
13943         Revert non-intentional change.
13944
13945 2005-10-12  Wim Taymans  <wim@fluendo.com>
13946
13947         * check/gst/gstbin.c: (GST_START_TEST):
13948         * check/gst/gstelement.c: (GST_START_TEST):
13949         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
13950         * check/gst/gstghostpad.c: (GST_START_TEST):
13951         * check/gst/gstpipeline.c: (GST_START_TEST):
13952         * check/pipelines/simple_launch_lines.c: (run_pipeline):
13953         * check/states/sinks.c: (GST_START_TEST):
13954         * gst/elements/gsttypefindelement.c: (stop_typefinding):
13955         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13956         (gst_bin_remove_func), (gst_bin_get_state_func),
13957         (gst_bin_recalc_state), (gst_bin_change_state_func),
13958         (bin_bus_handler):
13959         * gst/gstelement.c: (gst_element_get_state_func),
13960         (gst_element_get_state), (gst_element_abort_state),
13961         (gst_element_commit_state), (gst_element_set_state),
13962         (gst_element_change_state), (gst_element_change_state_func):
13963         * gst/gstelement.h:
13964         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
13965         (gst_pipeline_provide_clock_func):
13966         * gst/gstutils.c: (gst_element_link_pads_filtered):
13967         * tools/gst-launch.c: (main):
13968         * tools/gst-typefind.c: (main):
13969         Use GstClockTime in _get_state() instead of GTimeVal.
13970         Remove old code in gstutils.c
13971
13972 2005-10-12  Andy Wingo  <wingo@pobox.com>
13973
13974         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
13975         removed.
13976
13977         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
13978         there is no task. Shouldn't affect any code, as nothing in our
13979         plugins checks this return value.
13980         (gst_pad_stop_task): Also take the stream lock if the pad has no
13981         task. Docs updated.
13982
13983 2005-10-12  Wim Taymans  <wim@fluendo.com>
13984
13985         * gst/gstpad.c: (pre_activate), (post_activate),
13986         (gst_pad_activate_pull), (gst_pad_activate_push):
13987         Cleanup activation code. Reset old state if
13988         activation failed.
13989
13990 2005-10-12  Wim Taymans  <wim@fluendo.com>
13991
13992         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13993         (gst_base_sink_change_state):
13994         No need to prerol after receiving EOS.
13995
13996         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13997         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
13998         * gst/elements/gstidentity.c: (gst_identity_event):
13999         Print events more verbosely.
14000
14001 2005-10-12  Wim Taymans  <wim@fluendo.com>
14002
14003         * check/Makefile.am:
14004         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14005         * check/states/sinks2.c:
14006         Moved sinks2 testcode in sinks check.
14007
14008         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14009         (gst_bin_remove_func), (gst_bin_recalc_state),
14010         (gst_bin_change_state_func), (bin_bus_handler):
14011         Fix potential race condition when _get_state() iterated over an
14012         ASYNC element right before it posted a state completion.
14013
14014         * gst/gstclock.h:
14015         Do proper cast here.
14016
14017         * gst/gstevent.c: (gst_event_new_newsegment),
14018         (gst_event_parse_newsegment):
14019         A playback rate of 0.0 is not allowed.
14020
14021 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14022
14023         * win32/common/config.h:
14024         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
14025         (_trewinddir), (_ttelldir), (_tseekdir):
14026         * win32/common/dirent.h:
14027         * win32/common/gtchar.h:
14028         * win32/common/libgstbase.def:
14029         * win32/common/libgstreamer.def:
14030         * win32/vs6/grammar.dsp:
14031         * win32/vs6/gst_inspect.dsp:
14032         * win32/vs6/gst_launch.dsp:
14033         * win32/vs6/gstreamer.dsw:
14034         * win32/vs6/libgstbase.dsp:
14035         * win32/vs6/libgstelements.dsp:
14036         * win32/vs6/libgstreamer.dsp:
14037           Visual Studio 6 project files, and a new common directory.
14038           Phear.
14039
14040 2005-10-11  Wim Taymans  <wim@fluendo.com>
14041
14042         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14043         (gst_base_sink_do_sync), (gst_base_sink_query),
14044         (gst_base_sink_change_state):
14045         * gst/base/gstbasesink.h:
14046         Correctly parse newsegment info.
14047
14048 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14049
14050         * gst/gst.c: (init_post):
14051           split plugin paths correctly
14052
14053 2005-10-11  Wim Taymans  <wim@fluendo.com>
14054
14055         * check/gst/gstevent.c: (GST_START_TEST):
14056         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14057         (gst_base_sink_change_state):
14058         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
14059         * gst/base/gstbasetransform.c: (gst_base_transform_event):
14060         * gst/elements/gstfilesink.c: (gst_file_sink_event):
14061         * gst/gstevent.c: (gst_event_new_newsegment),
14062         (gst_event_parse_newsegment):
14063         * gst/gstevent.h:
14064         Added extra flag to newsegment for future API freeze.
14065         Updated check and base elements.
14066
14067 2005-10-11  Julien MOUTTE  <julien@moutte.net>
14068
14069         * gst/base/gstcollectpads.c: (gst_collectpads_init),
14070         (gst_collectpads_add_pad), (gst_collectpads_pop),
14071         (gst_collectpads_event), (gst_collectpads_chain):
14072         * gst/base/gstcollectpads.h: Handle EOS correctly.
14073
14074 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14075
14076         * tools/gst-launch.c: (main):
14077           more null protecting
14078
14079 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14080
14081         * gst/gst-i18n-lib.h:
14082           check for ENABLE_NLS, not GETTEXT_PACKAGE
14083         * gst/gstregistry.c: (gst_registry_add_plugin),
14084         (gst_registry_scan_path_level),
14085         (_gst_registry_remove_cache_plugins):
14086           protect possibly NULL strings
14087         * gst/parse/types.h:
14088           config.h already included before
14089         * tools/gst-inspect.c: (main):
14090           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
14091           check for ENABLE_NLS, not GETTEXT_PACKAGE
14092         * tools/gst-launch.c: (main):
14093           check for ENABLE_NLS, not GETTEXT_PACKAGE
14094
14095 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14096
14097         * configure.ac:
14098           if we don't have glib, fail before testing 2.8
14099         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
14100           fix a leak, should fix plugins-base testsuite
14101
14102 2005-10-11  Andy Wingo  <wingo@pobox.com>
14103
14104         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
14105         take the mode we're going to as an arg. Go head and set the mode
14106         and flushing flags now, so that if the activate function starts a
14107         thread all the flags will be in the right state.
14108         (post_activate): Renamed also. Just handle making sure streaming
14109         finishes for the deactivation case, and setting the deactivated
14110         mode.
14111         (gst_pad_set_active): Complain loudly if deactivation fails.
14112         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
14113         (gst_pad_activate_push): Adapt to pre/post_activate changes,
14114         remove the terrible hack.
14115
14116 2005-10-11  Wim Taymans  <wim@fluendo.com>
14117
14118         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14119         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
14120         (gst_bin_recalc_state), (gst_bin_change_state_func),
14121         (gst_bin_dispose), (bin_bus_handler):
14122         * gst/gstbin.h:
14123         Prepare to make current EOS message queue more generic.
14124         Fix some typos.
14125
14126         * gst/gstevent.c: (gst_event_new_newsegment),
14127         (gst_event_parse_newsegment):
14128         * gst/gstevent.h:
14129         Rename base to stream_time.
14130
14131         * gst/gstmessage.h:
14132         Fix typo in docs.
14133
14134 2005-10-11  Wim Taymans  <wim@fluendo.com>
14135
14136         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14137         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
14138         (gst_bin_change_state_func), (bin_bus_handler):
14139         * gst/gstbin.h:
14140         Work on proper clock selection.
14141
14142 2005-10-11  Edward Hervey  <edward@fluendo.com>
14143
14144         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
14145         * libs/gst/controller/gstcontroller.h:
14146         Added GList* version of _remove_properties() in order to be able to wrap
14147         it in bindings.
14148
14149 2005-10-11  Wim Taymans  <wim@fluendo.com>
14150
14151         * docs/design/part-states.txt:
14152         Some more docs.
14153
14154         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
14155         (gst_bin_change_state_func), (bin_bus_handler):
14156         Doc updates. Don't distribute the same clock over and over again.
14157
14158         * gst/gstclock.c:
14159         * gst/gstclock.h:
14160         Doc updates.
14161
14162         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
14163         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
14164         (gst_pad_send_event):
14165         * gst/gstpad.h:
14166         Make probe emission threadsafe again.
14167         Register quarks and move _get_name() from utils.
14168         Doc updates.
14169
14170         * gst/gstpipeline.c: (gst_pipeline_class_init),
14171         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14172         Only redistribute the clock of it changed.
14173
14174         * gst/gstsystemclock.h:
14175         Doc updates. 
14176
14177         * gst/gstutils.c:
14178         * gst/gstutils.h:
14179         Moved the _flow_get_name() to GstPad.
14180
14181 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14182
14183         * check/gst-libs/gdp.c: (GST_START_TEST):
14184         * check/gst/gstcaps.c: (GST_START_TEST):
14185         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
14186         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
14187         (gst_dp_packet_from_caps):
14188           fix more valgrind warnings before turning up the heat
14189
14190 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14191
14192         * gst/parse/grammar.y:
14193           some cleanup before the hacking
14194
14195 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14196
14197         * gst/base/gstbasesrc.c: (gst_base_src_query):
14198           use conversions
14199         * gst/gstutils.c: (gst_guint64_to_gdouble),
14200         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
14201         * gst/gstutils.h:
14202           externalize, basesrc uses it
14203           obviously the implementation needs testing
14204
14205 2005-10-10  Wim Taymans  <wim@fluendo.com>
14206
14207         * tests/sched/Makefile.am:
14208         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
14209         (make_pipeline3), (make_pipeline4), (print_elem), (main):
14210
14211 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14212
14213         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
14214           apparently converting from guint64 to double is not implemented
14215           on MSVC
14216
14217 2005-10-10  Wim Taymans  <wim@fluendo.com>
14218
14219         * check/Makefile.am:
14220         * check/generic/states.c: (GST_START_TEST):
14221         * check/gst/gstbin.c: (GST_START_TEST):
14222         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14223         * check/states/sinks.c: (GST_START_TEST):
14224         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
14225         (main):
14226         Check fixes, use API as stated in design docs, remove hacks.
14227
14228         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14229         (gst_base_sink_change_state):
14230         Catch stopping our task while we're shutting down.
14231
14232         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
14233         (gst_bin_remove_func), (gst_bin_get_state_func),
14234         (gst_bin_recalc_state), (gst_bin_change_state_func),
14235         (bin_bus_handler):
14236         * gst/gstbin.h:
14237         * gst/gstelement.c: (gst_element_init),
14238         (gst_element_get_state_func), (gst_element_abort_state),
14239         (gst_element_commit_state), (gst_element_lost_state),
14240         (gst_element_set_state), (gst_element_change_state),
14241         (gst_element_change_state_func):
14242         * gst/gstelement.h:
14243         New state change algorithm (see #318116)
14244
14245         * gst/gstpipeline.c: (gst_pipeline_class_init),
14246         (gst_pipeline_init), (gst_pipeline_set_property),
14247         (gst_pipeline_get_property), (do_pipeline_seek),
14248         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14249         * gst/gstpipeline.h:
14250         Remove crude state change hacks.
14251
14252         * gst/gstutils.h:
14253         Remove crude hacks.
14254
14255         * tools/gst-launch.c: (main):
14256         Fixes for state change. Needs some more work to fully use the
14257         new stuff.
14258
14259 2005-10-10  Andy Wingo  <wingo@pobox.com>
14260
14261         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
14262
14263         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
14264         this flag, but it's not even in GLib 2.6. Odd. Hack around the
14265         issue.
14266
14267 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14268
14269         * gst/gstiterator.c: (gst_iterator_new):
14270           Fix my previous commit: GTypes passed to gst_iterator_new()
14271           can be fundamental types.
14272
14273 2005-10-10  Wim Taymans  <wim@fluendo.com>
14274
14275         * gst/gstelement.c: (gst_element_iterate_pad_list),
14276         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
14277         (gst_element_iterate_sink_pads):
14278         Use src/sink pads lists for the respective iterators instead
14279         of filtering.
14280
14281 2005-10-10  Andy Wingo  <wingo@pobox.com>
14282
14283         Merged in popt removal + GOption addition patch from Ronald, bug
14284         #169772.
14285
14286         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
14287         GstElement macros around, remove popt-related symbols, add goption
14288         stuff.
14289
14290         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
14291         
14292         * docs/gst/Makefile.am:
14293         * docs/libs/Makefile.am: No POPT_CFLAGS.
14294         
14295         * examples/manual/Makefile.am:
14296         * docs/manual/basics-init.xml: Doc updates with an example.
14297         
14298         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
14299         (gst_init), (parse_one_option), (parse_goption_arg):
14300         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
14301         bit of hand merging and debugging to get the GOption stuff working
14302         tho.
14303         
14304         * tests/Makefile.am:
14305         * tools/Makefile.am:
14306         * tools/gst-inspect.c: (main):
14307         * tools/gst-launch.c: (main):
14308         * tools/gst-run.c: (main):
14309         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
14310
14311 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14312
14313         * gst/gstiterator.c: (gst_iterator_new):
14314           Add assertions to make sure passed GType is likely to really
14315           be a GType (as the compiler won't catch it if the size and
14316           GType arguments get mixed up, see #318447).
14317
14318 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
14319
14320         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14321
14322         * gst/gstbin.c: (gst_bin_iterate_sorted):
14323           Pass GType and size arguments to gst_iterator_new() in the right
14324           order (maybe we should make _new() take the GType as first argument
14325           just like _new_list()?) (#318447).
14326           
14327
14328 2005-10-10  Wim Taymans  <wim@fluendo.com>
14329
14330         * gst/gstelement.c: (gst_element_finalize):
14331         And free the GStaticRecMutex too
14332
14333 2005-10-10  Andy Wingo  <wingo@pobox.com>
14334
14335         * gst/gstelement.c (gst_element_init, gst_element_finalize):
14336         Allocate and free the mutex properly.
14337
14338         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
14339         New macros.
14340         (GstElement): The state_lock is now recursive. Rebuild your
14341         plugins, suckers. Old macros adapted.
14342
14343         * docs/gst/gstreamer-sections.txt: Doc updates.
14344
14345         * gst/gstutils.h:
14346         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
14347         (g_static_rec_cond_wait): Ported from state changes patch, while
14348         we wait on bug #317802 to be solved in a well-distributed GLib.
14349
14350         * gst/gstelement.c (gst_element_change_state_func): Renamed from
14351         gst_element_change_state, variable name changes.
14352         (gst_element_change_state): Split out of gst_element_set_state in
14353         preparation for the state change merge. Doesn't pay attention to
14354         the 'transition' argument.
14355         (gst_element_set_state): Updates, hopefully purely cosmetic.
14356         (gst_element_sync_state_with_parent): MT-safety. Ported from the
14357         state change patch.
14358         (gst_element_get_state_func): Renamed from get_state, cosmetic
14359         changes.
14360
14361 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14362
14363         * gst/elements/gstelements.c:
14364         * win32/GStreamer.vcproj:
14365         * win32/config.h:
14366         * win32/dirent.c: (_tseekdir):
14367         * win32/gst-inspect.vcproj:
14368         * win32/gst-launch.vcproj:
14369         * win32/gstconfig.h:
14370         * win32/gstelements.vcproj:
14371         * win32/gstenumtypes.c: (gst_object_flags_get_type):
14372         * win32/gstreamer.def:
14373         * win32/msvc71.sln:
14374           updates for the win32 build (patch from Sebastien Moutte)
14375
14376 2005-10-10  Andy Wingo  <wingo@pobox.com>
14377
14378         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
14379         gst_bin_get_state, cleaned up (but no logic changes).
14380         (bin_element_is_sink): Comment updates.
14381         (sink_iterator_filter): Remove needless cast.
14382         (gst_bin_iterate_sinks): Doc update.
14383         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
14384         cleaned up (but no logic changes).
14385
14386         * check/states/sinks.c (test_src_sink): Cleanups from the state
14387         change patch.
14388         (test_livesrc_sink): Sync on the state.
14389
14390         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
14391         the state change patch.
14392
14393         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
14394         change patch.
14395
14396         * check/gst/gstbin.c: Merge in some style fixes and additional
14397         checks from Wim's state change patch.
14398
14399 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14400
14401         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14402         (gst_type_find_helper):
14403           Check whether we have the requested data already in our list of
14404           cached buffers before pulling a new buffer; also make the buffer
14405           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
14406
14407 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14408
14409         * gst/gstcaps.c:
14410         * gst/gstevent.c:
14411           doc updates
14412         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14413           don't use long long, it's not portable.  Replacing with
14414           gint64 seems to work; let's hope no skeletons fall out of the closet.
14415
14416 2005-10-10  Andy Wingo  <wingo@pobox.com>
14417
14418         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
14419
14420 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
14421
14422         * docs/gst/gstreamer-sections.txt:
14423         * gst/gstevent.c:
14424         * gst/gstevent.h:
14425         * gst/gstinfo.c:
14426         * gst/gstinfo.h:
14427         * gst/gstmessage.c: (gst_message_parse_state_changed):
14428         * gst/gstpad.c:
14429         * gst/gstpad.h:
14430           more docs, fix compilation
14431
14432 2005-10-09  Philippe Khalaf <burger@speedy.org>
14433         * gst/gstmessage.c:
14434           Fixed a few forgotten variables on previous commit
14435
14436 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
14437
14438         * gst/base/gsttypefindhelper.c: (helper_find_peek):
14439           Fix evil typefind crasher: getrange() might return a short
14440           buffer at the end of a file, but gst_type_find_peek() must
14441           either return the full data as requested or NULL, but
14442           never a short buffer.
14443
14444 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14445
14446         * gst/gstmessage.c: (gst_message_new_state_changed),
14447         (gst_message_parse_state_changed):
14448         * gst/gstmessage.h:
14449           don't use "new", it's a C++ keyword
14450
14451 2005-10-08  Wim Taymans  <wim@fluendo.com>
14452
14453         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
14454         * gst/gstelement.c: (gst_element_post_message):
14455         * gst/gstpipeline.c: (gst_pipeline_change_state):
14456         Small docs and debug updates.
14457
14458 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
14459
14460         * docs/gst/gstreamer-sections.txt:
14461         * gst/gstelementfactory.c:
14462         * gst/gstevent.c:
14463         * gst/gsttaglist.c:
14464           more docs
14465
14466 2005-10-08  Wim Taymans  <wim@fluendo.com>
14467
14468         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
14469         (gst_bin_dispose), (bin_bus_handler):
14470         Fix typos, add comments.
14471         Clear EOS list when going to PAUSED from any direction and do it
14472         in a threadsafe way.
14473         Get base time in a threadsafe way too.
14474         Fix confusing debug in the change_state function.
14475         Various other small cleanups.
14476         
14477         * gst/gstelement.c: (gst_element_post_message):
14478         Fix very verbose bus posting code.
14479
14480         * gst/gstpipeline.c: (gst_pipeline_class_init),
14481         (gst_pipeline_set_property), (gst_pipeline_get_property),
14482         (gst_pipeline_change_state):
14483         Small ARG_ -> PROP_ cleanup
14484
14485 2005-10-08  Wim Taymans  <wim@fluendo.com>
14486
14487         * gst/gstbin.c: (is_eos), (bin_bus_handler):
14488         Do a less CPU demanding EOS check because we can.
14489
14490 2005-10-08  Wim Taymans  <wim@fluendo.com>
14491
14492         * libs/gst/dataprotocol/dataprotocol.c:
14493         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14494         (gst_dp_packet_from_event):
14495         * libs/gst/dataprotocol/dataprotocol.h:
14496         * libs/gst/dataprotocol/dp-private.h:
14497         It's about time we bump the version number.
14498         Since event types don't fit in the guint8 anymore describing
14499         the payload type, make payload type 16 bits wide.
14500
14501 2005-10-08  Wim Taymans  <wim@fluendo.com>
14502
14503         * docs/design/part-TODO.txt:
14504         * docs/design/part-clocks.txt:
14505         * docs/design/part-events.txt:
14506         * docs/design/part-gstbin.txt:
14507         * docs/design/part-gstelement.txt:
14508         * docs/design/part-gstpipeline.txt:
14509         * docs/design/part-live-source.txt:
14510         * docs/design/part-messages.txt:
14511         * docs/design/part-overview.txt:
14512         * docs/design/part-states.txt:
14513         Many doc updates.
14514
14515 2005-10-08  Wim Taymans  <wim@fluendo.com>
14516
14517         * gst/gstevent.c:
14518         * gst/gstevent.h:
14519         Fix event quark registration.
14520         Add some space between events so we can insert them in the
14521         right groups.
14522
14523 2005-10-08  Wim Taymans  <wim@fluendo.com>
14524
14525         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14526         (gst_base_sink_handle_buffer):
14527         Better log message.
14528
14529         * gst/gstbus.h:
14530         * gst/gstelement.h:
14531         More docs.
14532
14533         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
14534         (gst_queue_set_property), (gst_queue_get_property):
14535         * gst/gstqueue.h:
14536         Remove old unused properties.
14537
14538 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
14539         * docs/gst/gstreamer-sections.txt:
14540         * gst/gstmessage.c:
14541         * gst/gstmessage.h:
14542         * gst/gstminiobject.c:
14543         * gst/gstminiobject.h:
14544         * gst/gstobject.h:
14545         * gst/gstpad.h:
14546         * gst/gstutils.h:
14547           lots of new docs and doc fixes
14548
14549 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14550
14551         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
14552         * gst/gstplugin.h:
14553         * gst/gstregistry.c: (gst_registry_lookup_locked),
14554         (gst_registry_scan_path_level):
14555         * gst/gstregistryxml.c: (load_plugin):
14556           Only ever load one plugin for a given plugin basename.
14557           This ensures correct overriding of GST_PLUGIN_PATH over
14558           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
14559           system installed plugins.
14560
14561 2005-10-08  Wim Taymans  <wim@fluendo.com>
14562
14563         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14564         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
14565         Prepare for doing QOS.
14566
14567 2005-10-08  Wim Taymans  <wim@fluendo.com>
14568
14569         * check/gst/gstbin.c: (GST_START_TEST):
14570         * check/pipelines/cleanup.c: (GST_START_TEST):
14571         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14572         Allow new clock message too.
14573
14574 2005-10-08  Wim Taymans  <wim@fluendo.com>
14575
14576         * gst/gstmessage.c: (gst_message_new_error),
14577         (gst_message_new_warning), (gst_message_new_tag),
14578         (gst_message_new_state_changed), (gst_message_new_clock_provide),
14579         (gst_message_new_clock_lost), (gst_message_new_new_clock),
14580         (gst_message_new_segment_start), (gst_message_new_segment_done),
14581         (gst_message_parse_state_changed),
14582         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
14583         (gst_message_parse_new_clock):
14584         * gst/gstmessage.h:
14585         Also carry the clock in question.
14586
14587 2005-10-08  Wim Taymans  <wim@fluendo.com>
14588
14589         * gst/gstmessage.c: (gst_message_new_custom),
14590         (gst_message_new_eos), (gst_message_new_error),
14591         (gst_message_new_warning), (gst_message_new_tag),
14592         (gst_message_new_state_changed), (gst_message_new_clock_provide),
14593         (gst_message_new_new_clock), (gst_message_new_segment_start),
14594         (gst_message_new_segment_done), (gst_message_parse_state_changed),
14595         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
14596         * gst/gstmessage.h:
14597         Clean up.
14598         Added clock related messages.
14599
14600         * gst/gstpipeline.c: (gst_pipeline_change_state):
14601         Post message when the clock changed.
14602
14603         * tools/gst-launch.c: (event_loop):
14604         Print new clock.
14605
14606 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
14607
14608         * tools/gst-inspect.c: (print_element_properties_info):
14609           Can't pass NULL strings to g_print() on windows.
14610
14611 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14612
14613         * docs/Makefile.am:
14614         * docs/gst/Makefile.am:
14615         * docs/gst/gstreamer-docs.sgml:
14616         * docs/gst/running.xml:
14617         * docs/version.entities.in:
14618           add a chapter on running GStreamer.
14619           document GST_DEBUG and GST_PLUGIN* env vars
14620
14621 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14622
14623         * Makefile.am:
14624           remove include dir
14625         * configure.ac:
14626           remove PLUGINS_BUILDDIR stuff
14627         * gst/gst.c: (init_post):
14628           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
14629         * idiottest.mak:
14630           remove, it was condescending and not needed
14631
14632 2005-10-08  Wim Taymans  <wim@fluendo.com>
14633
14634         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
14635         (gst_base_sink_handle_object), (gst_base_sink_event),
14636         (gst_base_sink_wait), (gst_base_sink_handle_event),
14637         (gst_base_sink_change_state):
14638         * gst/base/gstbasesink.h:
14639         Repost EOS message while going to PLAYING if still EOS.
14640         Make sure that when receiving a FLUSH_START we don't attempt
14641         to sync on the clock anymore.
14642
14643 2005-10-08  Wim Taymans  <wim@fluendo.com>
14644
14645         * tools/gst-launch.c: (event_loop):
14646         Better message printout.
14647
14648 2005-10-08  Wim Taymans  <wim@fluendo.com>
14649
14650         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
14651         (gst_bin_child_proxy_get_children_count):
14652         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14653         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
14654         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
14655         (gst_child_proxy_set_valist):
14656         * gst/parse/grammar.y:
14657         Make ChildProxy threadsafe and fix mem leaks.
14658
14659 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14660
14661         * gst/gst.c: (init_post):
14662           debug the GST_PLUGIN_ env vars
14663
14664 2005-10-08  Wim Taymans  <wim@fluendo.com>
14665
14666         * check/gst/gstbin.c: (GST_START_TEST):
14667         * check/gst/gstmessage.c: (GST_START_TEST):
14668         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14669         * gst/gstelement.c: (gst_element_commit_state),
14670         (gst_element_lost_state):
14671         * gst/gstmessage.c: (gst_message_new_state_changed),
14672         (gst_message_parse_state_changed):
14673         * gst/gstmessage.h:
14674         * tools/gst-launch.c: (event_loop):
14675         Added extra field to STATE_CHANGE message with the pending
14676         state, which will be different from the new state soon.
14677
14678 2005-10-08  Wim Taymans  <wim@fluendo.com>
14679
14680         * gst/gstbus.c: (gst_bus_pop):
14681         * gst/gstclock.c:
14682         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14683         Small cleanups and doc updates.
14684
14685 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14686
14687         * gst/gst.c: (init_pre):
14688         * gst/gstbin.c: (gst_bin_add_func):
14689           log distributing clocks and base time
14690         * gst/gstregistry.c: (gst_registry_add_plugin),
14691         (gst_registry_scan_path_level), (gst_registry_scan_path):
14692           clean up the debugging output a little
14693         * gst/gstutils.c: (gst_element_state_get_name):
14694           warn about a memleak (I've actually seen this be used, though
14695           it was probably a bug)
14696
14697 2005-10-07  Wim Taymans  <wim@fluendo.com>
14698
14699         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14700         (gst_base_src_init), (gst_base_src_default_newsegment),
14701         (gst_base_src_newsegment), (gst_base_src_do_seek),
14702         (gst_base_src_loop), (gst_base_src_start):
14703         * gst/base/gstbasesrc.h:
14704         Make the newsegment event customizable by subclasses.
14705
14706 2005-10-07  Wim Taymans  <wim@fluendo.com>
14707
14708         * gst/gstevent.c: (gst_event_new_buffersize),
14709         (gst_event_parse_buffersize):
14710         * gst/gstevent.h:
14711         New event for future idea.
14712
14713 2005-10-07  Andy Wingo  <wingo@pobox.com>
14714
14715         * gst/gstelement.c (gst_element_post_message): Doc update.
14716
14717         * docs/gst/gstreamer-sections.txt: Update.
14718
14719         * gst/gstmessage.c (gst_message_new_application): Made into a
14720         function like honest API calls.
14721         (gst_message_new_element): New message type.
14722
14723         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
14724
14725         * check/elements/fakesrc.c (test_no_preroll): New check, checks
14726         that setting a live fakesrc to PAUSED returns NO_PREROLL both
14727         times.
14728
14729         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
14730         NO_PREROLL from gst_element_change_state to fall through.
14731
14732 2005-10-07  Wim Taymans  <wim@fluendo.com>
14733
14734         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
14735         (gst_ghost_pad_do_activate_push):
14736         Activating a ghostpad with no internal pad in push mode
14737         is ok.
14738
14739 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14740
14741         * gst/gstobject.h:
14742           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
14743           Fixes compilation on Windows.
14744
14745 2005-10-07  Michael Smith <msmith@fluendo.com>
14746
14747         * tools/gst-inspect.c:
14748           Print out feature and plugin count at the end when printing out
14749           all features.
14750
14751 2005-10-04  Michael Smith <msmith@fluendo.com>
14752
14753         * gst/gsterror.c: (_gst_stream_errors_init):
14754           Add another error string used in a few existing plugins.
14755
14756         * gst/gstplugin.c:
14757         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14758         * tools/gst-inspect.c: (print_element_info):
14759           When a feature disappears from a plugin (and the feature exists in
14760           the cached registry file), things went horribly wrong. This isn't a
14761           complete fix, we should actually be removing the 'missing' features
14762           from the features list when we load the actual plugin. That's not
14763           yet implemented. 
14764
14765 2005-10-04  Johan Dahlin  <johan@gnome.org>
14766
14767         * check/gst/gstiterator.c: (GST_START_TEST):
14768         * gst/gstbin.c: (gst_bin_iterate_elements),
14769         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
14770         * gst/gstelement.c: (gst_element_iterate_pads):
14771         * gst/gstformat.c: (gst_format_iterate_definitions):
14772         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
14773         (gst_iterator_new_list), (gst_iterator_filter):
14774         * gst/gstiterator.h:
14775         * gst/gstquery.c: (gst_query_type_iterate_definitions):
14776         Add a GType to GstIterator, update callsites and tests.
14777
14778 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14779
14780         * gst/gstpad.c: (gst_pad_event_default_dispatch):
14781           give events a chance to be handled by event probes when the pad
14782           is not linked
14783
14784 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14785
14786         * gst/gstevent.c: (gst_event_type_get_name),
14787         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
14788         * gst/gstevent.h:
14789           add string representations for event types
14790
14791 2005-10-06  Wim Taymans  <wim@fluendo.com>
14792
14793         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
14794         Don't use NULL pointers.
14795
14796 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14797
14798         * gst/gst_private.h:
14799         * gst/gstbus.c:
14800         * gst/gstelement.c:
14801         * gst/gstinfo.c:
14802         * gst/gstpluginfeature.c:
14803           widen the debug category in output to fit the biggest one we have
14804           add a bus category and use it
14805           play with the colors
14806           fix up some categories
14807
14808 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14809
14810         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
14811           add push activation of sink ghost pads.
14812           Andye, please verify
14813
14814 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14815
14816         * gst/gstutils.c: (gst_element_link_pads):
14817           fix a bug in the case where neither element has a pad
14818         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14819           add a test for that case
14820
14821 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14822
14823         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
14824           emit have-data before checking for peers.  This allows
14825           for probe handlers to connect elements.  This helps autopluggers.
14826         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
14827         (gst_pad_suite):
14828           add six checks, linked/unlinked with no/true/false probe
14829
14830 2005-10-04  Wim Taymans  <wim@fluendo.com>
14831
14832         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
14833         (gst_fake_sink_event), (gst_fake_sink_preroll),
14834         (gst_fake_sink_render), (gst_fake_sink_change_state):
14835         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
14836         (gst_fake_src_get_property), (gst_fake_src_create),
14837         (gst_fake_src_stop):
14838         * gst/elements/gstidentity.c: (gst_identity_stop):
14839         Protect last_message with lock.
14840
14841 2005-10-04  Edward Hervey  <edward@fluendo.com>
14842
14843         * gst/gstformat.h: 
14844         Added precision in the comments for GST_FORMAT_DEFAULT
14845
14846 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
14847
14848         * tools/gst-launch.c: (main):
14849           Don't try to run erroneous pipelines.
14850
14851 2005-10-04  Julien MOUTTE  <julien@moutte.net>
14852
14853         * gst/gstbus.c: We don't need this header.
14854
14855 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14856
14857         * configure.ac:
14858           back to development
14859
14860 === release 0.9.3 ===
14861
14862 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14863
14864         * README:
14865         * configure.ac:
14866           Releasing 0.9.3, "Unregistered"
14867
14868 2005-10-03  Andy Wingo  <wingo@pobox.com>
14869
14870         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
14871         whereby calling a pad's activatepush() function can start a thread
14872         that starts to push or pull before the pad gets the FLUSHING flag
14873         unset. Hack around it by holding the stream lock until the flag is
14874         set. Need to replace this with a proper solution. Together with
14875         the ghost pad fixes, this fixes mp3 playing/tagreading.
14876
14877         * docs/design/part-gstghostpad.txt: Add a note about activation of
14878         proxy pads outside of ghost pads.
14879
14880         * gst/gstghostpad.c: Implement the ghost pad activation design.
14881
14882 2005-10-02  Andy Wingo  <wingo@pobox.com>
14883
14884         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
14885         It is volatile, after all.
14886
14887         * docs/design/part-gstghostpad.txt: Flesh out activation with
14888         ghost pads.
14889
14890         * gst/base/gstbasesrc.c (gst_base_src_init): Use
14891         GST_DEBUG_FUNCPTR.
14892
14893 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
14894
14895         * configure.ac:
14896           Fix (unused) AM_CONDITIONAL tests.
14897
14898 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
14899
14900         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14901
14902         * gst/gstutils.c: (gst_pad_query_convert):
14903           Add assertion that makes sure src_val is >=0, just like
14904           gst_query_new_convert() has. (#315895)
14905
14906 2005-09-30  Edward Hervey  <edward@fluendo.com>
14907
14908         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
14909         Let's not iterate pads we're not interested in, it avoids getting 
14910         sky-high refcounts on sinkpad.
14911
14912 2005-09-30  Wim Taymans  <wim@fluendo.com>
14913
14914         * gst/gstelement.c: (gst_element_set_state),
14915         (gst_element_change_state):
14916         Small tweak, element in ASYNC remains ASYNC.
14917
14918 2005-09-30  Wim Taymans  <wim@fluendo.com>
14919
14920         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14921         Only error is an error.
14922
14923         * gst/gstbin.c: (gst_bin_change_state):
14924         Better debugging.
14925
14926         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
14927         Also call pad_block in pad alloc.
14928
14929         * gst/gstutils.c: (gst_flow_get_name):
14930         Better debugging.
14931
14932 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
14933
14934         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14935         (gst_base_src_get_range):
14936           Fix documentation typos. Add some more debug info.
14937
14938 2005-09-29  David Schleef  <ds@schleef.org>
14939
14940         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
14941           more end-user friendly.
14942         * tools/gst-inspect.c: (main): Check if command-line argument is
14943           a file and attempt to load that file as a plugin.
14944
14945 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14946
14947         * check/gst/gstbin.c:
14948         * check/states/sinks.c:
14949           fix tests for the new warning
14950         * check/gst/gstpipeline.c:
14951           add a test for pipeline and bus interaction
14952         * gst/gstelement.c:
14953           elements should be NULL if they get disposed; add a warning if not
14954
14955 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14956
14957         * gst/gstobject.c:
14958           for 2.6 refcounting, make debug log more correct by printing
14959           the actual refcounts at the time of swap (Wim)
14960
14961 2005-09-29  Andy Wingo  <wingo@pobox.com>
14962
14963         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
14964         removes signal watches previously added via
14965         gst_bus_add_signal_watch.
14966         (gst_bus_add_signal_watch): Don't return the source id, just store
14967         it on the bus if there wasn't an id already.
14968
14969         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
14970         add_signal_watch and remove_signal_watch.
14971
14972 2005-09-29  Edward Hervey  <edward@fluendo.com>
14973
14974         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
14975         Better if we actually iterate the list :)
14976
14977 2005-09-29  Wim Taymans  <wim@fluendo.com>
14978
14979         * check/gst/gstbin.c: (GST_START_TEST):
14980         Change for new bus API.
14981
14982         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
14983         (send_messages), (GST_START_TEST), (gstbus_suite):
14984         Change for new bus signal API.
14985
14986         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
14987         (gst_bus_source_prepare), (gst_bus_source_check),
14988         (gst_bus_create_watch), (gst_bus_add_watch_full),
14989         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
14990         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
14991         * gst/gstbus.h:
14992         Remove support for multiple GSources operating on different
14993         message types as it is too complex and unneeded when using
14994         signals.
14995         Added support for receiving signals from the bus.
14996
14997 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14998
14999         * docs/libs/tmpl/gstdataprotocol.sgml:
15000         * docs/manual/advanced-dataaccess.xml:
15001         * gst/elements/gstcapsfilter.c:
15002         * gst/gstutils.c:
15003           rename filter-caps to caps property
15004
15005 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
15006
15007         * gst/gstvalue.c: (gst_value_deserialize_fraction):
15008           More robust fraction string parsing.
15009
15010         * docs/pwg/appendix-porting.xml:
15011           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
15012
15013 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
15014
15015         * gst/gstcaps.c: (gst_caps_do_simplify):
15016           Thou shalt not free a structure and then continue using it
15017           in the next loop iteration.
15018
15019         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
15020         (gst_caps_suite):
15021           Add test case for caps simplification.
15022
15023 2005-09-29  Wim Taymans  <wim@fluendo.com>
15024
15025         * check/gst/gstbin.c: (GST_START_TEST):
15026         Oops.
15027
15028 2005-09-29  Wim Taymans  <wim@fluendo.com>
15029
15030         * check/gst/gstbin.c: (GST_START_TEST):
15031         Add bus to bin.
15032
15033         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
15034         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15035         (find_element), (gst_bin_sort_iterator_next),
15036         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15037         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15038         (gst_bin_change_state), (gst_bin_dispose):
15039         A bin does not have a bus, it gets the bus from the parent.
15040
15041         * gst/gstelement.c: (gst_element_requires_clock),
15042         (gst_element_provides_clock), (gst_element_is_indexable),
15043         (gst_element_is_locked_state), (gst_element_change_state),
15044         (gst_element_set_bus_func):
15045         Small cleanups.
15046
15047         * gst/gstpipeline.c: (gst_pipeline_class_init),
15048         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
15049         The pipeline provides a bus.
15050
15051 2005-09-28  Johan Dahlin  <johan@gnome.org>
15052
15053         * gst/gstmessage.c (gst_message_parse_state_changed): Use
15054         gst_structure_get_enum instead of gst_structure_get_int
15055
15056         * gst/gststructure.c (gst_structure_get_enum): Impl.
15057
15058         * gst/gststructure.h (gst_structure_get_enum): Add
15059
15060         * docs/gst/gstreamer-sections.txt: Ditto
15061
15062         * gst/gstmessage.c (gst_message_new_state_changed): Use
15063         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
15064         which does introspection.
15065         Reviewed by Christian Schaller
15066
15067 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
15068
15069         * gst/gstinfo.c: (gst_debug_log_default):
15070           don't do dummy g_strdup()s
15071         * libs/gst/controller/gstcontroller.c:
15072         (on_object_controlled_property_changed),
15073         (gst_controlled_property_new), (gst_controller_new_valist),
15074         (gst_controller_new_list),
15075         (gst_controller_remove_properties_valist), (gst_controller_set),
15076         (gst_controller_get), (gst_controller_sync_values),
15077         (gst_controller_get_value_array), (_gst_controller_class_init),
15078         (gst_controller_get_type):
15079         * libs/gst/controller/gstcontroller.h:
15080         * libs/gst/controller/gstinterpolation.c:
15081         (gst_controlled_property_find_timed_value_node):
15082           convert // to /**/ comments
15083
15084 2005-09-28  Wim Taymans  <wim@fluendo.com>
15085
15086         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
15087         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
15088         (gst_bus_sync_signal_handler):
15089         * gst/gstbus.h:
15090         Added async-message and sync-message signals to the bus.
15091         Added helper BusFunc to emit signals for all posted messages.
15092
15093         * gst/gstmessage.c: (gst_message_type_get_name),
15094         (gst_message_type_to_quark), (gst_message_get_type):
15095         * gst/gstmessage.h:
15096         Register quarks for message names.
15097
15098 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
15099
15100         * docs/libs/gstreamer-libs-sections.txt:
15101         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
15102         (gst_controller_new_list):
15103         * libs/gst/controller/gstcontroller.h:
15104           added another constructor for language bindings
15105
15106 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15107
15108         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15109           add another check
15110         * gst/gstbus.c:
15111           add some doc
15112         * gst/gstinfo.c: (_gst_debug_init):
15113           slightly more readable color for refcount debugging
15114
15115 2005-09-28  Wim Taymans  <wim@fluendo.com>
15116
15117         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15118         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15119         (find_element), (gst_bin_sort_iterator_next),
15120         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15121         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15122         (gst_bin_change_state), (gst_bin_dispose):
15123         Small doc fixes. get_clock -> provide_clock.
15124
15125         * gst/gstelement.c: (gst_element_class_init),
15126         (gst_element_provides_clock), (gst_element_provide_clock),
15127         (gst_element_get_clock), (gst_element_commit_state),
15128         (gst_element_lost_state):
15129         * gst/gstelement.h:
15130         Make get/set_clock() symetric. Add provide_clock vmethod since
15131         that is actually what this function does.
15132
15133         * gst/gstpipeline.c: (gst_pipeline_class_init),
15134         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
15135         (gst_pipeline_get_clock):
15136         get_clock -> provide_clock.
15137
15138 2005-09-28  Andy Wingo  <wingo@pobox.com>
15139
15140         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
15141         lieu of real docs...
15142
15143         * gst/elements/gstfdsrc.c: Cleaned up a bit.
15144
15145 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
15146
15147         * gst/elements/gstcapsfilter.c:
15148         * gst/elements/gstfakesink.c:
15149         * gst/elements/gstfakesrc.c:
15150         * gst/elements/gstfdsink.c:
15151         * gst/elements/gstfdsrc.c:
15152         * gst/elements/gstfilesink.c:
15153         * gst/elements/gstfilesrc.c:
15154         * gst/elements/gstidentity.c:
15155         * gst/elements/gsttee.c:
15156         * gst/elements/gsttypefindelement.c:
15157           Make element details static.
15158
15159 2005-09-28  Wim Taymans  <wim@fluendo.com>
15160
15161         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15162         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15163         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15164         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15165         (gst_bin_change_state), (gst_bin_dispose):
15166         Some documentation updates.
15167         Clean up dispose handlers.
15168
15169         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
15170         * gst/gstpad.c: (gst_pad_dispose):
15171         Clean up dispose handler.
15172
15173         * gst/gstpipeline.c: (gst_pipeline_change_state):
15174         Removed spurious UNLOCK.
15175
15176 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
15177
15178         * docs/gst/gstreamer-sections.txt:
15179         * gst/base/gstbasesrc.h:
15180         * gst/gstelement.h:
15181         * gst/gstevent.h:
15182         * gst/gstobject.h:
15183         * gst/gstpad.h:
15184         * gst/gstpipeline.c:
15185         * gst/gstpipeline.h:
15186         * gst/gstutils.h:
15187         * gst/gstxml.h:
15188           added two new functions to the docs
15189                 documents all undocumented GstXXXFlags
15190                 completed some incomplete docs 
15191
15192 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15193
15194         * gst/gstbin.c: (gst_bin_dispose):
15195         * gst/gstelement.c: (gst_element_dispose):
15196           remove now useless and leaky resurrection code in dispose
15197         * gst/base/gstbasesrc.c: (gst_base_src_init):
15198         * gst/gstelementfactory.c: (gst_element_factory_create):
15199         * gst/gstobject.c: (gst_object_set_parent):
15200           add some debugging
15201
15202 2005-09-27  Wim Taymans  <wim@fluendo.com>
15203
15204         * docs/design/part-TODO.txt:
15205         Update TODO.
15206
15207         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15208         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15209         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15210         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15211         (gst_bin_change_state):
15212         * gst/gstelement.h:
15213         Remove element variable, we keep element info in the iterator now.
15214
15215 2005-09-27  Andy Wingo  <wingo@pobox.com>
15216
15217         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
15218         values.
15219
15220 2005-09-27  Wim Taymans  <wim@fluendo.com>
15221
15222         * check/gst/gstbin.c: (GST_START_TEST):
15223         Enable check that works now.
15224
15225         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15226         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15227         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15228         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15229         (gst_bin_change_state):
15230         * gst/gstbin.h:
15231         Redid the state change algorithm using a topological sort algo.
15232         Handles all cases correctly.
15233         Exposed iterator for state change order.
15234
15235         * gst/gstelement.h:
15236         Temp storage for state changes. Need to get rid of this soon.
15237
15238 2005-09-27  Wim Taymans  <wim@fluendo.com>
15239
15240         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
15241         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
15242         (link_fold_func), (gst_pad_proxy_setcaps):
15243         Leak fixes, the fold functions need to unref the passed object and
15244         _get_parent_*() returns ref to parent.
15245
15246 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15247
15248         * check/gst/gstbuffer.c: (test_make_writable):
15249           Plug leak in test case and fix 'make check-valgrind'
15250
15251 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15252
15253         * gst/gstbuffer.c: (gst_subbuffer_init):
15254           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
15255           works correctly in all circumstances (we could have just copied
15256           the parent buffer's readonly flag, but conceptually it seems
15257           cleaner to mark all subbuffers as read-only). (based on patch
15258           by Alessandro Decina, #314710).
15259         
15260         * check/gst/gstbuffer.c: (create_read_only_buffer),
15261         (test_make_writable), (test_subbuffer_make_writable),
15262         (gst_test_suite):
15263           Add some tests for gst_buffer_make_writable().
15264
15265 2005-09-27  Wim Taymans  <wim@fluendo.com>
15266
15267         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
15268         use gst_object_has_ancestor().
15269
15270         * gst/gstobject.c: (gst_object_has_ancestor):
15271         * gst/gstobject.h:
15272         gst_object_has_ancestor() copied from gstbin.c as it is a
15273         useful function.
15274
15275         * tests/instantiate/create.c: (create_all_elements):
15276         * tests/lat.c: (handoff_src), (handoff_sink):
15277         * tests/sched/runxml.c: (main):
15278         * tests/seeking/seeking1.c: (main):
15279         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15280         (main):
15281         Fix compilation of some tests.
15282
15283 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15284
15285         * gst/gsterror.h:
15286           Remove comment. GST_TYPE_G_ERROR is here to stay,
15287           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
15288           (#316961, #300610).
15289
15290 2005-09-26  Wim Taymans  <wim@fluendo.com>
15291
15292         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15293         Added check that shows error in state change order.
15294
15295 2005-09-26  Wim Taymans  <wim@fluendo.com>
15296
15297         * gst/gstbin.c: (gst_bin_change_state):
15298         Make state change function use 3 queues again, we were
15299         adding elements in the wrong order.
15300
15301         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
15302         Some debug info,
15303
15304         * gst/gstpad.c: (gst_pad_dispose):
15305         Added some debug info first.
15306
15307 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
15308
15309         * docs/design/draft-push-pull.txt:
15310         * docs/design/part-events.txt:
15311         * docs/design/part-overview.txt:
15312         * docs/design/part-scheduling.txt:
15313           Replace all _pull_region() with _pull_range()
15314           
15315 2005-09-26  Andy Wingo  <wingo@pobox.com>
15316
15317         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
15318
15319         * check/gst-libs/controller.c: Update for controller api change.
15320
15321         * configure.ac: 
15322         * tests/Makefile.am:
15323         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
15324         over by GLib bug 118439.
15325         
15326         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
15327         routines to a function.
15328
15329         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
15330
15331         * libs/gst/controller/gsthelper.c:
15332         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
15333         (gst_object_sync_values): Renamed from sink_values. Ugh.
15334
15335         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
15336
15337         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
15338         Renamed from controller_key, as it is exported.
15339
15340         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
15341
15342 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
15343
15344         * gst/Makefile.am:
15345         * gst/gst.h:
15346         * gst/gstpad.h:
15347         * gst/gstpadtemplate.h:
15348         * gst/gstquery.c:
15349         * gst/gstquery.h:
15350         * gst/gstqueryutils.c:
15351         * gst/gstqueryutils.h:
15352           remove queryutils headers after moving the two used functions
15353           to gstquery.  also fixes build problem for gstsiddec
15354
15355 2005-09-26  Michael Smith <msmith@fluendo.com>
15356
15357         * tools/gst-launch.1.in:
15358         Correct documentation in manpage of debug syntax
15359
15360 2005-09-26  Wim Taymans  <wim@fluendo.com>
15361
15362         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15363         (gst_base_src_is_seekable), (gst_base_src_change_state):
15364         Some more debugging info.
15365
15366 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15367
15368         * docs/gst/gstreamer-sections.txt:
15369         * gst/base/gstbasetransform.h:
15370         * gst/gstindex.h:
15371           added more docs
15372
15373 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15374
15375         * docs/gst/.cvsignore:
15376         * docs/gst/tmpl/.cvsignore:
15377         * docs/gst/tmpl/gstpipeline.sgml:
15378         * docs/gst/tmpl/gstplugin.sgml:
15379         * gst/gstpipeline.c:
15380         * gst/gstplugin.c:
15381         * gst/gstplugin.h:
15382           inlined the last two docs files
15383           removed the tmpl directory from cvs (no more conflicts here!)
15384
15385 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15386
15387         * docs/gst/gstreamer-sections.txt:
15388         * docs/gst/tmpl/.cvsignore:
15389         * docs/gst/tmpl/gstpad.sgml:
15390         * docs/gst/tmpl/gstpadtemplate.sgml:
15391         * gst/Makefile.am:
15392         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
15393         (gst_pad_finalize), (gst_pad_set_pad_template):
15394         * gst/gstpad.h:
15395         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
15396         (gst_pad_template_class_init), (gst_pad_template_init),
15397         (gst_pad_template_dispose), (name_is_valid),
15398         (gst_static_pad_template_get), (gst_pad_template_new),
15399         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
15400         (gst_pad_template_pad_created):
15401         * gst/gstpadtemplate.h:
15402           inlined two more docs
15403           factored gstpadtemplate out of gstpad
15404
15405 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
15406
15407         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15408         (test_children_state_change_order_semi_sink):
15409           Fix test case: we can't rely on a fixed state change order when
15410           going from READY => PAUSED because the sink might commit its 
15411           new state first when the first buffer created by the source 
15412           reaches the sink before the source has finished its change state.
15413           (Test case still fails at times, see #316856, comment 5 onwards)
15414
15415 2005-09-24  Wim Taymans  <wim@fluendo.com>
15416
15417         * docs/design/part-events.txt:
15418         * docs/design/part-gstbus.txt:
15419         * docs/design/part-gstpipeline.txt:
15420         * docs/design/part-messages.txt:
15421         * docs/design/part-overview.txt:
15422         * docs/design/part-segments.txt:
15423         * gst/gstbin.c:
15424         * gst/gstbuffer.c:
15425         * gst/gstclock.c:
15426         * gst/gstelement.c:
15427         * gst/gstevent.c:
15428         * gst/gstfilter.c:
15429         * gst/gstiterator.c:
15430         Various documentation updates.
15431
15432 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15433
15434         * gst/gstclock.h:
15435           Well, that's embarassing.  Luckily we weren't using
15436           GST_CLOCK_DIFF anywhere.
15437
15438 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15439
15440         * common/gtk-doc.mak:
15441           don't fail on building XML, FC4 slave shows a bunch of doc
15442           missing bits that I don't get
15443         * gst/gstpad.c:
15444         * gst/gstpipeline.c:
15445         * gst/gststructure.c:
15446           some doc updates
15447
15448 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
15449
15450         * docs/design/part-gstbin.txt:
15451         * docs/design/part-gstbus.txt:
15452         * gst/gstbus.c:
15453           Add blurb about how the bus goes into flushing mode and
15454           drops all messages when its bin goes from READY into NULL 
15455           state.
15456
15457 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15458
15459         * docs/gst/gstreamer-sections.txt:
15460         * gst/gststructure.c: (gst_structure_get_clock_time):
15461         * gst/gststructure.h:
15462           add a method to get a GstClockTime out of a structure
15463
15464 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
15465
15466         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15467         (test_children_state_change_order_semi_sink), (gst_bin_suite):
15468           Added test to check state change order in bins (can still be made
15469           to fail here under heavy disk load; bails out with 'Push on pad
15470           fakesink:sink0, but it was not activated in push mode').
15471
15472         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
15473           Fix state change order when there is only a semi sink (#316856)
15474
15475         * gst/gstbus.c: (gst_bus_class_init):
15476           Use _class_peek_parent(), not _class_ref(); fix docs to say
15477           'default main context' instead of 'mainloop' where that is
15478           what's meant.
15479
15480         * gst/gstelement.c: (gst_element_commit_state),
15481         (gst_element_set_state):
15482           Fix typos in debug messages
15483
15484 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15485
15486         * docs/README:
15487         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
15488         * gst/gstpluginfeature.c:
15489         * gst/gstutils.c:
15490           various doc updates
15491         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15492           change an assert into an error until it gets fixed properly
15493
15494 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
15495
15496         * docs/gst/gstreamer-sections.txt:
15497         * docs/gst/tmpl/.cvsignore:
15498         * docs/gst/tmpl/gstelement.sgml:
15499         * docs/gst/tmpl/gstinfo.sgml:
15500         * docs/gst/tmpl/gstobject.sgml:
15501         * gst/gstelement.c:
15502         * gst/gstelement.h:
15503         * gst/gstinfo.c:
15504         * gst/gstinfo.h:
15505         * gst/gstobject.c: (gst_object_class_init):
15506         * gst/gstobject.h:
15507           inlined 3 more biiiig doc files and added some missing docs on the fly
15508
15509 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15510
15511         * check/gst/.cvsignore:
15512         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
15513         * gst/gstregistryxml.c: (load_plugin),
15514         (gst_registry_xml_save_plugin):
15515           put back source in registry.  add checks for find_plugin.
15516         * testsuite/states/bin.c: (assert_state), (empty_bin),
15517         (test_adding_one_element), (main):
15518         * testsuite/states/locked.c: (main):
15519           some compile/run fixes
15520
15521 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15522
15523         * check/gst/gstvalue.c: (GST_START_TEST):
15524           fix leaks in the test itself
15525
15526 2005-09-22  Wim Taymans  <wim@fluendo.com>
15527
15528         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15529         (gst_base_sink_send_event), (gst_base_sink_peer_query),
15530         (gst_base_sink_query):
15531         Prepare for more accurate position reporting and query
15532         handling.
15533
15534         * gst/gstelement.c: (gst_element_send_event),
15535         (gst_element_set_state):
15536         Add some comment.
15537
15538 2005-09-22  Wim Taymans  <wim@fluendo.com>
15539
15540         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
15541         (gst_query_parse_segment):
15542         * gst/gstquery.h:
15543         More documentation.
15544         Add segment query for future use.
15545
15546 2005-09-22  Wim Taymans  <wim@fluendo.com>
15547
15548         * gst/gstbin.c: (gst_bin_add_func):
15549         Some more debug info.
15550
15551         * gst/gstelement.c: (gst_element_send_event):
15552         Simplify send_event
15553
15554         * gst/gstelement.h:
15555         Don't know how flags got broken.
15556
15557         * gst/gstquery.h:
15558         Added new query.
15559
15560 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
15561
15562         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
15563           Add simplistic test suite for GST_TYPE_DATE serialisation and
15564           deserialisation.
15565
15566 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
15567
15568         * docs/gst/gstreamer-sections.txt:
15569         * gst/gststructure.c: (gst_structure_set_valist),
15570         (gst_structure_get_date):
15571         * gst/gststructure.h:
15572         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
15573         (gst_date_copy), (gst_value_compare_date),
15574         (gst_value_serialize_date), (gst_value_deserialize_date),
15575         (gst_value_transform_date_string),
15576         (gst_value_transform_string_date), (_gst_value_initialize):
15577         * gst/gstvalue.h:
15578           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
15579           bunch of utility functions along with a hack that checks that
15580           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
15581           is required. Part of the grand scheme in #170777.
15582
15583 2005-09-22  Andy Wingo  <wingo@pobox.com>
15584
15585         * gst/gstconfig.h.in: Psych out gtk-doc.
15586
15587         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
15588
15589         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
15590
15591         * tools/gst-inspect.c (print_element_list): Plug some
15592         inconsequential leaks.
15593
15594         * gst/gstregistry.c (gst_registry_get_default): Doc.
15595
15596         * check/gst/gstplugin.c: 
15597         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
15598         * gst/gstelementfactory.c (gst_element_factory_create): 
15599         * gst/gstindexfactory.c (gst_index_factory_create): Update for
15600         refcount changes.
15601
15602         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
15603         (gst_plugin_feature_load): Doc, don't eat refs.
15604
15605         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
15606         (gst_plugin_list_free): Doc.
15607         (gst_plugin_load_file): Doc updates.
15608
15609         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
15610         accessors returning refcounted objects, return a ref.
15611
15612         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
15613         accessor for caps. IDEMPOTENCE. Oh yes.
15614
15615 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
15616
15617         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15618
15619         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15620         (_gst_debug_register_funcptr):
15621           Add mutex to serialise access to the hash table with
15622           the function pointer => function name string mapping;
15623           make that hash table static scope (#316809).
15624
15625         * gst/registries/.cvsignore:
15626           Remove left-over file.
15627
15628 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
15629
15630         * docs/pwg/appendix-porting.xml:
15631           And something about newsegment events and caps-on-buffers to
15632           the porting guide (feel free to improve).
15633
15634 2005-09-21  Andy Wingo  <wingo@pobox.com>
15635
15636         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
15637         data and event probes on the same pad.
15638         (test_buffer_probe_once): Test that removing probes from within
15639         the probe functions works.
15640
15641 2005-09-21  Andy Wingo  <wingo@pobox.com>
15642
15643         * check/gst/gstutils.c: New file.
15644         (test_buffer_probe_n_times): A simple buffer probe test. More to
15645         come, foolios.
15646
15647         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
15648         have-data::buffer, not have-data.
15649         (gst_pad_add_event_probe): Likewise for have-data::event.
15650         (gst_pad_add_data_probe): More docs. The part about 'resolving the
15651         peer' isn't quite right yet though.
15652         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
15653         (gst_pad_remove_data_probe): Change to take the guint handler_id
15654         as their arg, not the function+data, which is more glib-like.
15655
15656         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
15657         the signal emission to indicate if the data is a buffer or an
15658         event.
15659         (gst_pad_get_type): Initialize buffer and event quarks.
15660         (gst_pad_class_init): have-data is now a detailed signal, yes it
15661         is.
15662
15663 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
15664
15665         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
15666         * gst/gstutils.c: (gst_util_set_value_from_string),
15667         (gst_util_set_object_arg):
15668           Don't put functional code in g_return_if_fail() or
15669           g_return_val_if_fail() statements, otherwise things will 
15670           break when G_DISABLE_CHECKS is defined during compilation.
15671
15672 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15673
15674         * docs/gst/tmpl/.cvsignore:
15675         * docs/gst/tmpl/gstvalue.sgml:
15676         * gst/gstvalue.c:
15677         * gst/gstvalue.h:
15678           inlied another one and added  some obvious docs
15679
15680 2005-09-21  Wim Taymans  <wim@fluendo.com>
15681
15682         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15683         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
15684         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
15685         (gst_fdsrc_get_property), (gst_fdsrc_create):
15686         * gst/elements/gstfdsrc.h:
15687         Properly implement fdsrc. Removed signal and timeout,
15688         better implemented somewhere else.
15689
15690 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15691
15692         * docs/gst/tmpl/.cvsignore:
15693         * docs/gst/tmpl/gstimplementsinterface.sgml:
15694         * gst/gstinterface.c:
15695           inlined more docs
15696
15697 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15698
15699         * docs/gst/gstreamer-sections.txt:
15700         * docs/gst/tmpl/.cvsignore:
15701         * docs/gst/tmpl/gstenumtypes.sgml:
15702           remove obsolete doc file
15703
15704 2005-09-21  David Schleef  <ds@schleef.org>
15705
15706         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
15707         little beer, fix a little leak.
15708
15709 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15710
15711         * docs/gst/gstreamer-docs.sgml:
15712         * docs/gst/gstreamer-sections.txt:
15713         * docs/gst/tmpl/.cvsignore:
15714         * gst/Makefile.am:
15715         * gst/gst.h:
15716         * gst/gstbin.c:
15717         * gst/gstelement.h:
15718         * gst/gstindex.c: (gst_index_class_init):
15719         * gst/gstindex.h:
15720         * gst/gstindexfactory.c: (gst_index_factory_get_type),
15721         (gst_index_factory_class_init), (gst_index_factory_init),
15722         (gst_index_factory_finalize), (gst_index_factory_new),
15723         (gst_index_factory_destroy), (gst_index_factory_find),
15724         (gst_index_factory_create), (gst_index_factory_make):
15725         * gst/gstindexfactory.h:
15726         * gst/gstpluginfeature.c:
15727         * gst/gstpluginfeature.h:
15728         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15729           more docs inlined, splitted gstindex.{c,h}
15730
15731 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15732
15733         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15734           fix a leak
15735
15736 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
15737
15738         * gst/elements/gstfilesink.c: (gst_file_sink_init):
15739           Set sync to FALSE by default.
15740
15741 2005-09-20  Wim Taymans  <wim@fluendo.com>
15742
15743         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15744         (gst_base_sink_init):
15745         Make sync property settable from subclass.
15746
15747         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
15748         (gst_fake_sink_change_state):
15749         Set sync to FALSE by default.
15750
15751 2005-09-20  Wim Taymans  <wim@fluendo.com>
15752
15753         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
15754         * tools/gst-launch.c: (main):
15755         The timeout handler should have lower priority than the source
15756         so we don't timeout before popping a message with 0 timeout.
15757         Dump error messages after failed state change.
15758
15759 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
15760
15761         * tools/gst-inspect.c: (print_element_properties_info):
15762           Fix two typos.
15763
15764 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15765
15766         * check/gst/gstevent.c:
15767         * gst/elements/gstfakesink.c:
15768         * gst/elements/gstfakesink.h:
15769           remove the sync property from fakesink.
15770           has the side effect of setting sync TRUE
15771           for fakesink, which is a change.  Anyone who knows how
15772           to fix this nicely in a GObject-y way, feel free.
15773
15774 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15775
15776         * docs/gst/gstreamer-docs.sgml:
15777           remove probe refsection
15778
15779 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15780
15781         * check/Makefile.am:
15782           disable valgrinding the controller test again
15783         * docs/gst/gstreamer-sections.txt:
15784           update for api-changes
15785
15786 2005-09-20  Wim Taymans  <wim@fluendo.com>
15787
15788         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15789         (gst_base_sink_set_property), (gst_base_sink_get_property),
15790         (gst_base_sink_do_sync):
15791         * gst/base/gstbasesink.h:
15792         Added sync property to basesink to disable clock sync.
15793
15794 2005-09-20  Andy Wingo  <wingo@pobox.com>
15795
15796         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
15797         eating the caller's refcount.
15798
15799         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
15800         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
15801         refcount.
15802
15803         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
15804         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
15805         of GLib 2.8 public, so we can know which refcount to check in
15806         tests.
15807
15808         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
15809         (gst_object_init): Only set the gst refcount if we're going ahead
15810         with the refcount hack.
15811
15812 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15813
15814         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15815         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15816           more leaks plumbed, added more debug-logging
15817         * gst/gstmacros.h:
15818           whitespace fix
15819
15820 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15821
15822         * gst/gstmessage.c:
15823           remove include of gstmemchunk.h
15824
15825 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15826
15827         * gst/gstclock.c: (_gst_clock_id_free):
15828           Commit from the Political Party For More Atomic CVS Commits,
15829           so that people don't waste too much of their day fishing
15830           out obvious leaks out of massive commits.
15831           Oh, and fix a pretty damn obvious leak in the memchunk
15832           removal code.
15833
15834 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15835
15836         * check/Makefile.am:
15837         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15838           plug mem-leak, re-add to valgrindable tests
15839
15840 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15841
15842         * gst/gstplugin.h:
15843           unbreak the build for those who have chronic arthritis
15844           and typing "make check" is just too taxing on the hands
15845
15846 2005-09-20  Andy Wingo  <wingo@pobox.com>
15847
15848         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
15849         really want it out, you should fix plugins at the same time.
15850
15851 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
15852
15853         * configure.ac:
15854         * docs/gst/gstreamer-sections.txt:
15855         * gst/gstobject.c:
15856           added missing symbols to api docs
15857           disable ref-count hack if we have glib >= 2.8
15858
15859 2005-09-19  David Schleef  <ds@schleef.org>
15860
15861         * docs/gst/Makefile.am: Ignore a few more internal headers
15862         * docs/gst/gstreamer-docs.sgml: Remove old sections
15863         * docs/gst/gstreamer-sections.txt: Remove old sections
15864         * docs/gst/tmpl/gstobject.sgml: update
15865         * docs/gst/tmpl/gstplugin.sgml: update
15866         * docs/gst/tmpl/gstpluginfeature.sgml: update
15867         * docs/random/ds/0.9-suggested-changes: update.
15868         * gst/Makefile.am: remove memchunk and trashstack, since they're
15869           not used.
15870         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
15871         * gst/gst.h: don't include some headers
15872         * gst/gstchildproxy.c: add gstmarshal.h
15873         * gst/gstclock.c: Don't use memchunks
15874         * gst/gstminiobject.c: Add some docs
15875         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
15876         * gst/gstobject.h: same
15877         * gst/gstplugin.c: include gstmacros.h
15878         * gst/gstplugin.h: don't include gstmacros.h, since it's private
15879         * gst/gstquery.c: don't use memchunks
15880         * gst/gstregistry.c: rename gst_registry_deinit()
15881         * gst/gstregistry.h: same
15882
15883 2005-09-19  David Schleef  <ds@schleef.org>
15884
15885         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
15886         * docs/libs/gstreamer-libs-sections.txt:
15887         * docs/libs/tmpl/gstgetbits.sgml:
15888         * docs/libs/tmpl/gstputbits.sgml:
15889
15890 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
15891
15892         * win32/gstenumtypes.c:
15893         * win32/gstenumtypes.h:
15894           Update.
15895
15896 2005-09-19  Wim Taymans  <wim@fluendo.com>
15897
15898         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
15899         Automatically PAUSE and RESUME a pipeline when a flushing seek
15900         is performed.
15901
15902 2005-09-19  Andy Wingo  <wingo@pobox.com>
15903
15904         * gst/gstregistry.h: Spacing fixen.
15905
15906 2005-09-19  Wim Taymans  <wim@fluendo.com>
15907
15908         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
15909         Handle state change failure more correctly.
15910
15911 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15912
15913         * check/Makefile.am:
15914         * check/pipelines/cleanup.c: (run_pipeline):
15915         * check/pipelines/simple_launch_lines.c: (run_pipeline),
15916         (GST_START_TEST):
15917           enable cleanup again after fixing the leak
15918         * docs/README:
15919           some more info on docs
15920
15921 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15922
15923         * check/Makefile.am:
15924           re-enable tests now that leaks are plugged
15925         * check/gst/gst.c:
15926         * check/gst/gstbin.c:
15927         * check/gst/gstpipeline.c:
15928           add some more tests while fixing leaks
15929         * common/check.mak:
15930           make sure binaries are uptodate when valgrinding/gdbing
15931         * gst/gst.c:
15932         * gst/gstelementfactory.c:
15933           remove a ref too many, and add a FIXME for when we get
15934           round to disposing of classes
15935         * gst/gstplugin.c:
15936           fix the refcounting when loading a plugin from a file and
15937           the code pretends that the pointer is the same even though
15938           of course it can change
15939         * gst/gstpluginfeature.c:
15940           unref plugins marked cached (a bit confusing as a name)
15941           as the docs state should be done
15942           various doc additions to explain refcounting
15943         * gst/gstregistry.c:
15944         * gst/gstregistryxml.c:
15945           debugging
15946
15947 2005-09-19  Wim Taymans  <wim@fluendo.com>
15948
15949         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
15950         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15951         (send_messages), (GST_START_TEST), (gstbus_suite):
15952         * check/gst/gstpipeline.c: (GST_START_TEST):
15953         * check/pipelines/cleanup.c: (run_pipeline):
15954         * check/pipelines/simple_launch_lines.c: (run_pipeline),
15955         (GST_START_TEST):
15956         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
15957         (gst_bus_source_check), (gst_bus_source_dispatch),
15958         (gst_bus_create_watch), (gst_bus_add_watch_full),
15959         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
15960         * gst/gstbus.h:
15961         * tools/gst-launch.c: (event_loop):
15962         * tools/gst-md5sum.c: (event_loop):
15963         GstBusHandler -> GstBusFunc, return value has the same meaning as
15964         any other GSource (FALSE == remove source).
15965         _add_watch() and _add_watch_full() now take a MessageType mask to
15966         only handle specific types of messages.
15967         _poll() returns the GstMessage instead of the message type to avoid
15968         race conditions.
15969         _have_pending() takes a MessageType mask now too.
15970         Added testsuite for multiple bus watches.
15971         Fix testsuites and applications for new bus API.
15972
15973 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15974
15975         * check/Makefile.am:
15976           mark a bunch of the tests as to fix until we fix them
15977
15978 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15979
15980         * common/check.mak:
15981           use GST_PLUGIN settings for valgrind tests as well, so we're
15982           valgrinding the correct thing
15983         * gst/gst.c: (init_post):
15984           plug another leak
15985
15986 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15987
15988         * gst/gst.c: (init_post), (gst_deinit):
15989         * gst/gstelementfactory.c: (gst_element_factory_class_init),
15990         (gst_element_factory_finalize), (gst_element_factory_cleanup):
15991         * gst/gstindex.c: (gst_index_factory_class_init),
15992         (gst_index_factory_finalize):
15993         * gst/gstobject.c: (gst_object_dispose):
15994         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15995         (gst_plugin_load_file), (gst_plugin_desc_free):
15996         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
15997         (gst_plugin_feature_finalize):
15998         * gst/gstregistry.c: (gst_registry_class_init),
15999         (gst_registry_init), (gst_registry_finalize),
16000         (gst_registry_get_default), (gst_registry_deinit):
16001         * gst/gstregistry.h:
16002         * gst/gstregistryxml.c: (load_feature), (load_plugin):
16003           various cleanups and memleak plugging.  make valgrind is happy now.
16004
16005 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16006
16007         * common/check.mak:
16008           add a check-valgrind target
16009
16010 2005-09-18  David Schleef  <ds@schleef.org>
16011
16012         * tools/gst-inspect.c: Revert the GOption code.
16013
16014 2005-09-17  David Schleef  <ds@schleef.org>
16015
16016         * check/Makefile.am: Fix environment variables.
16017         * check/gst/gstplugin.c: Fix for API changes.
16018         * tools/gst-inspect.c: Fix for API changes.
16019         * tools/gst-xmlinspect.c: Fix for API changes.
16020         * gst/gstelementfactory.c:
16021         * gst/gstplugin.c:
16022         * gst/gstplugin.h:
16023         * gst/gstpluginfeature.c:
16024         * gst/gstpluginfeature.h:
16025         * gst/gstregistry.c:
16026         * gst/gstregistry.h:
16027         * gst/gstregistryxml.c:
16028         * gst/gsttypefind.c:
16029         * gst/gsttypefindfactory.c:
16030         * gst/indexers/gstfileindex.c:
16031         * gst/indexers/gstmemindex.c:
16032         * gst/schedulers/Makefile.am:
16033           Change registry to keep track of both plugins and features,
16034           removing the feature tracking from plugins themselves.
16035
16036 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16037
16038         * check/Makefile.am:
16039         * tools/gst-register.1.in:
16040           remove gst-register
16041
16042 2005-09-15  David Schleef  <ds@schleef.org>
16043
16044         * check/gst/gstplugin.c:
16045         * gst/gstelementfactory.c:
16046         * gst/gstplugin.c:
16047         * gst/gstpluginfeature.c:
16048         * gst/gstregistry.c:
16049           Getting tired of debugging.  Disabled all the unreffing of
16050           plugins and features, which fixes the segfaults, but of
16051           course leaks like crazy.  At least playbin works.
16052
16053 2005-09-15  David Schleef  <ds@schleef.org>
16054
16055         * check/gst/gstplugin.c: (register_check_elements),
16056         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
16057         More testing
16058         * gst/elements/gsttypefindelement.c: Fix refcounting.
16059         * gst/gsttypefind.c:
16060         * gst/gsttypefindfactory.c:
16061         * gst/gsttypefindfactory.h:
16062
16063 2005-09-15  David Schleef  <ds@schleef.org>
16064
16065         * gst/gstindex.c: get refcounting correct.
16066         * gst/gstregistry.c: Handle the case where a feature/plugin is
16067           not found.
16068
16069 2005-09-15  David Schleef  <ds@schleef.org>
16070
16071         * check/Makefile.am:
16072         * check/gst/gstplugin.c: Add test
16073         * gst/gstplugin.c: Fix problems noticed by testsuite
16074         * gst/gstplugin.h:
16075         * gst/gstregistry.c: 
16076         * gst/gstregistry.h:
16077
16078 2005-09-15  David Schleef  <ds@schleef.org>
16079
16080         * gst/gstplugin.c: Implement semi-decent recounting and locking
16081           in plugins and plugin features.
16082         * gst/gstplugin.h:
16083         * gst/gstpluginfeature.c:
16084         * gst/gstpluginfeature.h:
16085         * gst/gstregistry.c:
16086
16087 2005-09-15  Michael Smith <msmith@fluendo.com>
16088
16089         * gst/gstregistry.c: (gst_registry_get_feature_list):
16090           Implement this. Makes oggdemux work; decodebin still broken.
16091
16092 2005-09-14  David Schleef  <ds@schleef.org>
16093
16094         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
16095           #316076)
16096         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
16097         * gst/check/Makefile.am:
16098         * libs/gst/controller/Makefile.am:
16099         * libs/gst/dataprotocol/Makefile.am:
16100
16101 2005-09-14  David Schleef  <ds@schleef.org>
16102
16103         * configure.ac: Remove getbits library.  Nothing uses it, and
16104           it should be in something like liboil if someone did want
16105           to use it.
16106         * libs/gst/Makefile.am:
16107         * libs/gst/getbits/Makefile.am:
16108         * libs/gst/getbits/gbtest.c:
16109         * libs/gst/getbits/getbits.c:
16110         * libs/gst/getbits/getbits.h:
16111         * libs/gst/getbits/gstgetbits_generic.c:
16112         * libs/gst/getbits/gstgetbits_i386.s:
16113         * libs/gst/getbits/gstgetbits_inl.h:
16114
16115 2005-09-14  David Schleef  <ds@schleef.org>
16116
16117         * gst/Makefile.am: Dist glib-compat.h
16118
16119 2005-09-14  David Schleef  <ds@schleef.org>
16120
16121         * configure.ac: Remove gst/registries, since it's no longer used.
16122         * gst/registries/Makefile.am:
16123         * gst/registries/gstlibxmlregistry.c:
16124         * gst/registries/gstlibxmlregistry.h:
16125         * gst/registries/gstxmlregistry.c:
16126         * gst/registries/gstxmlregistry.h:
16127         * gst/registries/registrytest.c:
16128
16129 2005-09-14  David Schleef  <ds@schleef.org>
16130
16131         * gst/glib-compat.h:
16132         * gst/gstregistryxml.c:
16133           Convergence is near.  Seriously.
16134
16135 2005-09-14  David Schleef  <ds@schleef.org>
16136
16137         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16138         * gst/glib-compat.h:
16139           Attempt #4 to appease the buildbots.
16140
16141 2005-09-14  David Schleef  <ds@schleef.org>
16142
16143         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16144           Attempt #3.
16145
16146 2005-09-14  David Schleef  <ds@schleef.org>
16147
16148         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16149         Attempt #2.
16150
16151 2005-09-14  David Schleef  <ds@schleef.org>
16152
16153         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
16154           the new functions.
16155
16156 2005-09-14  David Schleef  <ds@schleef.org>
16157
16158         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16159         * gst/glib-compat.h: Add some functions that are in newer versions
16160           of glib than we care to require.
16161         * gst/gstregistryxml.c: Use them.
16162
16163 2005-09-14  David Schleef  <ds@schleef.org>
16164
16165         * po/POTFILES.in: remove gst-register.c
16166
16167 2005-09-14  David Schleef  <ds@schleef.org>
16168
16169         * docs/gst/gstreamer-docs.sgml:
16170         * docs/gst/gstreamer-sections.txt:
16171         * docs/gst/gstreamer.types:
16172         * docs/gst/tmpl/gstelement.sgml:
16173         * docs/gst/tmpl/gstplugin.sgml:
16174         * docs/gst/tmpl/gstpluginfeature.sgml:
16175           Documentation updates for registry changes.
16176
16177 2005-09-14  David Schleef  <ds@schleef.org>
16178
16179         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
16180           because we don't require glib-2.8.
16181
16182 2005-09-14  David Schleef  <ds@schleef.org>
16183
16184         * gst/gstregistryxml.c: Added.  Essentially moved out of the
16185           registries directory.
16186
16187 2005-09-14  David Schleef  <ds@schleef.org>
16188
16189         * check/Makefile.am:
16190         * check/generic/states.c:
16191         * gst/Makefile.am:
16192         * gst/gst.c:
16193         * gst/gst.h:
16194         * gst/gst_private.h:
16195         * gst/gstelementfactory.c:
16196         * gst/gstindex.c:
16197         * gst/gstinfo.c:
16198         * gst/gstplugin.c:
16199         * gst/gstplugin.h:
16200         * gst/gstpluginfeature.c:
16201         * gst/gstpluginfeature.h:
16202         * gst/gstregistry.c:
16203         * gst/gstregistry.h:
16204         * gst/gstregistrypool.c: remove
16205         * gst/gstregistrypool.h: remove
16206         * gst/gsttypefind.c:
16207         * gst/gsttypefindfactory.c:
16208         * gst/gsturi.c:
16209         * tools/Makefile.am:
16210         * tools/gst-compprep.c:
16211         * tools/gst-inspect.c:
16212         * tools/gst-register.c: remove
16213         * tools/gst-xmlinspect.c:
16214           Registry rewrite.  Changes registry from being a file created
16215           by a tool into a simple cache file created automatically by 
16216           libgstreamer.  Removed gst-register (because it's no longer
16217           needed).  Remove registry pools, because we only have one
16218           registry implementation (XML).  Fix up other subsystems as
16219           necessary.
16220
16221 2005-09-13  Michael Smith <msmith@fluendo.com>
16222
16223         * gst/gstconfig.h.in:
16224           Don't Use windows linking attributes for MinGW. Fixes #316157
16225
16226 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16227
16228         * gst/gstutils.c: (set_state_async_thread_func),
16229         (gst_element_set_state_async):
16230           Apparently people think it's better if this function doesn't
16231           try to set the state to whatever state was asked for on the first
16232           call to this function for any object.  Seriously.
16233
16234 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16235
16236         * check/gst/gstpipeline.c: (GST_START_TEST):
16237         * docs/gst/gstreamer-sections.txt:
16238         * gst/gstutils.c: (set_state_async_thread_func),
16239         (gst_element_set_state_async):
16240         * gst/gstutils.h:
16241           add a "gst_element_set_state_async" method that
16242           sets the state and starts a thread to make sure the state
16243           change completes as best as it can
16244
16245 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16246
16247         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16248           codify design+behaviour in testsuite after discussion
16249
16250 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16251
16252         * docs/gst/tmpl/gstelement.sgml:
16253         * docs/manual/appendix-quotes.xml:
16254           add a quote
16255         * gst/gstelement.c: (gst_element_set_state):
16256           add some debug
16257
16258 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
16259
16260         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16261         (gst_base_transform_prepare_output_buf),
16262         (gst_base_transform_handle_buffer):
16263         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
16264         (gst_capsfilter_prepare_buf):
16265           Remove the requirement for sub-classes to call the parent
16266           implementation of prepare_output_buffer with a wrapper function.
16267           
16268         * gst/gsttaglist.h:
16269         * gst/gsttagsetter.h:
16270           Fix #define wrapper
16271
16272 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
16273
16274         * docs/gst/gstreamer-sections.txt:
16275           more doc cleanups
16276
16277 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16278
16279         * docs/gst/gstreamer-sections.txt:
16280         * docs/gst/tmpl/gstelement.sgml:
16281         * docs/gst/tmpl/gstplugin.sgml:
16282         * gst/gstminiobject.c:
16283         * gst/gstvalue.h:
16284           docs now stop throwing warnings
16285
16286 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16287
16288         * docs/gst/gstreamer-sections.txt:
16289         * docs/gst/gstreamer.types:
16290         * docs/gst/tmpl/gstpad.sgml:
16291         * docs/gst/tmpl/gsttypes.sgml:
16292         * gst/base/gstadapter.h:
16293         * gst/base/gstbasesink.h:
16294         * gst/base/gstbasesrc.h:
16295         * gst/gstbin.h:
16296         * gst/gstbuffer.h:
16297         * gst/gstbus.h:
16298         * gst/gstcaps.h:
16299         * gst/gstclock.h:
16300         * gst/gstelement.h:
16301         * gst/gstevent.h:
16302         * gst/gstmessage.h:
16303         * gst/gstpad.h:
16304         * gst/gststructure.c:
16305         * gst/registries/gstlibxmlregistry.h:
16306           various documentation fixes
16307
16308 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16309
16310         * docs/gst/gstreamer-sections.txt:
16311         * docs/gst/tmpl/gstvalue.sgml:
16312           rearrange gstvalue section
16313         * gst/gstutils.c: (gst_element_state_get_name):
16314           NONE -> VOID
16315         * gst/gstvalue.c: (_gst_value_initialize):
16316         * gst/gstvalue.h:
16317           doc updates
16318
16319 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
16320
16321         * check/gst-libs/controller.c:
16322           Header include fix.
16323         * gst/base/gstbasetransform.c:
16324         (gst_base_transform_default_prepare_buf),
16325         (gst_base_transform_handle_buffer):
16326         * gst/base/gstbasetransform.h:
16327           Some more basetransform changes and fixes to enable sub-classes
16328           that modify buffer metadata only.
16329         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16330         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
16331         (gst_capsfilter_prepare_buf):
16332           If the output pad has fixed allowed caps and input buffers 
16333           don't have any, set the fixed caps on outgoing buffers.
16334
16335 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
16336         * check/elements/identity.c: (GST_START_TEST):
16337           Make the error a little clearer when the test fails because
16338           identity made a copy of the buffer.
16339         * docs/gst/gstreamer-sections.txt:
16340           New symbols in gstbasetransform.h
16341         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16342         (gst_base_transform_init), (gst_base_transform_transform_size),
16343         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16344         (gst_base_transform_default_prepare_buf),
16345         (gst_base_transform_get_unit_size),
16346         (gst_base_transform_buffer_alloc),
16347         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16348         (gst_base_transform_change_state),
16349         (gst_base_transform_set_passthrough),
16350         (gst_base_transform_set_in_place),
16351         (gst_base_transform_is_in_place):
16352         * gst/base/gstbasetransform.h:
16353           Change BaseTransform to separate in_place operate from same_caps
16354           output. in_place implies that the element can perform the transform
16355           on incoming buffers in-place, even if the caps on the output are
16356           different.
16357           Sub-class elements can now implement special buffer allocation
16358           methods for outgoing buffers if they wish to.
16359           Big documentation addition.
16360         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
16361         * gst/elements/gstelements.c:
16362           Changes for basetransform modifications.
16363         * gst/elements/Makefile.am:
16364         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
16365           Compile fix. Extra debug output.
16366
16367 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16368
16369         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
16370         (gst_pad_suite):
16371           add tests for valid pad naming
16372         * gst/check/gstcheck.c: (gst_check_log_message_func),
16373         (gst_check_log_critical_func):
16374           add ASSERT_WARNING
16375           remove printing of code, it is fragile when the code contains
16376           % and the line number is enough info
16377         * gst/check/gstcheck.h:
16378         * gst/gstpad.c: (gst_pad_template_new):
16379           fix memleaks
16380
16381 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16382
16383         * configure.ac:
16384           say what CHECK flags we use
16385         * docs/libs/gstreamer-libs.types:
16386         * libs/gst/controller/Makefile.am:
16387         * libs/gst/controller/gst-controller.c:
16388         * libs/gst/controller/gst-controller.h:
16389         * libs/gst/controller/gst-helper.c:
16390         * libs/gst/controller/gst-interpolation.c:
16391         * libs/gst/controller/gstcontroller.c:
16392         * libs/gst/controller/gsthelper.c:
16393         * libs/gst/controller/gstinterpolation.c:
16394         * tools/gst-inspect.c: (print_plugin_info):
16395           we don't use dashes in header names
16396
16397 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16398
16399         * check/Makefile.am:
16400         * check/gst/.cvsignore:
16401         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
16402         (gst_pipeline_suite), (main):
16403           adding a test for pipelines and state changes
16404         * gst/gstutils.c: (get_state_func):
16405           add some debugging
16406         * gstreamer.spec.in:
16407           fix up spec file
16408
16409 2005-09-08  Michael Smith <msmith@fluendo.com>
16410
16411         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
16412         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
16413         (gst_file_src_is_seekable), (gst_file_src_get_size),
16414         (gst_file_src_start):
16415         * gst/elements/gstfilesrc.h:
16416           Various fixes for unseekable, unmmapable, and non-normal files, so
16417           that fallback to read() rather than mmap() works.
16418         * gst/gstevent.c: (gst_event_new_newsegment):
16419           Allow newsegment events with segment_start == segment_end, as will
16420           correctly happen if you use filesrc on a zero-size file, for
16421           example.
16422
16423 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
16424
16425         * gst/gstplugin.c: (gst_plugin_load_file):
16426           Call g_module_close when we don't load the module
16427
16428         * gst/registries/gstlibxmlregistry.c:
16429         (gst_xml_registry_get_property):
16430           Port leak fix from 0.8
16431
16432 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16433
16434         * docs/gst/gstreamer-docs.sgml:
16435         * docs/gst/tmpl/.cvsignore:
16436         * docs/gst/tmpl/gsttrace.sgml:
16437         * docs/gst/tmpl/gsttrashstack.sgml:
16438         * gst/Makefile.am:
16439         * gst/gst.h:
16440         * gst/gstelement.h:
16441         * gst/gstevent.h:
16442         * gst/gstmessage.c:
16443         * gst/gstmessage.h:
16444         * gst/gsttag.c:
16445         * gst/gsttag.h:
16446         * gst/gsttaginterface.c:
16447         * gst/gsttaginterface.h:
16448         * gst/gsttaglist.c:
16449         * gst/gsttaglist.h:
16450         * gst/gsttagsetter.c:
16451         * gst/gsttagsetter.h:
16452         * gst/gsttrace.c:
16453         * gst/gsttrace.h:
16454         * gst/gsttrashstack.c:
16455           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
16456           inlined docs for gsttrace, gsttrashstack
16457
16458 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16459
16460         * gst/Makefile.am:
16461         * gst/elements/gstbufferstore.h:
16462         * gst/elements/gsttypefindelement.c:
16463         * gst/elements/gsttypefindelement.h:
16464         * gst/gst.h:
16465         * gst/gsttypefind.c:
16466         * gst/gsttypefind.h:
16467         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
16468         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
16469         (gst_type_find_factory_dispose),
16470         (gst_type_find_factory_unload_thyself),
16471         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
16472         (gst_type_find_factory_get_caps),
16473         (gst_type_find_factory_get_extensions),
16474         (gst_type_find_factory_call_function):
16475         * gst/gsttypefindfactory.h:
16476         * gst/registries/gstlibxmlregistry.c:
16477         * gst/registries/gstxmlregistry.c:
16478           splitted gsttypefind into gsttypefind, gsttypefindfactory
16479
16480 2005-09-07  Andy Wingo  <wingo@pobox.com>
16481
16482         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
16483         condition whereby the pad's task function is entered before the
16484         pad_mode variable was set.
16485
16486 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
16487
16488         * gst/gstpad.c: (gst_pad_alloc_buffer):
16489           Catch misbehaving pad_alloc functions that don't
16490           set up caps and do it for them.
16491
16492 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16493
16494         * check/pipelines/simple_launch_lines.c: (run_pipeline):
16495           test for pipe!=NULL
16496         * docs/gst/tmpl/.cvsignore:
16497         * docs/gst/tmpl/gstmemchunk.sgml:
16498         * docs/gst/tmpl/gstparse.sgml:
16499         * docs/gst/tmpl/gsttaglist.sgml:
16500         * docs/gst/tmpl/gsttagsetter.sgml:
16501         * docs/gst/tmpl/gsttypefind.sgml:
16502         * docs/gst/tmpl/gsttypefindfactory.sgml:
16503         * gst/gstmemchunk.c:
16504         * gst/gstparse.c:
16505         * gst/gsttag.c:
16506         * gst/gsttaginterface.c:
16507         * gst/gsttypefind.c:
16508         * gst/gsttypefind.h:
16509           inlined more docs
16510
16511 === release 0.9.2 ===
16512
16513 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16514
16515         * NEWS:
16516         * RELEASE:
16517         * configure.ac:
16518           releasing 0.9.2, "South"
16519
16520 2005-09-05  Andy Wingo  <wingo@pobox.com>
16521
16522         * gst/registries/gstxmlregistry.h:
16523         * gst/registries/gstxmlregistry.c: Um... resurrect...
16524         
16525         * gst/registries/gstxmlregistry.h:
16526         * gst/registries/gstxmlregistry.c: and update to newer API.
16527         Incidentally they should be a bit faster now that they don't have
16528         to parse the caps.
16529         
16530 2005-09-05  Andy Wingo  <wingo@pobox.com>
16531
16532         * gst/registries/gstxmlregistry.h:
16533         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
16534         replaced by the libxml registry a while back
16535
16536 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16537
16538         * docs/gst/tmpl/gstplugin.sgml:
16539         * gst/elements/gstelements.c:
16540         * gst/gst.c:
16541         * gst/gstplugin.c: (gst_plugin_register_func),
16542         (gst_plugin_desc_copy), (gst_plugin_desc_free),
16543         (gst_plugin_get_source):
16544         * gst/gstplugin.h:
16545         * gst/registries/gstlibxmlregistry.c: (load_plugin),
16546         (gst_xml_registry_save_plugin):
16547         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
16548         (gst_xml_registry_save_plugin):
16549         * tools/gst-inspect.c: (print_plugin_info):
16550           add a "source" plugin description field, to represent the source
16551           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
16552           will set it to PACKAGE, which is automake's idea of the name of
16553           the source project.
16554
16555 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16556
16557         * Makefile.am:
16558         * autogen.sh:
16559         * configure.ac:
16560         * docs/Makefile.am:
16561         * docs/faq/Makefile.am:
16562         * docs/gst/tmpl/gstelement.sgml:
16563         * docs/gst/tmpl/gsttypes.sgml:
16564         * docs/htmlinstall.mak:
16565         * docs/manual/Makefile.am:
16566         * docs/pwg/Makefile.am:
16567           reorganize doc build a little
16568           split out docbook and gtk-doc stuff
16569           have two separate --enable's and enable them through autogen
16570           but disable by default in configure (to be similar to other
16571           projects)
16572         * gstreamer.spec.in:
16573           clean up docs install
16574         * po/af.po:
16575         * po/az.po:
16576         * po/ca.po:
16577         * po/cs.po:
16578         * po/de.po:
16579         * po/en_GB.po:
16580         * po/fr.po:
16581         * po/it.po:
16582         * po/nb.po:
16583         * po/nl.po:
16584         * po/ru.po:
16585         * po/sq.po:
16586         * po/sr.po:
16587         * po/sv.po:
16588         * po/tr.po:
16589         * po/uk.po:
16590         * po/vi.po:
16591           translation updates
16592
16593 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
16594
16595         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
16596           Add comment.
16597           
16598         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16599         (gst_fake_sink_change_state):
16600           Make state change function thread-safe.
16601           
16602         * gst/gstpad.c: (gst_pad_alloc_buffer):
16603           Set offset on generic buffer allocated by fallback.
16604
16605 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
16606
16607         * docs/gst/gstreamer-sections.txt:
16608         * docs/gst/tmpl/gstelement.sgml:
16609         * gst/gstpad.c:
16610         * libs/gst/controller/gst-controller.c:
16611         (gst_controlled_property_set_interpolation_mode),
16612         (gst_controlled_property_new),
16613         (gst_controller_find_controlled_property):
16614          run the wingo-magic script against the docs
16615
16616 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
16617
16618         * docs/gst/gstreamer-docs.sgml:
16619         * docs/gst/gstreamer-sections.txt:
16620         * docs/gst/tmpl/.cvsignore:
16621         * docs/gst/tmpl/gstelementdetails.sgml:
16622         * docs/gst/tmpl/gstelementfactory.sgml:
16623         * gst/gst.c:
16624         * gst/gstbus.c:
16625         * gst/gstelementfactory.c:
16626         * gst/gstelementfactory.h:
16627           merged elementdetails docs into elementfactory docs
16628           inlined both
16629
16630 2005-09-02  Andy Wingo  <wingo@pobox.com>
16631
16632         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
16633         consider this enum an enum and not a flags.
16634
16635 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
16636
16637         * docs/gst/gstreamer-docs.sgml:
16638         * docs/gst/tmpl/.cvsignore:
16639         * docs/gst/tmpl/gstghostpad.sgml:
16640         * docs/gst/tmpl/gstiterator.sgml:
16641         * docs/gst/tmpl/gstmacros.sgml:
16642         * docs/gst/tmpl/gstrealpad.sgml:
16643         * docs/gst/tmpl/gstregistry.sgml:
16644         * docs/gst/tmpl/gstregistrypool.sgml:
16645         * docs/gst/tmpl/gststructure.sgml:
16646         * docs/gst/tmpl/gstsystemclock.sgml:
16647         * docs/gst/tmpl/gsttrace.sgml:
16648         * gst/gstghostpad.c:
16649         * gst/gstmacros.h:
16650         * gst/gstmemchunk.c:
16651         * gst/gstmemchunk.h:
16652         * gst/gstqueue.c:
16653         * gst/gstregistry.c:
16654         * gst/gstregistrypool.c:
16655         * gst/gststructure.c:
16656         * gst/gstsystemclock.c:
16657           more docs inlined
16658
16659 2005-09-02  Andy Wingo  <wingo@pobox.com>
16660
16661         * gst/gstelement.h (GstState): Renamed from GstElementState,
16662         changed to be a normal enum instead of flags.
16663         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
16664         munged to be GST_STATE_CHANGE_*.
16665         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
16666         work with the new state representation.
16667         (GstStateChange): New enumeration of possible state transitions.
16668         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
16669         (GstElementClass::change_state): Pass the GstStateChange along as
16670         an argument. Helps language bindings, so they don't have to use
16671         tricky lock-needing macros like GST_STATE_CHANGE ().
16672
16673         * scripts/update-states (file): New script. Run it on a file to
16674         update it for state naming and API changes. Updates files in
16675         place.
16676
16677         * All files updated for the new API.
16678
16679 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16680
16681         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
16682         * gst/gstutils.c: (gst_util_set_value_from_string),
16683         (gst_util_set_object_arg):
16684           fix a bunch of unchecked return values
16685         * tools/gst-complete.c: (main):
16686         * gstreamer.spec.in:
16687           clean up a little
16688
16689 2005-09-01  Wim Taymans  <wim@fluendo.com>
16690
16691         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16692         (gst_base_sink_event), (gst_base_sink_do_sync),
16693         (gst_base_sink_handle_event):
16694         * gst/base/gstbasesink.h:
16695         Handle newsegments more correctly.
16696
16697         * gst/gstbus.c:
16698         Fix docs.
16699
16700         * gst/gstevent.c: (gst_event_new_newsegment):
16701         A newsegment cannot have a start_time of -1
16702
16703 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
16704
16705         * win32/gstenumtypes.c:
16706         * win32/gstenumtypes.h:
16707           Update
16708
16709 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
16710
16711         * libs/gst/controller/gst-controller.c:
16712         (gst_controlled_property_set_interpolation_mode),
16713         (gst_controlled_property_new):
16714          fixed boolean again
16715
16716 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
16717
16718         * docs/faq/gst-uninstalled:
16719           add -good
16720         * gst/gstevent.c:
16721         * gst/gstevent.h:
16722           remove wrong docs
16723         * gst/gstutils.c: (gst_element_link_filtered):
16724         * gst/gstutils.h:
16725           add gst_element_link_filtered
16726
16727 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
16728
16729         * docs/gst/gstreamer-docs.sgml:
16730         * docs/gst/gstreamer-sections.txt:
16731         * docs/gst/tmpl/.cvsignore:
16732         * docs/gst/tmpl/gsterror.sgml:
16733         * docs/gst/tmpl/gstfilter.sgml:
16734         * docs/gst/tmpl/gsturihandler.sgml:
16735         * docs/gst/tmpl/gsturitype.sgml:
16736         * docs/gst/tmpl/gstutils.sgml:
16737         * docs/gst/tmpl/gstxml.sgml:
16738         * gst/gsterror.c:
16739         * gst/gsterror.h:
16740         * gst/gstfilter.c:
16741         * gst/gsturi.c:
16742         * gst/gsturitype.c:
16743         * gst/gstutils.c:
16744         * gst/gstxml.c:
16745           inlined more docs, fixed double id-ref
16746
16747 2005-08-31  Wim Taymans  <wim@fluendo.com>
16748
16749         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16750         (gst_base_transform_handle_buffer):
16751         Passthrough elements don't need the caps as they don't care.
16752
16753 2005-08-31  Wim Taymans  <wim@fluendo.com>
16754
16755         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16756         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
16757         Don't leak refcounts on buffers.
16758
16759 2005-08-31  Wim Taymans  <wim@fluendo.com>
16760
16761         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
16762         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16763         (gst_base_transform_chain), (gst_base_transform_change_state):
16764         * gst/base/gstbasetransform.h:
16765         Handle the case where we are not negotiated more gracefully.
16766
16767 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
16768
16769         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
16770         (gst_file_src_map_region):
16771           Set READONLY flag on mmap'ed buffers, otherwise
16772           gst_buffer_make_writable() won't work properly (#314708).
16773
16774 2005-08-31  Wim Taymans  <wim@fluendo.com>
16775
16776         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
16777         passthrough elements can even do inplace on non writable
16778         buffers (as they don't touch them).
16779
16780 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
16781
16782         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
16783         (gst_test_mono_source_set_property),
16784         (gst_test_mono_source_class_init), (GST_START_TEST),
16785         (gst_controller_suite):
16786           more tests (hehe I have the most)
16787         * gst/gstbus.c:
16788           describe popping messages whenusing mulltiple sources
16789         * libs/gst/controller/gst-controller.c:
16790         (gst_controlled_property_set_interpolation_mode),
16791         (gst_controlled_property_new):
16792         * libs/gst/controller/gst-controller.h:
16793         * libs/gst/controller/gst-interpolation.c:
16794           implement boolean properties
16795
16796 2005-08-31  Wim Taymans  <wim@fluendo.com>
16797
16798         * gst/gstminiobject.c: (gst_mini_object_ref):
16799         Cannot assert that the refcount has to be positive
16800         since a disposed object can be resurrected.
16801
16802 2005-08-31  Wim Taymans  <wim@fluendo.com>
16803
16804         * gst/gstpad.c: (gst_pad_init):
16805         Revert change, need to first fix badly behaving 
16806         apps.
16807
16808 2005-08-30  Wim Taymans  <wim@fluendo.com>
16809
16810         * check/elements/fakesrc.c: (setup_fakesrc):
16811         * check/elements/identity.c: (setup_identity):
16812         Activate pads before using them.
16813
16814 2005-08-30  Wim Taymans  <wim@fluendo.com>
16815
16816         * gst/base/gstadapter.c: (gst_adapter_flush):
16817         Flushing out 0 bytes is ok for this function.
16818
16819         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16820         no newsegment gives a warning and sets the start/stop to 
16821         invalid.
16822
16823         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
16824         (gst_base_transform_set_passthrough):
16825         Some debug info.
16826
16827         * gst/gstminiobject.c: (gst_mini_object_ref):
16828         Check refcount here too.
16829
16830         * gst/gstpad.c: (gst_pad_init):
16831         Pads are initially flushing and refusing data.
16832
16833         * gst/gstutils.c: (gst_element_link_pads_filtered):
16834         When adding a capsfilter element make sure it has the
16835         same state as the parent bin.
16836
16837 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16838
16839         * docs/gst/tmpl/.cvsignore:
16840         * docs/gst/tmpl/gstformat.sgml:
16841         * docs/gst/tmpl/gstversion.sgml:
16842         * gst/gstbus.h:
16843         * gst/gstformat.c:
16844         * gst/gstformat.h:
16845         * gst/gstversion.h.in:
16846           more docs and two more inlined
16847
16848 2005-08-30  Wim Taymans  <wim@fluendo.com>
16849
16850         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
16851         Don't sync to clock.
16852
16853 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16854
16855         * docs/gst/gstreamer-sections.txt:
16856           ultral33t func10ns deserve to appear in the docs actually
16857         * docs/gst/tmpl/.cvsignore:
16858         * docs/gst/tmpl/gstcompat.sgml:
16859         * docs/gst/tmpl/gstconfig.sgml:
16860         * gst/check/gstcheck.c:
16861         * gst/gstcompat.h:
16862         * gst/gstconfig.h.in:
16863           inlined more docs
16864
16865 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16866
16867         * docs/gst/tmpl/.cvsignore:
16868         * docs/gst/tmpl/gstquery.sgml:
16869         * docs/gst/tmpl/gstutils.sgml:
16870         * gst/gstquery.c:
16871         * gst/gstquery.h:
16872           inlined and extended docs
16873
16874 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16875
16876         * check/gst-libs/controller.c: (GST_START_TEST),
16877         (gst_controller_suite):
16878           more tests
16879         * docs/gst/tmpl/gstutils.sgml:
16880         * docs/libs/gstreamer-libs-sections.txt:
16881         * docs/libs/tmpl/gstdataprotocol.sgml:
16882           include path fixes
16883         * examples/controller/audio-example.c: (main):
16884           controller example works now
16885         * gst/gstclock.h:
16886           doc fixes
16887         * tools/gst-inspect.c: (print_element_properties_info):
16888           show param spec flags
16889
16890 2005-08-29  Andy Wingo  <wingo@pobox.com>
16891
16892         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
16893
16894 2005-08-28  Andy Wingo  <wingo@pobox.com>
16895
16896         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
16897         as having two arguments instead of just one. Allows superclasses
16898         to access information on subclasses -- see the terrible for() loop
16899         in gtype.c:g_type_create_instance for the reason why. All callers
16900         changed.
16901
16902 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
16903
16904         * docs/design/part-messages.txt:
16905           update info
16906         * docs/gst/tmpl/.cvsignore:
16907         * docs/gst/tmpl/gstcaps.sgml:
16908         * docs/gst/tmpl/gstclock.sgml:
16909         * gst/gstbus.c:
16910         * gst/gstcaps.c:
16911         * gst/gstcaps.h:
16912         * gst/gstclock.c:
16913         * gst/gstclock.h:
16914         * gst/gstmessage.c:
16915           added descriptions for bus and message
16916           inline caps and clock docs
16917
16918 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
16919
16920         * gst/gstmessage.c:
16921         * gst/gstmessage.h:
16922           doc fixes
16923
16924 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
16925
16926         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
16927           fix div-by-zero
16928
16929 2005-08-26  Andy Wingo  <wingo@pobox.com>
16930
16931         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
16932         element_set_state's return val.
16933         (test_2_elements): Add test that's been disabled for months.
16934
16935         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
16936         can-activate-pull properties.
16937
16938         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
16939         can-activate-pull properties. Implement is_seekable so fakesrc can
16940         operate in pull mode.
16941
16942         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
16943         properties.
16944         (gst_base_sink_activate, gst_base_sink_activate_pull)
16945         (gst_base_sink_activate_push): Make activation mode choosing work.
16946         Cleanups.
16947         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
16948         is right. Make pull mode work. Post an eos before pausing in pull
16949         mode.
16950         (gst_base_sink_change_state): Pay attention to the core's
16951         change_state() return val.
16952         
16953         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
16954         has-getrange properties. Cleanups.
16955         
16956         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
16957         has_getrange and replace with can_activate_pull and
16958         can_activate_push.
16959
16960         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
16961         locking comments. Remove has_loop, has_chain and replace with
16962         can_activate_pull and can_activate_push.
16963
16964 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
16965
16966         * configure.ac:
16967         * examples/Makefile.am:
16968         * examples/metadata/Makefile.am:
16969         * examples/metadata/read-metadata.c: (message_loop),
16970         (have_pad_handler), (make_pipeline), (print_tag), (main):
16971           Add metadata reading example that loops over a list of filenames,
16972           dumping any tags found.
16973
16974         * gst/gstbus.c: (gst_bus_dispose):
16975         * gst/gstelement.c: (gst_element_dispose):
16976           Release a few potentially-held references in dispose.
16977
16978 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
16979
16980         * docs/gst/tmpl/gstminiobject.sgml:
16981           do *not* add tmpl/*.sgml files to CVS!
16982
16983 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
16984
16985         * libs/gst/bytestream/.cvsignore:
16986         * libs/gst/bytestream/Makefile.am:
16987         * libs/gst/bytestream/adapter.c:
16988         * libs/gst/bytestream/adapter.h:
16989         * libs/gst/bytestream/bytestream.c:
16990         * libs/gst/bytestream/bytestream.h:
16991         * libs/gst/bytestream/filepad.c:
16992         * libs/gst/bytestream/filepad.h:
16993           removing obsolete files
16994
16995 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
16996
16997         * docs/gst/gstreamer-docs.sgml:
16998         * docs/libs/gstreamer-libs-docs.sgml:
16999           disabed additional index entries again, as this makes docs-gen just
17000           slow and they aren't useful yet
17001         * docs/libs/gstreamer-libs-sections.txt:
17002           little -section.txt cleanup for libs
17003
17004 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
17005
17006         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17007         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
17008           fix up some debugging
17009         (gst_base_transform_get_unit_size),
17010         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
17011         (gst_base_transform_handle_buffer):
17012         * gst/base/gstbasetransform.h:
17013           handle and store timed NEWSEGMENT events so that subclasses that
17014           calculate time by counting samples have a segment_start time they
17015           need to add to their timestamps - see audioresample
17016
17017 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
17018
17019         * gst/gstbin.h:
17020           removed ';' from the end of macro defs
17021         * docs/gst/gstreamer-docs.sgml:
17022         * docs/gst/gstreamer-sections.txt:
17023         * docs/gst/tmpl/.cvsignore:
17024         * gst/gstbus.h:
17025         * gst/gstelement.c: (gst_element_class_init),
17026         (gst_element_set_state), (activate_pads),
17027         (gst_element_save_thyself):
17028         * gst/gstevent.c: (gst_event_new_newsegment):
17029         * gst/gstevent.h:
17030         * gst/gstiterator.c:
17031         * gst/gstiterator.h:
17032         * gst/gstpad.c:
17033         * gst/gstprobe.h:
17034         * gst/gstutils.c: (gst_pad_query_convert):
17035         * gst/gstutils.h:
17036           fixed parameter name mismatches between source, header and docs
17037           added some more docs, resolved the last batch of unused elements in
17038           docs (now someone needs to doc them)
17039
17040 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17041
17042         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
17043         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
17044           don't walk through the plugins backwards.  Where is all this
17045           reversed logic coming from ?
17046
17047 2005-08-25  Wim Taymans  <wim@fluendo.com>
17048
17049         * gst/base/gstbasetransform.c: (gst_base_transform_init),
17050         (gst_base_transform_transform_size),
17051         (gst_base_transform_configure_caps),
17052         (gst_base_transform_get_unit_size),
17053         (gst_base_transform_buffer_alloc),
17054         (gst_base_transform_change_state):
17055         * gst/base/gstbasetransform.h:
17056         Cache caps unit_size.
17057         Make sure we cannot negotiate up and downstream at the
17058         same time.
17059
17060 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17061
17062         * gst/gst.c: (init_pre), (init_post):
17063           register the installed plugin path after the env var
17064         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
17065         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
17066           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
17067           directories, so the tests can prefer uninstalled over installed
17068
17069 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17070
17071         * gst/base/gstbasetransform.h:
17072           comment
17073         * gst/gstpad.c:
17074           add to docs
17075
17076 2005-08-25  Wim Taymans  <wim@fluendo.com>
17077
17078         * gst/gstbin.c: (bin_bus_handler):
17079         Be a bit more conservative about the posted message.
17080         
17081         * gst/gstbus.c: (gst_bus_post):
17082         Some cleanups, warn wrong return values.
17083
17084 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
17085
17086         * check/gst/gstbin.c: (GST_START_TEST):
17087         * gst/gstbin.c: (bin_bus_handler):
17088         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17089         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17090         (gst_message_new_warning), (gst_message_new_tag),
17091         (gst_message_new_state_changed), (gst_message_new_segment_start),
17092         (gst_message_new_segment_done), (gst_message_new_custom):
17093         * gst/gstmessage.h:
17094         * tools/gst-launch.c: (event_loop):
17095         * tools/gst-md5sum.c: (event_loop):
17096           Revert unpopular change for GST_MESSAGE_SRC to GObject.
17097
17098 2005-08-25  Wim Taymans  <wim@fluendo.com>
17099
17100         * check/generic/states.c: (GST_START_TEST):
17101         Cleanup can be done at the end.
17102
17103         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
17104         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17105         (gst_task_get_state), (gst_task_start), (gst_task_pause):
17106         Oh boy.. Thanks for finding this, Thomas. 
17107
17108 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
17109
17110         * docs/gst/gstreamer.types:
17111           added missing types
17112
17113 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
17114
17115         * docs/gst/gstreamer-docs.sgml:
17116         * docs/gst/gstreamer-sections.txt:
17117         * docs/gst/tmpl/.cvsignore:
17118         * gst/gstbin.c:
17119         * gst/gstiterator.c:
17120         * gst/gstutils.c:
17121         * gst/registries/gstxmlregistry.h:
17122           added missing classes and symbols (123 more to go)
17123           removed removed symbols from section file
17124           fixed many doc-comments
17125
17126 2005-08-24  Wim Taymans  <wim@fluendo.com>
17127
17128         * check/generic/states.c: (GST_START_TEST):
17129         Make sure all tasks are stopped.
17130
17131         * check/gst/gstbin.c: (GST_START_TEST):
17132         Unref after usage for proper valgrinding.
17133
17134         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
17135         Really wait for the task to stop before destroying the
17136         mutex.
17137
17138         * gst/gstqueue.c: (gst_queue_sink_activate_push),
17139         (gst_queue_src_activate_push):
17140         Small cleanups. Don't stop the task when we did not start
17141         it.
17142
17143         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
17144         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17145         (gst_task_get_state), (gst_task_start), (gst_task_pause),
17146         (gst_task_join):
17147         * gst/gsttask.h:
17148         Protect the stream lock with the object lock.
17149         Disallow setting the stream lock when running.
17150         Add cleanup_all to wait for the threadpool to finish.
17151         Remove code to autoallocate a mutex if none was provided.
17152         Add _join() to wait for a task to stop.
17153         Protect the thread pool with a global lock.
17154
17155 2005-08-24  Wim Taymans  <wim@fluendo.com>
17156
17157         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17158         (gst_base_sink_get_times), (gst_base_sink_do_sync),
17159         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
17160         * gst/base/gstbasesink.h:
17161         Handle newsegment events correctly.
17162         Drop buffers out of the segment range.
17163
17164 2005-08-22  Andy Wingo  <wingo@pobox.com>
17165
17166         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
17167         macro, implements an interface and gstimplementsinterface for a
17168         new type.
17169
17170 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17171
17172         * check/Makefile.am:
17173         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
17174           add a test that does a bunch of state changes on elements
17175           needs some fixing for valgrind
17176         * check/states/sinks.c: (gst_object_suite):
17177           whitespace
17178         * gst/gstcaps.h:
17179           add prototype for gst_caps_is_equal_fixed
17180         * gst/gstplugin.c:
17181         * gst/gstregistrypool.c:
17182           doc fixes
17183
17184 2005-08-24  Andy Wingo  <wingo@pobox.com>
17185
17186         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
17187         convert a negative value. Doesn't make much sense. Mostly this is
17188         here to force callers to ensure -1 maps to -1.
17189
17190 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
17191
17192         * docs/pwg/advanced-types.xml:
17193           Well done to Michael for catching my deliberate introduction
17194           of this spelling mistake. 
17195         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
17196         * gst/gstelement.h:
17197           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
17198           unlink pads before removing the element from the bin.
17199
17200 2005-08-24  Andy Wingo  <wingo@pobox.com>
17201
17202         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
17203         the same thing as GST_DEBUG=*:4.
17204         (parse_debug_level, parse_debug_category): New helper parsers.
17205
17206 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17207
17208         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17209         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
17210         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
17211         (gst_base_transform_buffer_alloc),
17212         (gst_base_transform_handle_buffer):
17213           use gboolean return values and pointers to size so we can use the
17214           full GST_BUFFER_SIZE range (guint) for buffer sizes
17215           use GstPadDirection for transform_caps
17216         * gst/base/gstbasetransform.h:
17217           rename get_size to get_unit_size since that's what it is
17218         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
17219           use GstPadDirection for transform_caps
17220         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17221         * gst/gstutils.h:
17222           cleanup and debugging
17223
17224 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
17225
17226         * gst/gstelement.c: (gst_element_class_init),
17227         (gst_element_set_state), (activate_pads),
17228         (gst_element_save_thyself):
17229         * tools/gst-compprep.c: (main):
17230         * tools/gst-inspect.c: (print_element_properties_info):
17231         * tools/gst-xmlinspect.c: (print_element_properties):
17232           Fixed long standing mem-leak
17233
17234 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
17235
17236         * check/gst/gstbin.c: (GST_START_TEST):
17237         * gst/gstbin.c: (bin_bus_handler):
17238         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17239         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17240         (gst_message_new_warning), (gst_message_new_tag),
17241         (gst_message_new_state_changed), (gst_message_new_segment_start),
17242         (gst_message_new_segment_done), (gst_message_new_custom):
17243         * gst/gstmessage.h:
17244         * tools/gst-launch.c: (event_loop):
17245         * tools/gst-md5sum.c: (event_loop):
17246           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
17247           that applications can sensibly post custom messages with references
17248           to their own objects.
17249
17250 2005-08-24  Andy Wingo  <wingo@pobox.com>
17251
17252         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
17253         already.
17254
17255 2005-08-24  Wim Taymans  <wim@fluendo.com>
17256
17257         * gst/base/gstbasetransform.c: (gst_base_transform_init),
17258         (gst_base_transform_transform_caps),
17259         (gst_base_transform_transform_size),
17260         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17261         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17262         (gst_base_transform_handle_buffer):
17263         * gst/base/gstbasetransform.h:
17264         Many fixes and new features added by Thomas. Can now also do
17265         transforms with variable sizes and a custom fixate_caps function.
17266
17267 2005-08-24  Wim Taymans  <wim@fluendo.com>
17268
17269         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17270         Some debugging.
17271
17272         * gst/gstclock.h:
17273         Cast to ClockTime before formatting to time.
17274
17275         * gst/gstutils.h:
17276         Cleanups.
17277
17278 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
17279
17280         * check/gst-libs/controller.c: (GST_START_TEST),
17281         (gst_controller_suite):
17282         * docs/gst/tmpl/gstcaps.sgml:
17283         * docs/gst/tmpl/gstghostpad.sgml:
17284         * docs/gst/tmpl/gstquery.sgml:
17285         * docs/gst/tmpl/gstutils.sgml:
17286         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
17287         (gst_object_sink_values), (gst_object_get_value_arrays),
17288         (gst_object_get_value_array):
17289           gracefully handle helper method calls to objects that are not beeing
17290           controlled, added test case for that          
17291
17292 2005-08-23  Wim Taymans  <wim@fluendo.com>
17293
17294         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
17295         (gst_event_new_newsegment), (gst_event_parse_newsegment),
17296         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
17297         (gst_event_parse_qos), (gst_event_new_seek),
17298         (gst_event_parse_seek):
17299         * gst/gstevent.h:
17300         Some more debugging output and doc cleanups.
17301
17302         * gst/gstqueue.c: (gst_queue_handle_sink_event):
17303         Fix possible deadlock.
17304
17305 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17306
17307         * docs/gst/gstreamer-docs.sgml:
17308         * docs/gst/gstreamer-sections.txt:
17309         * docs/gst/gstreamer.types:
17310         * docs/gst/tmpl/.cvsignore:
17311         * gst/gstbin.h:
17312         * gst/gstbus.c:
17313         * gst/gstelement.c:
17314         * gst/gstevent.h:
17315           added 100 symbols from gstreamer-unused.txt to the right sections
17316           fixed more broken comments
17317           added GstBus to docs
17318
17319 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17320
17321         * docs/gst/gstreamer-sections.txt:
17322         * docs/gst/tmpl/.cvsignore:
17323         * docs/gst/tmpl/gstbin.sgml:
17324         * docs/gst/tmpl/gstbuffer.sgml:
17325         * gst/base/gstbasesrc.c:
17326         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
17327         * gst/gstbuffer.c:
17328         * gst/gstbuffer.h:
17329         * tools/gst-launch.1.in:
17330           inlined more doc comments, added missing comments and fixed comments
17331           fixed typos
17332
17333 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17334
17335         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17336           some debugging
17337         * gst/gstcaps.h:
17338           whitespace fixes
17339         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
17340           more debugging
17341         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
17342         * gst/gststructure.h:
17343           add a fixate function for booleans; add a FIXME that these func
17344           names should probably be gst_structure_fixate_*
17345
17346 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17347
17348         * docs/gst/gstreamer-docs.sgml:
17349         * docs/gst/gstreamer-sections.txt:
17350         * gst/Makefile.am:
17351         * gst/gstbin.c: (gst_bin_get_type),
17352         (gst_bin_child_proxy_get_child_by_index),
17353         (gst_bin_child_proxy_get_children_count),
17354         (gst_bin_child_proxy_init):
17355         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17356         (gst_child_proxy_get_child_by_index),
17357         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
17358         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
17359         (gst_child_proxy_get), (gst_child_proxy_set_property),
17360         (gst_child_proxy_set_valist), (gst_child_proxy_set),
17361         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
17362         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
17363         * gst/gstchildproxy.h:
17364         * gst/parse/grammar.y:
17365         * tools/gst-inspect.c: (print_interfaces),
17366         (print_element_properties_info), (print_element_info):
17367           ported gstchildproxy over from 0.8
17368           ported gst-inspect fixes and enhancements over from 0.8
17369
17370 2005-08-22  Wim Taymans  <wim@fluendo.com>
17371
17372         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17373         (gst_base_transform_handle_buffer):
17374         Also call the transform function if we have ANY caps.
17375
17376         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
17377         Fix debug info.
17378
17379 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
17380
17381         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
17382           Don't pretend to handle seek events if the source is not seekable
17383
17384 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
17385
17386         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17387           Remove extra parameter to debug output
17388
17389         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17390         (gst_base_src_do_seek), (gst_base_src_activate_push):
17391           Fix seek event handling.
17392
17393         * gst/gstpipeline.c: (gst_pipeline_change_state):
17394         * gst/gstqueue.c: (gst_queue_handle_sink_event),
17395         (gst_queue_src_activate_push):
17396           Don't start the src pad task on FLUSH_STOP if the pad
17397           isn't linked.
17398           Debug changes.
17399
17400 2005-08-22  Wim Taymans  <wim@fluendo.com>
17401
17402         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
17403         Added check for gst_static_caps_get() refcounting.
17404
17405 2005-08-22  Wim Taymans  <wim@fluendo.com>
17406
17407         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
17408         Make _static_caps_get() refcounting sane.
17409         
17410         * gst/gstelement.c: (gst_element_set_state):
17411         Add g_return_val_if_fail() to protect against segfaults.
17412
17413 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
17414
17415         * docs/gst/tmpl/gstevent.sgml:
17416         * gst/gstevent.c:
17417         * gst/gstevent.h:
17418           inlined remaining docs, added missing doc comments
17419
17420 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17421
17422         * check/gst/gstbin.c: (GST_START_TEST):
17423           since we don't know when preroll is done, use refcount range
17424           check for the sink
17425         * gst/check/gstcheck.h:
17426           add macro for checking refcount range
17427
17428 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17429
17430         * check/Makefile.am:
17431           clean up environment for when registry gets built versus
17432           when actual tests are run; valgrind seems to not report
17433           leaks if GST_PLUGIN_PATH is set to some specific values
17434         * check/gst/gstbin.c: (GST_START_TEST):
17435           add more refcounting checks; maybe this exposes a
17436           preroll lock bug ?
17437         * common/check.mak:
17438         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17439         * gst/check/gstcheck.h:
17440         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
17441         (gst_bin_change_state):
17442         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
17443           add/fix debugging/whitespace
17444
17445 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
17446
17447         * check/gst/gstevent.c: (event_probe), (test_event),
17448         (GST_START_TEST):
17449          Er, don't call gst_bin_watch_for_state_change you idiot.
17450
17451 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
17452
17453         * check/Makefile.am:
17454           Use CHECK_CFLAGS and CHECK_LIBS
17455         * check/gst/gstevent.c: (event_probe), (test_event),
17456         (GST_START_TEST):
17457           Don't leak events.
17458         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17459         (gst_base_src_start), (gst_base_src_stop),
17460         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17461         (gst_base_src_change_state):
17462           Sprinkle gst_base_src_stop liberally around error paths to fix
17463           problems reusing a source after failed state changes.
17464         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17465         (helper_find_suggest), (gst_type_find_helper):
17466           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
17467         * gst/gstevent.h:
17468         * docs/gst/tmpl/gstevent.sgml:
17469           Migrate part of the docs from the SGML file. Wait for ensonic to
17470           tell me how I did it wrong ;)
17471         * tools/gst-typefind.c: (main):
17472           Extra robustness to state changes between files.
17473
17474 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17475
17476         * check/Makefile.am:
17477           don't valgrind the controller test - it's leaking - Stefan, HELP
17478         * gst/check/gstcheck.c: (gst_check_message_error),
17479         (gst_check_chain_func), (gst_check_setup_element),
17480         (gst_check_teardown_element), (gst_check_setup_src_pad),
17481         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
17482         (gst_check_teardown_sink_pad):
17483         * gst/check/gstcheck.h:
17484           add a bunch of methods to set up elements, and src and sink pads
17485         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
17486         * check/elements/identity.c: (setup_identity), (cleanup_identity),
17487         (GST_START_TEST):
17488           use them
17489         * gst/gstmessage.c:
17490         * gst/gsttag.h:
17491           whitespace/doc fixes
17492
17493 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17494
17495         * gst/gstelement.h:
17496           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
17497           be handled by the application and not always printed as well
17498
17499 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17500
17501         * check/Makefile.am:
17502           set GST_TOOLS_DIR
17503         * gst/check/gstcheck.c: (gst_check_message_error):
17504         * gst/check/gstcheck.h:
17505           add a fail_unless_equals_int
17506           add fail_unless for error messages
17507
17508 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17509
17510         * check/Makefile.am:
17511         * check/gst.supp:
17512         * common/Makefile.am:
17513         * common/check.mak:
17514         * common/gst.supp:
17515           factor out some of the common stuff so we can use it
17516
17517 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17518
17519         * check/Makefile.am:
17520         * check/gst/gstiterator.c: (GST_START_TEST):
17521         * check/gst/gstsystemclock.c: (GST_START_TEST),
17522         (gst_systemclock_suite):
17523         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
17524         * gst/gstclock.c:
17525           valgrind more tests
17526
17527 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17528
17529         * check/elements/.cvsignore:
17530         * check/elements/gstfakesrc.c:
17531           rename to name of element
17532         * check/elements/identity.c: (chain_func), (event_func),
17533         (setup_identity), (cleanup_identity), (GST_START_TEST),
17534         (identity_suite), (main):
17535           add a test for identity
17536         * check/Makefile.am:
17537         * pkgconfig/Makefile.am:
17538         * pkgconfig/gstreamer-check.pc.in:
17539         * pkgconfig/gstreamer-check-uninstalled.pc.in:
17540         * gst/check:
17541         * gst/Makefile.am:
17542         * configure.ac:
17543           move the check stuff to a library that gets installed
17544         * check/gst-libs/controller.c: (GST_START_TEST):
17545         * check/gst-libs/gdp.c:
17546         * check/gst/gst.c: (GST_START_TEST):
17547         * check/gst/gstbin.c:
17548         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17549         * check/gst/gstbus.c:
17550         * check/gst/gstcaps.c: (GST_START_TEST):
17551         * check/gst/gstelement.c:
17552         * check/gst/gstghostpad.c:
17553         * check/gst/gstiterator.c:
17554         * check/gst/gstmessage.c:
17555         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
17556         * check/gst/gstobject.c:
17557         * check/gst/gstpad.c: (GST_START_TEST):
17558         * check/gst/gststructure.c: (GST_START_TEST):
17559         * check/gst/gstsystemclock.c: (GST_START_TEST),
17560         (gst_systemclock_suite):
17561         * check/gst/gsttag.c: (gst_tag_suite):
17562         * check/gst/gstvalue.c:
17563         * check/pipelines/cleanup.c:
17564         * check/pipelines/simple_launch_lines.c:
17565         * check/states/sinks.c:
17566           change include statement
17567
17568         * docs/gst/gstreamer-sections.txt:
17569         * docs/gst/tmpl/gstpad.sgml:
17570           document more pad stuff
17571         * gst/gstminiobject.c: (gst_mini_object_ref),
17572         (gst_mini_object_unref):
17573           debug refcounting
17574
17575 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
17576
17577         * docs/gst/tmpl/gst.sgml:
17578         * gst/gst.c:
17579           eliminate another tmpl file, fix spelling in the long-description
17580
17581 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17582
17583         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17584         (test_event), (timediff), (gstevents_suite):
17585           Should fix build on 64-bit arch's
17586
17587 2005-08-18  Andy Wingo  <wingo@pobox.com>
17588
17589         Make sure that when a pipeline goes to PLAYING, that data has
17590         actually hit the sink.
17591
17592         * check/states/sinks.c (test_sink): A sink that doesn't get any
17593         data shouldn't return SUCCESS for going to either PLAYING or
17594         PAUSED. Test also the return values on the way back down.
17595
17596         * gst/gstelement.c (gst_element_set_state): When changing the
17597         state of an element currently changing state asynchronously, go to
17598         lost-state after commiting the pending state. Makes future calls
17599         to get_state continue to return ASYNC.
17600
17601         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
17602         ASYNC when going to PLAYING if we still don't have preroll, as can
17603         happen with live sources.
17604
17605 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17606
17607         * docs/pwg/advanced-types.xml:
17608           Hack long paragraph into 2 chunks as a workaround for buggy
17609           jadetex version in sid and breezy that loops infinitely and
17610           eats all RAM.
17611
17612 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17613
17614         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17615         (test_event), (timediff), (gstevents_suite):
17616           Provide more error margin in clock measurements to allow for 
17617           g_get_current_time inaccuracies.
17618
17619 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17620
17621         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17622         (test_event), (timediff), (gstevents_suite):
17623            Fix error message output so I might be able to tell why the
17624            test works here but fails on the build farm.
17625
17626 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17627
17628         * check/Makefile.am:
17629         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17630         (test_event), (timediff), (gstevents_suite), (main):
17631           I wrote a test!
17632
17633         * docs/design/part-seeking.txt:
17634           Spelling correction
17635
17636         * docs/gst/tmpl/gstevent.sgml:
17637         * docs/gst/tmpl/gstfakesrc.sgml:
17638           Docs updates.
17639
17640         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17641           Treat a buffer-without-newsegment the same as a receiving 
17642           a newsegment not in time format, and disable syncing to the clock
17643           with a warning.
17644
17645         * gst/gstbus.c: (gst_bus_set_sync_handler):
17646           Assert if anyone tries to replace the existing sync_handler for bus, 
17647           as only the owner should be setting it.
17648
17649         * gst/gstevent.h:
17650           Have a fixed set of custom event enums with events identified by
17651           their structure name (as in 0.8), rather than a free-for-all
17652           allowing collisions between enum values from different plugins.
17653
17654         * gst/gstpad.c: (gst_pad_class_init):
17655           Docs change.
17656           
17657         * gst/gstqueue.c: (gst_queue_handle_sink_event):
17658           Handle out-of-band downstream events from the sending thread.
17659
17660 2005-08-17  Andy Wingo  <wingo@pobox.com>
17661
17662         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
17663         play-timeout==0 to mean no timeout at all. In that case, don't
17664         bother with a get_state or a warning, just return directly, even
17665         if it's ASYNC.
17666
17667         * gst/base/gstbasetransform.c: Debug changes.
17668
17669         * gst/gstutils.h:
17670         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
17671         ensure bins post state change messages. A bit of a hack but I can't
17672         think of a way to avoid it.
17673
17674         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
17675
17676 2005-08-16  Andy Wingo  <wingo@pobox.com>
17677
17678         * gst/base/gstadapter.h:
17679         * gst/base/gstadapter.c (gst_adapter_take): New function, like
17680         peek() but you own the data. Not terribly efficient atm.
17681
17682 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17683
17684         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
17685         (gst_element_found_tags):
17686         * gst/gstutils.h:
17687           Add two utility functions for tag handling.
17688
17689 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17690
17691         * docs/manual/advanced-dataaccess.xml:
17692         * docs/manual/basics-helloworld.xml:
17693           Fix docs to use _bin_add() before _link(), which fixes the examples
17694           with recent core versions (reported by Madhan Raj M
17695           <raj_madan@rediffmail.com>, #313199).
17696
17697 2005-08-16  Wim Taymans  <wim@fluendo.com>
17698
17699         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17700         Added subtract checks.
17701
17702         * docs/design/part-events.txt:
17703         Some more docs about newsegment
17704
17705         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
17706         Fix FIXME
17707
17708         * gst/gstcaps.c: (gst_caps_to_string):
17709         Add comments, cleanups.
17710         
17711         * gst/gstelement.c: (gst_element_save_thyself):
17712         cleanups
17713         
17714         * gst/gstvalue.c: (gst_value_collect_int_range),
17715         (gst_string_unwrap), (gst_value_union_int_int_range),
17716         (gst_value_union_int_range_int_range),
17717         (gst_value_intersect_int_int_range),
17718         (gst_value_intersect_int_range_int_range),
17719         (gst_value_intersect_double_double_range),
17720         (gst_value_intersect_double_range_double_range),
17721         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
17722         (gst_value_subtract_int_range_int),
17723         (gst_value_subtract_double_range_double),
17724         (gst_value_subtract_double_range_double_range),
17725         (gst_value_subtract_from_list), (gst_value_subtract_list),
17726         (gst_value_can_compare), (gst_value_compare_fraction):
17727         Cleanups, add comments, remove unneeded asserts.
17728
17729 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17730
17731         * tools/gst-launch.c: (event_loop):
17732           don't convert NULL structures to strings
17733
17734 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
17735
17736         * docs/gst/gstreamer-sections.txt:
17737           made some defines private
17738         * docs/gst/tmpl/gstconfig.sgml:
17739         * docs/gst/tmpl/gstqueue.sgml:
17740         * docs/gst/tmpl/gsttaglist.sgml:
17741         * docs/gst/tmpl/gsttypes.sgml:
17742         * docs/gst/tmpl/gstutils.sgml:
17743         * docs/pwg/appendix-porting.xml:
17744         * gst/base/gstbasesink.h:
17745         * gst/base/gstbasesrc.c:
17746         * gst/base/gstbasesrc.h:
17747         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
17748         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
17749         * gst/gstelement.c: (gst_element_class_init):
17750         * gst/gstpad.c: (gst_pad_class_init):
17751         * gst/gstqueue.c: (gst_queue_class_init):
17752         * gst/gstxml.c: (gst_xml_class_init):
17753           documented all undocumented signal inline
17754         * libs/gst/controller/gst-controller.h:
17755           added padding
17756
17757 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17758
17759         * docs/pwg/appendix-porting.xml:
17760           Document _set_link_function -> _set_setcaps_function.
17761
17762 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17763
17764         * check/Makefile.am:
17765           add a .check target for running the check
17766         * check/gst-libs/controller.c: (GST_START_TEST):
17767           cosmetic fixups
17768         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17769           complete checks for gstbuffer; would be nice if I could get the
17770           gcov stuff to work so I can see if I actually completed gstbuffer.c
17771         * check/gstcheck.h:
17772           add ASSERT_BUFFER_REFCOUNT
17773
17774 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
17775
17776         * docs/gst/gstreamer-sections.txt:
17777         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
17778         * gst/gsttag.h:
17779           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
17780           spew out a warning if a tag that is already registered
17781           is re-registered, unless it is re-registered with a 
17782           different type (#308438).
17783
17784 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
17785
17786         * docs/pwg/appendix-porting.xml:
17787         * docs/pwg/building-state.xml:
17788           Add some paragraphs about state changes in 0.9 to the PWG
17789           and the porting guide, in particular about the new meaning
17790           of GST_STATE_PAUSED and how to write state change functions
17791           with concurrent access by multiple threads in mind.
17792
17793 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
17794
17795         * docs/gst/gstreamer-docs.sgml:
17796         * docs/libs/gstreamer-libs-docs.sgml:
17797           added deprecation and since indexes
17798         * libs/gst/controller/gst-controller.c:
17799         * libs/gst/controller/gst-helper.c:
17800           added since tags
17801
17802
17803 2005-08-11  Wim Taymans  <wim@fluendo.com>
17804
17805         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
17806         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
17807         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
17808         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
17809         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
17810         (gst_ghost_pad_set_target):
17811         Actually implement (re)setting the target on a ghostpad
17812         as described in the docs.
17813
17814 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
17815
17816         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
17817           Check whether GST_DEBUG_NO_COLOR environment variable is
17818           set and disable coloured debug output if that is the case.
17819
17820 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
17821
17822         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17823         (gst_type_find_helper):
17824           The memory returned by gst_type_find_peek() needs to
17825           stay valid until the end of a typefind function, and
17826           typefind functions may keep results from different 
17827           offsets around, so we can't just unref the buffer from
17828           the previous _peek(), but have to save all buffers 
17829           returned by _peek() until typefinding is done and only
17830           free them then.
17831
17832 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
17833
17834         * docs/gst/gstreamer-sections.txt:
17835         * gst/gstutils.h:
17836           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
17837
17838 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17839
17840         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17841           Fix a pretty good memleak.
17842
17843 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
17844
17845         * gst/gstiterator.h:
17846           Fix wrong include and 'make distcheck'.
17847
17848 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17849
17850         * gst/gstbin.c: (bin_bus_handler):
17851           Use gst_element_post_message() instead.
17852
17853 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
17854
17855         * gst/base/gstadapter.h:
17856         * gst/base/gstbasesink.h:
17857         * gst/base/gstbasesrc.h:
17858         * gst/base/gstbasetransform.h:
17859         * gst/base/gstcollectpads.h:
17860         * gst/base/gstpushsrc.h:
17861         * gst/gstiterator.h:
17862           Add padding to our base elements' class and instance structs and
17863           to GstIterator (you will need to rebuild all plugins and apps!)
17864
17865 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17866
17867         * gst/gstbin.c: (bin_bus_handler):
17868           Make default message forwarding from child->bus to bin->bus
17869           threadsafe and make it not emit warnings if the parent has no bus.
17870
17871 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17872
17873         * gst/gstelement.c: (activate_pads):
17874           On paused->ready, set pad->caps to NULL, as is the documented
17875           behaviour in this state change. Fixes playback of series of
17876           media files when visualization is enabled in Totem.
17877
17878 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17879
17880         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17881           Allow NULL as filter-caps (which means "any").
17882
17883 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
17884
17885         * docs/libs/gstreamer-libs-sections.txt:
17886         * libs/gst/controller/gst-controller.c:
17887         * libs/gst/controller/gst-controller.h:
17888         * libs/gst/controller/gst-helper.c:
17889           adding more entries to the docs and fix small doc-bugs
17890
17891 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
17892
17893         * docs/gst/gstreamer-docs.sgml:
17894         * docs/gst/gstreamer-sections.txt:
17895         * docs/gst/gstreamer.types:
17896         * docs/gst/tmpl/gstbasesink.sgml:
17897         * docs/gst/tmpl/gstbasesrc.sgml:
17898         * docs/gst/tmpl/gstbasetransform.sgml:
17899         * docs/gst/tmpl/gstfakesrc.sgml:
17900         * gst/base/gstcollectpads.c:
17901         * gst/base/gstcollectpads.h:
17902         * libs/gst/controller/gst-controller.c:
17903         * libs/gst/controller/gst-controller.h:
17904         * libs/gst/controller/gst-helper.c:
17905         * libs/gst/controller/gst-interpolation.c:
17906         * libs/gst/controller/lib.c:
17907           added long/short desc for controller docs
17908           added collectpads base class docs
17909           added correct includes to base-class docs
17910
17911 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
17912
17913         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
17914         (gst_test_mono_source_set_property),
17915         (gst_test_mono_source_class_init), (GST_START_TEST),
17916         (gst_controller_suite):
17917         * docs/gst/gstreamer-docs.sgml:
17918         * docs/gst/gstreamer-sections.txt:
17919         * docs/gst/gstreamer.types:
17920         * docs/libs/gstreamer-libs-docs.sgml:
17921         * docs/libs/gstreamer-libs-sections.txt:
17922         * gst/base/gstadapter.c:
17923         * libs/gst/controller/gst-controller.c:
17924         (gst_controlled_property_new), (gst_controlled_property_free),
17925         (gst_controller_new_valist),
17926         (gst_controller_remove_properties_valist),
17927         (gst_controller_sink_values), (_gst_controller_finalize):
17928         * libs/gst/controller/gst-controller.h:
17929         * libs/gst/controller/gst-helper.c:
17930         (gst_object_control_properties), (gst_object_uncontrol_properties),
17931         (gst_object_get_controller), (gst_object_set_controller),
17932         (gst_object_sink_values), (gst_object_get_value_arrays),
17933         (gst_object_get_value_array):
17934           more tests (and fixes) for the controller
17935           more docs for the controller
17936           integrated companies docs for the adapter 
17937
17938 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17939
17940         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
17941         (GST_START_TEST), (fakesrc_suite):
17942           add tests for sizetype
17943
17944 2005-08-04  Andy Wingo  <wingo@pobox.com>
17945
17946         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
17947         fixes buffer_alloc proxying among other things.
17948
17949         * gst/base/gstbasetransform.c:
17950         * gst/base/gstbasetransform.h:
17951         Revert patch to gstbasetransform from 7-28 removing
17952         delay_configure.
17953
17954         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
17955         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
17956         Semantics changed, should return not the size of the output buffer
17957         but the byte size of a buffer with a given caps.
17958
17959         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
17960         debug object.
17961         (gst_base_transform_configure_caps): Don't set out_size here: (in,
17962         out) are not the pad caps until setcaps finishes.
17963         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
17964         not-in-place case as well. Deal with changing from in-place to
17965         not-in-place within calling pad_alloc_buffer. Still a bit
17966         concerned about the overhead here...
17967
17968 2005-08-03  Andy Wingo  <wingo@pobox.com>
17969
17970         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
17971         fixating is an error.
17972
17973 2005-08-04  Edward Hervey  <edward@fluendo.com>
17974
17975         * gst/base/gstadapter.h: 
17976         Added gst_adapter_get_type() to the header
17977
17978 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
17979
17980         * check/Makefile.am:
17981         * check/gst-libs/controller.c:
17982         * libs/gst/controller/gst-controller.c:
17983         (gst_controller_new_valist):
17984           added check test suite for the controller
17985         * gst/base/gstpushsrc.c:
17986           fixed a doc typo
17987
17988 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
17989
17990         * docs/gst/Makefile.am:
17991         * docs/gst/gstreamer-docs.sgml:
17992         * docs/gst/gstreamer-sections.txt:
17993         * docs/gst/gstreamer.types:
17994         * docs/gst/tmpl/gstfakesrc.sgml:
17995         * gst/base/README:
17996         * gst/base/gstbasesink.c:
17997         * gst/base/gstbasesink.h:
17998         * gst/base/gstbasesrc.c:
17999         * gst/base/gstbasesrc.h:
18000         * gst/base/gstbasetransform.c:
18001         * gst/base/gstpushsrc.c:
18002         * gst/base/gstpushsrc.h:
18003           add short/long description docs to base classes
18004           add pushsrc to the docs
18005           remove consolidated doc fragments
18006
18007 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
18008
18009         * configure.ac:
18010         * docs/libs/Makefile.am:
18011         * docs/libs/gstreamer-libs-docs.sgml:
18012         * docs/libs/gstreamer-libs-sections.txt:
18013         * docs/libs/gstreamer-libs.types:
18014         * examples/Makefile.am:
18015         * examples/controller/.cvsignore:
18016         * examples/controller/Makefile.am:
18017         * examples/controller/audio-example.c: (main):
18018         * libs/gst/Makefile.am:
18019         * libs/gst/controller/.cvsignore:
18020         * libs/gst/controller/Makefile.am:
18021         * libs/gst/controller/gst-controller.c:
18022         (on_object_controlled_property_changed), (gst_timed_value_compare),
18023         (gst_timed_value_find),
18024         (gst_controlled_property_set_interpolation_mode),
18025         (gst_controlled_property_new), (gst_controlled_property_free),
18026         (gst_controller_find_controlled_property),
18027         (gst_controller_new_valist), (gst_controller_new),
18028         (gst_controller_remove_properties_valist),
18029         (gst_controller_remove_properties), (gst_controller_set),
18030         (gst_controller_set_from_list), (gst_controller_unset),
18031         (gst_controller_get), (gst_controller_get_all),
18032         (gst_controller_sink_values), (gst_controller_get_value_arrays),
18033         (gst_controller_get_value_array),
18034         (gst_controller_set_interpolation_mode),
18035         (_gst_controller_finalize), (_gst_controller_init),
18036         (_gst_controller_class_init), (gst_controller_get_type):
18037         * libs/gst/controller/gst-controller.h:
18038         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
18039         (g_object_uncontrol_properties), (g_object_get_controller),
18040         (g_object_set_controller), (g_object_sink_values),
18041         (g_object_get_value_arrays), (g_object_get_value_array):
18042         * libs/gst/controller/gst-interpolation.c:
18043         (gst_controlled_property_find_timed_value_node),
18044         (interpolate_none_get), (interpolate_trigger_get),
18045         (interpolate_trigger_get_value_array):
18046         * libs/gst/controller/lib.c: (gst_controller_init):
18047         * pkgconfig/Makefile.am:
18048         * pkgconfig/gstreamer-control-uninstalled.pc.in:
18049         * pkgconfig/gstreamer-control.pc.in:
18050         * testsuite/Makefile.am:
18051         * testsuite/controller/.cvsignore:
18052         * testsuite/controller/Makefile.am:
18053         * testsuite/controller/interpolator.c: (main):
18054           added controller code
18055           removed dparam pc files
18056
18057 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
18058         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
18059         (gst_collectpads_stop):
18060           Broadcast the condition when shutting down, to make sure we wake all
18061           threads up. Shut down pads on finalize, for safety.
18062
18063 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
18064         * gst/base/gstbasetransform.c: (gst_base_transform_init),
18065         (gst_base_transform_handle_buffer),
18066         (gst_base_transform_change_state):
18067           Handle PAUSED->READY->PAUSED transition after negotiation
18068           occurred already.
18069         * gst/gstmessage.c: (gst_message_init):
18070           Extra piece of debug for new messages.
18071
18072 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
18073
18074         * configure.ac:
18075         * docs/gst/tmpl/gstbasesrc.sgml:
18076         * docs/gst/tmpl/gstelement.sgml:
18077         * docs/gst/tmpl/gstevent.sgml:
18078         * docs/gst/tmpl/gstfakesrc.sgml:
18079         * docs/gst/tmpl/gstformat.sgml:
18080         * docs/gst/tmpl/gstghostpad.sgml:
18081         * docs/gst/tmpl/gstpad.sgml:
18082         * docs/gst/tmpl/gstquery.sgml:
18083         * docs/gst/tmpl/gststructure.sgml:
18084         * docs/gst/tmpl/gsttaglist.sgml:
18085         * docs/gst/tmpl/gstvalue.sgml:
18086         * docs/libs/gstreamer-libs-docs.sgml:
18087         * docs/libs/gstreamer-libs-sections.txt:
18088         * docs/libs/gstreamer-libs.types:
18089         * libs/gst/Makefile.am:
18090         * libs/gst/control/.cvsignore:
18091         * libs/gst/control/Makefile.am:
18092         * libs/gst/control/control.c:
18093         * libs/gst/control/control.h:
18094         * libs/gst/control/dparam.c:
18095         * libs/gst/control/dparam.h:
18096         * libs/gst/control/dparam_smooth.c:
18097         * libs/gst/control/dparam_smooth.h:
18098         * libs/gst/control/dparamcommon.h:
18099         * libs/gst/control/dparammanager.c:
18100         * libs/gst/control/dparammanager.h:
18101         * libs/gst/control/dplinearinterp.c:
18102         * libs/gst/control/dplinearinterp.h:
18103         * libs/gst/control/unitconvert.c:
18104         * libs/gst/control/unitconvert.h:
18105         * testsuite/Makefile.am:
18106         * testsuite/dynparams/.cvsignore:
18107         * testsuite/dynparams/Makefile.am:
18108         * testsuite/dynparams/dparamstest.c:
18109         * tools/Makefile.am:
18110         * tools/gst-inspect.c: (print_element_info), (main):
18111         * tools/gst-xmlinspect.c: (print_element_info), (main):
18112           deactivate and remove dparams (libgstcontrol)
18113
18114 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18115
18116         * gst/elements/gsttypefindelement.c:
18117         (gst_type_find_element_have_type), (gst_type_find_element_init),
18118         (stop_typefinding), (gst_type_find_element_handle_event),
18119         (gst_type_find_element_chain), (gst_type_find_element_getrange):
18120         * gst/elements/gsttypefindelement.h:
18121           Set caps on all outgoing buffers, not just the first one.
18122
18123 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18124
18125         * gst/elements/gsttypefindelement.c:
18126         (gst_type_find_element_have_type),
18127         (gst_type_find_element_check_set_buffer_caps),
18128         (gst_type_find_element_init), (stop_typefinding),
18129         (gst_type_find_element_handle_event),
18130         (gst_type_find_element_chain), (gst_type_find_element_getrange):
18131         * gst/elements/gsttypefindelement.h:
18132           Set caps on first outgoing buffer when we've found the type.
18133
18134 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18135
18136         * docs/gst/gstreamer-docs.sgml:
18137         * docs/gst/gstreamer-sections.txt:
18138         * docs/gst/tmpl/gstscheduler.sgml:
18139         * docs/gst/tmpl/gstschedulerfactory.sgml:
18140           Remove some old cruft from docs.
18141
18142 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
18143
18144         * gst/gstpad.h:
18145           Fix inline docs for GstPadLinkReturn.
18146           
18147         * gst/gststructure.c: (gst_structure_has_name):
18148         * gst/gststructure.h:
18149         * docs/gst/gstreamer-sections.txt:
18150           New API: gst_structure_has_name().
18151
18152 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
18153
18154         * configure.ac:
18155           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
18156           and _LARGEFILE_SOURCE in config.h as required. Do not 
18157           export those flags in our .pc files any longer (#142209).
18158
18159           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
18160
18161         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
18162         (gst_file_sink_do_seek), (gst_file_sink_event),
18163         (gst_file_sink_get_current_offset), (gst_file_sink_render):
18164           Redo seek/tell calls with large file support in mind; add some
18165           debugging messages; add log message that tells us when large
18166           file support is unavailable or not enabled for some reason.
18167
18168         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
18169           Add log message that tells us when large file support 
18170           is unavailable or not enabled for some reason.
18171
18172 2005-07-29  Wim Taymans  <wim@fluendo.com>
18173
18174         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18175         Added test for removing an element with ghostpad from a bin.
18176         Fixed test as current implementation does the right thing.
18177
18178         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
18179         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
18180         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
18181         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
18182         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
18183         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
18184         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
18185         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
18186         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
18187         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
18188         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
18189         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
18190         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
18191         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
18192         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
18193         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
18194         * gst/gstghostpad.h:
18195         Clean up ghostpads, remove properties for internal stuff.
18196         Make threadsafe.
18197         Fix refcounting.
18198         Prepare for switching targets, not all use cases work yet.
18199
18200 2005-07-29  Wim Taymans  <wim@fluendo.com>
18201
18202         * docs/design/part-gstghostpad.txt:
18203         Small update.
18204
18205         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18206         (gst_bin_remove_func):
18207         Unlinking pads while holding the bin LOCK is not a good
18208         idea.
18209
18210         * gst/gstpad.c: (gst_pad_class_init),
18211         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
18212         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
18213         No prob setting template after creating the pad.
18214
18215 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
18216
18217         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
18218         (gst_bus_peek), (gst_bus_source_dispatch),
18219         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
18220         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
18221           gst_bus_poll may be called from other threads. Handle
18222           this nicely by not making poll_data disappear off the
18223           stack once gst_bus_poll returns.
18224           gst_bus_peek now increments the refcount on the returned
18225           message.
18226
18227 2005-07-29  Wim Taymans  <wim@fluendo.com>
18228
18229         * docs/design/part-gstghostpad.txt:
18230         Overview of current GhostPad datastructures and use
18231         cases for changing the target.
18232
18233 2005-07-28  Wim Taymans  <wim@fluendo.com>
18234
18235         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18236         Added checks for hierarchy consistency whan adding linked
18237         elements to bins.
18238
18239         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18240         Added check to test element scheduling without bin/pipeline.
18241
18242         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18243         First add elements to bin, then link.
18244         
18245         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18246         (gst_bin_remove_func):
18247         Unlink pads from elements added/removed from bin to maintain
18248         hierarchy consistency.
18249
18250 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18251
18252         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18253         (gst_base_transform_handle_buffer):
18254         * gst/base/gstbasetransform.h:
18255           Remove broken delay_configure (fixes renegotiation of software
18256           scaling pipelines); remove some leftover printf()s.
18257
18258 2005-07-28  Wim Taymans  <wim@fluendo.com>
18259
18260         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18261         Added some more tests for wrong hierarchy
18262
18263         * docs/design/part-overview.txt:
18264         Some updates.
18265
18266         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
18267         Cleanups.
18268
18269         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
18270         (gst_element_dispose):
18271         Some more cleanups.
18272
18273         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18274         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
18275         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18276         (gst_pad_set_caps), (gst_pad_send_event):
18277         Check for correct hierarchy when linking pads. Moving to
18278         strict requirement for ghostpads when linking elements in
18279         different bins.
18280
18281         * gst/gstpad.h:
18282         Clean ups. Added WRONG_HIERARCHY return value.
18283
18284 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18285
18286         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18287           Better debug if no transform is possible.
18288
18289 2005-07-27  Wim Taymans  <wim@fluendo.com>
18290
18291         * docs/random/wtay/network-transp:
18292         Some old doc I had.
18293
18294 2005-07-27  Wim Taymans  <wim@fluendo.com>
18295
18296         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18297         (gst_dp_event_from_packet):
18298         Fix serialization of seek events.
18299
18300 2005-07-27  Wim Taymans  <wim@fluendo.com>
18301
18302         * check/gst-libs/gdp.c: (GST_START_TEST):
18303         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18304         Fix compilation and fix event serialization.
18305
18306 2005-07-27  Wim Taymans  <wim@fluendo.com>
18307
18308         * CHANGES-0.9:
18309         * docs/design/part-TODO.txt:
18310         * docs/design/part-events.txt:
18311         Some docs updates
18312
18313         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18314         (gst_base_sink_event), (gst_base_sink_do_sync),
18315         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18316         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18317         (gst_base_src_do_seek), (gst_base_src_event_handler),
18318         (gst_base_src_loop):
18319         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18320         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18321         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18322         (gst_base_transform_event), (gst_base_transform_handle_buffer),
18323         (gst_base_transform_set_passthrough),
18324         (gst_base_transform_is_passthrough):
18325         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18326         * gst/elements/gstfilesink.c: (gst_file_sink_event):
18327         Event updates.
18328
18329         * gst/gstbuffer.h:
18330         Use faster casts.
18331
18332         * gst/gstelement.c: (gst_element_seek):
18333         * gst/gstelement.h:
18334         Update gst_element_seek.
18335
18336         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
18337         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
18338         (gst_event_new_flush_start), (gst_event_new_flush_stop),
18339         (gst_event_new_eos), (gst_event_new_newsegment),
18340         (gst_event_parse_newsegment), (gst_event_new_tag),
18341         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
18342         (gst_event_parse_qos), (gst_event_new_seek),
18343         (gst_event_parse_seek), (gst_event_new_navigation):
18344         * gst/gstevent.h:
18345         Make GstEvent use GstStructure. Add parsing code, make sure the
18346         API is sufficiently generic.
18347         Mark possible directions of events and serialization.
18348
18349         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
18350         (_gst_message_copy), (gst_message_new_segment_start),
18351         (gst_message_new_segment_done), (gst_message_new_custom),
18352         (gst_message_parse_segment_start),
18353         (gst_message_parse_segment_done):
18354         Small cleanups.
18355
18356         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18357         (gst_pad_set_caps), (gst_pad_send_event):
18358         Update for new events. 
18359         Catch events sent in wrong directions.
18360
18361         * gst/gstqueue.c: (gst_queue_link_src),
18362         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18363         (gst_queue_handle_src_query):
18364         Event updates.
18365
18366         * gst/gsttag.c:
18367         * gst/gsttag.h:
18368         Remove event code from this file.
18369
18370         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18371         (gst_dp_event_from_packet):
18372         Event updates.
18373
18374 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18375
18376         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
18377         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18378         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
18379           Make debugging actually useful.
18380
18381 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18382
18383         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
18384         (gst_pad_fixate_caps):
18385           Implement default fixation once again, so that gst_pad_fixate()
18386           actually does anything at all. This probably needs to be some
18387           sort of a last resort, and use profile-based fixation first, but
18388           since that doesn't exist yet, this is the best we have. Fixes
18389           visualization in Totem.
18390
18391 2005-07-22  Wim Taymans  <wim@fluendo.com>
18392
18393         * docs/design/part-events.txt:
18394         Small update.
18395
18396         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18397         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
18398         (gst_base_sink_activate_pull):
18399         Some more comments.
18400
18401         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
18402         (gst_fake_src_create):
18403         Fix handoff marshall.
18404
18405         * gst/elements/gstidentity.c: (gst_identity_class_init),
18406         (gst_identity_transform_ip):
18407         We're a real inplace element.
18408
18409         * gst/gstbus.c: (gst_bus_post):
18410         Added some comments.
18411
18412         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
18413         * tests/muxing/case1.c: (main):
18414         * tests/sched/dynamic-pipeline.c: (main):
18415         * tests/sched/interrupt1.c: (main):
18416         * tests/sched/interrupt2.c: (main):
18417         * tests/sched/interrupt3.c: (main):
18418         * tests/sched/runxml.c: (main):
18419         * tests/sched/sched-stress.c: (main):
18420         * tests/seeking/seeking1.c: (event_received), (main):
18421         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18422         (main):
18423         * tests/threadstate/threadstate3.c: (main):
18424         * tests/threadstate/threadstate4.c: (main):
18425         * tests/threadstate/threadstate5.c: (main):
18426         Fix the tests.
18427
18428 2005-07-21  Wim Taymans  <wim@fluendo.com>
18429
18430         * docs/design/part-seeking.txt:
18431         Some small additions.
18432
18433         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18434         (gst_base_sink_get_times), (gst_base_sink_do_sync),
18435         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18436         * gst/base/gstbasesink.h:
18437         discont values are gint64, handle the math correctly.
18438
18439         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18440         Make the basesrc report error if the source pad is not linked.
18441
18442         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18443         (gst_queue_loop), (gst_queue_handle_src_query),
18444         (gst_queue_src_activate_push):
18445         Make queue collect data even if the srcpad is not linked.
18446         Start pushing out data as soon as it is linked.
18447
18448         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
18449         * gst/gstutils.h:
18450         Added gst_flow_get_name() to ease error reporting.
18451
18452 2005-07-20  Wim Taymans  <wim@fluendo.com>
18453
18454         * gst/gstmessage.c: (gst_message_new_segment_start),
18455         (gst_message_new_segment_done), (gst_message_parse_segment_start),
18456         (gst_message_parse_segment_done):
18457         * gst/gstmessage.h:
18458         Added a bunch of messages for advanced seeking.
18459
18460         * gst/parse/grammar.y:
18461         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
18462         (gst_dpman_state_changed):
18463         Fix some new-pad -> pad-added signals
18464
18465 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18466
18467         * docs/manual/appendix-porting.xml:
18468         * docs/pwg/appendix-porting.xml:
18469           Document new-pad/state-change signal renames and the FixedList
18470           type rename.
18471
18472 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18473
18474         * docs/manual/advanced-autoplugging.xml:
18475         * docs/manual/basics-helloworld.xml:
18476         * docs/manual/basics-pads.xml:
18477         * docs/random/ds/0.9-suggested-changes:
18478         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
18479         * gst/gstelement.h:
18480         * gst/gstevent.h:
18481         * gst/gstformat.h:
18482         * gst/gstquery.h:
18483         * gst/gststructure.c: (gst_structure_value_get_generic_type),
18484         (gst_structure_parse_array), (gst_structure_parse_value):
18485         * gst/gstvalue.c: (gst_type_is_fixed),
18486         (gst_value_list_prepend_value), (gst_value_list_append_value),
18487         (gst_value_list_get_size), (gst_value_list_get_value),
18488         (gst_value_transform_array_string), (gst_value_serialize_array),
18489         (gst_value_deserialize_array), (gst_value_intersect_array),
18490         (gst_value_is_fixed), (_gst_value_initialize):
18491         * gst/gstvalue.h:
18492           GstElement::new-pad -> pad-added, GstElement::state-change ->
18493           state-changed, GstValueFixedList -> GstValueArray, add format and
18494           flags as their own arguments in gst_element_seek() (should improve
18495           "bindeability"), remove function generators since they don't work
18496           under a whole bunch of compilers (they were deprecated already
18497           anyway).
18498
18499 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18500
18501         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18502         (_gst_debug_register_funcptr):
18503         * gst/gstinfo.h:
18504           Fix illegal cast on some platforms (#309253).
18505
18506 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18507
18508         * gst/gstmessage.c: (gst_message_new_custom):
18509         * gst/gstmessage.h:
18510           Add _new_custom, make _new_application a macro to _new_custom.
18511
18512 2005-07-20  Wim Taymans  <wim@fluendo.com>
18513
18514         * gst/base/gstbasesrc.c: (gst_base_src_init),
18515         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18516         * gst/base/gstbasesrc.h:
18517         Add a gboolean to decide when to push out a discont.
18518
18519         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18520         (gst_queue_loop), (gst_queue_handle_src_query),
18521         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
18522         (gst_queue_set_property), (gst_queue_get_property):
18523         Some cleanups.
18524
18525         * tests/threadstate/threadstate1.c: (main):
18526         Make a thread test compile and run... very silly..
18527
18528
18529 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18530
18531         * docs/manual/appendix-porting.xml:
18532           Mention removal of libgstgconf-0.9.la and existence of gconf
18533           elements.
18534
18535 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18536
18537         * docs/pwg/advanced-clock.xml:
18538         * docs/pwg/appendix-porting.xml:
18539         * docs/pwg/intro-preface.xml:
18540         * docs/pwg/other-base.xml:
18541         * docs/pwg/other-manager.xml:
18542         * docs/pwg/other-nton.xml:
18543         * docs/pwg/other-ntoone.xml:
18544         * docs/pwg/other-oneton.xml:
18545         * docs/pwg/pwg.xml:
18546           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
18547           demuxer), remove n-to-n (was never written), fix some code examples
18548           and links and update the porting section to include all this.
18549
18550 2005-07-19  Wim Taymans  <wim@fluendo.com>
18551
18552         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
18553         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
18554         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
18555         (gst_queue_src_activate_push), (gst_queue_change_state),
18556         (gst_queue_get_property):
18557         * gst/gstqueue.h:
18558         Propagate GstFlowReturn more intelligently upstream and output
18559         an ERROR/EOS when streaming stopped due to fatal error.
18560
18561 2005-07-19  Wim Taymans  <wim@fluendo.com>
18562
18563         * tools/gst-launch.c: (check_intr), (event_loop), (main):
18564         Don't block forever for the state change to complete, the
18565         pipeline already did with a sensible timeout.
18566
18567 2005-07-19  Wim Taymans  <wim@fluendo.com>
18568
18569         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18570         Make sure we never call the create function is we
18571         got deactivated.
18572
18573 2005-07-19  Andy Wingo  <wingo@pobox.com>
18574
18575         * gst/parse/parse.l: Attempt to solve bug #172815.
18576
18577 2005-07-19  Wim Taymans  <wim@fluendo.com>
18578
18579         * docs/design/part-clocks.txt:
18580         * docs/design/part-events.txt:
18581         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
18582         Small docs updates.
18583         Only update the seeking values when we are not
18584         busy streaming.
18585
18586 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
18587
18588         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18589           Oops, ignore the result of gst_pad_push_event here.
18590
18591 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
18592
18593         * gst/base/gstbasesrc.c: (gst_base_src_loop),
18594         (gst_base_src_activate_push):
18595           Send discont event from the loop function, as pads
18596           aren't activated yet in the activate_push handler.
18597
18598         * gst/gstbin.c: (bin_bus_handler):
18599           Don't leak element name.
18600
18601 2005-07-18  Andy Wingo  <wingo@pobox.com>
18602
18603         * configure.ac: Use AS_LIBTOOL_TAGS.
18604
18605 2005-07-18  Wim Taymans  <wim@fluendo.com>
18606
18607         * docs/gst/gstreamer.types:
18608         Remove deleted types.
18609
18610 2005-07-18  Wim Taymans  <wim@fluendo.com>
18611
18612         * check/elements/gstfakesrc.c: (GST_START_TEST):
18613         * configure.ac:
18614         * gst/Makefile.am:
18615         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
18616         (init_popt_callback):
18617         * gst/gst.h:
18618         * gst/gst_private.h:
18619         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
18620         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
18621         * gst/gstbin.h:
18622         * gst/gstbus.h:
18623         * gst/gstconfig.h.in:
18624         * gst/gstelement.c: (gst_element_class_init),
18625         (gst_element_set_base_time), (gst_element_get_base_time),
18626         (iterator_fold_with_resync), (gst_element_change_state),
18627         (gst_element_dispose), (gst_element_get_bus):
18628         * gst/gstelement.h:
18629         * gst/gstelementfactory.h:
18630         * gst/gsterror.c: (_gst_core_errors_init):
18631         * gst/gsterror.h:
18632         * gst/gstevent.h:
18633         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18634         * gst/gstindex.c:
18635         * gst/gstinfo.c: (_gst_debug_init):
18636         * gst/gstmessage.c: (_gst_message_copy):
18637         * gst/gstmessage.h:
18638         * gst/gstminiobject.h:
18639         * gst/gstobject.c:
18640         * gst/gstobject.h:
18641         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18642         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
18643         * gst/gstpad.h:
18644         * gst/gstparse.h:
18645         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
18646         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18647         (gst_pipeline_get_last_stream_time):
18648         * gst/gstpipeline.h:
18649         * gst/gstpluginfeature.h:
18650         * gst/gstquery.h:
18651         * gst/gstscheduler.c:
18652         * gst/gstscheduler.h:
18653         * gst/gststructure.h:
18654         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
18655         (gst_task_finalize), (gst_task_func), (gst_task_create),
18656         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
18657         (gst_task_stop), (gst_task_pause):
18658         * gst/gsttask.h:
18659         * gst/gsttypefind.h:
18660         * gst/gsttypes.h:
18661         * gst/registries/gstlibxmlregistry.c: (load_feature),
18662         (gst_xml_registry_load), (gst_xml_registry_save_feature):
18663         * gst/registries/gstxmlregistry.c:
18664         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
18665         * gst/schedulers/threadscheduler.c:
18666         * libs/gst/control/dparammanager.h:
18667         * tools/gst-inspect.c: (print_element_list),
18668         (print_plugin_features), (print_element_features):
18669         * tools/gst-xmlinspect.c: (print_element_list),
18670         (print_plugin_info), (main):
18671         Removed plugable schedulers.
18672         Removed Scheduler/Manager from elements.
18673         Removed gsttypes.h, rearranged includes.
18674         Removed dependency pad<->element, element<>pipeline, and
18675         various others,  fix includes.
18676         implement gst_pad_get_parent() with gst_object_get_parent()
18677         Make GstTask sefcontained.
18678         Fix _get_state() on GstBin, it did not return ASYNC with a 0
18679         timeout.
18680         Fix endless loop in iterator_fold_with_resync.
18681
18682
18683 2005-07-18  Wim Taymans  <wim@fluendo.com>
18684
18685         * gst/Makefile.am:
18686         * gst/gstarch.h:
18687         Remove old file.
18688
18689 2005-07-18  Wim Taymans  <wim@fluendo.com>
18690
18691         * gst/Makefile.am:
18692         No more cothreads.h
18693
18694 2005-07-18  Wim Taymans  <wim@fluendo.com>
18695
18696         * gst/cothreads.c:
18697         * gst/cothreads.h:
18698         Let's remove these.
18699
18700 2005-07-18  Wim Taymans  <wim@fluendo.com>
18701
18702         * docs/design/part-dynamic.txt:
18703         * docs/design/part-events.txt:
18704         * docs/design/part-seeking.txt:
18705         Some more docs in the works.
18706
18707         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18708         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
18709         (gst_base_transform_setcaps), (gst_base_transform_get_size),
18710         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18711         (gst_base_transform_handle_buffer),
18712         (gst_base_transform_sink_activate_push),
18713         (gst_base_transform_src_activate_pull),
18714         (gst_base_transform_set_passthrough),
18715         (gst_base_transform_is_passthrough):
18716         Refcounting fixes.
18717
18718         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
18719         Cleanups.
18720
18721         * gst/gstevent.c: (gst_event_finalize):
18722         Set SRC to NULL.
18723
18724         * gst/gstutils.c: (gst_element_unlink),
18725         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
18726         (gst_pad_proxy_setcaps):
18727         * gst/gstutils.h:
18728         Add _get_parent_element() to get a pads parent as an element.
18729
18730 2005-07-18  Wim Taymans  <wim@fluendo.com>
18731
18732         * check/gst/gstbin.c: (GST_START_TEST):
18733         Remove bogus test.
18734
18735 2005-07-18  Wim Taymans  <wim@fluendo.com>
18736
18737         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
18738         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
18739         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
18740         (gst_base_sink_event), (gst_base_sink_do_sync),
18741         (gst_base_sink_chain), (gst_base_sink_loop),
18742         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
18743         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18744         Refcounting fixes.
18745         Fix logic for returning ASYNC when not prerolled.
18746
18747 2005-07-18  Wim Taymans  <wim@fluendo.com>
18748
18749         * gst/gstqueue.c: (gst_queue_handle_sink_event):
18750         Fix nasty refcount bug.
18751
18752 2005-07-16 Philippe Khalaf <burger@speedy.org>
18753
18754         * gst/elements/gstfdsrc.c:
18755         * gst/elements/gstfdsrc.h:
18756         * gst/elements/gstelements.c:
18757         * gst/elements/Makefile.am:
18758         Ported fdsrc to 0.9.
18759
18760 2005-07-16  Wim Taymans  <wim@fluendo.com>
18761
18762         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18763         (gst_base_sink_do_sync):
18764         Fix compile error.
18765
18766 2005-07-16  Wim Taymans  <wim@fluendo.com>
18767
18768         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18769         (gst_base_sink_event), (gst_base_sink_get_times),
18770         (gst_base_sink_do_sync), (gst_base_sink_change_state):
18771         * gst/base/gstbasesink.h:
18772         Store and use discont values when syncing buffers as described
18773         in design docs.
18774         
18775         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18776         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
18777         (gst_base_src_activate_push):
18778         Push discont event when starting.
18779
18780         * gst/elements/gstidentity.c: (gst_identity_transform):
18781         Small cleanups.
18782
18783         * gst/gstbin.c: (gst_bin_change_state):
18784         Small cleanups in base_time  distribution.
18785
18786         * gst/gstelement.c: (gst_element_set_base_time),
18787         (gst_element_get_base_time), (gst_element_change_state):
18788         * gst/gstelement.h:
18789         Added methods for the base_time of the element.
18790         Some MT fixes.
18791
18792         * gst/gstpipeline.c: (gst_pipeline_send_event),
18793         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18794         (gst_pipeline_get_last_stream_time):
18795         * gst/gstpipeline.h:
18796         MT fixes.
18797         Handle seeking as described in design doc, remove stream_time
18798         hack.
18799         Cleanups clock and stream_time selection code. Added accessors
18800         for the stream_time.
18801         
18802
18803 2005-07-16  Andy Wingo  <wingo@pobox.com>
18804
18805         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
18806         (#305291).
18807
18808 2005-07-16  Wim Taymans  <wim@fluendo.com>
18809
18810         * check/gst/gstbin.c: (GST_START_TEST):
18811         Make elements silent as the deep_notify refs the
18812         parent, which might make the test fail.
18813
18814         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18815         Don't hold the lock for too long.
18816
18817 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
18818
18819         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18820           Don't unref the caps we passed to gst_caps_make_writable() after
18821           passing them. gst_caps_make_writable() will do that for us.
18822
18823 2005-07-15  Andy Wingo  <wingo@pobox.com>
18824
18825         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
18826         (#157311).
18827
18828         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
18829         own marshalling function for the handoff signal. Properly type the
18830         buffer as a buffer. Fixes some warnings. Should do a more general
18831         solution.
18832         (gst_identity_class_init): Plug into the right marshaller.
18833
18834 2005-07-15  Wim Taymans  <wim@fluendo.com>
18835
18836         * docs/design/part-TODO.txt:
18837         * docs/design/part-clocks.txt:
18838         * docs/design/part-element-sink.txt:
18839         * docs/design/part-events.txt:
18840         * docs/design/part-gstpipeline.txt:
18841         Updated docs, mostly DISCONT related.
18842
18843 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
18844
18845         * docs/pwg/building-pads.xml:
18846           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
18847
18848 2005-07-15  Andy Wingo  <wingo@pobox.com>
18849
18850         * tools/gst-typefind.c: Update, add copyright block.
18851
18852         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
18853         Normalize and truncate caps before fixation.
18854
18855         * gst/gstcaps.h:
18856         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
18857         discards all but the first structure from its argument.
18858
18859 2005-07-15  Wim Taymans  <wim@fluendo.com>
18860
18861         * gst/base/gstbasetransform.c: (gst_base_transform_init),
18862         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
18863         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18864         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18865         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
18866         (gst_base_transform_chain), (gst_base_transform_change_state),
18867         (gst_base_transform_set_passthrough),
18868         (gst_base_transform_is_passthrough):
18869         * gst/base/gstbasetransform.h:
18870         Make passthrough work using the bufferpools.
18871         Changed API a bit, subclasses have to write into a buffer
18872         provided by the base class.
18873         More debug info in nego functions.
18874         
18875         * gst/elements/gstidentity.c: (gst_identity_init),
18876         (gst_identity_transform):
18877         Port to new base class.
18878
18879 2005-07-15  Wim Taymans  <wim@fluendo.com>
18880
18881         * gst/gstmessage.c: (gst_message_new_state_changed):
18882         * tools/gst-launch.c: (event_loop), (main):
18883         Totally dump messages in -launch with the -m option.
18884         Fix message name for State messages,
18885
18886 2005-07-14  Wim Taymans  <wim@fluendo.com>
18887
18888         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18889         Post error messages on errors.
18890
18891 2005-07-14  Wim Taymans  <wim@fluendo.com>
18892
18893         * gst/gstcaps.c: (gst_caps_do_simplify):
18894         Remove debug info.
18895
18896         * gst/gsterror.h:
18897         Define error for stream stopped.
18898
18899         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
18900         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
18901         Do proper return values.
18902
18903         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18904         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
18905         (gst_pad_get_range):
18906         Better return values.
18907
18908         * gst/gstpad.h:
18909         Reorganise return values, add macro to check for fatal errors.
18910
18911         * gst/gstqueue.c: (gst_queue_chain):
18912         Return proper GstFlowReturn values,
18913
18914 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18915
18916         * docs/gst/gstreamer-sections.txt:
18917         * docs/gst/gstreamer.types:
18918         * docs/gst/tmpl/gst.sgml:
18919         * docs/gst/tmpl/gstbasesink.sgml:
18920         * docs/gst/tmpl/gstbasesrc.sgml:
18921         * docs/gst/tmpl/gstbasetransform.sgml:
18922         * docs/gst/tmpl/gstbin.sgml:
18923         * docs/gst/tmpl/gstbuffer.sgml:
18924         * docs/gst/tmpl/gstcaps.sgml:
18925         * docs/gst/tmpl/gstclock.sgml:
18926         * docs/gst/tmpl/gstcompat.sgml:
18927         * docs/gst/tmpl/gstconfig.sgml:
18928         * docs/gst/tmpl/gstelement.sgml:
18929         * docs/gst/tmpl/gstelementdetails.sgml:
18930         * docs/gst/tmpl/gstelementfactory.sgml:
18931         * docs/gst/tmpl/gstenumtypes.sgml:
18932         * docs/gst/tmpl/gsterror.sgml:
18933         * docs/gst/tmpl/gstevent.sgml:
18934         * docs/gst/tmpl/gstfakesink.sgml:
18935         * docs/gst/tmpl/gstfakesrc.sgml:
18936         * docs/gst/tmpl/gstfilesink.sgml:
18937         * docs/gst/tmpl/gstfilesrc.sgml:
18938         * docs/gst/tmpl/gstfilter.sgml:
18939         * docs/gst/tmpl/gstformat.sgml:
18940         * docs/gst/tmpl/gstghostpad.sgml:
18941         * docs/gst/tmpl/gstimplementsinterface.sgml:
18942         * docs/gst/tmpl/gstindex.sgml:
18943         * docs/gst/tmpl/gstindexfactory.sgml:
18944         * docs/gst/tmpl/gstinfo.sgml:
18945         * docs/gst/tmpl/gstiterator.sgml:
18946         * docs/gst/tmpl/gstmacros.sgml:
18947         * docs/gst/tmpl/gstmemchunk.sgml:
18948         * docs/gst/tmpl/gstminiobject.sgml:
18949         * docs/gst/tmpl/gstobject.sgml:
18950         * docs/gst/tmpl/gstpad.sgml:
18951         * docs/gst/tmpl/gstpadtemplate.sgml:
18952         * docs/gst/tmpl/gstparse.sgml:
18953         * docs/gst/tmpl/gstpipeline.sgml:
18954         * docs/gst/tmpl/gstplugin.sgml:
18955         * docs/gst/tmpl/gstpluginfeature.sgml:
18956         * docs/gst/tmpl/gstquery.sgml:
18957         * docs/gst/tmpl/gstqueue.sgml:
18958         * docs/gst/tmpl/gstregistry.sgml:
18959         * docs/gst/tmpl/gstregistrypool.sgml:
18960         * docs/gst/tmpl/gstscheduler.sgml:
18961         * docs/gst/tmpl/gstschedulerfactory.sgml:
18962         * docs/gst/tmpl/gststructure.sgml:
18963         * docs/gst/tmpl/gstsystemclock.sgml:
18964         * docs/gst/tmpl/gsttaglist.sgml:
18965         * docs/gst/tmpl/gsttagsetter.sgml:
18966         * docs/gst/tmpl/gsttrace.sgml:
18967         * docs/gst/tmpl/gsttrashstack.sgml:
18968         * docs/gst/tmpl/gsttypefind.sgml:
18969         * docs/gst/tmpl/gsttypefindfactory.sgml:
18970         * docs/gst/tmpl/gsttypes.sgml:
18971         * docs/gst/tmpl/gsturihandler.sgml:
18972         * docs/gst/tmpl/gsturitype.sgml:
18973         * docs/gst/tmpl/gstutils.sgml:
18974         * docs/gst/tmpl/gstvalue.sgml:
18975         * docs/gst/tmpl/gstversion.sgml:
18976         * docs/gst/tmpl/gstxml.sgml:
18977         * docs/libs/tmpl/gstcontrol.sgml:
18978         * docs/libs/tmpl/gstdataprotocol.sgml:
18979         * docs/libs/tmpl/gstdparam.sgml:
18980         * docs/libs/tmpl/gstdplinint.sgml:
18981         * docs/libs/tmpl/gstdpman.sgml:
18982         * docs/libs/tmpl/gstdpsmooth.sgml:
18983         * docs/libs/tmpl/gstgetbits.sgml:
18984         * docs/libs/tmpl/gstunitconvert.sgml:
18985         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
18986         (gst_push_src_base_init), (gst_push_src_class_init),
18987         (gst_push_src_init), (gst_push_src_create):
18988         * gst/base/gstpushsrc.h:
18989         * gst/elements/gstelements.c:
18990         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
18991         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
18992         (gst_fake_sink_init), (gst_fake_sink_set_property),
18993         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
18994         (gst_fake_sink_event), (gst_fake_sink_preroll),
18995         (gst_fake_sink_render), (gst_fake_sink_change_state):
18996         * gst/elements/gstfakesink.h:
18997         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18998         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18999         (gst_fake_src_base_init), (gst_fake_src_class_init),
19000         (gst_fake_src_init), (gst_fake_src_event_handler),
19001         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
19002         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
19003         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
19004         (gst_fake_src_create_buffer), (gst_fake_src_create),
19005         (gst_fake_src_start), (gst_fake_src_stop):
19006         * gst/elements/gstfakesrc.h:
19007         * gst/elements/gstfilesink.c: (_do_init),
19008         (gst_file_sink_base_init), (gst_file_sink_class_init),
19009         (gst_file_sink_init), (gst_file_sink_dispose),
19010         (gst_file_sink_set_location), (gst_file_sink_set_property),
19011         (gst_file_sink_get_property), (gst_file_sink_open_file),
19012         (gst_file_sink_close_file), (gst_file_sink_query),
19013         (gst_file_sink_event), (gst_file_sink_render),
19014         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
19015         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
19016         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
19017         * gst/elements/gstfilesink.h:
19018         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
19019         (gst_file_src_class_init), (gst_file_src_init),
19020         (gst_file_src_finalize), (gst_file_src_set_location),
19021         (gst_file_src_set_property), (gst_file_src_get_property),
19022         (gst_file_src_map_region), (gst_file_src_map_small_region),
19023         (gst_file_src_create_mmap), (gst_file_src_create_read),
19024         (gst_file_src_create), (gst_file_src_is_seekable),
19025         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
19026         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
19027         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
19028         (gst_file_src_uri_handler_init):
19029         * gst/elements/gstfilesrc.h:
19030           more autistic cleanliness in functions/names/defines
19031
19032 2005-07-13  Andy Wingo  <wingo@pobox.com>
19033
19034         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
19035         source couldn't negotiate.
19036
19037         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
19038         connections again.
19039
19040         * gst/gstutils.h:
19041         * gst/gstutils.c (gst_element_link_pads_filtered): New old
19042         function. I am channeling Hades. Put your boots on suckers!!!
19043
19044 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19045
19046         * testsuite/caps/Makefile.am:
19047         * testsuite/caps/value_compare.c:
19048         * testsuite/caps/value_intersect.c:
19049         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19050           move two testsuite apps over to the check dir
19051
19052 2005-07-12  Wim Taymans  <wim@fluendo.com>
19053
19054         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
19055         Added more debug info in the negotiate process.
19056
19057         * gst/gstmessage.h:
19058         Prepare for segment playback.
19059
19060         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
19061         Better debugging.
19062
19063         * gst/gstutils.c:
19064         Some more docs.
19065
19066         * tools/gst-launch.c: (main):
19067         NULL pipeline on errors.
19068
19069 2005-07-12  Andy Wingo  <wingo@pobox.com>
19070
19071         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
19072         not it comes from a malloc region. Make sure our copy gets freed.
19073
19074 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19075
19076         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19077         * check/gst/gstmessage.c: (GST_START_TEST):
19078         * check/gst/gststructure.c: (GST_START_TEST),
19079         (gst_structure_suite), (main):
19080           more testing
19081         * gst/gstelement.c: (gst_element_message_full):
19082           clean up GError and debug string now that they get copied
19083         * gst/gstmessage.c: (gst_message_new_error),
19084         (gst_message_new_warning), (gst_message_parse_error),
19085         (gst_message_parse_warning):
19086           use GST_TYPE_G_ERROR for structure_new, and take copies of
19087           arguments, so that we don't mess up refcounting
19088
19089 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19090
19091         * check/Makefile.am:
19092           add per-test valgrind targets
19093         * check/gst-libs/gdp.c: (GST_START_TEST),
19094         (gst_data_protocol_suite), (main):
19095           clean up
19096
19097 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19098
19099         * check/Makefile.am:
19100           instate more valgrindable tests
19101         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19102         (GST_START_TEST), (fakesrc_suite):
19103         * check/gst/gstpad.c: (GST_START_TEST):
19104         * check/gst/gststructure.c: (GST_START_TEST):
19105           fix test leaks
19106         * docs/gst/tmpl/gstminiobject.sgml:
19107         * gst/gstpad.c: (gst_pad_finalize):
19108           fix the static mutex leak
19109
19110 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19111
19112         * check/Makefile.am:
19113           add two more tests for valgrinding
19114         * check/gst/gstvalue.c: (GST_START_TEST):
19115           test refcount of deserialized buffer, found a leak
19116         * docs/gst/gstreamer-docs.sgml:
19117         * docs/gst/gstreamer-sections.txt:
19118         * docs/gst/gstreamer.types:
19119         * docs/gst/tmpl/gstminiobject.sgml:
19120           add miniobject to docs
19121         * gst/gstminiobject.c:
19122           add some docs
19123         * gst/gstvalue.c: (gst_value_deserialize_buffer),
19124         (gst_string_unwrap):
19125           fix a hard-to-find invalid write for one of the tests
19126           fix a leak for deserialized buffers
19127
19128 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19129
19130         * docs/pwg/advanced-events.xml:
19131         * docs/pwg/advanced-request.xml:
19132         * docs/pwg/advanced-scheduling.xml:
19133         * docs/pwg/appendix-porting.xml:
19134         * docs/pwg/building-boiler.xml:
19135         * docs/pwg/intro-preface.xml:
19136         * docs/pwg/other-ntoone.xml:
19137           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
19138           of example code and explanation for pad activation, loop() and
19139           getrange() functions and a bit more. Remove old comments pointing
19140           to loop-functions.
19141         * examples/pwg/Makefile.am:
19142           Add loop/getrange examples.
19143
19144 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19145
19146         * configure.ac:
19147           check for valgrind binary + some fixes
19148         * check/gst.supp:
19149           valgrind suppressions for the tests
19150         * check/Makefile.am:
19151           add a valgrind: target that valgrinds the unit tests
19152         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
19153         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19154         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19155         * check/gst/gstghostpad.c:
19156           added some cleanup
19157         * check/gst/gstdata.c:
19158           removed
19159         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
19160         (thread_unref), (gst_mini_object_suite), (main):
19161           added
19162         * gst/gst.c: (gst_deinit):
19163         * gst/gst.h:
19164           add a method to clean up.
19165         * gst/gstsystemclock.c: (gst_system_clock_dispose),
19166         (gst_system_clock_obtain):
19167           allow for disposing the system clock.
19168         * tools/gst-launch.c: (main):
19169           deinit
19170
19171 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19172
19173         * docs/gst/tmpl/gstbasesrc.sgml:
19174         * docs/gst/tmpl/gstfakesrc.sgml:
19175         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19176         (gst_base_src_init), (gst_base_src_set_property),
19177         (gst_base_src_get_property), (gst_base_src_get_range),
19178         (gst_base_src_start):
19179         * gst/base/gstbasesrc.h:
19180           add num-buffers property
19181         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19182         (gst_fakesrc_init), (gst_fakesrc_set_property),
19183         (gst_fakesrc_get_property), (gst_fakesrc_create),
19184         (gst_fakesrc_start):
19185           remove num-buffers property
19186
19187 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19188
19189         * docs/gst/gstreamer-sections.txt:
19190         * docs/gst/tmpl/gstbasesink.sgml:
19191         * docs/gst/tmpl/gstbasesrc.sgml:
19192         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19193         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19194         (gst_base_sink_finalize), (gst_base_sink_set_clock),
19195         (gst_base_sink_set_property), (gst_base_sink_get_property),
19196         (gst_base_sink_handle_object), (gst_base_sink_event),
19197         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19198         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
19199         (gst_base_sink_loop), (gst_base_sink_deactivate),
19200         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
19201         (gst_base_sink_change_state):
19202         * gst/base/gstbasesink.h:
19203         * gst/base/gstbasesrc.h:
19204         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
19205         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19206         (gst_filesink_init):
19207           more macro splitting
19208
19209 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19210
19211         * gst/gstelement.c: (gst_element_get_bus):
19212           add debug
19213         * tools/gst-launch.c: (check_intr), (event_loop):
19214           fix bus leaks
19215
19216 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19217
19218         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
19219           fix a caps leak
19220
19221 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19222
19223         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19224         (gst_base_src_finalize):
19225           add finalize method and clean up properly
19226         * gst/gstpipeline.c: (gst_pipeline_dispose):
19227           add debug
19228
19229 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19230
19231         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
19232         (gst_bin_suite):
19233           add more things to check
19234         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19235         * gst/gstelement.c:
19236           more debug
19237
19238 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19239
19240         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19241         (GST_START_TEST), (fakesrc_suite):
19242         * check/gst-libs/gdp.c: (GST_START_TEST):
19243         * check/gst/gst.c: (GST_START_TEST):
19244         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19245         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19246         * check/gst/gstbus.c: (GST_START_TEST):
19247         * check/gst/gstcaps.c: (GST_START_TEST):
19248         * check/gst/gstdata.c: (GST_START_TEST):
19249         * check/gst/gstelement.c: (GST_START_TEST):
19250         * check/gst/gstghostpad.c: (GST_START_TEST):
19251         * check/gst/gstiterator.c: (GST_START_TEST):
19252         * check/gst/gstmessage.c: (GST_START_TEST):
19253         * check/gst/gstobject.c: (GST_START_TEST):
19254         * check/gst/gstpad.c: (GST_START_TEST):
19255         * check/gst/gststructure.c: (GST_START_TEST):
19256         * check/gst/gstsystemclock.c: (GST_START_TEST),
19257         (gst_systemclock_suite):
19258         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19259         * check/gst/gstvalue.c: (GST_START_TEST):
19260         * check/pipelines/cleanup.c: (GST_START_TEST):
19261         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19262         * check/states/sinks.c: (GST_START_TEST):
19263         * check/gstcheck.c: (gst_check_init):
19264         * check/gstcheck.h:
19265           add debugging category
19266           use GST_START_TEST now, so we add a debug line
19267
19268 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19269
19270         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
19271           add test for state change message on a bin
19272         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
19273           add another test
19274         * gst/gstbin.c: (gst_bin_init):
19275         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
19276         * gst/gstelement.c: (gst_element_post_message),
19277         (gst_element_set_state):
19278         * gst/gstelementfactory.c: (gst_element_factory_create):
19279         * gst/gstmessage.c: (gst_message_new):
19280         * gst/gstscheduler.c:
19281           various debugging additions and cleanups
19282
19283 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19284
19285         * check/Makefile.am:
19286         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
19287         (main):
19288           adding tests for elements
19289         * gst/gstelement.c: (gst_element_dispose):
19290
19291 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19292
19293         * gst/registries/gstlibxmlregistry.c: (load_feature):
19294           plug more leaks.  A simple gst_init() now is leakfree, yay.
19295
19296 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19297
19298         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
19299         (gst_xml_registry_load):
19300           plug another memleak
19301
19302 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19303
19304         * configure.ac:
19305           use GST_SET_ERROR_CFLAGS
19306         * docs/faq/cvs.xml:
19307           change to ERROR_CFLAGS
19308
19309 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19310
19311         * configure.ac:
19312           make GST_ERROR_CFLAGS overridable and re-enable Werror
19313         * docs/faq/cvs.xml:
19314           add a note about error CFLAGS
19315         * docs/gst/tmpl/gstfakesrc.sgml:
19316         * gst/elements/gstfakesrc.c:
19317           comment out some unused code
19318         * gst/gst.c: (split_and_iterate):
19319         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
19320         (load_feature):
19321           plug some memleaks
19322
19323 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19324
19325         * common/Makefile.am:
19326         * common/gtk-doc.mak:
19327         * docs/gst/Makefile.am:
19328           factor out gtk-doc.mak
19329
19330 2005-07-07  Wim Taymans  <wim@fluendo.com>
19331
19332         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
19333         (gst_thread_scheduler_dispose):
19334         Unlock the STREAM_LOCK completely.
19335
19336 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19337
19338         * check/Makefile.am:
19339         * check/elements/.cvsignore:
19340         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19341         (START_TEST), (fakesrc_suite), (main):
19342         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19343         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19344         (gst_fakesrc_create), (gst_fakesrc_start):
19345         * gst/elements/gstfakesrc.h:
19346           adding a first element test
19347
19348 2005-07-07  Andy Wingo  <wingo@pobox.com>
19349
19350         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
19351         debug message.
19352
19353 2005-07-07  Wim Taymans  <wim@fluendo.com>
19354
19355         * gst/gstquery.c:
19356         * gst/gstquery.h:
19357         Remove old types
19358
19359 2005-07-07  Wim Taymans  <wim@fluendo.com>
19360
19361         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19362         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
19363         Allow subclasses to implement their own negotiation.
19364
19365 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19366
19367         * docs/design/part-gstbin.txt:
19368         * docs/design/part-gstpipeline.txt:
19369           Update design notes to reflect the movement of
19370           responsibility for bus handling from GstPipeline to
19371           GstBin
19372
19373 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19374
19375         * configure.ac:
19376           Remove unnecessary queue2/3/4 examples.
19377
19378 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19379
19380         * examples/Makefile.am:
19381         * examples/helloworld/helloworld.c: (event_loop), (main):
19382         * examples/queue/queue.c: (event_loop), (main):
19383         * examples/queue2/queue2.c: (main):
19384           Update a couple of the examples to work again.
19385
19386         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19387         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
19388          Spelling corrections and extra debug.
19389         
19390         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
19391         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
19392         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
19393         * gst/gstbin.h:
19394         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19395         (gst_pipeline_change_state):
19396         * gst/gstpipeline.h:
19397           Move the bus handler for children to the GstBin, and create a
19398           separate bus for receiving messages from children to the one the
19399           bus sends 'upwards' on.
19400
19401 2005-07-06  Wim Taymans  <wim@fluendo.com>
19402
19403         * gst/base/README:
19404         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19405         (gst_base_sink_handle_object), (gst_base_sink_loop),
19406         (gst_base_sink_change_state):
19407         * gst/base/gstbasesink.h:
19408         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19409         (gst_base_src_init), (gst_base_src_setcaps),
19410         (gst_base_src_getcaps), (gst_base_src_loop),
19411         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
19412         (gst_base_src_start), (gst_base_src_change_state):
19413         * gst/base/gstbasesrc.h:
19414         Make basesrc negotiate.
19415         Handle the case where preroll fails in basesink.
19416         Update README.
19417
19418 2005-07-06  Wim Taymans  <wim@fluendo.com>
19419
19420         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
19421         Implement the fixate function.
19422         Clean up acceptcaps.
19423
19424 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19425
19426         * docs/pwg/building-filterfactory.xml:
19427         * docs/pwg/pwg.xml:
19428           Remove never-written filter-factory chapter; I'll add the various
19429           base classes to part 4 ("other element types") later on.
19430
19431 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19432
19433         * docs/pwg/advanced-negotiation.xml:
19434         * docs/pwg/building-boiler.xml:
19435         * docs/pwg/building-pads.xml:
19436         * docs/pwg/pwg.xml:
19437         * examples/pwg/Makefile.am:
19438           Add a chapter on caps negotiation, simplify the original code
19439           samples a bit w.r.t. caps negotiation, add link to the advanced
19440           section. Add a bunch of examples showing different use cases of
19441           different types of caps negotiation. Upstream renegotiation isn't
19442           fully documented yet since nobody knows how that works.
19443
19444 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19445
19446         * check/gst/gstpad.c:
19447         * check/gstcheck.c:
19448         * gst/gstpad.c: (gst_pad_get_internal_links_default):
19449           if pad has no parent, return NULL as list of internal links
19450
19451 2005-07-05  Andy Wingo  <wingo@pobox.com>
19452
19453         * gst/elements/gstfilesrc.c:
19454         * gst/elements/gstfakesrc.c: 
19455         * gst/base/gstpushsrc.c:
19456         * gst/base/gstbasesrc.h: 
19457         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
19458         
19459 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
19460
19461         * Makefile.am:
19462           better report generation target (lcov needs a patch)
19463
19464 2005-07-05  Andy Wingo  <wingo@pobox.com>
19465
19466         * gst/elements, testsuite: Null if we got it...
19467
19468 2005-07-05  Wim Taymans  <wim@fluendo.com>
19469
19470         * configure.ac:
19471         * libs/gst/dataprotocol/Makefile.am:
19472         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
19473         * libs/gst/dataprotocol/dataprotocol.h:
19474         * pkgconfig/Makefile.am:
19475         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
19476         * pkgconfig/gstreamer-dataprotocol.pc.in:
19477         Ported dataprotol to 0.9. 
19478         Added pkgconfig files.
19479
19480 2005-07-05  Andy Wingo  <wingo@pobox.com>
19481
19482         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
19483         Default to returning TRUE for the case when tranform_caps returns
19484         a fixed caps, like for identity or volume.
19485
19486         * check/gst/gstbus.c (pound_bus_with_messages): 
19487         * check/gst/gstmessage.c (START_TEST): 
19488         * check/pipelines/simple_launch_lines.c (got_handoff): Application
19489         message API change.
19490
19491         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
19492         logic weaks here: always run transform_caps, trying passthrough
19493         operation only if the original caps intersects with the transform.
19494
19495         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
19496         source and sink caps.
19497
19498         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
19499         Intersect the peer caps with the pad template before going into
19500         transform_caps.
19501         (gst_base_transform_transform_caps): More debugging.
19502
19503         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
19504         src argument.
19505
19506 2005-07-04  Edward Hervey  <edward@fluendo.com>
19507
19508         * gst/gstutils.c:
19509         * gst/gstutils.h:
19510         (gst_pad_add_*_probe): now returns the signal id for better wrapping
19511         in bindings.
19512
19513 2005-07-04  Andy Wingo  <wingo@pobox.com>
19514
19515         * check/gst/gstpad.c: Only set explicit caps on pads.
19516
19517 2005-07-01  Andy Wingo  <wingo@pobox.com>
19518
19519         * tests/network-clock.scm: Commentary update.
19520
19521         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
19522         Didn't really make sense, not implementable with basetransform,
19523         etc.
19524         (gst_identity_transform): Unref inbuf via make_writable. Feeble
19525         attempt at implementing the sync property, needs an unlock method.
19526
19527         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
19528         New func, by default returns the same caps (the identity
19529         transformation).
19530         (gst_base_transform_getcaps): Uses transform_caps to return
19531         something sensible.
19532         (gst_base_transform_setcaps): Complicated logic to get caps on
19533         both pads, even if they are different, and to call set_caps once
19534         for every time both pads get their caps set.
19535         (gst_base_transform_handle_buffer): Give the ref to the transform
19536         function. Allows in-place modification of the buffer.
19537
19538         * gst/base/gstbasetransform.h (transform_caps): New class method.
19539         Given caps on one side, what can I do on the other.
19540         (set_caps): Take two caps, one for each side of the element.
19541
19542         * gst/gstpad.h:
19543         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
19544         caps in place. This is safe because we can check the mutability of
19545         the caps, and a good idea because fixate functions are just called
19546         as a matter of last resort. (Not actually implemented.)
19547         (gst_pad_set_caps): If the caps we're setting is actually the same
19548         as the existing pad caps, just update the pointer without calling
19549         setcaps. Assert that caps is either NULL or fixed, as per the
19550         docs.
19551
19552         * gst/gstghostpad.c: Update for fixate changes.
19553
19554 2005-07-02  Andy Wingo  <wingo@pobox.com>
19555
19556         * gst/gstcaps.c:
19557         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
19558         two refcounts makes it immutable, which is enough. Doc more.
19559
19560 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
19561
19562         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
19563           Put the mini_object into GValue as a mini_object,
19564           not a gpointer, since that's how we declared
19565           the signal.
19566
19567 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19568
19569         * examples/pwg/Makefile.am:
19570           Fix buildbot again.
19571
19572 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19573
19574         * docs/pwg/building-testapp.xml:
19575           Add extra check.
19576         * examples/pwg/Makefile.am:
19577           Fix buildbot.
19578
19579 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19580
19581         * configure.ac:
19582         * examples/Makefile.am:
19583         * examples/pwg/Makefile.am:
19584         * examples/pwg/extract.pl:
19585           Enable building the PWG examples.
19586         * docs/pwg/advanced-interfaces.xml:
19587           Add URI interface stub.
19588         * docs/pwg/advanced-types.xml:
19589         * docs/pwg/other-autoplugger.xml:
19590         * docs/pwg/appendix-porting.xml:
19591         * docs/pwg/pwg.xml:
19592           Add porting guide (mostly stubs), remove autoplugging (see ADM).
19593         * docs/pwg/building-boiler.xml:
19594         * docs/pwg/building-chainfn.xml:
19595         * docs/pwg/building-pads.xml:
19596         * docs/pwg/building-props.xml:
19597         * docs/pwg/building-state.xml:
19598         * docs/pwg/building-testapp.xml:
19599           Update the building-*.xml parts for 0.9 changes. All examples
19600           code blocks compile in examples/pwg/*.
19601
19602 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19603
19604         * docs/manual/advanced-autoplugging.xml:
19605         * docs/manual/appendix-checklist.xml:
19606         * docs/manual/appendix-integration.xml:
19607         * docs/manual/highlevel-components.xml:
19608           Fix playbin/decodebin examples, update docs a bit, mention bus
19609           instead of signals in various places, mention kmplayer and
19610           kaffeine since they have a working GStreamer backend in the KDE
19611           section.
19612
19613 2005-06-30  Wim Taymans  <wim@fluendo.com>
19614
19615         * CHANGES-0.9:
19616         * docs/design/draft-ghostpads.txt:
19617         * docs/design/draft-push-pull.txt:
19618         * docs/design/draft-query.txt:
19619         * docs/design/part-TODO.txt:
19620         * docs/design/part-query.txt:
19621         Added CHANGES-0.9 doc, updated status of other docs.
19622         
19623         * gst/gstquery.h:
19624         Remove "hmm" macro
19625
19626 2005-06-30  Wim Taymans  <wim@fluendo.com>
19627
19628         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19629         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19630         (gst_base_sink_change_state):
19631         * gst/base/gstbasesink.h:
19632         Some tweaks, only EOS and a buffer complete a preroll.
19633
19634 2005-06-30  Andy Wingo  <wingo@pobox.com>
19635
19636         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
19637         activate_push down to the internal pad as well.
19638
19639 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
19640
19641         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19642
19643         * gst/gsttaginterface.c:
19644           Some documentation fixes (#307394 and #307397).
19645
19646 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
19647
19648         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19649
19650         * gst/gstvalue.c: (gst_value_intersect_list):
19651           Fix memleak (#309125).
19652
19653 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19654
19655         * docs/manual/advanced-dataaccess.xml:
19656           Fix fakesrc example to compile; doesn't work, bug somewhere...?
19657         * docs/manual/basics-pads.xml:
19658           Add reference for filtered caps to above chapter.
19659
19660 2005-06-30  Wim Taymans  <wim@fluendo.com>
19661
19662         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
19663         (gst_bin_change_state):
19664         Probes are gone.
19665         Lame attempt at making the state change function a bit
19666         more readable.
19667
19668 2005-06-30  Wim Taymans  <wim@fluendo.com>
19669
19670         * docs/design/part-clocks.txt:
19671         * docs/design/part-element-sink.txt:
19672         * docs/design/part-events.txt:
19673         * docs/design/part-preroll.txt:
19674         * docs/design/part-states.txt:
19675         Some more tweeks and additions to the docs.
19676
19677 2005-06-30  Wim Taymans  <wim@fluendo.com>
19678
19679         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19680         (default_have_data), (gst_pad_class_init), (gst_pad_init),
19681         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19682         (gst_pad_check_pull_range), (gst_pad_get_range),
19683         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
19684         * gst/gstpad.h:
19685         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
19686         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19687         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19688         (gst_pad_remove_buffer_probe):
19689         Removed atomic operations, use existing LOCK.
19690         Move exception handling out of main code path.
19691
19692 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19693
19694         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19695         (silly_return_true_function), (gst_pad_class_init),
19696         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19697         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
19698         (gst_pad_send_event):
19699           Fix accumulator, add default value by using _emitv() instead
19700           of _emit() for signal emission.
19701
19702 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19703
19704         * docs/manual/advanced-dataaccess.xml:
19705         * examples/manual/Makefile.am:
19706           Add probe example.
19707         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
19708           Make work (??).
19709
19710 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
19711
19712         * gst/elements/gstfilesink.c: (gst_filesink_render):
19713           Simplify code so that we don't have to handle short
19714           writes and return GST_FLOW_ERROR if an error occured.
19715
19716 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19717
19718         * docs/gst/gstreamer-docs.sgml:
19719           Remove probes more.
19720
19721 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19722
19723         * docs/gst/gstreamer-sections.txt:
19724         * docs/gst/tmpl/gstpad.sgml:
19725         * docs/gst/tmpl/gstprobe.sgml:
19726         * gst/Makefile.am:
19727         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19728         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
19729         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
19730         (gst_pad_push_event), (gst_pad_send_event):
19731         * gst/gstpad.h:
19732         * gst/gstutils.c: (gst_pad_add_data_probe),
19733         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19734         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19735         (gst_pad_remove_buffer_probe):
19736         * gst/gstutils.h:
19737           Remove old probes, add new g-signal-based probes and some utility
19738           functions.
19739
19740 2005-06-29  Edward Hervey  <edward@fluendo.com>
19741
19742         * gst/gstelementfactory.c:
19743         * gst/gstutils.h:
19744         * gst/gstutils.c:
19745         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
19746         the definition to the header file.
19747
19748 2005-06-29  Andy Wingo  <wingo@pobox.com>
19749
19750         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
19751         plugins from the source directory.
19752
19753 2005-06-29  Wim Taymans  <wim@fluendo.com>
19754
19755         * docs/gst/tmpl/gstbuffer.sgml:
19756         * docs/gst/tmpl/gstclock.sgml:
19757         Some fixings for blantently wrong text.
19758
19759 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19760
19761         * check/Makefile.am:
19762         * gst/gst.c: (add_path_func), (init_pre):
19763         * gst/gstregistry.c: (gst_registry_add_path):
19764           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
19765           only scan the GST_PLUGIN_PATH locations, and not add
19766           system locations
19767
19768 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19769
19770         * docs/gst/gstreamer-sections.txt:
19771         * docs/gst/tmpl/gstbasesrc.sgml:
19772         * gst/gstelement.c:
19773         * gst/gstelement.h:
19774         * gst/gstevent.c:
19775         * gst/gstutils.c:
19776           doc fixes
19777
19778 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19779
19780         * docs/manual/advanced-autoplugging.xml:
19781           Fix autoplugging example.
19782
19783 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19784
19785         * docs/manual/advanced-autoplugging.xml:
19786         * docs/manual/mime-world.fig:
19787           Try to get autoplugging working, fix type detection. Fix text
19788           in hello-world image.
19789
19790 2005-06-29  Wim Taymans  <wim@fluendo.com>
19791
19792         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19793         (gst_base_sink_change_state):
19794         Small debug line.
19795
19796         * gst/gstclock.h:
19797         map SIGNAL and BROADCAST to the right function.
19798
19799         * gst/gstobject.h:
19800         Remove redundant braces.
19801
19802         * gst/gstpad.c: (gst_pad_set_caps):
19803         Don't call setcaps function when reseting caps to NULL.
19804
19805         * gst/gstsystemclock.c: (gst_system_clock_dispose),
19806         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
19807         (gst_system_clock_id_unschedule):
19808         Use BROADCAST as this is what we do.
19809
19810 2005-06-29  Wim Taymans  <wim@fluendo.com>
19811
19812         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19813         We are actually prerolling before commiting the state
19814         change. 
19815
19816 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19817
19818         * docs/manual/advanced-clocks.xml:
19819         * docs/manual/advanced-interfaces.xml:
19820         * docs/manual/advanced-metadata.xml:
19821         * docs/manual/advanced-position.xml:
19822         * docs/manual/advanced-schedulers.xml:
19823         * docs/manual/advanced-threads.xml:
19824         * docs/manual/appendix-porting.xml:
19825         * docs/manual/basics-bins.xml:
19826         * docs/manual/basics-bus.xml:
19827         * docs/manual/basics-elements.xml:
19828         * docs/manual/basics-helloworld.xml:
19829         * docs/manual/basics-pads.xml:
19830         * docs/manual/highlevel-components.xml:
19831         * docs/manual/manual.xml:
19832         * docs/manual/thread.fig:
19833           Update (until threads/scheduling) Application Development Manual;
19834           remove GstThread, add GstBus, add simple porting checklist, add
19835           documentation for tag writing, clocks, make all examples until this
19836           part compile and run.
19837         * examples/manual/Makefile.am:
19838           Update from changes to Application Development Manual; add bus
19839           example, remove thread example.
19840
19841 2005-06-28  Wim Taymans  <wim@fluendo.com>
19842
19843         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
19844         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
19845         (gst_bus_source_dispatch):
19846         Add debugging messages.
19847         Make internal methods static.
19848         Handle the case where the bus is flushed in the handler.
19849         
19850         * gst/gstelement.c: (gst_element_get_bus):
19851         Fix refcount in _get_bus();
19852
19853         * gst/gstpipeline.c: (gst_pipeline_change_state),
19854         (gst_pipeline_get_clock_func):
19855         Clock refcounting fixes.
19856         Handle the case where preroll timed out more gracefully.
19857         
19858         * gst/gstsystemclock.c: (gst_system_clock_dispose):
19859         Clean up the internal thread in dispose. This is needed
19860         for subclasses that actually get disposed.
19861         
19862         * gst/schedulers/threadscheduler.c:
19863         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19864         (gst_thread_scheduler_dispose):
19865         Free thread pool in dispose.
19866
19867 2005-06-28  Andy Wingo  <wingo@pobox.com>
19868
19869         * tests/network-clock-utils.scm (debug, print-event): New utils.
19870
19871         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
19872         (*packet-loss*): Unified loss probability.
19873         (network-time): Report out-of-band events.
19874
19875         * tests/plot-data: Add support for out-of-band events. Hack it
19876         into this script instead of passing it down the pipe; should fix
19877         this later.
19878
19879 2005-06-28  Wim Taymans  <wim@fluendo.com>
19880
19881         * docs/gst/gstreamer.types:
19882         * docs/gst/tmpl/gstbasesrc.sgml:
19883         * docs/gst/tmpl/gstpad.sgml:
19884         Docs fixes.
19885
19886 2005-06-28  Wim Taymans  <wim@fluendo.com>
19887
19888         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19889         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
19890         (gst_proxy_pad_do_fixatecaps):
19891         Correctly proxy the check_pull_range function.
19892
19893 2005-06-28  Andy Wingo  <wingo@pobox.com>
19894
19895         * tests/network-clock.scm: Removed need for slib.
19896         
19897 2005-06-28  Wim Taymans  <wim@fluendo.com>
19898
19899         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
19900         (gst_basesink_preroll_queue_flush):
19901         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
19902         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
19903         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19904         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
19905         (gst_proxy_pad_set_property):
19906         * gst/gstpad.c:
19907         * gst/gstpad.h:
19908         * gst/gstqueue.c: (gst_queue_init):
19909         The deprecated pad loop function is removed now.
19910
19911 2005-06-28  Andy Wingo  <wingo@pobox.com>
19912
19913         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
19914         New parameters, simulate network packet loss.
19915
19916         * tests/network-clock-utils.scm: Initialize the RNG.
19917
19918 2005-06-28  Wim Taymans  <wim@fluendo.com>
19919
19920         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
19921         (gst_basesink_event), (gst_basesink_deactivate):
19922         Flushing the preroll queue always needs to unlock the waiters.
19923
19924 2005-06-28  Edward Hervey  <edward@fluendo.com>
19925
19926         * gst/gstpipeline.c: (gst_pipeline_send_event): 
19927         Wheen a seek was successful on a pipeline, set the stream_time to the
19928         seek offset in order to have a synchronized stream_time.
19929
19930 2005-06-28  Wim Taymans  <wim@fluendo.com>
19931
19932         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19933         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
19934         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
19935         (gst_proxy_pad_do_fixatecaps):
19936         Call wrapper function instead of just calling the function
19937         pointers. This takes care of any locking and whatmore.
19938
19939 2005-06-28  Wim Taymans  <wim@fluendo.com>
19940
19941         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
19942         (gst_pad_pull_range):
19943         * gst/gstpad.h:
19944         CONNECTED -> LINKED.
19945
19946 2005-06-28  Andy Wingo  <wingo@pobox.com>
19947
19948         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
19949         source-munging commit!!!
19950
19951         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
19952         (gst_object_sink): Take gpointer arguments, not GstObject --
19953         avoids casts. Like GLib.
19954
19955         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
19956         activate.
19957
19958 2005-06-27  Andy Wingo  <wingo@pobox.com>
19959
19960         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
19961         remaining buffer.
19962
19963         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
19964         returns a sorted copy of the trace list.
19965         (gst_alloc_trace_print_live): New API, only prints traces with
19966         live objects. Sort the list.
19967         (gst_alloc_trace_print_all): Sort the list.
19968         (gst_alloc_trace_print): Align columns.
19969
19970         * gst/elements/gstttypefindelement.c:
19971         * gst/elements/gsttee.c:
19972         * gst/base/gstbasesrc.c:
19973         * gst/base/gstbasesink.c:
19974         * gst/base/gstbasetransform.c:
19975         * gst/gstqueue.c: Adapt for pad activation changes.
19976
19977         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
19978         sched.
19979         (gst_pipeline_dispose): Drop ref on sched.
19980
19981         * gst/gstpad.c (gst_pad_init): Set the default activate func.
19982         (gst_pad_activate_default): Push mode by default.
19983         (pre_activate_switch, post_activate_switch): New stubs, things to
19984         do before and after switching activation modes on pads.
19985         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
19986         the pad's activate function to choose which mode to activate.
19987         Shortcut on deactivation and call the right function directly.
19988         (gst_pad_activate_pull): New API, (de)activates a pad in pull
19989         mode.
19990         (gst_pad_activate_push): New API, same for push mode.
19991         (gst_pad_set_activate_function) 
19992         (gst_pad_set_activatepull_function) 
19993         (gst_pad_set_activatepush_function): Setters for new API.
19994
19995         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
19996         Trace all miniobjects.
19997         (gst_mini_object_make_writable): Unref the arg if we copy, like
19998         gst_caps_make_writable.
19999
20000         * gst/gstmessage.c (_gst_message_initialize): No trace init.
20001
20002         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
20003         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
20004         Adapt for new pad API.
20005
20006         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
20007
20008         * gst/gstelement.h:
20009         * gst/gstelement.c (gst_element_iterate_src_pads) 
20010         (gst_element_iterate_sink_pads): New API functions.
20011         
20012         * gst/gstelement.c (iterator_fold_with_resync): New utility,
20013         should fold into gstiterator.c in some form.
20014         (gst_element_pads_activate): Simplified via use of fold and
20015         delegation of decisions to gstpad->activate.
20016
20017         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
20018         help in debugging.
20019
20020         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
20021         class once in init, like gstmessage. Didn't run into this issue
20022         but it seems correct. Don't initialize a trace, gstminiobject does
20023         that.
20024
20025         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
20026         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
20027         to the bus.
20028         (assert_live_count): New util function, uses alloc traces to check
20029         cleanup.
20030
20031         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
20032         To be modified when unlink drops the internal pad.
20033
20034 2005-06-27  Wim Taymans  <wim@fluendo.com>
20035
20036         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
20037         (gst_bin_change_state):
20038         Cleanup the get_state() function a little, make sure it
20039         iterates the same set of elements.
20040         Added stub iterate_state_order().
20041
20042 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20043
20044         * docs/gst/gstreamer-docs.sgml:
20045         * docs/gst/gstreamer-sections.txt:
20046         * docs/gst/gstreamer.types:
20047         * docs/gst/tmpl/gstbasesink.sgml:
20048         * docs/gst/tmpl/gstbasesrc.sgml:
20049         * docs/gst/tmpl/gstbasetransform.sgml:
20050         * docs/gst/tmpl/gstelement.sgml:
20051         * docs/gst/tmpl/gstiterator.sgml:
20052         * gst/base/gstbasesrc.c:
20053         * gst/base/gstbasesrc.h:
20054         * gst/base/gstbasetransform.h:
20055         * gst/gstelement.c:
20056         * gst/gstiterator.h:
20057           adding basetransform and iterator docs
20058
20059 2005-06-27  Andy Wingo  <wingo@pobox.com>
20060
20061         * docs/design/part-activation.txt: Notes on how activation should
20062         work -- not quite implemented yet.
20063
20064 2005-06-25  Wim Taymans  <wim@fluendo.com>
20065
20066         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
20067         At least get the chain function correct, needs more
20068         fixing.
20069
20070 2005-06-25  Wim Taymans  <wim@fluendo.com>
20071
20072         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20073         (gst_basesink_handle_object), (gst_basesink_event),
20074         (gst_basesink_do_sync), (gst_basesink_handle_event),
20075         (gst_basesink_change_state):
20076         * gst/gsttask.h:
20077         Right, two problems here: ghostpads don't take locks and
20078         glib _rec_mutex_lock_full() with depth==0 still locks.
20079         Catch illegal locking and g_warn them.
20080
20081 2005-06-25  Wim Taymans  <wim@fluendo.com>
20082
20083         * check/states/sinks.c: (START_TEST), (gst_object_suite):
20084         Have to check for completion now...
20085
20086 2005-06-25  Wim Taymans  <wim@fluendo.com>
20087
20088         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20089         (gst_basesink_handle_object), (gst_basesink_event),
20090         (gst_basesink_do_sync), (gst_basesink_handle_event),
20091         (gst_basesink_change_state):
20092         * gst/gstpad.h:
20093         Unlock STREAM_LOCK whatever the recursion was.
20094
20095 2005-06-25  Wim Taymans  <wim@fluendo.com>
20096
20097         * gst/base/gstbasesink.c: (gst_basesink_set_property),
20098         (gst_basesink_preroll_queue_empty),
20099         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
20100         (gst_basesink_event), (gst_basesink_do_sync),
20101         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
20102         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
20103         (gst_basesink_change_state):
20104         Reworked the base sink, handle event and buffer serialisation
20105         correctly and removed possible deadlock.
20106         Handle EOS correctly.
20107
20108 2005-06-25  Wim Taymans  <wim@fluendo.com>
20109
20110         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
20111         (gst_pipeline_change_state):
20112         * tools/gst-launch.c: (check_intr), (event_loop), (main):
20113         Allow elements to post EOS in the state change function.
20114         Fix up -launch, make it exit the poll loop when the
20115         pipeline actually changed state.
20116         Fix up warning parsing in -launch.
20117
20118 2005-06-25  Wim Taymans  <wim@fluendo.com>
20119
20120         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
20121         (gst_tee_sink_activate):
20122         Core takes STREAM_LOCK for us now.
20123
20124 2005-06-25  Wim Taymans  <wim@fluendo.com>
20125
20126         * gst/gstelement.c: (gst_element_get_state_func),
20127         (gst_element_set_state):
20128         * gst/gstelement.h:
20129         * gst/gstmessage.c: (gst_message_parse_error),
20130         (gst_message_parse_warning):
20131         Keep track of current target state while performing a state
20132         change so that subclasses can do something interesting.
20133         Fix parsing of warning/error messages when GError is NULL.
20134
20135 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20136
20137         * docs/gst/Makefile.am:
20138         * docs/gst/gstreamer-docs.sgml:
20139         * docs/gst/gstreamer-sections.txt:
20140         * docs/gst/gstreamer.types:
20141         * docs/gst/tmpl/gstbasesink.sgml:
20142         * docs/gst/tmpl/gstbasesrc.sgml:
20143         * docs/gst/tmpl/gstbin.sgml:
20144         * docs/gst/tmpl/gstcompat.sgml:
20145         * docs/gst/tmpl/gstfakesink.sgml:
20146         * docs/gst/tmpl/gstfakesrc.sgml:
20147         * docs/gst/tmpl/gstfilesink.sgml:
20148         * docs/gst/tmpl/gstfilesrc.sgml:
20149         * docs/gst/tmpl/gstindex.sgml:
20150         * docs/manual/appendix-quotes.xml:
20151         * gst/base/gstbasesrc.h:
20152         * gst/elements/gstfakesrc.h:
20153         * gst/gstmessage.h:
20154           start pulling in base classes and elements in our docs
20155
20156 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
20157
20158         * docs/gst/Makefile.am:
20159         * docs/libs/Makefile.am:
20160           fixed make distcheck with gtk-doc 1.3
20161
20162 2005-06-23  Wim Taymans  <wim@fluendo.com>
20163
20164         * gst/gstelement.c: (gst_element_get_state_func),
20165         (gst_element_set_state), (gst_element_change_state):
20166         When the state did not change, also report NO_PREROLL
20167         when it matters.
20168
20169 2005-06-23  Wim Taymans  <wim@fluendo.com>
20170
20171         * gst/gstpad.c: (gst_pad_event_default):
20172         * gst/gstqueue.c: (gst_queue_loop):
20173         No unsafe task pausing please.
20174
20175 2005-06-23  Wim Taymans  <wim@fluendo.com>
20176
20177         * gst/schedulers/threadscheduler.c:
20178         (gst_thread_scheduler_task_start),
20179         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
20180         Ref the task before pushing it on the threadpool. This
20181         makes sure that we have a ref when the threadfunction is
20182         actually called.
20183
20184 2005-06-23  Andy Wingo  <wingo@pobox.com>
20185
20186         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
20187         offset is greater than the file's size.
20188
20189         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
20190         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
20191         * gst/gstobject.c (gst_object_class_init): Make the class lock
20192         recursive. Wim won't let me drop deep_notify. Decodebin works
20193         again, whoopdy doo.
20194
20195         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
20196         internal pad, and hacks accordingly. Doesn't do it on the target
20197         pad because we change its caps. Probably catches all cases of
20198         interest tho.
20199         (gst_ghost_pad_set_property): Connect to notify::caps as
20200         appropritate.
20201
20202         * tests/network-clock.scm (plot-simulation): Pipe data to the
20203         elite python skript.
20204
20205         * tests/network-clock-utils.scm (define-parameter): New macro,
20206         defines a parameter that can be set via the command line.
20207         (set-parameter!, parse-parameter-arguments): Command line args
20208         parser.
20209
20210         * tests/plot-data: Simple matplotlib-based plotter, takes input on
20211         stdin.
20212
20213 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
20214
20215         * gst/elements/gsttypefindelement.c:
20216         (gst_type_find_element_handle_event):
20217           Don't restart typefinding on a discont.
20218         * gst/gstelement.c: (gst_element_set_state):
20219           Debug spelling fix.
20220         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
20221           Allow changing mode of an active pad.
20222           Debug output fixes.
20223         * gst/registries/gstlibxmlregistry.c: (load_feature):
20224           Don't cast a static pad template to a normal pad template.
20225
20226 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20227
20228         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20229         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20230           remove gst_strtoll completely, since it didn't actually do
20231           anything more than what g_ascii_strtoull already does.
20232           check for range errors when deserializing
20233           do a cast for the unsigned cases; but further fixing needs
20234           a decision on what the interpretation of "(int)" and
20235           deserialization should be for values that fall outside the
20236           type's boundaries (ie, refuse, or interpret as casting)
20237
20238 2005-06-23  Wim Taymans  <wim@fluendo.com>
20239
20240         * check/Makefile.am:
20241         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
20242         * docs/design/part-live-source.txt:
20243         * docs/design/part-states.txt:
20244         * gst/base/gstbasesrc.c: (gst_basesrc_init),
20245         (gst_basesrc_set_live), (gst_basesrc_is_live),
20246         (gst_basesrc_get_range), (gst_basesrc_activate),
20247         (gst_basesrc_change_state):
20248         * gst/base/gstbasesrc.h:
20249         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20250         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
20251         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
20252         * gst/gstelement.c: (gst_element_get_state_func),
20253         (gst_element_set_state):
20254         * gst/gstelement.h:
20255         * gst/gsttypes.h:
20256         * tools/gst-launch.c: (event_loop), (main):
20257         Added support for live sources and other elements that
20258         cannot do preroll.
20259         Updated design docs, added live-source design doc.
20260         Implemented live source functionality in basesrc
20261         Fix error condition in _bin_get_state()
20262         Implement live source handling in -launch.
20263         Added check for live sources.
20264         Fixed case in GstBin where elements were changed state
20265         multiple times.
20266
20267
20268 2005-06-23  Andy Wingo  <wingo@pobox.com>
20269
20270         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
20271         borken refcounting.
20272
20273         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
20274         gst_caps_replace takes care of this for us.
20275
20276         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
20277         gst_pad_set_caps on the target, not just its setcaps() function.
20278
20279         * tests/network-clock.scm: 
20280         * tests/network-clock-utils.scm: A network clock simulator.
20281         Something of an algorithmic testbed before doing something in C.
20282
20283 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20284
20285         * check/Makefile.am:
20286         * check/gst/capslist.h:
20287           copy over from 0.8, and add two with bitmasks specified with
20288           (int) 0xFF...
20289         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20290           add test to parse everything from capslist.h
20291         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
20292         (main):
20293           add test for structure deserialization
20294         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20295           add tests for deserialization of strings to int types
20296         * gst/gststructure.c: (gst_structure_nth_field_name):
20297         * gst/gststructure.h:
20298           add a way to get the name of a field referenced by index
20299         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20300           instead of checking if the resulting long long lies between
20301           min and max, we check if the long long would fit into
20302           a number of bytes for the final type.
20303           This fixes cases where a string represents 2^32 - 1, which
20304           when cast to int would be the (valid) -1, but is bigger than
20305           G_MAXINT
20306
20307 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20308
20309         * gst/parse/grammar.y:
20310           add a log line for type deserialization
20311
20312 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20313
20314         * check/gst/gstvalue.c: (START_TEST):
20315         * gst/gstvalue.c: (gst_value_deserialize):
20316           return long long, not int, so gint64 deserialization actually
20317           works.  Is there any flag that makes the compiler check this ?
20318           Fixes #308559
20319
20320 2005-06-22  Wim Taymans  <wim@fluendo.com>
20321
20322         * gst/gstbuffer.h:
20323         Added convenience macros for setting buffers in GValue.
20324
20325 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20326
20327         * check/gst/.cvsignore:
20328         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20329           add a test deserializing int64, and comment part out because
20330           it fails, yay !
20331
20332 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20333
20334         * check/Makefile.am:
20335         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
20336         * testsuite/Makefile.am:
20337         * testsuite/caps/Makefile.am:
20338         * testsuite/caps/value_serialize.c:
20339         * testsuite/test_gst_init.c:
20340           move a value_serialize test over
20341
20342 2005-06-20  Wim Taymans  <wim@fluendo.com>
20343
20344         * gst/gstpad.c:
20345         Small doc updates.
20346         
20347         * gst/gstvalue.c: (gst_value_compare_buffer),
20348         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
20349         (gst_value_compare_flags), (gst_value_serialize_flags),
20350         (gst_value_deserialize_flags), (_gst_value_initialize):
20351         Fix serialisation of buffers, they are not boxed types anymore
20352
20353 2005-06-20  Wim Taymans  <wim@fluendo.com>
20354
20355         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20356         Testcase to show error in buffer-on-caps serialisation.
20357
20358 2005-06-20  Andy Wingo  <wingo@pobox.com>
20359
20360         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
20361         will be adding to later.
20362
20363         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
20364         if its socks fill with rocks.
20365         (gst_system_clock_obtain): Set the name on object construction.
20366         Avoid double-checked locking.
20367
20368 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
20369
20370         * gst/gsturi.c: (gst_element_make_from_uri):
20371           Fix potential endless loop.
20372
20373 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20374
20375         * check/Makefile.am:
20376           add gsttag
20377         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
20378         (main):
20379           move over from testsuite dir and clean up
20380         * configure.ac:
20381         * gst/gsttag.c:
20382         * testsuite/Makefile.am:
20383         * testsuite/tags/.cvsignore:
20384         * testsuite/tags/Makefile.am:
20385         * testsuite/tags/merge.c:
20386           remove testsuite/tags
20387
20388 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20389
20390         * docs/gst/gstreamer-sections.txt:
20391         * docs/gst/tmpl/gstenumtypes.sgml:
20392         * win32/gstenumtypes.c:
20393           clean up documentation build a little
20394
20395 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20396
20397         * check/gstcheck.h:
20398           add macros for checking refcounts on objects and caps
20399         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
20400           add some more unit tests
20401         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20402         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
20403           fix leaked refcounts (I hope :)) so unittest works
20404         * gst/gstpad.h:
20405           whitespace removal
20406
20407 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20408
20409         * configure.ac: back to HEAD
20410
20411 === release 0.9.1 ===
20412
20413 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20414
20415         * NEWS:
20416         * RELEASE:
20417           updated
20418
20419 2005-06-17  Andy Wingo  <wingo@pobox.com>
20420
20421         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
20422         assert; it's always possible that the pad gets deactivated in
20423         between the checks in gstpad.c and the implementation. Rely on
20424         finish_preroll() to return a FLUSHING or similar instead of on the
20425         assert.
20426         
20427         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
20428         clock and post an EOS message if we come out of finish_preroll in
20429         the playing state.
20430
20431 2005-06-16  David Schleef  <ds@schleef.org>
20432
20433         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20434         (gst_capsfilter_set_property): Allow NULL as possible value
20435         for filter_caps property, indicating GST_CAPS_ANY.
20436
20437 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20438
20439         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
20440           fix debug output
20441         * gst/schedulers/Makefile.am:
20442           use libgst prefix
20443         * gstreamer.spec.in:
20444           fix spec for it
20445
20446 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20447
20448         * gstreamer.spec.in:
20449           clean up
20450
20451 2005-06-08  Andy Wingo  <wingo@pobox.com>
20452
20453         * gst/gstutils.c: RPAD fixes all around.
20454         (gst_element_link_pads): Refcounting fixes.
20455
20456         * tools/gst-inspect.c:
20457         * tools/gst-xmlinspect.c:
20458         * parse/grammar.y:
20459         * gst/base/gsttypefindhelper.c:
20460         * gst/base/gstbasesink.c:
20461         * gst/gstqueue.c: RPAD fixes.
20462
20463         * gst/gstghostpad.h:
20464         * gst/gstghostpad.c: New ghost pad implementation as full proxy
20465         pads. The tricky thing is they provide both source and sink
20466         interfaces, since they proxy the internal pad for the external
20467         pad, and vice versa. Implement with lower-level ProxyPad objects,
20468         with the interior proxy pad as a child of the exterior ghost pad.
20469         Should write a doc on this.
20470         
20471         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
20472         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
20473         gst_object API.
20474         
20475         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
20476         pads are real pads. No ghost pads in this file. Not documenting
20477         the myriad s/RPAD/PAD/ and REALIZE fixes.
20478         (gst_pad_class_init): Add properties for "direction" and
20479         "template". Both are construct-only, so they can't change during
20480         the life of the pad. Fixes properly deriving from GstPad.
20481         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
20482         derived objects, just set properties when creating the objects via
20483         g_object_new.
20484         (gst_pad_get_parent): Implement as a function, return NULL if the
20485         parent is not an element.
20486         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
20487         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
20488         
20489         * gst/gstobject.c (gst_object_class_init): Make name a construct
20490         property. Don't set it in the object init.
20491
20492         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
20493         with UNKNOWN direction.
20494         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
20495         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
20496         (gst_element_remove_pad): Remove ghost-pad special cases.
20497         (gst_element_pads_activate): Remove rpad cruft.
20498
20499         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
20500         catch the pad's-parent-not-an-element case.
20501
20502         * gst/gst.h: Include gstghostpad.h.
20503
20504         * gst/gst.c (init_post): No more real, ghost pads.
20505
20506         * gst/Makefile.am: Add gstghostpad.[ch].
20507
20508         * check/Makefile.am:
20509         * check/gst/gstbin.c:
20510         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
20511         into a bin creates ghost pads, and that the refcounts are right.
20512         Partly moved from gstbin.c.
20513
20514 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20515
20516         * check/gst-libs/.cvsignore:
20517         * check/gst/.cvsignore:
20518         * check/pipelines/.cvsignore:
20519           ignore more
20520         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
20521         (START_TEST), (cleanup_suite), (main):
20522           add some tests related to cleanup after running pipelines
20523
20524 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20525
20526         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
20527           add a testsuite for GstBuffer
20528
20529 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20530
20531         * gst/gstminiobject.h:
20532           add defines for accessing the refcount
20533
20534 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
20535
20536         * Makefile.am: added support for html unit test coverage reports
20537
20538 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
20539
20540         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20541           Free existing caps if the capsfilter changes. Add a FIXME about
20542           setting those caps on the pads.
20543
20544         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
20545           Before adding a ghost pad to a parent bin, check that there isn't
20546           already one for the element on the bin. Prevents infinite recursion
20547           when using decodebin in parse pipelines. Andy says he'll rewrite the
20548           way this works anyway, so ignore the hack.
20549
20550 2005-06-02  Andy Wingo  <wingo@pobox.com>
20551
20552         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
20553         file size, pass it on to the type find helper.
20554
20555         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
20556         segment_start and segment_end properly according to the seek
20557         method. Segment_end is still a bit flaky because offset can be
20558         negative for CUR and END cases, but it takes -1 as an "unset"
20559         value.
20560
20561 2005-06-02  Wim Taymans  <wim@fluendo.com>
20562
20563         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
20564         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
20565         (gst_basesink_activate):
20566         * gst/base/gstbasesink.h:
20567         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20568         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20569         (gst_pad_query), (gst_pad_start_task):
20570         * gst/gstpad.h:
20571         * gst/gstqueue.c: (gst_queue_bufferalloc),
20572         (gst_queue_handle_sink_event), (gst_queue_chain):
20573         Bufferalloc: return GstFlowReturn to more accuratly report
20574         why allocation failed.
20575
20576 2005-06-02  Wim Taymans  <wim@fluendo.com>
20577
20578         * gst/gstpipeline.c: (gst_pipeline_send_event):
20579         Take snapshot of state without blocking.
20580
20581 2005-06-02  Wim Taymans  <wim@fluendo.com>
20582
20583         * docs/design/part-TODO.txt:
20584         * docs/design/part-caps.txt:
20585         * docs/design/part-clocks.txt:
20586         * docs/design/part-negotiation.txt:
20587         * docs/design/part-preroll.txt:
20588         Small doc updates 
20589
20590 2005-05-30  Wim Taymans  <wim@fluendo.com>
20591
20592         * gst/elements/gstidentity.c: (gst_identity_event),
20593         (gst_identity_transform), (gst_identity_get_property):
20594         Protect last_message property as it is accessed from
20595         multiple threads.
20596
20597 2005-05-30  Wim Taymans  <wim@fluendo.com>
20598
20599         * gst/gstelement.c: (gst_element_init),
20600         (gst_element_pads_activate), (gst_element_change_state):
20601         Slicker pad activation code.
20602
20603 2005-05-30  Wim Taymans  <wim@fluendo.com>
20604
20605         * gst/Makefile.am:
20606         * gst/gstelement.h:
20607         * gst/gstelementfactory.h:
20608         * gst/gsttypes.h:
20609         Move elementfactory methods to separate .h file.
20610
20611 2005-05-30  Wim Taymans  <wim@fluendo.com>
20612
20613         * docs/design/part-overview.txt:
20614         * gst/gstsystemclock.h:
20615         Small typo fixes, doc updates.
20616
20617 2005-05-30  Wim Taymans  <wim@fluendo.com>
20618
20619         * gst/gst.c: (gst_init_get_popt_table), (init_post),
20620         (init_popt_callback):
20621         Remove cpu-opt flag.
20622
20623 2005-05-30  Wim Taymans  <wim@fluendo.com>
20624
20625         * gst/gstbuffer.c: (gst_subbuffer_finalize),
20626         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
20627         * gst/gstbuffer.h:
20628         Avoid typechecking in places where not needed.
20629         Added accessor for malloc_data.
20630
20631 2005-05-30  Wim Taymans  <wim@fluendo.com>
20632
20633         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
20634         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
20635         (gst_pad_configure_sink), (gst_pad_configure_src),
20636         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
20637         (gst_pad_start_task):
20638         Propagate errors from _set_caps() in configure_src/sink
20639         functions instead of returning TRUE.
20640         FLUSH events can travel up and downstream
20641
20642
20643 2005-05-30  Wim Taymans  <wim@fluendo.com>
20644
20645         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20646         (gst_basesink_activate):
20647         Handle EOS in preroll.
20648
20649 2005-05-30  Wim Taymans  <wim@fluendo.com>
20650
20651         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20652         (gst_queue_loop), (gst_queue_handle_src_event):
20653         Remove old pieces of code
20654         Flushing the queue in an upstream event is a very bad idea.
20655
20656 2005-05-26  Andy Wingo  <wingo@pobox.com>
20657
20658         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
20659         gst_value_set_mini_object so as to add a ref on the object (which
20660         will be removed when the value is unset).
20661
20662         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
20663         arg type in ::handoff.
20664
20665         * gst/gstelement.c (gst_element_change_state): Also deactivate
20666         pads in READY->NULL, just in case the element didn't make it to
20667         PAUSED. Wingo tested, Wim approved.
20668
20669 2005-05-26  Wim Taymans  <wim@fluendo.com>
20670
20671         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20672         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20673         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
20674         A flushing pad cannot be used to alloc_buffer from.
20675
20676 2005-05-26  Wim Taymans  <wim@fluendo.com>
20677
20678         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
20679         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
20680         (gst_bus_source_dispatch), (gst_bus_source_finalize),
20681         (gst_bus_create_watch), (gst_bus_add_watch_full):
20682         * gst/gstbus.h:
20683         Implement a real GSource and use g_main_context_wakeup() to
20684         signal new messages instead of the socketpair.
20685
20686 2005-05-25  Wim Taymans  <wim@fluendo.com>
20687
20688         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
20689         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
20690         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20691         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20692         (gst_pad_send_event), (gst_pad_start_task):
20693         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
20694         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20695         (gst_queue_sink_activate), (gst_queue_src_activate),
20696         (gst_queue_change_state):
20697         * gst/gstqueue.h:
20698         Fix state changes for non sinks. We now change sinks, then elements
20699         with unconnected srcpads, then the rest.
20700         More efficient queue unlocking in flush and state changes.
20701         Set the pad activate mode even if it does not have an activate
20702         function.
20703
20704 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20705
20706         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
20707           Don't go in pull mode for non-seekable sources.
20708         * gst/elements/gsttypefindelement.h:
20709         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
20710         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
20711         (free_entry), (stop_typefinding),
20712         (gst_type_find_element_handle_event), (find_peek),
20713         (gst_type_find_element_chain), (do_pull_typefind),
20714         (gst_type_find_element_change_state):
20715           Allow typefinding (w/o seeking) in push-mode, simplified version
20716           of what was in 0.8.
20717         * gst/gstutils.c: (gst_buffer_join):
20718         * gst/gstutils.h:
20719           gst_buffer_join() from 0.8.
20720
20721 2005-05-25  Wim Taymans  <wim@fluendo.com>
20722
20723         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20724         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20725         (gst_pad_send_event), (gst_pad_start_task):
20726         Disable attempt at mode switching until it is figured out.
20727
20728 2005-05-25  Wim Taymans  <wim@fluendo.com>
20729
20730         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
20731         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20732         (gst_basesink_finish_preroll), (gst_basesink_chain),
20733         (gst_basesink_loop), (gst_basesink_activate),
20734         (gst_basesink_change_state):
20735         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
20736         (gst_basesrc_get_range), (gst_basesrc_loop),
20737         (gst_basesrc_activate):
20738         * gst/elements/gsttee.c: (gst_tee_sink_activate):
20739         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20740         (gst_real_pad_init), (gst_real_pad_set_property),
20741         (gst_real_pad_get_property), (gst_pad_set_active),
20742         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
20743         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
20744         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
20745         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
20746         (gst_pad_event_default_dispatch), (gst_pad_event_default),
20747         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
20748         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
20749         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20750         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
20751         (gst_pad_stop_task):
20752         * gst/gstpad.h:
20753         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20754         (gst_queue_loop), (gst_queue_src_activate):
20755         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
20756         (gst_task_get_state):
20757         * gst/gsttask.h:
20758         * gst/schedulers/threadscheduler.c:
20759         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
20760         Implement gst_pad_pause/start/stop_task(), take STREAM lock
20761         in task function.
20762         Remove ACTIVE pad flag, use FLUSHING everywhere
20763         Added _pad_chain(), _pad_get_range() to call chain/getrange 
20764         functions.
20765         Add locks around IS_FLUSHING when reading.
20766         Take STREAM lock in chain(), get_range() functions so plugins
20767         don't need to take it anymore.
20768         
20769
20770
20771 2005-05-25  Wim Taymans  <wim@fluendo.com>
20772
20773         * tools/gst-launch.c: (event_loop):
20774         Unref message after using its contents instead of
20775         before.
20776
20777 2005-05-24  Wim Taymans  <wim@fluendo.com>
20778
20779         * docs/design/draft-ghostpads.txt:
20780         * docs/design/draft-push-pull.txt:
20781         * docs/design/draft-query.txt:
20782         * docs/design/part-overview.txt:
20783         Docs updates, added general overview doc.
20784
20785 2005-05-21  David Schleef  <ds@schleef.org>
20786
20787         * docs/gst/tmpl/old/GstBin.sgml:
20788         * docs/gst/tmpl/old/GstBuffer.sgml:
20789         * docs/gst/tmpl/old/GstCaps.sgml:
20790         * docs/gst/tmpl/old/GstClock.sgml:
20791         * docs/gst/tmpl/old/GstCompat.sgml:
20792         * docs/gst/tmpl/old/GstData.sgml:
20793         * docs/gst/tmpl/old/GstElement.sgml:
20794         * docs/gst/tmpl/old/GstEvent.sgml:
20795         * docs/gst/tmpl/old/GstIndex.sgml:
20796         * docs/gst/tmpl/old/GstStructure.sgml:
20797         * docs/gst/tmpl/old/GstTag.sgml:
20798         * docs/gst/tmpl/old/cothreads.sgml:
20799         * docs/gst/tmpl/old/cothreads_compat.sgml:
20800         * docs/gst/tmpl/old/gettext.sgml:
20801         * docs/gst/tmpl/old/gobject2gtk.sgml:
20802         * docs/gst/tmpl/old/grammar.tab.sgml:
20803         * docs/gst/tmpl/old/gst-i18n-app.sgml:
20804         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
20805         * docs/gst/tmpl/old/gst_private.sgml:
20806         * docs/gst/tmpl/old/gstaggregator.sgml:
20807         * docs/gst/tmpl/old/gstarch.sgml:
20808         * docs/gst/tmpl/old/gstatomic_impl.sgml:
20809         * docs/gst/tmpl/old/gstbufferstore.sgml:
20810         * docs/gst/tmpl/old/gstdata_private.sgml:
20811         * docs/gst/tmpl/old/gstdisksink.sgml:
20812         * docs/gst/tmpl/old/gstdisksrc.sgml:
20813         * docs/gst/tmpl/old/gstelementfactory.sgml:
20814         * docs/gst/tmpl/old/gstextratypes.sgml:
20815         * docs/gst/tmpl/old/gstfakesink.sgml:
20816         * docs/gst/tmpl/old/gstfakesrc.sgml:
20817         * docs/gst/tmpl/old/gstfdsink.sgml:
20818         * docs/gst/tmpl/old/gstfdsrc.sgml:
20819         * docs/gst/tmpl/old/gstfilesink.sgml:
20820         * docs/gst/tmpl/old/gstfilesrc.sgml:
20821         * docs/gst/tmpl/old/gsthttpsrc.sgml:
20822         * docs/gst/tmpl/old/gstidentity.sgml:
20823         * docs/gst/tmpl/old/gstindexfactory.sgml:
20824         * docs/gst/tmpl/old/gstmarshal.sgml:
20825         * docs/gst/tmpl/old/gstmd5sink.sgml:
20826         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
20827         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
20828         * docs/gst/tmpl/old/gstpadtemplate.sgml:
20829         * docs/gst/tmpl/old/gstpipefilter.sgml:
20830         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
20831         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
20832         * docs/gst/tmpl/old/gstshaper.sgml:
20833         * docs/gst/tmpl/old/gstspider.sgml:
20834         * docs/gst/tmpl/old/gstspideridentity.sgml:
20835         * docs/gst/tmpl/old/gststatistics.sgml:
20836         * docs/gst/tmpl/old/gsttee.sgml:
20837         * docs/gst/tmpl/old/gsttimecache.sgml:
20838         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
20839         * docs/gst/tmpl/old/gstxmlregistry.sgml:
20840         * docs/gst/tmpl/old/gthread-cothreads.sgml:
20841         * docs/gst/tmpl/old/types.sgml:
20842           I didn't intend to add these or check them in.
20843
20844 2005-05-19  David Schleef  <ds@schleef.org>
20845
20846         * configure.ac: Use -no-common everywhere.  In a sane world, it
20847           would be the default in libtool, because without it, you can't
20848           build DLLs on Windows.
20849         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
20850         * docs/gst/gstreamer-sections.txt:
20851         * docs/gst/tmpl/gstcpu.sgml:
20852         * docs/gst/tmpl/gstdata.sgml:
20853         * docs/gst/tmpl/gstthread.sgml:
20854
20855 2005-05-19  David Schleef  <ds@schleef.org>
20856
20857         * gst/gstminiobject.c: (gst_value_set_mini_object),
20858         (gst_value_take_mini_object), (gst_value_get_mini_object):
20859         * gst/gstminiobject.h: Add GValue set/get functions.
20860
20861 2005-05-19  Wim Taymans  <wim@fluendo.com>
20862
20863         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
20864         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
20865         (gst_subbuffer_init), (gst_buffer_is_span_fast):
20866         * gst/gstbuffer.h:
20867         * gst/gstbus.c: (gst_bus_post):
20868         * gst/gstelement.c: (gst_element_get_random_pad):
20869         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
20870         Make subbufer unref the parent in finalize.
20871         some more debugging info.
20872
20873
20874 2005-05-19  Wim Taymans  <wim@fluendo.com>
20875
20876         * gst/base/gstbasesink.c: (gst_basesink_class_init),
20877         (gst_basesink_init), (gst_basesink_finalize),
20878         (gst_basesink_activate), (gst_basesink_change_state):
20879         Don't free preroll queue too early.
20880
20881 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20882
20883         * gst/Makefile.am:
20884         * gst/ROADMAP:
20885           Hi, I'm outdated. Please shoot me.
20886
20887 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20888
20889         * gst/gstpipeline.c: (gst_pipeline_send_event):
20890           Do not access variables after they have been deleted.
20891
20892 2005-05-19  Wim Taymans  <wim@fluendo.com>
20893
20894         * tools/gst-inspect.c: (print_plugin_features):
20895         A plugin feature does unfortunatly not use the
20896         object name yet...
20897
20898 2005-05-18  Wim Taymans  <wim@fluendo.com>
20899
20900         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
20901         Port _span() functions to new subbuffers.
20902
20903 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20904
20905         * gst/gstbin.c: (gst_bin_add_func):
20906           Fix clock settery in bins when adding kids after the clock has
20907           been selected.
20908
20909 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20910
20911         * gst/elements/gstidentity.c: (gst_identity_class_init):
20912           Workaround until signals support GstMiniObject.
20913
20914 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
20915
20916         * gst/gstbuffer.c:
20917         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
20918
20919 2005-05-18  Wim Taymans  <wim@fluendo.com>
20920
20921         * gst/base/Makefile.am:
20922         * gst/base/gstadapter.c: (gst_adapter_base_init),
20923         (gst_adapter_class_init), (gst_adapter_init),
20924         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
20925         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
20926         (gst_adapter_flush), (gst_adapter_available),
20927         (gst_adapter_available_fast):
20928         * gst/base/gstadapter.h:
20929         Ported and added adapter to the base classes.
20930
20931 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
20932
20933         * gst/gst.c:
20934         * gst/gstmessage.c:
20935           Make sure the class is reffed/unreffed once before threads can be
20936           used.  Fixes #304551.
20937
20938 2005-05-17  Wim Taymans  <wim@fluendo.com>
20939
20940         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
20941         (gst_basesink_chain_unlocked), (gst_basesink_activate):
20942         * gst/gstminiobject.c: (gst_mini_object_get_type),
20943         (gst_mini_object_free):
20944         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
20945         (gst_pad_push), (gst_pad_push_event):
20946         * gst/gstqueue.c: (gst_queue_change_state):
20947         Don't queue buffers in basesink when we are flushing.
20948         Unref buffer when flushing in basesink.
20949         Flush queue when going to READY
20950         Unref buffer when _push() returns an error.
20951         Don't free MiniObject instance when refcount is incremented
20952         in _finalize() so that we can recover objects.
20953
20954 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20955
20956         * docs/manual/advanced-schedulers.xml:
20957         * docs/manual/appendix-checklist.xml:
20958         * docs/pwg/advanced-clock.xml:
20959         * docs/pwg/advanced-interfaces.xml:
20960         * docs/pwg/advanced-request.xml:
20961         * docs/pwg/advanced-types.xml:
20962         * docs/pwg/intro-preface.xml:
20963         * examples/plugins/example.c: (gst_example_get_type),
20964         (gst_example_class_init), (gst_example_chain),
20965         (gst_example_set_property), (gst_example_get_property),
20966         (gst_example_change_state), (plugin_init):
20967         * examples/plugins/example.h:
20968           small doc fixes
20969
20970 2005-05-17  Wim Taymans  <wim@fluendo.com>
20971
20972         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
20973         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
20974         * gst/gstqueue.c: (gst_queue_change_state):
20975         Clear queue when going to READY.
20976         Remove IN_SETCAPS flag too.
20977
20978 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
20979
20980         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
20981           Remove implicit cast from gboolean to GstElementStateReturn;
20982           make sure we still return failure in paused => ready case if
20983           the parent class fails to change state and our own stop 
20984           vfunc succeeds.
20985
20986 2005-05-17  Wim Taymans  <wim@fluendo.com>
20987
20988         * tools/gst-launch.c: (event_loop):
20989         Message was unreffed too soon.
20990
20991 2005-05-16  Andy Wingo  <wingo@pobox.com>
20992
20993         * gst/gstbin.c (sink_iterator_filter): Err... um...
20994
20995         * check/gst/gstbin.c (test_ghost_pads): New test for the
20996         ghosting-if-elements-not-in-same-bin behavior.
20997
20998 2005-05-16  David Schleef  <ds@schleef.org>
20999
21000         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
21001         accessing refcount directly.
21002
21003 2005-05-15  David Schleef  <ds@schleef.org>
21004
21005         * check/Makefile.am: remove GstData checks
21006         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
21007         * gst/Makefile.am: add miniobject, remove data
21008         * gst/gst.h: add miniobject, remove data
21009         * gst/gstdata.c: remove
21010         * gst/gstdata.h: remove
21011         * gst/gstdata_private.h: remove
21012         * gst/gsttypes.h: remove GstEvent and GstMessage
21013         * gst/gstelement.c: (gst_element_post_message): fix for API changes
21014         * gst/gstmarshal.list: change BOXED -> OBJECT
21015
21016         Implement GstMiniObject.
21017         * gst/gstminiobject.c:
21018         * gst/gstminiobject.h:
21019
21020         Modify to be subclasses of GstMiniObject.
21021         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
21022         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
21023         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
21024         (gst_subbuffer_get_type), (gst_subbuffer_init),
21025         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
21026         (gst_buffer_span):
21027         * gst/gstbuffer.h:
21028         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
21029         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
21030         (_gst_event_copy), (gst_event_new):
21031         * gst/gstevent.h:
21032         * gst/gstmessage.c: (_gst_message_initialize),
21033         (gst_message_get_type), (gst_message_class_init),
21034         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
21035         (gst_message_new), (gst_message_new_error),
21036         (gst_message_new_warning), (gst_message_new_tag),
21037         (gst_message_new_state_changed), (gst_message_new_application):
21038         * gst/gstmessage.h:
21039         * gst/gstprobe.c: (gst_probe_perform),
21040         (gst_probe_dispatcher_dispatch):
21041         * gst/gstprobe.h:
21042         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
21043         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
21044         (_gst_query_copy), (gst_query_new):
21045
21046         Update elements for GstData -> GstMiniObject changes
21047         * gst/gstquery.h:
21048         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
21049         (gst_queue_chain), (gst_queue_loop):
21050         * gst/elements/gstbufferstore.c:
21051         (gst_buffer_store_add_buffer_func),
21052         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
21053         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21054         (gst_fakesink_render):
21055         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
21056         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
21057         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
21058         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
21059         (gst_filesrc_create_read):
21060         * gst/elements/gstidentity.c: (gst_identity_class_init):
21061         * gst/elements/gsttypefindelement.c:
21062         (gst_type_find_element_src_event), (free_entry_buffers),
21063         (gst_type_find_element_handle_event):
21064         * libs/gst/dataprotocol/dataprotocol.c:
21065         (gst_dp_header_from_buffer):
21066         * libs/gst/dataprotocol/dataprotocol.h:
21067         * libs/gst/dataprotocol/dp-private.h:
21068
21069 2005-05-15  David Schleef  <ds@schleef.org>
21070
21071         * gst/elements/gstelements.c: Don't include headers that were
21072         just removed.
21073
21074 2005-05-15  David Schleef  <ds@schleef.org>
21075
21076         * gst/elements/Makefile.am: Remove some elements that don't
21077         need to be in the core (or even exist at all).
21078         * gst/elements/gstaggregator.c:
21079         * gst/elements/gstaggregator.h:
21080         * gst/elements/gstmd5sink.c:
21081         * gst/elements/gstmd5sink.h:
21082         * gst/elements/gstmultifilesrc.c:
21083         * gst/elements/gstmultifilesrc.h:
21084         * gst/elements/gstpipefilter.c:
21085         * gst/elements/gstpipefilter.h:
21086         * gst/elements/gstshaper.c:
21087         * gst/elements/gstshaper.h:
21088         * gst/elements/gststatistics.c:
21089         * gst/elements/gststatistics.h:
21090         * po/POTFILES.in: Remove above files.
21091
21092 2005-05-14  Andy Wingo  <wingo@pobox.com>
21093
21094         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
21095         so as to get the refs right.
21096         (sink_iterator_filter): New function, wraps bin_element_is_sink,
21097         unreffing objects that don't pass the filter.
21098
21099         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
21100         gst_element_set_bus.
21101         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
21102         normal cases, this will destroy the bus.
21103
21104         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
21105         object.
21106
21107         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
21108         has no sinks.
21109
21110 2005-05-13  Andy Wingo  <wingo@pobox.com>
21111
21112         * gst/gstutils.c (gst_element_link_pads): Instead of calling
21113         gst_pad_link, call pad_link_maybe_ghosting,
21114         (pad_link_maybe_ghosting): Links pads, making sure that the
21115         elements being linked are in the same bin.
21116         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
21117         Helpers for pad_link_maybe_ghosting.
21118
21119 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
21120
21121         * configure.ac:
21122           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
21123
21124 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
21125
21126         * docs/design/part-element-source.txt:
21127           Mention GstPushSrc
21128
21129 2005-05-12  Wim Taymans  <wim@fluendo.com>
21130
21131         * gst/base/gstbasesink.c: (gst_basesink_init),
21132         (gst_basesink_activate):
21133         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
21134         (gst_basesrc_is_seekable):
21135         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21136         (bin_element_is_sink), (gst_bin_change_state):
21137         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21138         * gst/gstelement.h:
21139         Identify sinks by their flag to avoid overly complicated
21140         checks (fow now).
21141         Do state changes even for elements not reachable from the
21142         sinks.
21143         BaseSink is a sink now :)
21144         Some more debugging info in the basesrc.
21145
21146
21147 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21148
21149         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
21150           Implement _query on a bin, similar to _send_event.
21151
21152 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
21153
21154         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
21155           Discont event offset format should be GST_FORMAT_BYTES,
21156           not GST_FORMAT_TIME.
21157
21158 2005-05-12  Wim Taymans  <wim@fluendo.com>
21159
21160         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
21161         Same fix as Ronald's but without the signal. 
21162
21163 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21164
21165         * gst/gstutils.c: (gst_element_query_position):
21166           No, an element is not a pad.
21167
21168 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21169
21170         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
21171         (gst_bin_get_state):
21172           If a child is removed from a bin while we remove the child from
21173           the bin and while we're retrieving its state, signal this to the
21174           get_state function so we abort the wait (instead of waiting for
21175           a timeout) and can immediately re-iterate over all other elements.
21176
21177 2005-05-12  Wim Taymans  <wim@fluendo.com>
21178
21179         * gst/base/Makefile.am:
21180         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
21181         (gst_basesrc_start):
21182         * gst/base/gstbasesrc.h:
21183         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
21184         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
21185         (gst_pushsrc_init), (gst_pushsrc_create):
21186         * gst/base/gstpushsrc.h:
21187         Added is_seekable to BaseSrc
21188         Added simple PushSrc.
21189
21190 2005-05-11  Wim Taymans  <wim@fluendo.com>
21191
21192         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21193         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21194         (gst_element_link_pads), (gst_element_query_position),
21195         (gst_element_query_convert), (intersect_caps_func),
21196         (gst_pad_query_position), (gst_pad_query_convert):
21197         Fix refcounting in utils function.
21198         No point in trying to activate a pad when it's added, it could
21199         be added from the state change function and then we deadlock, the
21200         element has to decide what to do.
21201
21202 2005-05-10  Andy Wingo  <wingo@pobox.com>
21203
21204         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
21205         *all* the arguments.
21206
21207         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
21208         stream lock if it's a FLUSH_DONE; normal flushes don't get the
21209         lock (according to the docs -- if this is wrong change the docs).
21210
21211         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
21212         flush messages in the NULL state.
21213
21214         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
21215         message immediately and return.
21216         (gst_bus_set_flushing): New function. If a bus is flushing, it
21217         flushes out any queued messages and immediately unrefs new
21218         messages. This is so when an element goes to NULL, all of the
21219         unhandled messages coming from it can be freed, and their
21220         references to the element dropped. In other words: message source
21221         ref considered harmful :P
21222
21223         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
21224         we're finished with it.
21225
21226         * gst/gstmessage.c (gst_message_new_state_changed): 
21227
21228 2005-05-10  Wim Taymans  <wim@fluendo.com>
21229
21230         * gst/gstvalue.c: (gst_value_compare_flags),
21231         (gst_value_serialize_flags), (gst_value_deserialize_flags),
21232         (_gst_value_initialize):
21233         Added flags serialize/deserialize/compare code.
21234
21235 2005-05-09  Andy Wingo  <wingo@pobox.com>
21236
21237         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
21238         Intersect the peer's caps with our caps.
21239
21240 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21241
21242         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21243         * gst/elements/gsttypefindelement.c: (find_peek):
21244           Handle negative offsets better. Fixes decodebin.
21245
21246 2005-05-09  Wim Taymans  <wim@fluendo.com>
21247
21248         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
21249         (gst_base_transform_event):
21250         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
21251         Implement accept_caps.
21252         Fix silly lock/unlock mismatch in base class.
21253
21254 2005-05-09  Wim Taymans  <wim@fluendo.com>
21255
21256         * docs/design/draft-push-pull.txt:
21257         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
21258         * gst/elements/gstfilesink.c: (gst_filesink_init),
21259         (gst_filesink_query):
21260         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21261         (gst_type_find_handle_src_query), (find_element_get_length):
21262         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
21263         * gst/gstelement.h:
21264         * gst/gstmessage.c:
21265         * gst/gstmessage.h:
21266         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
21267         (gst_real_pad_get_caps_unlocked),
21268         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
21269         (gst_pad_event_default_dispatch), (gst_pad_event_default),
21270         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
21271         (gst_real_pad_dispose), (gst_real_pad_finalize),
21272         (gst_pad_load_and_link), (gst_pad_save_thyself),
21273         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
21274         (gst_pad_check_pull_range), (gst_pad_pull_range),
21275         (gst_pad_template_get_type), (gst_pad_template_class_init),
21276         (gst_pad_template_init), (gst_pad_template_dispose),
21277         (name_is_valid), (gst_static_pad_template_get),
21278         (gst_pad_template_new), (gst_static_pad_template_get_caps),
21279         (gst_pad_template_get_caps), (gst_pad_set_element_private),
21280         (gst_pad_get_element_private), (gst_pad_start_task),
21281         (gst_pad_pause_task), (gst_pad_stop_task),
21282         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
21283         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
21284         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
21285         (gst_ghost_pad_new):
21286         * gst/gstpad.h:
21287         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
21288         (gst_query_new_position), (gst_query_set_position),
21289         (gst_query_parse_position), (gst_query_new_convert),
21290         (gst_query_set_convert), (gst_query_parse_convert):
21291         * gst/gstquery.h:
21292         * gst/gstqueryutils.c:
21293         * gst/gstqueryutils.h:
21294         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21295         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21296         (gst_queue_handle_src_query):
21297         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21298         (gst_element_query_position), (gst_element_query_convert),
21299         (intersect_caps_func), (gst_pad_query_position),
21300         (gst_pad_query_convert):
21301         * gst/gstutils.h:
21302         * tools/gst-inspect.c: (print_pad_info):
21303         * tools/gst-xmlinspect.c: (print_element_info):
21304         Remove old query functions. Ported old code.
21305         Added position/convert helper functions to gstutils.
21306         Reordered gstpad.c code, grouping relevant things.
21307         Remove gst_message_new(), always need to speficy a specific
21308         message.
21309
21310
21311 2005-05-09  Andy Wingo  <wingo@pobox.com>
21312
21313         * gst/gstiterator.h: Add some includes.
21314
21315         * gst/gstqueryutils.h: Include more headers.
21316
21317         * gst/gstpad.h:
21318         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
21319         some uses of gst_pad_query.
21320
21321         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
21322         NULL out parameters.
21323         (gst_query_new_position): New proc, allocates a new position
21324         query.
21325
21326         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
21327         gstqueryutils.c to the build.
21328
21329         * gst/gststructure.c (gst_structure_set_valist): Implement with
21330         the generic G_VALUE_COLLECT.
21331         
21332 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
21333
21334         * gst/Makefile.am: (gst_headers):
21335         Added gstqueryutils.h to the list of headers to install, that was
21336         a 'nachty' move wingo :)
21337
21338 2005-05-06  Andy Wingo  <wingo@pobox.com>
21339
21340         * gst/gstquery.h
21341         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
21342         GstData, init a memchunk.
21343         (standard_definitions): Add a few query types, deprecate a few.
21344         (gst_query_get_type): New proc.
21345         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
21346         implementation.
21347         (gst_query_new_application, gst_query_get_structure): New public
21348         procs.
21349
21350         * docs/design/draft-query.txt: Removed LINKS from the query types,
21351         because all the rest can be dispatched to other pads -- seemed
21352         ugly to have a query that couldn't be dispatched. internal_links
21353         is fine as a pad method.
21354
21355         * gst/gstpad.h: Add query2 as a pad method, add the new functions
21356         in gstpad.c, but maintain binary compatibility for the moment.
21357         Will fix before 0.9 is out.
21358
21359         * gst/gstqueryutils.c: 
21360         * gst/gstqueryutils.h: New files, implement 3 methods for each
21361         query type: parse_query, parse_response, and set. Probably need an
21362         allocator as well.
21363
21364         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
21365
21366         * gst/elements/gstfilesink.c (gst_filesink_query2):
21367         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
21368         query_types, and formats methods.
21369
21370         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
21371         (gst_pad_set_query2_function): New functions.
21372         (gst_real_pad_init): Set query2_default as the default query2
21373         function. Basically just dispatches to internally linked pads.
21374
21375         Needs review!
21376         
21377         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
21378         without using the atomic operations. Only one thread can possibly
21379         be accessing the data at this point. Changed so as to avoid
21380         gst_atomic operations.
21381
21382 2005-05-06  Wim Taymans  <wim@fluendo.com>
21383
21384         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
21385         Also set caps if we use the fallback buffer alloc.
21386
21387 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
21388
21389         * docs/gst/Makefile.am:
21390         * docs/gst/gstreamer-docs.sgml:
21391         * docs/gst/gstreamer-sections.txt:
21392         * docs/gst/tmpl/gstatomic.sgml:
21393         * docs/gst/tmpl/gstmemchunk.sgml:
21394         * testsuite/elements/struct_i386.h:
21395         * win32/GStreamer.vcproj:
21396         * win32/Makefile:
21397           Purge GstAtomic stuff from docs and win32 makefiles as well
21398
21399 2005-05-06  Wim Taymans  <wim@fluendo.com>
21400
21401         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
21402         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
21403         * gst/gstpad.c: (gst_pad_peer_get_caps):
21404         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21405         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21406         (gst_queue_src_activate), (gst_queue_change_state):
21407         * gst/gstqueue.h:
21408         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21409         (intersect_caps_func):
21410         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
21411         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
21412         Some fixes for the peer_get_caps() change.
21413
21414 2005-05-06  Wim Taymans  <wim@fluendo.com>
21415
21416         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21417         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
21418         (gst_basesink_activate):
21419         Actually do something with error codes returned from the push
21420         functions.
21421
21422 2005-05-06  Wim Taymans  <wim@fluendo.com>
21423
21424         * docs/design/part-element-sink.txt:
21425         * docs/design/part-element-source.txt:
21426         * gst/base/gstbasesink.c: (gst_basesink_class_init),
21427         (gst_basesink_event), (gst_basesink_activate):
21428         * gst/base/gstbasesink.h:
21429         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
21430         (gst_basesrc_activate):
21431         * gst/base/gstbasesrc.h:
21432         * gst/gstelement.c: (gst_element_pads_activate):
21433         Some more documentation.
21434         Fixed scheduling decision in _pads_activate().
21435
21436 2005-05-05  Andy Wingo  <wingo@pobox.com>
21437
21438         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
21439         the test suite.
21440
21441 2005-05-05  Wim Taymans  <wim@fluendo.com>
21442
21443         * gst/base/Makefile.am:
21444         * gst/base/gstbasesink.h:
21445         * gst/base/gstbasesrc.c: (gst_basesrc_init),
21446         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
21447         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
21448         (gst_collectpads_class_init), (gst_collectpads_init),
21449         (gst_collectpads_finalize), (gst_collectpads_new),
21450         (gst_collectpads_set_function), (gst_collectpads_add_pad),
21451         (find_pad), (gst_collectpads_remove_pad),
21452         (gst_collectpads_is_active), (gst_collectpads_collect),
21453         (gst_collectpads_collect_range), (gst_collectpads_start),
21454         (gst_collectpads_stop), (gst_collectpads_peek),
21455         (gst_collectpads_pop), (gst_collectpads_available),
21456         (gst_collectpads_read), (gst_collectpads_flush),
21457         (gst_collectpads_chain):
21458         * gst/base/gstcollectpads.h:
21459         * gst/elements/Makefile.am:
21460         * gst/elements/gstelements.c:
21461         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21462         (gst_fakesink_get_times), (gst_fakesink_event),
21463         (gst_fakesink_preroll), (gst_fakesink_render):
21464         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21465         (gst_filesink_init), (gst_filesink_set_location),
21466         (gst_filesink_open_file), (gst_filesink_close_file),
21467         (gst_filesink_pad_query), (gst_filesink_event),
21468         (gst_filesink_render), (gst_filesink_change_state):
21469         * gst/elements/gstfilesink.h:
21470         Added object to help in making collect pad based elements.
21471         Ported filesink.
21472         Make event function in sink baseclass return gboolean.
21473
21474 2005-05-05  Wim Taymans  <wim@fluendo.com>
21475
21476         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
21477         (gst_bin_get_by_name):
21478         * gst/gstbuffer.h:
21479         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
21480         (gst_clock_finalize):
21481         * gst/gstdata.c: (gst_data_replace):
21482         * gst/gstdata.h:
21483         * gst/gstelement.c: (gst_element_request_pad),
21484         (gst_element_pads_activate):
21485         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
21486         (gst_object_unref):
21487         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21488         (gst_pad_set_checkgetrange_function),
21489         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
21490         (gst_pad_check_pull_range), (gst_pad_pull_range),
21491         (gst_static_pad_template_get_caps), (gst_pad_start_task),
21492         (gst_pad_pause_task), (gst_pad_stop_task):
21493         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21494         (gst_element_request_pad), (gst_pad_proxy_getcaps):
21495         Fix name lookup in GstBin.
21496         Added _data_replace() function and _buffer_replace()
21497         Use finalize method to clean up clock.
21498         Fix refcounting on request pads.
21499         Fix pad schedule mode error.
21500         Some more object refcounting debug info,
21501
21502
21503 2005-05-04  Andy Wingo <wingo@pobox.com>
21504
21505         * check/Makefile.am:
21506         * docs/gst/tmpl/gstatomic.sgml:
21507         * docs/gst/tmpl/gstplugin.sgml:
21508         * gst/base/gstbasesink.c: (gst_basesink_activate):
21509         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
21510         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
21511         (gst_basesrc_query), (gst_basesrc_set_property),
21512         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
21513         (gst_basesrc_activate):
21514         * gst/base/gstbasesrc.h:
21515         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
21516         (gst_base_transform_src_activate):
21517         * gst/elements/gstelements.c:
21518         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21519         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21520         * gst/elements/gsttee.c: (gst_tee_sink_activate):
21521         * gst/elements/gsttypefindelement.c: (find_element_get_length),
21522         (gst_type_find_element_checkgetrange),
21523         (gst_type_find_element_activate):
21524         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
21525         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
21526         (gst_caps_load_thyself):
21527         * gst/gstelement.c: (gst_element_pads_activate),
21528         (gst_element_save_thyself), (gst_element_restore_thyself):
21529         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
21530         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
21531         * gst/gstpad.h:
21532         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
21533         (gst_xml_parse_file), (gst_xml_parse_memory),
21534         (gst_xml_get_element), (gst_xml_make_element):
21535         * gst/indexers/gstfileindex.c: (gst_file_index_load),
21536         (_file_index_id_save_xml), (gst_file_index_commit):
21537         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
21538         (read_enum), (load_pad_template), (load_feature), (load_plugin),
21539         (load_paths):
21540         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
21541         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
21542         * tools/gst-complete.c: (main):
21543         * tools/gst-compprep.c: (main):
21544         * tools/gst-inspect.c: (print_element_properties_info):
21545         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
21546         * tools/gst-xmlinspect.c: (print_element_properties):
21547         GCC 4 fixen.
21548         
21549 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21550
21551         * gst/gstplugin.c: (gst_plugin_check_module),
21552         (gst_plugin_check_file), (gst_plugin_load_file):
21553             apply patch from #172526 to make register work on MacOSX
21554
21555 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21556
21557         * docs/gst/tmpl/gstconfig.sgml:
21558         * gst/gstconfig.h.in:
21559           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
21560         * testsuite/debug/printf_extension.c: (main):
21561           Do not use GST_PTR_FORMAT on pointers to types with
21562           sizeof < sizeof(gpointer).  Fixes test on 64-bit
21563         * testsuite/elements/property.h:
21564           use correct printf format
21565
21566 2005-05-02  Wim Taymans  <wim@fluendo.com>
21567
21568         * docs/design/draft-push-pull.txt:
21569         * docs/design/draft-query.txt:
21570         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
21571         (gst_basesrc_start):
21572         Added draft for new query API.
21573         Added draft for better selecting scheduling methods.
21574         Make basesrc ignore length if the subclass does not support
21575         it.
21576
21577 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21578
21579         * gst/Makefile.am:
21580           possible fixes for automake-1.5 - _LIBADD is reserved
21581
21582 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21583
21584         * docs/faq/Makefile.am:
21585         * docs/manual/Makefile.am:
21586         * docs/manuals.mak:
21587         * docs/pwg/Makefile.am:
21588         * gst/Makefile.am:
21589           possible fixes for automake-1.5
21590
21591 2005-04-28  Wim Taymans  <wim@fluendo.com>
21592
21593         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21594         (gst_basesink_pad_getcaps), (gst_basesink_init),
21595         (gst_basesink_do_sync):
21596         * gst/gstclock.c: (gst_clock_entry_new):
21597         * gst/gstevent.c: (gst_event_discont_get_value):
21598         * gst/gstpipeline.c: (pipeline_bus_handler),
21599         (gst_pipeline_change_state):
21600         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
21601         Better debugging of clocking info.
21602         Allow NULL values when getting discont values.
21603
21604 2005-04-27  Wim Taymans  <wim@fluendo.com>
21605
21606         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
21607         * check/gst/gstpad.c: (gst_pad_suite):
21608         Increase timeout for checks.
21609
21610 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
21611
21612         * check/Makefile.am:
21613           fix the broken rule for cleanup.  Apparently this rule is
21614           only needed on FC2, so maybe this warrants further autotool
21615           inspection.
21616
21617 2005-04-26  Wim Taymans  <wim@fluendo.com>
21618
21619         * gst/gsttrashstack.h:
21620         Ooohh. a nasty one! After having a failed pop() from the stack,
21621         it's possible that the stack is empty. In that case, don't
21622         follow the NULL pointer.
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),
21628         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
21629         (gst_pad_check_pull_range), (gst_pad_pull_range),
21630         (gst_static_pad_template_get_caps), (gst_pad_start_task),
21631         (gst_pad_pause_task), (gst_pad_stop_task):
21632         * gst/gstplugin.c: (gst_plugin_load):
21633         * gst/gstplugin.h:
21634         Remove gst_library_load as it does more harm than good with
21635         the new g_module flags.
21636         Revert bogus caps template check in pad linking, pad caps
21637         are important when linking not the template, which is more
21638         general than the current caps.
21639
21640 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21641
21642         * gst/autoplug/.cvsignore:
21643         * gst/autoplug/Makefile.am:
21644         * gst/autoplug/gstsearchfuncs.c:
21645         * gst/autoplug/gstsearchfuncs.h:
21646         * gst/autoplug/gstspider.c:
21647         * gst/autoplug/gstspider.h:
21648         * gst/autoplug/gstspideridentity.c:
21649         * gst/autoplug/gstspideridentity.h:
21650         * gst/autoplug/spidertest.c:
21651           Die, spider, die.
21652
21653 2005-04-25  Wim Taymans  <wim@fluendo.com>
21654
21655         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21656         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21657         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
21658         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
21659         * gst/gstpad.h:
21660         Added stubs for unimplemented functions. 
21661
21662 2005-04-24  David Schleef  <ds@schleef.org>
21663
21664         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
21665         please fix.
21666
21667 2005-04-24  David Schleef  <ds@schleef.org>
21668
21669         Convert everything from GstAtomicInt to g_atomic_int_*, and
21670         remove gstatomic.
21671         * gst/Makefile.am:
21672         * gst/gstatomic.c:
21673         * gst/gstatomic.h:
21674         * gst/gstatomic_impl.h:
21675         * gst/gstbuffer.c:
21676         * gst/gstcaps.c:
21677         * gst/gstcaps.h:
21678         * gst/gstclock.c:
21679         * gst/gstclock.h:
21680         * gst/gstdata.c:
21681         * gst/gstdata.h:
21682         * gst/gstdata_private.h:
21683         * gst/gstevent.c:
21684         * gst/gstinfo.c:
21685         * gst/gstinfo.h:
21686         * gst/gstmessage.c:
21687         * gst/gstobject.c:
21688         * gst/gstobject.h:
21689         * gst/gststructure.c:
21690         * gst/gststructure.h:
21691         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
21692         * gst/gstutils.h:
21693
21694 2005-04-24  David Schleef  <ds@schleef.org>
21695
21696         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
21697         make the regressions tests work.  Remove some code that is no
21698         longer true.
21699         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
21700         Disable warning for pads without templates.
21701
21702 2005-04-24  David Schleef  <ds@schleef.org>
21703
21704         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
21705         functions that handle filtered links.
21706         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
21707         removed functions.
21708         * gst/gstutils.c: Fix/remove utility functions that handle
21709         filtered caps.
21710         * gst/gstutils.h:
21711         * gst/gstvalue.c: Add serialization/deserialization of caps
21712         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
21713         requires fixing so that the filter caps notation creates
21714         a capsfilter element and sets the filter_caps property.  I
21715         think everyone probably wants to keep the shorthand notation.
21716         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
21717         * docs/gst/tmpl/gstpad.sgml:
21718
21719         * gst/elements/gstelements.c: Register capsfilter element.
21720         * gst/Makefile.am: fix spacing
21721         * docs/random/ds/0.9-suggested-changes: random
21722
21723 2005-04-23  David Schleef  <ds@schleef.org>
21724
21725         * gst/elements/Makefile.am:
21726         * gst/elements/gstcapsfilter.c: New element that acts like an
21727         identity, but filters caps.  Will eventually replace filtered
21728         caps in pad linking.
21729         * gst/gstutils.c: (gst_element_create_all_pads): New function
21730         to create all the ALWAYS pads that are registered with an
21731         element class.  This functionality should eventually be
21732         merged in with GstElement initialization.
21733         * gst/gstutils.h:
21734         * testsuite/trigger/README: part of trigger test code that should
21735         have been checked in a long time ago.
21736
21737 2005-04-23  David Schleef  <ds@schleef.org>
21738
21739         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
21740         needed with new versions of libtool (nobody will confirm this),
21741         and hard to carry around.
21742         * gst/autoplug/Makefile.am:
21743         * gst/base/Makefile.am:
21744         * gst/elements/Makefile.am:
21745         * gst/indexers/Makefile.am:
21746         * gst/schedulers/Makefile.am:
21747         * libs/gst/bytestream/Makefile.am:
21748         * libs/gst/control/Makefile.am:
21749         * libs/gst/dataprotocol/Makefile.am:
21750         * libs/gst/getbits/Makefile.am:
21751
21752 2005-04-21  Wim Taymans  <wim@fluendo.com>
21753
21754         * docs/design/draft-push-pull.txt:
21755         * docs/design/part-MT-refcounting.txt:
21756         * docs/design/part-TODO.txt:
21757         * docs/design/part-caps.txt:
21758         * docs/design/part-events.txt:
21759         * docs/design/part-gstbus.txt:
21760         * docs/design/part-gstpipeline.txt:
21761         * docs/design/part-messages.txt:
21762         * docs/design/part-push-pull.txt:
21763         * docs/design/part-query.txt:
21764         Some more docs.
21765
21766 2005-04-21  Wim Taymans  <wim@fluendo.com>
21767
21768         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
21769         (gst_message_new), (gst_message_new_error),
21770         (gst_message_new_warning), (gst_message_new_tag),
21771         (gst_message_new_state_changed), (gst_message_new_application),
21772         (gst_message_get_structure):
21773         * gst/gstmessage.h:
21774         * gst/gststructure.c: (gst_structure_set_parent_refcount),
21775         (gst_structure_copy_conditional):
21776         Use parent refcount in GstMessage to ensure GstStructure
21777         consistency.
21778         Cleaned up headers a bit.
21779         
21780
21781 2005-04-20  Wim Taymans  <wim@fluendo.com>
21782
21783         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21784         (gst_basesink_pad_getcaps), (gst_basesink_init),
21785         (gst_basesink_chain_unlocked):
21786         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
21787         (gst_type_find_helper):
21788         * gst/elements/gsttypefindelement.c:
21789         (gst_type_find_element_have_type), (gst_type_find_element_init),
21790         (stop_typefinding), (gst_type_find_element_handle_event),
21791         (find_suggest), (gst_type_find_element_chain),
21792         (gst_type_find_element_checkgetrange),
21793         (gst_type_find_element_getrange), (do_typefind),
21794         (gst_type_find_element_activate):
21795         * gst/gstbuffer.c: (_gst_buffer_sub_free),
21796         (gst_buffer_default_free), (gst_buffer_default_copy),
21797         (gst_buffer_set_caps):
21798         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
21799         (gst_caps_replace):
21800         * gst/gstmessage.c: (gst_message_new),
21801         (gst_message_new_state_changed):
21802         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21803         (gst_pad_set_checkgetrange_function),
21804         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
21805         (gst_pad_set_caps), (gst_pad_check_pull_range),
21806         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
21807         * gst/gstpad.h:
21808         * gst/gsttypefind.c: (gst_type_find_register):
21809         Make gst_caps_replace() work like other _replace() functions.
21810         Use _caps_replace() where possible.
21811         Make sure _message_new() initialises its field.
21812         Add gst_static_pad_template_get_caps()
21813
21814
21815 2005-04-18  Andy Wingo  <wingo@pobox.com>
21816
21817         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
21818         on the peer, not the pad. I think that was a typo. Pass an extra
21819         arg to see if random access is possible. Activate the pads as
21820         PULL_RANGE if possible.
21821
21822         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
21823
21824         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
21825         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
21826         to PROP_....
21827
21828 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21829
21830         * docs/faq/using.xml:
21831           Add note on gstreamer-properties (#154996).
21832
21833 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21834
21835         * docs/random/bbb/optional-properties:
21836           Some analysis on optional properties.
21837
21838 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21839
21840         * docs/gst/tmpl/gstelementfactory.sgml:
21841         * gst/gstelement.h:
21842         * gst/gstelementfactory.c: (gst_element_factory_init),
21843         (gst_element_factory_cleanup), (gst_element_register),
21844         (__gst_element_factory_add_static_pad_template),
21845         (gst_element_factory_get_static_pad_templates),
21846         (gst_element_factory_can_src_caps),
21847         (gst_element_factory_can_sink_caps):
21848         * gst/registries/Makefile.am:
21849         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
21850         (gst_xml_registry_class_init), (gst_xml_registry_init),
21851         (gst_xml_registry_new), (gst_xml_registry_set_property),
21852         (gst_xml_registry_get_property), (get_time), (make_dir),
21853         (gst_xml_registry_get_perms_func),
21854         (plugin_times_older_than_recurse), (plugin_times_older_than),
21855         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
21856         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
21857         (add_to_char_array), (read_string), (read_uint), (read_enum),
21858         (load_pad_template), (load_feature), (load_plugin), (load_paths),
21859         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
21860         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
21861         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
21862         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
21863         (gst_xml_registry_rebuild):
21864         * gst/registries/gstlibxmlregistry.h:
21865         * tools/gst-compprep.c: (main):
21866         * tools/gst-inspect.c: (print_pad_templates_info):
21867         * tools/gst-xmlinspect.c: (print_element_info):
21868           Use libxml2 for registry parsing, use staticpadtemplates in
21869           elementfactories. Makes gst_init() +/- 10x faster.
21870
21871 2005-04-12  Wim Taymans  <wim@fluendo.com>
21872
21873         * gst/base/Makefile.am:
21874         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21875         (gst_basesink_pad_getcaps), (gst_basesink_init),
21876         (gst_basesink_event), (gst_basesink_change_state):
21877         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21878         (gst_basesrc_init), (gst_basesrc_query),
21879         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21880         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21881         (gst_basesrc_check_get_range), (gst_basesrc_loop),
21882         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21883         (gst_basesrc_stop), (gst_basesrc_activate),
21884         (gst_basesrc_change_state):
21885         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21886         (helper_find_suggest), (gst_type_find_helper):
21887         * gst/base/gsttypefindhelper.h:
21888         * gst/elements/Makefile.am:
21889         * gst/elements/gstelements.c:
21890         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21891         (gst_fakesink_get_times), (gst_fakesink_event),
21892         (gst_fakesink_preroll), (gst_fakesink_render):
21893         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21894         (gst_fakesrc_init), (gst_fakesrc_event_handler),
21895         (gst_fakesrc_get_property), (gst_fakesrc_create),
21896         (gst_fakesrc_start), (gst_fakesrc_stop):
21897         * gst/elements/gstfakesrc.h:
21898         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
21899         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21900         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21901         (gst_filesrc_create_read), (gst_filesrc_create),
21902         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
21903         (gst_filesrc_start):
21904         * gst/elements/gsttypefindelement.c:
21905         (gst_type_find_element_have_type), (gst_type_find_element_init),
21906         (start_typefinding), (stop_typefinding), (push_buffer_store),
21907         (gst_type_find_element_handle_event),
21908         (gst_type_find_element_chain),
21909         (gst_type_find_element_checkgetrange),
21910         (gst_type_find_element_getrange), (do_typefind),
21911         (gst_type_find_element_activate),
21912         (gst_type_find_element_change_state):
21913         * gst/elements/gsttypefindelement.h:
21914         * gst/gstpipeline.c: (pipeline_bus_handler):
21915         Added typefind helper.
21916         Small preroll fix in the base sink.
21917         Disable typefind code in basesrc.
21918         Crude port of typefindelement.
21919         Fakesrc cleanups.
21920
21921
21922 2005-04-11  Wim Taymans  <wim@fluendo.com>
21923
21924         * check/gst/gstbus.c: (gstbus_suite):
21925         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
21926         * check/gstcheck.h:
21927           Fix up the timeout so that the test does not fail.
21928
21929 2005-04-06  Wim Taymans  <wim@fluendo.com>
21930
21931         * gst/base/README:
21932         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21933         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
21934         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21935         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21936         (gst_basesrc_check_get_range), (gst_basesrc_loop),
21937         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21938         (gst_basesrc_stop), (gst_basesrc_activate),
21939         (gst_basesrc_change_state), (basesrc_find_peek),
21940         (basesrc_find_suggest), (gst_basesrc_type_find):
21941         * gst/base/gstbasesrc.h:
21942         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
21943         (gst_filesrc_class_init), (gst_filesrc_init),
21944         (gst_filesrc_finalize), (gst_filesrc_set_location),
21945         (gst_filesrc_set_property), (gst_filesrc_get_property),
21946         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21947         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21948         (gst_filesrc_create_read), (gst_filesrc_create),
21949         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
21950         * gst/elements/gstfilesrc.h:
21951         * gst/gstelement.c: (gst_element_get_state_func),
21952         (gst_element_lost_state), (gst_element_pads_activate):
21953         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21954         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21955         (gst_pad_pull_range):
21956         * gst/gstpad.h:
21957         More work on the generic source base class, implement seeking,
21958         query.
21959         Make filesrc extend the base source class.
21960         Added gst_pad_set_checkgetrange_function to GstPad.
21961
21962 2005-04-06  Andy Wingo  <wingo@pobox.com>
21963
21964         * pkgconfig/gstreamer-base.pc.in:
21965         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
21966
21967         * pkgconfig/Makefile.am:
21968         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
21969
21970 2005-04-04  Wim Taymans  <wim@fluendo.com>
21971
21972         * gst/base/Makefile.am:
21973         * gst/base/README:
21974         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21975         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
21976         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
21977         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
21978         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21979         (gst_basesrc_base_init), (gst_basesrc_class_init),
21980         (gst_basesrc_init), (gst_basesrc_get_formats),
21981         (gst_basesrc_get_query_types), (gst_basesrc_query),
21982         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
21983         (gst_basesrc_set_property), (gst_basesrc_get_property),
21984         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
21985         (gst_basesrc_loop), (gst_basesrc_activate),
21986         (gst_basesrc_change_state):
21987         * gst/base/gstbasesrc.h:
21988         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
21989         (gst_fakesrc_class_init), (gst_fakesrc_init),
21990         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
21991         (gst_fakesrc_get_property), (gst_fakesrc_create):
21992         * gst/elements/gstfakesrc.h:
21993         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
21994         (gst_filesrc_open_file), (gst_filesrc_loop),
21995         (gst_filesrc_activate), (filesrc_find_peek),
21996         (gst_filesrc_type_find):
21997         Made base source class, make fakesrc extend it.
21998         Add comments to basesink class.
21999         Some filesrc cleanup.
22000
22001 2005-03-31  David Schleef  <ds@schleef.org>
22002
22003         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
22004         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
22005         expected to link against libgstreamer.
22006         * gst/base/Makefile.am: link against libgstreamer
22007         * gst/elements/Makefile.am: same
22008
22009 2005-03-31  Andy Wingo  <wingo@pobox.com>
22010
22011         * tests/instantiate/Makefile.am:
22012         * tests/instantiate/caps.c: Add test to test speed of caps copy
22013         and free.
22014
22015         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
22016         GMemChunk to be fair.
22017
22018         * gst/gsttrashstack.h: Remove warning about using the fallback
22019         trash stack implementation, it's still faster than malloc.
22020
22021 2005-03-30  Andy Wingo  <wingo@pobox.com>
22022
22023         * tests/complexity.c: Add a copyright.
22024
22025 2005-03-31  Wim Taymans  <wim@fluendo.com>
22026
22027         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
22028         (gst_base_transform_class_init), (gst_base_transform_init),
22029         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
22030         (gst_base_transform_get_property),
22031         (gst_base_transform_sink_activate),
22032         (gst_base_transform_src_activate),
22033         (gst_base_transform_change_state):
22034         * gst/base/gstbasetransform.h:
22035         * gst/elements/gstidentity.c: (gst_identity_class_init),
22036         (gst_identity_event), (gst_identity_check_perfect),
22037         (gst_identity_transform), (gst_identity_start),
22038         (gst_identity_stop):
22039         Added start/stop methods to transform base class so subclasses 
22040         don't need to deal with state changes even.
22041
22042 2005-03-31  Wim Taymans  <wim@fluendo.com>
22043
22044         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
22045         (gst_event_new_discontinuous), (gst_event_discont_get_value):
22046         * gst/gstevent.h:
22047         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22048         (gst_pad_pull_range):
22049         Added rate to the discont event to prepare for variable speed
22050         and reverse playback.
22051
22052 2005-03-29  David Schleef  <ds@schleef.org>
22053
22054         * configure.ac:
22055         * testsuite/trigger/Makefile.am:
22056         * testsuite/trigger/trigger.c: A little example program to show
22057         how trigger-based elements can work.
22058
22059 2005-03-29  Wim Taymans  <wim@fluendo.com>
22060
22061         * gst/base/Makefile.am:
22062         * gst/base/README:
22063         * gst/base/gstbasesink.c: (gst_basesink_get_type),
22064         (gst_basesink_base_init), (gst_basesink_class_init),
22065         (gst_basesink_pad_getcaps), (gst_basesink_init),
22066         (gst_basesink_activate), (gst_basesink_change_state):
22067         * gst/base/gstbasesink.h:
22068         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
22069         (gst_base_transform_base_init), (gst_base_transform_finalize),
22070         (gst_base_transform_class_init), (gst_base_transform_init),
22071         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
22072         (gst_base_transform_event), (gst_base_transform_getrange),
22073         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
22074         (gst_base_transform_set_property),
22075         (gst_base_transform_get_property),
22076         (gst_base_transform_sink_activate),
22077         (gst_base_transform_src_activate),
22078         (gst_base_transform_change_state):
22079         * gst/base/gstbasetransform.h:
22080         * gst/elements/gstidentity.c: (gst_identity_finalize),
22081         (gst_identity_class_init), (gst_identity_init),
22082         (gst_identity_event), (gst_identity_check_perfect),
22083         (gst_identity_transform), (gst_identity_set_property),
22084         (gst_identity_get_property), (gst_identity_change_state):
22085         * gst/elements/gstidentity.h:
22086         * gst/gstelement.c: (gst_element_get_state_func),
22087         (gst_element_lost_state), (gst_element_pads_activate):
22088         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22089         (gst_pad_check_pull_range), (gst_pad_pull_range):
22090         * gst/gstpad.h:
22091         Simplify pad activation.
22092         Added function to check if pull_range can be performed.
22093         Error out when pulling inactive or flushing pads.
22094         Removed const from refcounted types as it does not make sense.
22095         Simplify pad templates in basesink
22096         Added base class for simple 1-to-1 transforms.
22097         Make identity subclass the base transform.
22098
22099 2005-03-29  Andy Wingo  <wingo@pobox.com>
22100
22101         * docs/libs/gstreamer-libs-overrides.txt: 
22102         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
22103         really don't understand what's going on, but like whatever. I want
22104         green buildbot!
22105
22106         * docs/gst/Makefile.am:
22107         * docs/libs/Makefile.am: Dist the overrides files.
22108
22109         * check/Makefile.am (clean-local): Remove .libs directories.
22110
22111         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
22112         elements to EXTRA_DIST, so po/ files are happy.
22113
22114         * po/POTFILES.in: Er, remove it here.
22115
22116         * po/POTFILES: Remove gstspider.c.
22117
22118         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
22119
22120         * docs/libs/gstreamer-libs-docs.sgml: 
22121         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
22122         bytestream.
22123
22124         * tests/complexity.c (main): Set the length of the preroll queue
22125         on the sinks to prevent a lockup.
22126
22127         * libs/gst/dataprotocol/Makefile.am: 
22128         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
22129         the same as the one in check/gst-libs/gdp.c.
22130
22131         * po/, docs/gst/: Commit automatic changes to docs and po files.
22132
22133         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
22134         the versioned libgstbase.
22135
22136         * check/Makefile.am: Depend on an unversioned gst-register, seems
22137         to make autoconf happier.
22138
22139         * gst/base/Makefile.am: Make libgstbase a versioned lib.
22140
22141 2005-03-28  Wim Taymans  <wim@fluendo.com>
22142
22143         * configure.ac:
22144         * docs/design/part-gstelement.txt:
22145         * docs/design/part-negotiation.txt:
22146         * docs/design/part-preroll.txt:
22147         * docs/design/part-scheduling.txt:
22148         * docs/design/part-states.txt:
22149         * gst/Makefile.am:
22150         * gst/base/Makefile.am:
22151         * gst/base/README:
22152         * gst/base/gstbasesink.c: (gst_basesink_get_template),
22153         (gst_basesink_base_init), (gst_basesink_class_init),
22154         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22155         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22156         (gst_basesink_set_pad_functions),
22157         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
22158         (gst_basesink_set_property), (gst_basesink_get_property),
22159         (gst_base_sink_get_template), (gst_base_sink_get_caps),
22160         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
22161         (gst_basesink_preroll_queue_push),
22162         (gst_basesink_preroll_queue_empty),
22163         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
22164         (gst_basesink_event), (gst_basesink_get_times),
22165         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
22166         (gst_basesink_chain_unlocked), (gst_basesink_chain),
22167         (gst_basesink_loop), (gst_basesink_activate),
22168         (gst_basesink_change_state):
22169         * gst/base/gstbasesink.h:
22170         * gst/elements/Makefile.am:
22171         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
22172         (gst_fakesink_class_init), (gst_fakesink_init),
22173         (gst_fakesink_set_property), (gst_fakesink_get_property),
22174         (gst_fakesink_get_times), (gst_fakesink_event),
22175         (gst_fakesink_preroll), (gst_fakesink_render),
22176         (gst_fakesink_change_state):
22177         * gst/elements/gstfakesink.h:
22178         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22179         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
22180         * gst/gstelement.c: (gst_element_add_pad),
22181         (gst_element_get_state_func), (gst_element_abort_state),
22182         (gst_element_commit_state), (gst_element_lost_state),
22183         (gst_element_set_state), (gst_element_pads_activate):
22184         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
22185         * gst/gstpipeline.c: (gst_pipeline_send_event),
22186         (gst_pipeline_change_state):
22187         Added state change code.
22188         Added/updated docs.
22189         Added sink base class, make fakesink extend the base class.
22190         Small cleanups in GstPipeline.
22191
22192 2005-03-26  David Schleef  <ds@schleef.org>
22193
22194         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
22195         is broken and should be implemented in a different library.
22196         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
22197         * gst/gst.h: remove gstcpu.h
22198         * gst/gstcpu.c: remove
22199         * gst/gstcpu.h: remove
22200         * gst/Makefile.am.future: Remove this file.  It's ancient.
22201
22202 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22203
22204         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22205         (gst_bin_send_event):
22206           Add default event/set_manager handlers. The set_manager handler
22207           takes care that the manager is distributed over kids that were
22208           already in the bin before the manager was set. The event handler
22209           is a utility virtual function that sends the event over all sinks,
22210           so that gst_element_send_event (bin, event); has the expected
22211           behaviour.
22212         * gst/gstpad.c: (gst_pad_event_default):
22213           Re-install default event handling for discontinuities, so that
22214           seeking works without requiring hacks in applications or extra
22215           code in sinks.
22216         * gst/gstpipeline.c: (gst_pipeline_class_init),
22217         (gst_pipeline_send_event):
22218           Half hack, half utility: set a pipeline to PAUSED for seek events,
22219           since that is the only way we can guarantee a/v sync. Means that
22220           you can do gst_element_seek (pipeline, method, pos); on a pipeline
22221           and it "just works".
22222
22223 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22224
22225         * gst/gstpipeline.c: (gst_pipeline_use_clock):
22226           Lock/unlock mismatch.
22227
22228 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22229
22230         * docs/faq/gst-uninstalled:
22231           add gst-plugins-base
22232         * docs/gst/Makefile.am:
22233           don't error out until docs are fixed
22234         * docs/gst/gstreamer.types:
22235           remove thread
22236
22237 2005-03-22  Wim Taymans  <wim@fluendo.com>
22238
22239         * check/Makefile.am:
22240         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
22241         * gst/gststructure.c: (gst_structure_set_valist),
22242         (gst_structure_copy_conditional):
22243         Activated more tests.
22244         Added message test.
22245         Added G_TYPE_POINTER to GstStructure.
22246         
22247
22248 2005-03-22  Wim Taymans  <wim@fluendo.com>
22249
22250         * docs/design/part-TODO.txt:
22251         * docs/design/part-events.txt:
22252         * docs/design/part-gstbin.txt:
22253         * docs/design/part-gstbus.txt:
22254         * docs/design/part-gstpipeline.txt:
22255         * docs/design/part-messages.txt:
22256         * gst/gstbus.c:
22257         * gst/gstmessage.c:
22258         Docs updates
22259
22260 2005-03-21  Wim Taymans  <wim@fluendo.com>
22261
22262         * gst/gstbus.c: (gst_bus_post):
22263         Fix copy-and-paste error.
22264
22265 2005-03-21  Wim Taymans  <wim@fluendo.com>
22266
22267         * check/Makefile.am:
22268         * gst/Makefile.am:
22269         * gst/elements/Makefile.am:
22270         * gst/elements/gstelements.c:
22271         * gst/elements/gstfakesink.c: (gst_fakesink_init),
22272         (gst_fakesink_event), (gst_fakesink_chain):
22273         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22274         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
22275         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
22276         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
22277         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22278         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
22279         (gst_fakesrc_loop), (gst_fakesrc_activate),
22280         (gst_fakesrc_change_state):
22281         * gst/elements/gstfakesrc.h:
22282         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
22283         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
22284         (gst_filesrc_open_file), (gst_filesrc_loop),
22285         (gst_filesrc_activate), (gst_filesrc_change_state),
22286         (filesrc_find_peek), (filesrc_find_suggest),
22287         (gst_filesrc_type_find):
22288         * gst/elements/gstidentity.c: (gst_identity_finalize),
22289         (gst_identity_class_init), (gst_identity_init),
22290         (gst_identity_proxy_getcaps), (identity_queue_push),
22291         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
22292         (gst_identity_getrange), (gst_identity_chain),
22293         (gst_identity_sink_loop), (gst_identity_src_loop),
22294         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
22295         (gst_identity_set_property), (gst_identity_get_property),
22296         (gst_identity_change_state):
22297         * gst/elements/gstidentity.h:
22298         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
22299         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
22300         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
22301         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
22302         (gst_tee_sink_activate):
22303         * gst/elements/gsttee.h:
22304         * gst/gst.c: (gst_register_core_elements), (init_post):
22305         * gst/gst.h:
22306         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
22307         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
22308         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
22309         (gst_bin_change_state):
22310         * gst/gstbin.h:
22311         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
22312         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
22313         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
22314         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
22315         (gst_bus_set_sync_handler), (gst_bus_create_watch),
22316         (bus_watch_callback), (bus_watch_destroy),
22317         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
22318         (poll_timeout), (gst_bus_poll):
22319         * gst/gstbus.h:
22320         * gst/gstcaps.h:
22321         * gst/gstdata.h:
22322         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22323         (gst_element_post_message), (gst_element_message_full),
22324         (gst_element_get_state_func), (gst_element_get_state),
22325         (gst_element_abort_state), (gst_element_commit_state),
22326         (gst_element_lost_state), (gst_element_set_state),
22327         (gst_element_pads_activate), (gst_element_change_state),
22328         (gst_element_dispose), (gst_element_set_manager_func),
22329         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
22330         (gst_element_set_manager), (gst_element_get_manager),
22331         (gst_element_set_bus), (gst_element_get_bus),
22332         (gst_element_set_scheduler), (gst_element_get_scheduler):
22333         * gst/gstelement.h:
22334         * gst/gstevent.c: (gst_event_new_segment_seek),
22335         (gst_event_new_flush):
22336         * gst/gstevent.h:
22337         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
22338         (_gst_message_free), (gst_message_get_type), (gst_message_new),
22339         (gst_message_new_eos), (gst_message_new_error),
22340         (gst_message_new_warning), (gst_message_new_tag),
22341         (gst_message_new_state_changed), (gst_message_new_application),
22342         (gst_message_get_structure), (gst_message_parse_tag),
22343         (gst_message_parse_state_changed), (gst_message_parse_error),
22344         (gst_message_parse_warning):
22345         * gst/gstmessage.h:
22346         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
22347         (gst_real_pad_set_property), (gst_pad_set_active),
22348         (gst_pad_is_active), (gst_pad_set_blocked_async),
22349         (gst_pad_set_blocked), (gst_pad_is_blocked),
22350         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
22351         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
22352         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
22353         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
22354         (gst_pad_link_filtered), (gst_pad_relink_filtered),
22355         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
22356         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
22357         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
22358         (gst_pad_set_caps), (gst_pad_configure_sink),
22359         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
22360         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
22361         (gst_real_pad_dispose), (gst_real_pad_finalize),
22362         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
22363         (gst_pad_event_default_dispatch), (gst_pad_event_default),
22364         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
22365         * gst/gstpad.h:
22366         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
22367         (pipeline_bus_handler), (gst_pipeline_change_state),
22368         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
22369         * gst/gstpipeline.h:
22370         * gst/gstprobe.h:
22371         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22372         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
22373         (gst_queue_link_src), (gst_queue_bufferalloc),
22374         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
22375         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
22376         (gst_queue_loop), (gst_queue_handle_src_event),
22377         (gst_queue_handle_src_query), (gst_queue_src_activate),
22378         (gst_queue_change_state):
22379         * gst/gstqueue.h:
22380         * gst/gstscheduler.c: (gst_scheduler_init),
22381         (gst_scheduler_dispose), (gst_scheduler_create_task),
22382         (gst_scheduler_factory_create):
22383         * gst/gstscheduler.h:
22384         * gst/gststructure.c: (gst_structure_get_type),
22385         (gst_structure_copy_conditional):
22386         * gst/gststructure.h:
22387         * gst/gsttaginterface.h:
22388         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22389         (gst_task_init), (gst_task_dispose), (gst_task_create),
22390         (gst_task_get_state), (gst_task_start), (gst_task_stop),
22391         (gst_task_pause):
22392         * gst/gsttask.h:
22393         * gst/gstthread.c:
22394         * gst/gstthread.h:
22395         * gst/gsttypes.h:
22396         * gst/schedulers/Makefile.am:
22397         * gst/schedulers/cothreads_compat.h:
22398         * gst/schedulers/entryscheduler.c:
22399         * gst/schedulers/faircothreads.c:
22400         * gst/schedulers/faircothreads.h:
22401         * gst/schedulers/fairscheduler.c:
22402         * gst/schedulers/gstbasicscheduler.c:
22403         * gst/schedulers/gstoptimalscheduler.c:
22404         * gst/schedulers/gthread-cothreads.h:
22405         * gst/schedulers/threadscheduler.c:
22406         (gst_thread_scheduler_task_get_type),
22407         (gst_thread_scheduler_task_class_init),
22408         (gst_thread_scheduler_task_init),
22409         (gst_thread_scheduler_task_start),
22410         (gst_thread_scheduler_task_stop),
22411         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
22412         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22413         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
22414         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
22415         (plugin_init):
22416         * libs/gst/Makefile.am:
22417         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
22418         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
22419         (gst_file_pad_parent_set):
22420         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22421         (gst_dp_event_from_packet):
22422         * tests/complexity.c: (main):
22423         * tests/mass_elements.c: (main):
22424         * testsuite/states/locked.c: (message_received), (main):
22425         * testsuite/states/parent.c: (main):
22426         * tools/gst-inspect.c: (print_element_flag_info),
22427         (print_implementation_info), (print_pad_info):
22428         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
22429         (main):
22430         * tools/gst-md5sum.c: (event_loop), (main):
22431         * tools/gst-typefind.c: (main):
22432         * tools/gst-xmlinspect.c: (print_element_info):
22433         Next big merge.
22434         Added GstBus for mainloop integration.
22435         Added GstMessage for sending notifications on the bus.
22436         Added GstTask as an abstraction for pipeline entry points.
22437         Removed GstThread.
22438         Removed Schedulers.
22439         Simplified GstQueue for multithreaded core.
22440         Made _link threadsafe, removed old capsnego.
22441         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
22442         Added pad blocking functions.
22443         Reworked scheduling functions in GstPad to prepare for
22444         scheduling updates soon.
22445         Moved events out of data stream.
22446         Simplified GstEvent types.
22447         Added return values to push/pull.
22448         Removed clocking from GstElement.
22449         Added prototypes for state change function for next merge.
22450         Removed iterate from bins and state change management.
22451         Fixed some elements, disabled others for now.
22452         Fixed -inspect and -launch.
22453         Added check for GstBus.
22454
22455 2005-03-10  Wim Taymans  <wim@fluendo.com>
22456
22457         * docs/design/part-MT-refcounting.txt:
22458         * docs/design/part-clocks.txt:
22459         * docs/design/part-gstelement.txt:
22460         * docs/design/part-gstobject.txt:
22461         * docs/design/part-standards.txt:
22462         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22463         (gst_bin_remove_func), (gst_bin_remove):
22464         * gst/gstbin.h:
22465         * gst/gstbuffer.c:
22466         * gst/gstcaps.h:
22467         * testsuite/clock/clock1.c: (main):
22468         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
22469         (main):
22470         * testsuite/dlopen/loadgst.c: (do_test):
22471         * testsuite/refcounting/bin.c: (add_remove_test1),
22472         (add_remove_test2), (main):
22473         * testsuite/refcounting/element.c: (main):
22474         * testsuite/refcounting/element_pad.c: (main):
22475         * testsuite/refcounting/pad.c: (main):
22476         * tools/gst-launch.c: (sigint_handler_sighandler):
22477         * tools/gst-typefind.c: (main):
22478         Doc updates.
22479         Added doc about clock.
22480         removed gst_bin_iterate_recurse_up(), marked methods
22481         for removal.
22482         Fix more testsuites.
22483
22484 2005-03-09  Wim Taymans  <wim@fluendo.com>
22485
22486         * gst/gstpad.c: (gst_pad_get_direction),
22487         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
22488         (gst_pad_collect_valist):
22489         * testsuite/bins/interface.c: (main):
22490         * testsuite/caps/audioscale.c: (test_caps):
22491         * testsuite/caps/caps.c: (test1), (test2), (test3):
22492         * testsuite/caps/deserialize.c: (main):
22493         * testsuite/caps/enumcaps.c: (main):
22494         * testsuite/caps/filtercaps.c: (main):
22495         * testsuite/caps/intersect2.c: (main):
22496         * testsuite/caps/random.c: (main):
22497         * testsuite/caps/renegotiate.c: (my_fixate), (main):
22498         * testsuite/caps/sets.c: (check_caps):
22499         * testsuite/caps/simplify.c: (check_caps), (main):
22500         * testsuite/caps/subtract.c: (check_caps):
22501         Fix _pad_get_direction wrt ghostpads.
22502         Fix caps testsuite.
22503
22504 2005-03-09  Wim Taymans  <wim@fluendo.com>
22505
22506         * check/Makefile.am:
22507         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
22508         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
22509         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
22510         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
22511         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
22512         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
22513         (gst_bin_remove), (gst_bin_iterate_recurse_up),
22514         (bin_element_is_sink), (gst_bin_iterate_sinks),
22515         (gst_bin_iterate_all_by_interface):
22516         * gst/gstbin.h:
22517         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
22518         (gst_element_change_state), (gst_element_dispose),
22519         (gst_element_finalize), (gst_element_set_loop_function):
22520         * gst/gstelement.h:
22521         * gst/gstiterator.c: (find_custom_fold_func):
22522         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22523         (gst_pad_collectv), (gst_pad_collect_valist),
22524         (gst_pad_template_new):
22525         * gst/gstpipeline.c: (gst_pipeline_class_init),
22526         (gst_pipeline_dispose), (gst_pipeline_set_property),
22527         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
22528         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
22529         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
22530         * gst/gstutils.h:
22531         * gst/schedulers/entryscheduler.c:
22532         * gst/schedulers/gstbasicscheduler.c:
22533         (gst_basic_scheduler_cothreaded_chain),
22534         (gst_basic_scheduler_chain_add_element):
22535         * testsuite/bins/interface.c: (main):
22536         Added GstBin test.
22537         Added GstSystemClock test.
22538         Implemented clock distribution code in GstBin.
22539         Implemented iterate sinks method for future use.
22540         Rearranged gstelement.h
22541         Fix GstIterator comparison bug.
22542         Moved some code to GstPipeline, mostly clocking related.
22543
22544 2005-03-09  Wim Taymans  <wim@fluendo.com>
22545
22546         * configure.ac:
22547         * gst/gst_private.h:
22548         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22549         (gst_bin_remove_func), (gst_bin_remove),
22550         (gst_bin_get_by_name_recurse_up):
22551         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
22552         (gst_clock_id_compare_func), (gst_clock_id_wait),
22553         (gst_clock_id_wait_async), (gst_clock_init),
22554         (gst_clock_adjust_unlocked), (gst_clock_get_time):
22555         * gst/gstelement.h:
22556         * gst/gstinfo.c: (_gst_debug_init):
22557         * gst/gstobject.h:
22558         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22559         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
22560         * gst/gstpad.h:
22561         Bump version number, we're now 0.9.0
22562         Add future debugging category.
22563         Fix NULL _unref() in _get_by_name_recurse_up
22564         Rearrange gstpad.h.
22565         Update some docs.
22566
22567 2005-03-08  Wim Taymans  <wim@fluendo.com>
22568
22569         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
22570         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
22571         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22572         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
22573         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
22574         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
22575         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
22576         * gst/elements/gstidentity.c: (gst_identity_class_init):
22577         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
22578         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
22579         * gst/elements/gstshaper.c: (gst_shaper_class_init):
22580         * gst/elements/gststatistics.c: (gst_statistics_class_init):
22581         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
22582         (gst_tee_link):
22583         * gst/gstelement.c: (gst_element_class_init),
22584         (gst_element_base_class_init), (gst_element_init),
22585         (gst_element_get_random_pad), (gst_element_wait_state_change),
22586         (gst_element_change_state), (gst_element_dispose),
22587         (gst_element_finalize), (gst_element_set_loop_function):
22588         * gst/gstelement.h:
22589         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
22590         * gst/gstthread.c: (gst_thread_class_init),
22591         (gst_thread_release_children_locks), (gst_thread_change_state):
22592         * gst/schedulers/gstbasicscheduler.c:
22593         (gst_basic_scheduler_loopfunc_wrapper),
22594         (gst_basic_scheduler_chain_wrapper),
22595         (gst_basic_scheduler_src_wrapper),
22596         (gst_basic_scheduler_remove_element):
22597         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
22598         Remove threadsafe properties. Fix elements because GObject
22599         complains when installing a property before declaring a
22600         set/get_property handler.
22601         Rearrange gstelement.h file, use STATE macros for state locks.
22602         Free mutexes in the finalize method instead of dispose.
22603
22604 2005-03-08  Wim Taymans  <wim@fluendo.com>
22605
22606         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22607         * gst/gstthread.c: (gst_thread_release_children_locks):
22608         Added parentage check.
22609         Fix build og GstThread again.
22610
22611 2005-03-08  Wim Taymans  <wim@fluendo.com>
22612
22613         * docs/design/part-MT-refcounting.txt:
22614         * docs/design/part-conventions.txt:
22615         * docs/design/part-gstobject.txt:
22616         * docs/design/part-relations.txt:
22617         * docs/design/part-standards.txt:
22618         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22619         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
22620         (gst_bin_get_by_name), (gst_bin_get_by_interface),
22621         (gst_bin_iterate_all_by_interface):
22622         * gst/gstbuffer.h:
22623         * gst/gstclock.h:
22624         * gst/gstelement.c: (gst_element_class_init),
22625         (gst_element_change_state), (gst_element_set_loop_function):
22626         * gst/gstelement.h:
22627         * gst/gstiterator.c:
22628         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
22629         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
22630         (gst_object_dispatch_properties_changed), (gst_object_set_name),
22631         (gst_object_set_parent), (gst_object_unparent),
22632         (gst_object_check_uniqueness):
22633         * gst/gstobject.h:
22634         Docs updates, clean up some headers.
22635
22636 2005-03-07  Wim Taymans  <wim@fluendo.com>
22637
22638         * check/.cvsignore:
22639         * check/Makefile.am:
22640         * check/gst-libs/.cvsignore:
22641         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
22642         * check/gst/.cvsignore:
22643         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
22644         (START_TEST), (gstbus_suite), (main):
22645         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
22646         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
22647         (gst_data_suite), (main):
22648         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
22649         (add_fold_func), (gstiterator_suite), (main):
22650         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
22651         (thread_name_object), (thread_name_object_default),
22652         (gst_object_name_compare), (gst_object_suite), (main):
22653         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
22654         (gst_pad_suite), (main):
22655         * check/gstcheck.c: (gst_check_log_message_func),
22656         (gst_check_log_critical_func), (gst_check_init):
22657         * check/gstcheck.h:
22658         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
22659         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
22660         Added checks.
22661
22662 2005-03-07  Wim Taymans  <wim@fluendo.com>
22663
22664         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22665         (gst_list_iterator_next), (gst_list_iterator_resync),
22666         (gst_list_iterator_free), (gst_iterator_new_list),
22667         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
22668         (gst_iterator_free), (gst_iterator_push), (filter_next),
22669         (filter_resync), (filter_uninit), (filter_free),
22670         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
22671         (gst_iterator_foreach), (find_custom_fold_func),
22672         (gst_iterator_find_custom):
22673         * gst/gstiterator.h:
22674         Added missing files.
22675
22676 2005-03-07  Wim Taymans  <wim@fluendo.com>
22677
22678         * Makefile.am:
22679         * configure.ac:
22680         * docs/design/part-MT-refcounting.txt:
22681         * docs/design/part-conventions.txt:
22682         * docs/design/part-gstobject.txt:
22683         * docs/design/part-relations.txt:
22684         * examples/mixer/mixer.c: (main):
22685         * examples/thread/thread.c: (eos), (main):
22686         * gst/Makefile.am:
22687         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
22688         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
22689         (gst_spider_plug_from_srcpad):
22690         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
22691         (gst_spider_identity_change_state),
22692         (gst_spider_identity_sink_loop_type_finding):
22693         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
22694         * gst/elements/gstidentity.c: (gst_identity_init):
22695         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
22696         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
22697         * gst/elements/gsttypefindelement.c: (free_entry):
22698         * gst/gst.c:
22699         * gst/gst.h:
22700         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
22701         (gst_bin_set_clock_func), (gst_bin_auto_clock),
22702         (gst_bin_set_index), (gst_bin_set_element_sched),
22703         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
22704         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
22705         (gst_bin_iterate_elements), (iterate_child_recurse),
22706         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
22707         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
22708         (compare_interface), (gst_bin_get_by_interface),
22709         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
22710         * gst/gstbin.h:
22711         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
22712         (gst_buffer_default_free), (gst_buffer_default_copy),
22713         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
22714         (gst_buffer_create_sub):
22715         * gst/gstbuffer.h:
22716         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
22717         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
22718         (gst_caps_unref), (gst_static_caps_get),
22719         (gst_caps_remove_and_get_structure), (gst_caps_append),
22720         (gst_caps_append_structure), (gst_caps_remove_structure),
22721         (gst_caps_copy_nth), (gst_caps_set_simple),
22722         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
22723         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
22724         (gst_caps_structure_intersect_field), (gst_caps_intersect),
22725         (gst_caps_structure_subtract_field), (gst_caps_subtract),
22726         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
22727         (gst_caps_structure_figure_out_union),
22728         (gst_caps_switch_structures), (gst_caps_do_simplify),
22729         (gst_caps_replace), (gst_caps_from_string),
22730         (gst_caps_copy_conditional):
22731         * gst/gstcaps.h:
22732         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
22733         (_gst_clock_id_free), (gst_clock_id_unref),
22734         (gst_clock_id_compare_func), (gst_clock_id_wait),
22735         (gst_clock_id_wait_async), (gst_clock_class_init),
22736         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
22737         (gst_clock_get_time), (gst_clock_set_time_adjust),
22738         (gst_clock_set_property), (gst_clock_get_property):
22739         * gst/gstclock.h:
22740         * gst/gstcompat.h:
22741         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
22742         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
22743         * gst/gstdata.h:
22744         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22745         (gst_element_requires_clock), (gst_element_provides_clock),
22746         (gst_element_set_clock), (gst_element_clock_wait),
22747         (gst_element_wait), (gst_element_set_time_delay),
22748         (gst_element_is_indexable), (gst_element_add_pad),
22749         (gst_element_add_ghost_pad), (gst_element_remove_pad),
22750         (pad_compare_name), (gst_element_get_static_pad),
22751         (gst_element_request_pad), (gst_element_get_request_pad),
22752         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
22753         (gst_element_class_get_pad_template_list),
22754         (gst_element_class_get_pad_template), (gst_element_error_func),
22755         (gst_element_get_random_pad), (gst_element_get_event_masks),
22756         (gst_element_send_event), (gst_element_seek),
22757         (gst_element_get_query_types), (gst_element_query),
22758         (gst_element_get_formats), (gst_element_convert),
22759         (gst_element_is_locked_state), (gst_element_set_locked_state),
22760         (gst_element_sync_state_with_parent), (gst_element_change_state),
22761         (gst_element_finalize), (gst_element_yield),
22762         (gst_element_interrupt), (gst_element_set_scheduler),
22763         (gst_element_get_scheduler), (gst_element_set_loop_function):
22764         * gst/gstelement.h:
22765         * gst/gstevent.h:
22766         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
22767         (gst_format_get_by_nick), (gst_format_get_details),
22768         (gst_format_iterate_definitions):
22769         * gst/gstformat.h:
22770         * gst/gstindex.c: (gst_index_gtype_resolver):
22771         * gst/gstinfo.c:
22772         * gst/gstinfo.h:
22773         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
22774         (gst_mem_chunk_free):
22775         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22776         (gst_object_ref), (gst_object_unref), (gst_object_sink),
22777         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
22778         (gst_object_dispatch_properties_changed),
22779         (gst_object_set_name_default), (gst_object_set_name),
22780         (gst_object_get_name), (gst_object_set_name_prefix),
22781         (gst_object_get_name_prefix), (gst_object_set_parent),
22782         (gst_object_get_parent), (gst_object_unparent),
22783         (gst_object_check_uniqueness), (gst_object_save_thyself),
22784         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
22785         (gst_object_set_property), (gst_object_get_property),
22786         (gst_object_get_path_string):
22787         * gst/gstobject.h:
22788         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22789         (gst_real_pad_init), (gst_real_pad_get_property),
22790         (gst_pad_custom_new), (gst_pad_get_direction),
22791         (gst_pad_set_active), (gst_pad_is_active),
22792         (gst_pad_set_event_function), (gst_pad_is_linked),
22793         (gst_pad_link_free), (gst_pad_link_intersect),
22794         (gst_pad_link_fixate), (gst_pad_set_caps),
22795         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
22796         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
22797         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
22798         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
22799         (gst_pad_get_caps), (gst_pad_peer_get_caps),
22800         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
22801         (gst_pad_realize), (gst_pad_get_allowed_caps),
22802         (gst_real_pad_dispose), (gst_real_pad_finalize),
22803         (gst_pad_collectv), (gst_pad_collect_valist),
22804         (gst_pad_template_dispose), (gst_pad_template_new),
22805         (gst_pad_get_internal_links):
22806         * gst/gstpad.h:
22807         * gst/gstpipeline.c: (gst_pipeline_dispose),
22808         (gst_pipeline_change_state):
22809         * gst/gstpipeline.h:
22810         * gst/gstplugin.c:
22811         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
22812         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
22813         * gst/gstpluginfeature.h:
22814         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
22815         * gst/gstquery.c: (_gst_query_type_initialize),
22816         (gst_query_type_register), (gst_query_type_get_by_nick),
22817         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
22818         * gst/gstquery.h:
22819         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
22820         * gst/gstscheduler.c: (gst_scheduler_add_element),
22821         (gst_scheduler_factory_create):
22822         * gst/gststructure.c: (gst_structure_set_parent_refcount),
22823         (gst_structure_free), (gst_structure_set_name),
22824         (gst_structure_id_set_value), (gst_structure_set_value),
22825         (gst_structure_set_valist), (gst_structure_remove_field),
22826         (gst_structure_remove_fields),
22827         (gst_structure_remove_fields_valist),
22828         (gst_structure_remove_all_fields), (gst_structure_foreach),
22829         (gst_structure_map_in_place),
22830         (gst_caps_structure_fixate_field_nearest_int),
22831         (gst_caps_structure_fixate_field_nearest_double):
22832         * gst/gststructure.h:
22833         * gst/gstsystemclock.c: (gst_system_clock_class_init),
22834         (gst_system_clock_init), (gst_system_clock_dispose),
22835         (gst_system_clock_async_thread),
22836         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
22837         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
22838         * gst/gstsystemclock.h:
22839         * gst/gsttag.c: (gst_tag_list_add_value_internal),
22840         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
22841         * gst/gsttaginterface.c:
22842         * gst/gstthread.c: (gst_thread_dispose),
22843         (gst_thread_release_children_locks), (gst_thread_change_state),
22844         (gst_thread_main_loop):
22845         * gst/gsttrashstack.h:
22846         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
22847         * gst/gsttypes.h:
22848         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22849         (gst_element_request_pad), (gst_element_get_pad_from_template),
22850         (gst_element_request_compatible_pad),
22851         (gst_element_get_compatible_pad_filtered),
22852         (gst_element_get_compatible_pad), (gst_element_state_get_name),
22853         (gst_element_link_pads_filtered), (gst_element_link_filtered),
22854         (gst_element_link_many), (gst_element_link),
22855         (gst_element_link_pads), (gst_element_unlink_pads),
22856         (gst_element_unlink_many), (gst_element_unlink),
22857         (gst_pad_can_link_filtered), (gst_pad_can_link),
22858         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
22859         (gst_object_default_error), (gst_bin_add_many),
22860         (gst_bin_remove_many), (gst_element_populate_std_props),
22861         (gst_element_class_install_std_props), (gst_buffer_merge),
22862         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
22863         (link_fold_func), (gst_pad_proxy_setcaps):
22864         * gst/gstutils.h:
22865         * gst/gstvalue.c: (gst_value_deserialize_string):
22866         * gst/parse/grammar.y:
22867         * gst/schedulers/gstbasicscheduler.c:
22868         (gst_basic_scheduler_cothreaded_chain),
22869         (gst_basic_scheduler_chain_recursive_add),
22870         (gst_basic_scheduler_pad_link):
22871         * gst/schedulers/gstoptimalscheduler.c:
22872         (get_group_schedule_function),
22873         (gst_opt_scheduler_state_transition),
22874         (gst_opt_scheduler_add_element), (element_get_reachables_func):
22875         * libs/gst/bytestream/bytestream.c:
22876         * libs/gst/dataprotocol/dataprotocol.c:
22877         (gst_dp_header_from_buffer):
22878         * po/nb.po:
22879         * po/ru.po:
22880         * tests/threadstate/threadstate2.c: (eos):
22881         * tools/gst-compprep.c: (main):
22882         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
22883         (print_pad_info), (print_children_info):
22884         * tools/gst-launch.c: (idle_func), (main):
22885         * tools/gst-md5sum.c: (idle_func), (main):
22886         * tools/gst-xmlinspect.c: (print_element_info):
22887         First THREADED backport attempt, focusing on adding locks and
22888         making sure the API is threadsafe. Needs more work. More docs
22889         follow this week.
22890
22891 2005-02-24  Andy Wingo  <wingo@pobox.com>
22892
22893         * tests/bench-complexity.scm:
22894         * tests/complexity.gnuplot: New files, good for running complexity
22895         benchmarks.
22896
22897         * tests/Makefile.am:
22898         * tests/complexity.c: New test, sets up N elements, at each level
22899         teeing into M streams per element. Eeeenteresting.
22900
22901         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
22902         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
22903         running bench-mass_elements.scm.
22904
22905         * tests/bench-mass_elements.scm: New script, runs mass_elements
22906         for various numbers of identities, outputting the results to a
22907         file. Requires guile 1.6. Just for testing.
22908
22909 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22910
22911         * gst/schedulers/fairscheduler.c:
22912           compile with debug disabled
22913
22914 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22915
22916         * configure.ac:
22917           hunting season on 0.9 is now OPEN