back to head
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-04-06  Wim Taymans  <wim@fluendo.com>
2
3         * gst/gstpipeline.c: (reset_stream_time),
4         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
5         Only try to select a different pipeline clock when we went back to
6         PAUSED and not when we merely got flushed.
7
8 2007-04-05  Michael Smith  <msmith@fluendo.com>
9
10         * tools/gst-launch.1.in:
11           fractions are better supported in gstreamer than ractions, so
12           suggest using those.
13
14 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15
16         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
17
18         * po/LINGUAS:
19         * po/da.po:
20           Added Danish translation.
21
22 2007-04-05  Wim Taymans  <wim@fluendo.com>
23
24         * libs/gst/base/gstbasesink.c:
25         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
26         Fix leak caused when refusing newsegment after EOS.
27
28         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
29         (gst_fake_sink_init), (gst_fake_sink_set_property),
30         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
31         (gst_fake_sink_render), (gst_fake_sink_change_state):
32         * plugins/elements/gstfakesink.h:
33         Add num-buffers property to make the element generate EOS after a
34         configurable amount of buffers.
35         API: fakesink::num-buffers property.
36
37         * tests/check/elements/fakesink.c: (GST_START_TEST),
38         (fakesink_suite):
39         Fix GstBus leak in test.
40         Test for fakesink num-buffers.
41
42 2007-04-05  Wim Taymans  <wim@fluendo.com>
43
44         * libs/gst/base/gstbasesink.c:
45         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
46         (gst_base_sink_change_state):
47         Don't accept anything after an EOS, return UNEXPECTED instead.
48
49         * tests/check/elements/fakesink.c: (GST_START_TEST),
50         (fakesink_suite):
51         Unit test for new EOS behaviour.
52
53 2007-04-05  Wim Taymans  <wim@fluendo.com>
54
55         * gst/gstelement.c: (gst_element_get_request_pad):
56         Make padtemplates also work when they don't contain %s or %d.
57
58 2007-04-05  Wim Taymans  <wim@fluendo.com>
59
60         * docs/gst/gstreamer-sections.txt:
61         * gst/gstclock.c: (gst_clock_adjust_unlocked),
62         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
63         * gst/gstclock.h:
64         Improve _adjust_unlocked() so that it overflows less.
65         Add gst_clock_unadjust_unlocked to convert from external time to
66         internal time based on calibration.
67         Add some more debug.
68         API: GstClock::gst_clock_unadjust_unlocked()
69
70 2007-04-03  Wim Taymans  <wim@fluendo.com>
71
72         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
73
74         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
75         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
76         when releasing sink pad. Fixes #425400.
77
78 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
79
80         * docs/random/ensonic/dynlink.txt:
81           More work on proposal for new core api.
82
83         * docs/libs/gstreamer-libs-sections.txt:
84         * libs/gst/base/gstbasetransform.h:
85           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
86           
87         * libs/gst/controller/gstcontroller.c:
88         (on_object_controlled_property_changed),
89         (gst_controller_sync_values),
90         (gst_controller_set_interpolation_mode):
91         * libs/gst/controller/gstcontroller.h:
92           Less verbose logging add docs for unimplemented parts and correctly
93           return when using unavailable parts.
94
95 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
96
97         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
98         Move all the debug to the CLOCK category, and associate it with
99         the clock object.
100
101 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
102
103         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
104         Make take_buffer a bit quicker by removing redundant checks
105         caused by calling gst_adapter_take.
106
107 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
108
109         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
110           Don't leak GCond.
111
112         * tests/check/Makefile.am:
113         * tests/check/elements/.cvsignore:
114         * tests/check/elements/multiqueue.c: (setup_multiqueue),
115         (GST_START_TEST), (multiqueue_suite):
116           Add some dead simple unit tests for the 'multiqueue' element
117           (some bits don't work yet and are disabled for now).
118
119 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
120
121         * gst/gstelement.c: (gst_element_get_request_pad),
122         (gst_element_class_get_request_pad_template):
123           Make gst_element_get_request_pad() create request pads only for
124           request pad templates and not for, say, sometimes pad templates.
125
126 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
127
128         * docs/design/draft-klass.txt:
129           Add example that needs more thinking.
130         
131         * docs/design/draft-missing-plugins.txt:
132           More thoughts about wrapper plugins.
133         
134         * docs/random/ensonic/embedded.txt:
135         * docs/random/ensonic/profiling.txt:
136           More design work.
137
138 2007-03-25  Wim Taymans  <wim@fluendo.com>
139
140         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
141         (gst_base_src_loop):
142         Only push the segment events in the PLAYING state for live sources.
143
144 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
145
146         * gst/gstpipeline.c: (gst_pipeline_change_state):
147         Modify the clock distribution path in PAUSED->PLAYING so that we 
148         never attempt to choose a new clock unless we're actually leaving
149         the PAUSED state for the first time. This prevents choosing a
150         different clock when the state_change gets called for a 2nd time due
151         to some element doing an async state change.
152
153 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
154
155         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
156         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
157         (gst_pad_chain_unchecked), (gst_pad_push):
158         Revert last commit. This needs some more thoughts.
159
160 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
161
162         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
163         (gst_pad_chain_unchecked), (gst_pad_push):
164         Check in set_caps if the caps are compatible with the pad and remove
165         two functions that are redundant now. Fixes #421543.
166
167 2007-03-22  Wim Taymans  <wim@fluendo.com>
168
169         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
170         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
171         Unref some more to make valgrind happy.
172
173 2007-03-22  Wim Taymans  <wim@fluendo.com>
174
175         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
176         (gst_system_clock_id_wait_jitter),
177         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
178         Fix anoying regression that survived a few releases. When adding an
179         async entry while blocking on a sync entry, the sync entry will unblock
180         but still be busy, so it should continue to wait instead of returning
181         _BUSY to the app.
182         Add some comments here and there.
183
184         * tests/check/gst/gstsystemclock.c: (mixed_thread),
185         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
186         Add testcase for this.
187
188 2007-03-22  Wim Taymans  <wim@fluendo.com>
189
190         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
191         Handle errors from the clock sync better, only UNSCHEDULED indicates a
192         WRONG_STATE and can silently pause the task. All other cases should
193         error out.
194
195 2007-03-22  Wim Taymans  <wim@fluendo.com>
196
197         Patch by: <syrjala at sci dot fi>
198
199         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
200         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
201         Improve debugging.
202
203 2007-03-21  Michael Smith  <msmith@fluendo.com>
204
205         * docs/pwg/advanced-types.xml:
206           Fix some errors in the typefinding docs pointed out on irc.
207
208 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
209
210         * libs/gst/base/gstbasesrc.c:
211         Clarify FIXME comment in the face of having added unlock_stop()
212
213 2007-03-21  Wim Taymans  <wim@fluendo.com>
214
215         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
216         Prepare for release where we warn against possible app breakage in the
217         case of live pipelines along with an env var to enable/disable live
218         preroll mode (GST_COMPAT=[no-]live-preroll).
219
220 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
221
222         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
223         So we should use correct constants for checking for None offset.
224
225 2007-03-20  Wim Taymans  <wim@fluendo.com>
226
227         * docs/design/part-block.txt:
228         Mention the fact that the newly switched element should be set to at
229         least PAUSED.
230
231 2007-03-20  Wim Taymans  <wim@fluendo.com>
232
233         * gst/gst.c:
234         Fix compilation with registry disabled as spotted by Saur.
235
236 2007-03-20  Wim Taymans  <wim@fluendo.com>
237
238         Patch by: Olivier Crete <tester at tester dot ca>
239
240         * gst/gstelement.c: (gst_element_sync_state_with_parent):
241         Look at the pending state too when syncing the element state to the
242         parent. Fixes #420133.
243
244 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
245
246         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
247         (gst_base_sink_change_state):
248         * libs/gst/base/gstbasesink.h:
249         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
250         (gst_base_src_default_event), (gst_base_src_unlock_stop),
251         (gst_base_src_deactivate):
252         * libs/gst/base/gstbasesrc.h:
253         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
254         for sub-classes to correctly clear any state they set trying to
255         unlock, such as clearing out unlock commands from a command fd.
256
257         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
258         (gst_fd_sink_render), (gst_fd_sink_unlock),
259         (gst_fd_sink_unlock_stop):
260         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
261         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
262         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
263
264         Implement unlock_stop in fdsrc and fdsink.
265         Implement seeking in fdsrc when a seekable fd is passed, as in
266         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
267
268 2007-03-19  Wim Taymans  <wim@fluendo.com>
269
270         Patch by: Evan Nemerson <evan at coeus dash group dot com>
271
272         * gst/gstelement.c: (gst_element_class_init):
273         Fix pad-added and pad-removed signal signatures so that the pad type is
274         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
275
276 2007-03-19  Wim Taymans  <wim@fluendo.com>
277
278         * docs/gst/gstreamer-sections.txt:
279         Add new element field and method.
280
281         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
282         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
283         (gst_bin_recalc_state), (gst_bin_get_state_func),
284         (gst_bin_element_set_state), (gst_bin_change_state_func),
285         (gst_bin_continue_func), (bin_bus_handler),
286         (bin_push_state_continue), (bin_handle_async_start),
287         (bin_handle_async_done), (gst_bin_handle_message_func):
288         Make async state changes a bit smarter by using new ASYNC_START and
289         ASYNC_DONE messages. This reduces the number of times we run the state
290         recalculation thread.
291         Don't change state of element with a pending ASYNC_START message.
292         Deprecate STATE_DIRTY messages.
293         
294         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
295         (gst_element_get_state_func), (gst_element_continue_state),
296         (gst_element_lost_state), (gst_element_set_state_func),
297         (gst_element_change_state):
298         * gst/gstelement.h:
299         Keep the state that was last set by the app in a new element field.
300         Don't allow state changes when handling an element event.
301         Post ASYNC_START and ASYNC_DONE messages.
302         Change lost_state so that we go to PAUSED and wait for the parent to set
303         us to PLAYING again (so latency calculation can be performed)
304         Export gst_element_change_state() method so that subclasses can use it.
305         API: gst_element_change_state()
306         API: GST_STATE_TARGET
307
308         * gst/gstpipeline.c: (gst_pipeline_class_init),
309         (reset_stream_time), (gst_pipeline_change_state),
310         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
311         Using the new ASYNC_START message we can reset the base_time when
312         needed. This can then be used to implement base_time redistribution in
313         flushing seeks so that we can remove the explicit seek handling.
314         Perform latency query and configuration when going to PLAYING.
315
316         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
317         (gst_base_sink_query), (gst_base_sink_change_state):
318         Post new ASYNC_START/ASYNC_DONE messages.
319
320         * tests/check/generic/sinks.c: (GST_START_TEST):
321         Fix test because the bin will not set the async element to PLAYING right
322         away.
323
324         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
325         Make the message check a little stronger.
326         Handle ASYNC messages.
327
328         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
329         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
330         Expect ASYNC_DONE messages.
331
332 2007-03-19  Wim Taymans  <wim@fluendo.com>
333
334         * docs/gst/gstreamer-sections.txt:
335         * gst/gstmessage.c: (gst_message_new_async_start),
336         (gst_message_new_async_done), (gst_message_parse_info),
337         (gst_message_parse_async_start):
338         * gst/gstmessage.h:
339         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
340         support.
341
342 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
343
344         * tools/gst-inspect.c:
345         (print_plugin_automatic_install_info_codecs):
346           Now that we don't check for the 'Codec' keyword any longer in the
347           klass, we shouldn't spew a warning if the klass isn't a decoder or
348           encoder (since it might be a Source/Network, for example).
349
350 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
351
352         * tools/gst-inspect.c:
353         (print_plugin_automatic_install_info_codecs):
354           Don't require decoder/demuxer/depayloader elements or
355           encoder/muxer/paylader elements to have 'Codec' as part of their
356           factory class string when introspecting a plugin's capabilities.
357           draft-klass.txt mentions that it might be removed in future, and
358           flump3dec doesn't have it as part of its class string, so chances
359           are others might also not have it.
360
361 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
362
363         * po/af.po:
364         * po/az.po:
365         * po/bg.po:
366         * po/ca.po:
367         * po/cs.po:
368         * po/de.po:
369         * po/en_GB.po:
370         * po/fr.po:
371         * po/it.po:
372         * po/nb.po:
373         * po/nl.po:
374         * po/ru.po:
375         * po/sq.po:
376         * po/sr.po:
377         * po/sv.po:
378         * po/tr.po:
379         * po/uk.po:
380         * po/vi.po:
381         * po/zh_CN.po:
382         * po/zh_TW.po:
383           Update translations from translation project
384
385 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
386
387         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
388         (gst_child_proxy_set_property):
389           Invert precondition check to be alike the ones in the mimiced gobject
390           api.
391
392 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
393
394         * docs/design/draft-tagreading.txt:
395         * docs/random/ensonic/audiobaseclasses.txt:
396           Do some Architect work.
397
398         * gst/gstobject.c: (gst_object_set_name):
399           Add a WARNING.
400
401         * gst/gstpad.c:
402           Add docs that point from gst_pad_get_range to gst_pad_pull_range
403
404 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
405
406         * gst/gstsystemclock.c: (gst_system_clock_init),
407         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
408         Defer starting the async system clock thread until the first async
409         wait is scheduled. Fixes #414986.
410
411 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
412
413         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
414         (gst_single_queue_free):
415           Fix small leak (free GstSingleQueue structure too, not only contents).
416
417 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
418
419         * gst/gstbin.c:(gst_bin_add):
420         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
421         * win32/common/libgstbase.def:
422         * win32/common/libgstreamer.def:
423         Add new exported functions.
424
425 2007-03-09  Wim Taymans  <wim@fluendo.com>
426
427         * docs/plugins/gstreamer-plugins-sections.txt:
428         Fix GstTee docs.
429
430 2007-03-09  Wim Taymans  <wim@fluendo.com>
431
432         * docs/gst/gstreamer-sections.txt:
433         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
434         * gst/gstbuffer.h:
435         Add metadata copy functions. Fixes #393099.
436
437         * gst/gstutils.c: (gst_buffer_stamp):
438         * libs/gst/base/gstbasetransform.c:
439         (gst_base_transform_prepare_output_buffer):
440         Use new metadata copy functions.
441
442 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
443
444         * plugins/elements/gstidentity.c: (gst_identity_class_init),
445         (gst_identity_init), (gst_identity_check_perfect),
446         (gst_identity_check_imperfect_timestamp),
447         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
448         (gst_identity_set_property), (gst_identity_get_property):
449         * plugins/elements/gstidentity.h:
450         Separate out check-imperfect-timestamp and check-imperfect-offset.
451         Put back check-perfect as it was to keep compatibility.
452
453 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
454
455         * gst/gstelement.c: (gst_element_dispose):
456         There's no need to warn if VOID_PENDING is not NONE here, as
457         long as the state is NULL it's ok, and that's checked immediately
458         above.
459
460 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
461
462         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
463         Fix check for perfect stream to ignore buffers with -1 
464         offsets/offset ends when checking data contiguity.
465
466 2007-03-08  Wim Taymans  <wim@fluendo.com>
467
468         * tools/gst-launch.c: (event_loop):
469         Print INFO messages.
470
471 2007-03-08  Wim Taymans  <wim@fluendo.com>
472
473         * libs/gst/base/gstbasetransform.c:
474         (gst_base_transform_sink_eventfunc),
475         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
476         (gst_base_transform_activate):
477         * libs/gst/base/gstbasetransform.h:
478         Add support for dropping buffers with custom GstFlowReturn.
479         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
480         buffers or dropped buffers.
481
482         * docs/libs/gstreamer-libs-sections.txt:
483         docs for new custom return code.
484
485         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
486         Use drop support in base class to implement drop-probability.
487
488 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
489
490         * gst/gst.c: (load_plugin_func):
491         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
492         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
493         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
494           Remove newlines at end of debug log strings.
495
496 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
497
498         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
499         Only post bus message at max, once per buffer received.
500
501 2007-03-07  Wim Taymans  <wim@fluendo.com>
502
503         * docs/design/Makefile.am:
504         * docs/design/part-synchronisation.txt:
505         Add doc about synchronisation
506
507         * docs/design/draft-latency.txt:
508         * docs/design/part-TODO.txt:
509         * docs/design/part-clocks.txt:
510         * docs/design/part-events.txt:
511         * docs/design/part-gstbus.txt:
512         * docs/design/part-gstpipeline.txt:
513         * docs/design/part-live-source.txt:
514         * docs/design/part-messages.txt:
515         * docs/design/part-overview.txt:
516         * docs/design/part-streams.txt:
517         * docs/design/part-trickmodes.txt:
518         Documentation updates.
519
520 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
521
522         * gstreamer.doap:
523         Update the doap file.
524
525 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
526
527         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
528         Rename non-perfect to imperfect for Mike and for the sanctity of the
529         language.
530         Also make sure bus message gets emitted for data-incontiguities.
531
532 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
533
534         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
535         (gst_identity_start):
536         * plugins/elements/gstidentity.h:
537         Emit bus message if check-perfect is true and we encounter a
538         non-perfect stream between 2 consecutive buffers.
539         Fixes #415394.
540
541 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
542
543         * configure.ac:
544         Back to CVS
545
546 === release 0.10.12 ===
547
548 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
549
550         * configure.ac:
551           releasing 0.10.12, "Inevitable Demise"
552
553 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
554
555         * configure.ac:
556          Version 0.10.11.2 (0.10.12 pre-release)
557          Bump libtool versioning.
558
559 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
560
561         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
562           Log flow-names and not numbers.
563
564 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
565
566         * configure.ac:
567           Convert to new AG_GST style.
568
569 2007-02-28  Wim Taymans  <wim@fluendo.com>
570
571         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
572         Don't unref query twice.
573
574 2007-02-28  Wim Taymans  <wim@fluendo.com>
575
576         * gst/gstvalue.c: (gst_value_transform_object_string),
577         (_gst_value_initialize):
578         Implement GstObject -> string transform so we print object names
579         when serializing GValues containing GstObjects.
580
581 2007-02-28  Wim Taymans  <wim@fluendo.com>
582
583         * docs/gst/gstreamer-sections.txt:
584         Add new stuff to docs.
585
586 2007-02-28  Wim Taymans  <wim@fluendo.com>
587
588         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
589         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
590         (gst_base_sink_change_state):
591         Improve latency query code.
592         Don't leak latency events.
593
594         * tests/check/gst/gstbin.c: (GST_START_TEST):
595         Improve debugging.
596
597 2007-02-28  Wim Taymans  <wim@fluendo.com>
598
599         * gst/gstelement.c: (gst_element_message_full),
600         (gst_element_get_state_func):
601         * gst/gstelement.h:
602         Improve docs a little. Added Since: for new macro.
603
604         * gst/gstobject.c: (gst_object_sink):
605         * gst/gstpipeline.c: (gst_pipeline_change_state),
606         (gst_pipeline_set_new_stream_time):
607         * gst/gstpipeline.h:
608         Improve debugging and docs.
609
610         * gst/gstutils.c: (gst_element_state_change_return_get_name):
611         Improve debugging.
612
613 2007-02-28  Wim Taymans  <wim@fluendo.com>
614
615         * gst/gstelement.c: (gst_element_message_full),
616         (gst_element_set_locked_state), (gst_element_get_state_func),
617         (gst_element_change_state):
618         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
619         Documentation updates.
620         Small code cleanups.
621
622         * gst/gstmessage.c: (gst_message_new_info),
623         (gst_message_parse_info):
624         * gst/gstmessage.h:
625         API: gst_message_new_info()
626         API: gst_message_parse_info()
627         Add INFO message create and parse code.
628
629 2007-02-28  Wim Taymans  <wim@fluendo.com>
630
631         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
632         (bin_query_latency_done):
633         Also report the live parameter of a latency query.
634
635 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
636
637         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
638           Copy the current generic/states example from -base and adapt so
639           we can use the exact same code everywhere.
640           Check a STATES_IGNORE_ELEMENTS env var which can be used
641           to ignore certain element factories for this test, which is
642           what is being done in -base
643         * tests/check/Makefile.am:
644           Mention this environment variable.
645
646 2007-02-27  Wim Taymans  <wim@fluendo.com>
647
648         * docs/gst/gstreamer-sections.txt:
649         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
650         (gst_bus_timed_pop), (gst_bus_pop):
651         * gst/gstbus.h:
652         API: gst_bus_timed_pop()
653         Implement gst_bus_timed_pop() to do a blocking timed wait for a
654         message to arrive on the bus.
655
656         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
657         (gst_bus_suite):
658         Two unit tests for new _timed_pop() function.
659
660 2007-02-23  Wim Taymans  <wim@fluendo.com>
661
662         * gst/gstpipeline.c: (gst_pipeline_change_state),
663         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
664         Don't ref a NULL clock in _provide_clock_func().
665         Don't allow an INVALID delay.
666         Don't try to calculate base_time with an invalid start_time.
667         Also distribute and notify a NULL clock when it was selected.
668
669         * tools/gst-launch.c: (event_loop):
670         Don't crash when a NULL clock was selected in the pipeline.
671
672 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
673
674         * docs/design/Makefile.am:
675         * docs/design/draft-missing-plugins.txt:
676         * docs/random/draft-missing-plugins.txt:
677           Some small updates: update plugin system identifier prefix
678           ('gstreamer.net' to 'gstreamer'), mention our new install
679           API in libgstbaseutils rather than libgimme-codec, add
680           reference to the online docs.
681
682 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
683
684         * win32/common/config.h:
685           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
686           use moap cl ci to only check in what is mentioned in the ChangeLog.
687
688 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
689
690         * docs/gst/gstreamer-sections.txt:
691         * gst/gstelement.h:
692           Fix up documentation to link to the correct GstGError section.
693           Add GST_ELEMENT_INFO macro since someone else added a Info message.
694
695 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
696
697         * tools/gst-launch.c: (event_loop):
698           Make sure that we actually show the important message part of a
699           warning message.
700           No need to check if the gerror is not NULL to free; first of all
701           g_free accepts NULL; and second the default error handler would
702           segfault if gerror was NULL.
703
704 2007-02-21  Wim Taymans  <wim@fluendo.com>
705
706         * docs/gst/gstreamer-sections.txt:
707         Removed docs as well.
708
709 2007-02-21  Wim Taymans  <wim@fluendo.com>
710
711         * gst/gstmessage.c: (gst_message_parse_duration):
712         * gst/gstmessage.h:
713         Remove new messages for release.
714
715 2007-02-20  Wim Taymans  <wim@fluendo.com>
716
717         * docs/design/part-gstghostpad.txt:
718         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
719         (gst_ghost_pad_new_full):
720         Make the ghostpad a parent of the internal pad again for better backward
721         compatibility. Don't write code that relies on this however.
722
723         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
724         (gst_pad_link_check_hierarchy):
725         Require that parents should be GstElements in the hierarchy check.
726
727 2007-02-20  Wim Taymans  <wim@fluendo.com>
728
729         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
730         (gst_bin_change_state_func), (bin_query_min_max_init),
731         (bin_query_latency_fold), (bin_query_latency_done),
732         (gst_bin_query):
733         Improve debug info.
734         Implement latency query.
735
736 2007-02-20  Wim Taymans  <wim@fluendo.com>
737
738         * docs/design/part-gstghostpad.txt:
739         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
740         (gst_ghost_pad_internal_do_activate_push),
741         (gst_ghost_pad_internal_do_activate_pull),
742         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
743         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
744         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
745         Do not set the internal pad as a parent anymore so we can avoid
746         hierarchy linking errors when the ghostpad has no parent yet. This also
747         fixes failed activation because of unlinked internal pads, which in
748         turn fixes the impossible case where you have to activate a pad before
749         you can add it to a running element.
750         Also fix the docs.
751
752         * gst/gstpad.c: (pre_activate), (post_activate),
753         (gst_pad_set_active), (gst_pad_activate_pull),
754         (gst_pad_activate_push), (gst_pad_check_pull_range):
755         Add some more debug info.
756         Mark activation mode in pre_activate so that we don't try to activate in
757         endless loops. Fixes #385084.
758
759 2007-02-19  Wim Taymans  <wim@fluendo.com>
760
761         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
762         (gst_base_transform_check_get_range):
763         Implement a checkgetrange function instead of relying on the default
764         core behaviour that assumes we can operate in pull mode if we have a
765         getrange function. First step at fixing #385084.
766
767 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
768
769         * gst/gstchildproxy.h:
770         * libs/gst/base/gstbasesink.h:
771         * libs/gst/base/gstbasesrc.h:
772         * libs/gst/base/gstbasetransform.h:
773         More docs coverage and some ChangeLog surgery (add missing names)
774
775 2007-02-15  Wim Taymans  <wim@fluendo.com>
776
777         * docs/design/part-TODO.txt:
778         * docs/design/part-activation.txt:
779         * docs/design/part-block.txt:
780         * docs/design/part-buffering.txt:
781         * docs/design/part-clocks.txt:
782         * docs/design/part-element-source.txt:
783         * docs/design/part-events.txt:
784         * docs/design/part-gstbin.txt:
785         * docs/design/part-gstbus.txt:
786         * docs/design/part-gstpipeline.txt:
787         * docs/design/part-live-source.txt:
788         * docs/design/part-messages.txt:
789         * docs/design/part-overview.txt:
790         * docs/design/part-qos.txt:
791         * docs/design/part-query.txt:
792         * docs/design/part-states.txt:
793         * docs/design/part-trickmodes.txt:
794         Some doc updates. Start renaming from stream_time to running_time where
795         it was used wrongly.
796
797 2007-02-15  Wim Taymans  <wim@fluendo.com>
798
799         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
800         Answer LATENCY query.
801
802 2007-02-15  Wim Taymans  <wim@fluendo.com>
803
804         * tests/check/gst/gstevent.c: (event_probe), (test_event),
805         (GST_START_TEST):
806         Improve debugging.
807
808 2007-02-15  Wim Taymans  <wim@fluendo.com>
809
810         * gst/gstpad.c: (gst_pad_get_internal_links_default),
811         (gst_pad_dispatcher):
812         Improve debugging of default pad dispatcher and query functions.
813
814 2007-02-15  Wim Taymans  <wim@fluendo.com>
815
816         * docs/gst/gstreamer-sections.txt:
817         Remove old unused method.
818
819 2007-02-13  Wim Taymans  <wim@fluendo.com>
820
821         * tests/check/gst/gstsegment.c: (GST_START_TEST):
822         Fix check
823
824 2007-02-13  Wim Taymans  <wim@fluendo.com>
825
826         * docs/design/part-seeking.txt:
827         Some small update.
828
829         * gst/gstsegment.c: (gst_segment_set_seek):
830         Revert old bogus change that should make seeking work again.
831
832 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
833
834         * docs/random/ensonic/dynlink.txt:
835         * docs/random/ensonic/interfaces.txt:
836         * docs/random/ensonic/receipies.txt:
837           Possible dynamic reconnection api, plus some type fixes the other two
838           docs.
839
840 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
841
842         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
843         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
844         Also check for an absolute path following file:// in the filesrc
845         element. Remove redundant check and call g_path_is_absolute() on the
846         unescaped location.
847
848 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
849
850         * docs/design/draft-klass.txt:
851           Add existing category analysis.
852           
853         * gst/gstcaps.c:
854           Fix doc example, framerate is a fraction.
855
856 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
857
858         * configure.ac:
859         * docs/gst/Makefile.am:
860         * docs/libs/Makefile.am:
861         * docs/plugins/Makefile.am:
862           Add crossreferences to glib/gobject docs.
863
864 2007-02-12  Wim Taymans  <wim@fluendo.com>
865
866         * docs/design/draft-latency.txt:
867         Small update.
868
869         * docs/libs/gstreamer-libs-sections.txt:
870         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
871         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
872         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
873         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
874         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
875         (gst_base_sink_get_position), (gst_base_sink_query),
876         (gst_base_sink_change_state):
877         * libs/gst/base/gstbasesink.h:
878         API: gst_base_sink_query_latency() to let subclasses query the upstream
879         latency.
880         API: gst_base_sink_get_latency() to let subclasses query the configured
881         latency in the sink.
882         Implement query and set latency.
883         Update some docs.
884         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
885         don't continue preroll when we are flushing. Fixes #405284.
886
887         * tests/check/pipelines/stress.c: (change_state_timeout),
888         (quit_timeout), (GST_START_TEST), (stress_suite):
889         Test for #405284.
890
891 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
892
893         Patch by: René Stadler <mail at renestadler de>
894
895         * docs/gst/gstreamer-sections.txt:
896         * gst/gsttaglist.c: (_gst_tag_initialize):
897         * gst/gsttaglist.h:
898           API: add GST_TAG_REFERENCE_LEVEL (#403597).
899
900 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
901
902         * docs/libs/Makefile.am:
903           Fix path to core docs.
904
905         * gst/gstbin.c: (gst_bin_get_by_interface),
906         (gst_bin_iterate_all_by_interface):
907           Refix docs by also renaming 'interface' to 'iface' in implementation.
908
909         * docs/gst/gstreamer-sections.txt:
910         * gst/gstcaps.c:
911         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
912         * gst/gstchildproxy.h:
913         * gst/gstelementfactory.c:
914         * gst/gstpadtemplate.h:
915         * libs/gst/controller/gstcontroller.c:
916         (gst_controlled_property_new):
917           Document more.
918
919 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
920
921         * gst/gstbin.h:(gst_bin_get_by_interface),
922         (gst_bin_iterate_all_by_interface):
923         Replace interface parameter name by iface as interface is 
924         a reserved keyword in Visual Studio for C++ projects so it removes
925         a build error for application developpers using VS.
926         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
927         Fix a bug on Windows in uri format check. Now the prefix checked
928         is file:// and next we check if the path after file:// is absolute.
929         * win32/common/libgstbase.def:
930         * win32/common/libgstdataprotocol.def:
931         * win32/common/libgstgstreamer.def:
932         Add new exported functions.
933
934 2007-02-09  Andy Wingo  <wingo@pobox.com>
935
936         * tests/check/pipelines/simple-launch-lines.c
937         (simple_launch_lines_suite, test_tee): Disable tee test until I
938         have time to fix it :-(
939
940         * tests/check/Makefile.am (noinst_HEADERS): 
941         * tests/check/libs/libsabi.c: 
942         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
943         * tests/check/gst/gstabi.c: 
944         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
945
946         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
947         tests for push and pull tee behavior.
948
949         * plugins/elements/gsttee.h: 
950         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
951         mark as deprecated as well as unimplemented. It was a crack idea.
952         Add support for tee operating in pull mode, off by default.
953
954         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
955         normal-case logs down to LOG, raise errors to WARNING.
956         (gst_registry_xml_read_cache): Don't log before calling a function
957         that logs.
958
959         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
960         exit (registry finalize).
961         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
962         DEBUG log when we emit signals that people don't even have the
963         chance to connect to.
964         (gst_registry_scan_path_level): Less logging in the normal case.
965
966 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
967
968         Patch by: Michal Benes <michal dot benes at itonis dot tv>
969
970         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
971         Correctly generate EOS for non-seekable files. We don't have a total
972         length for them and would get an unexpected end of file if we only
973         special-cased for regular files. (Fixes: #404569)
974
975 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
976
977         * tests/check/elements/filesrc.c: (GST_START_TEST),
978         (filesrc_suite):
979         Add unit test for the GstURIHandler interface in filesrc. This also
980         tests the newly added file://localhost/foo/bar support.
981
982 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
983
984         * gst/gstelementfactory.h:
985           The klass string is not a hierarchy. Add reference to the design doc
986           for more information and common types.
987
988 2007-02-02  Wim Taymans  <wim@fluendo.com>
989
990         * gst/gstquery.c: (gst_query_new_latency):
991         Remove old structure field.
992
993 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
994
995         * tools/gst-launch.1.in:
996           Give example for network streaming (#351998)
997
998 2007-02-02  Wim Taymans  <wim@fluendo.com>
999
1000         * docs/gst/gstreamer-sections.txt:
1001         Add docs for new methods.
1002
1003         * gst/gstevent.c: (gst_event_new_latency),
1004         (gst_event_parse_latency):
1005         * gst/gstevent.h:
1006         Add new LATENCY event to configure latency in a pipeline.
1007         API: gst_event_new_latency
1008         API: gst_event_parse_latency
1009
1010         * gst/gstmessage.c: (gst_message_new_buffering),
1011         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
1012         (gst_message_new_latency), (gst_message_parse_buffering),
1013         (gst_message_parse_lost_preroll):
1014         * gst/gstmessage.h:
1015         Added messages used in draft-latency.
1016         API: gst_message_new_lost_preroll
1017         API: gst_message_parse_lost_preroll
1018         API: gst_message_new_prerolled
1019         API: gst_message_new_latency
1020
1021         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1022         (gst_query_parse_latency):
1023         * gst/gstquery.h:
1024         Implemented new latency query as in design doc.
1025         API: gst_query_new_latency
1026         API: gst_query_set_latency
1027         API: gst_query_parse_latency
1028
1029 2007-02-02  Wim Taymans  <wim@fluendo.com>
1030
1031         * docs/design/draft-latency.txt:
1032         Slight redesign to allow for dynamic latency adjustments.
1033
1034         * docs/design/part-negotiation.txt:
1035         Fix some typos.
1036
1037 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
1038
1039         reviewed by: Wim Taymans <wim@fluendo.com>
1040
1041         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1042         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1043         Allow file://localhost/foo/bar URLs and correctly fail for every other
1044         hostname that one sets. This was gnomevfssrc is linked for those if
1045         installed as it can handle it (#403172)
1046
1047 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
1048
1049         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1050
1051         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1052         (unref_data), (gst_collect_pads_add_pad_full):
1053         * libs/gst/base/gstcollectpads.h:
1054         Don't put the previously added destroy notify in the GstCollectData
1055         struct as all it's padding is already used and we don't want to break
1056         ABI. Instead put in the pad's GObject data for now. This should be
1057         cleaned up for 0.11 (#402393).
1058
1059 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
1060
1061         reviewed by: Wim Taymans <wim@fluendo.com>
1062
1063         * docs/libs/gstreamer-libs-sections.txt:
1064         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1065         (unref_data), (gst_collect_pads_add_pad),
1066         (gst_collect_pads_add_pad_full):
1067         * libs/gst/base/gstcollectpads.h:
1068         API: Add function to specify a destroy notification for custom
1069         GstCollectData when adding new pads in GstCollectPads (#402393).
1070
1071 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
1072
1073         * po/sv.po:
1074           Update Swedish translation (#378255).
1075
1076 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
1077
1078         * docs/design/draft-klass.txt:
1079           Fix the previous change, this is a list of categories and not a hierarchy.
1080
1081 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
1082
1083         * docs/design/draft-klass.txt:
1084           Add info about how to get a list of used classes.
1085
1086 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
1087
1088         * plugins/elements/gsttypefindelement.c:
1089         (gst_type_find_element_chain_do_typefinding),
1090         (gst_type_find_element_change_state):
1091           Don't leak found caps in chain function (no idea why that never
1092           showed up as a leak anywhere).
1093
1094 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
1095
1096         * gst/gstplugin.h:
1097           Fix and expand GstPluginDesc API docs.
1098
1099 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
1100
1101         * gst/gstcaps.c:
1102         * gst/gstelementfactory.c:
1103         * gst/gstpadtemplate.h:
1104           api doc fixes
1105
1106         * libs/gst/controller/gstcontroller.c:
1107         (gst_controlled_property_new):
1108         * tests/examples/controller/audio-example.c:
1109           comment fixes
1110
1111 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
1112
1113         * configure.ac:
1114           comment about refining the xml deps
1115
1116         * docs/manuals.mak:
1117           comments about moving away from jade for docs
1118         
1119         * gst/gst.c:
1120           recommit the ifdefs to use the binary registry
1121         
1122         * gst/gstbin.c: (gst_bin_change_state_func):
1123           this break is obsolete
1124
1125         * gst/gstelementfactory.h:
1126           better GST_ELEMENT_DETAILS docs, add comment about translation
1127
1128         * gst/gstinfo.h:
1129           remove eol slash
1130
1131         * gst/gstobject.c: (gst_signal_object_get_type):
1132           add G_UNLIKELY as usual
1133
1134         * gst/gstpad.c: (gst_pad_event_default):
1135           add fall trhu comment
1136
1137         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1138         (gst_registry_binary_initialize_magic),
1139         (gst_registry_binary_save_string),
1140         (gst_registry_binary_save_pad_template),
1141         (gst_registry_binary_save_feature),
1142         (gst_registry_binary_save_plugin),
1143         (gst_registry_binary_write_cache),
1144         (gst_registry_binary_check_magic),
1145         (gst_registry_binary_load_pad_template),
1146         (gst_registry_binary_load_feature),
1147         (gst_registry_binary_load_plugin),
1148         (gst_registry_binary_read_cache):
1149           comment typo and formatting
1150
1151         * gst/gstutils.c: (gst_element_state_get_name),
1152         (gst_element_state_change_return_get_name):
1153           remove obsolete breaks
1154
1155         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1156           add FIXME 0.11 and remove cpp comment
1157
1158 2007-01-29  Edward Hervey  <edward@fluendo.com>
1159
1160         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1161         Fix print statement in an even more portable way.
1162
1163 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
1164
1165         * docs/gst/gstreamer-sections.txt:
1166         * gst/gstutils.h:
1167           API: add GST_ROUND_DOWN_* macros (#401781).
1168
1169 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
1170
1171         * docs/gst/gstreamer.types.in:
1172         * gst/gstregistry.c: (gst_registry_class_init):
1173           Document registry signals and make gtk-doc pick them up (#401381).
1174
1175 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
1176
1177         * docs/pwg/building-testapp.xml:
1178           Add some audioconverts and audioresample to the pipeline, and some
1179           more comments and error handling.
1180
1181 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
1182
1183         * docs/manual/manual.xml:
1184         * docs/pwg/pwg.xml:
1185           Fix typo (#400987).
1186
1187 2007-01-26  Wim Taymans  <wim@fluendo.com>
1188
1189         * gst/gstcaps.c: (gst_static_caps_get):
1190         Init caps flags too.
1191
1192 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
1193
1194         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
1195
1196         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1197         If not using mmap'ed files try to seek to the end instead of the
1198         start to determine whether we can seek at all. This fixes the case
1199         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
1200         seeks for everything afterwards fail. Fixes #400656
1201
1202 2007-01-25  Wim Taymans  <wim@fluendo.com>
1203
1204         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
1205         Add some refcount debugging.
1206         Make gst_static_caps_get threadsafe, which is needed when autoplugging
1207         in multiple streaming threads.
1208
1209 2007-01-25  Wim Taymans  <wim@fluendo.com>
1210
1211         Patch by: David Schleef <ds at schleef dot org>
1212
1213         * docs/libs/gstreamer-libs-sections.txt:
1214         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
1215         * libs/gst/base/gstadapter.h:
1216         API: gst_adapter_copy() that can reduce the amount of memcpy when
1217         getting data from the adapter. Fixes #388201.
1218
1219 2007-01-25  Edward Hervey  <edward@fluendo.com>
1220
1221         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1222         In print statements, "%x" is for guint. Fixes build on macosx.
1223
1224 2007-01-24  Edward Hervey  <edward@fluendo.com>
1225
1226         * plugins/elements/gstmultiqueue.c:
1227         (gst_multi_queue_loop):
1228         Small fix.
1229         (single_queue_overrun_cb), (single_queue_underrun_cb),
1230         (single_queue_check_full), (gst_single_queue_new):
1231         Implement single queue growth system.
1232         This uses the extra-size properties, and will grow single queues by
1233         that much if one goes full whereas there are others empty. This is
1234         called extra-mode in the code.
1235         When a single queue's levels go back below the initial max-size
1236         limits, it is no longer in extra-mode. This is to ensure we don't
1237         consume too much memory.
1238         Fixes #399875
1239
1240 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
1241
1242         * gst/gst.c: (gst_init_get_option_group):
1243           Make warning about late g_thread_init() calls a bit more explicit,
1244           so that it's more obvious to application developers what they need
1245           to do if a user files a bug against their application.
1246
1247 2007-01-22  Edward Hervey  <edward@fluendo.com>
1248
1249         * plugins/elements/gstmultiqueue.c:
1250         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
1251         Remove previous hack of unsetting the flushing flag for the source pad
1252         instead of activating it. Instead, fix the source pad activate function
1253         so that it no longer depends on having a parent set or not.
1254
1255 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
1256
1257         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
1258
1259         * docs/manual/basics-bus.xml:
1260           Fix example code, gst_element_unref() doesn't exist any longer.
1261
1262 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
1263
1264         Patch by: Mark Nauwelaerts <manauw at skynet be>
1265
1266         * gst/gstpad.c:
1267           Fix two docs typoes (#399094).
1268
1269 2007-01-19  Edward Hervey  <edward@fluendo.com>
1270
1271         * docs/faq/gst-uninstalled:
1272         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
1273         depending on libgstbaseutils can work in uninstalled environment.
1274
1275 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
1276
1277         * gst/gsttaglist.h:
1278         * gst/gsttagsetter.c:
1279         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
1280         statement for new tag.
1281
1282 2007-01-17  Edward Hervey  <edward@fluendo.com>
1283
1284         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
1285         When dynamically creating single queues, activate sinkpad before adding
1286         it.
1287         We should be doing the same thing for the source pad, but we can't
1288         since it would call a method which needs the parent to be set in order
1289         to work propertly. Instead of activating the source pad, we just unset
1290         the flushing flag, which is the minimal requirement for adding a pad
1291         to an element in a state greater than READY.
1292
1293 2007-01-17  Edward Hervey  <edward@fluendo.com>
1294
1295         * docs/faq/gst-uninstalled:
1296         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
1297         Mac OS X.
1298
1299 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
1300
1301         * tests/check/gst/gstabi.c:
1302         * tests/check/gst/struct_hppa.h:
1303         * tests/check/libs/libsabi.c:
1304         * tests/check/libs/struct_hppa.h:
1305           Add ABI structs for HPPA (see #393796).
1306
1307 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
1308
1309         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1310           Actually write ABI structs to the file specified in the GST_ABI
1311           environment variable, as the message we print claims we would.
1312
1313 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1314
1315         * tests/check/gst/gsttask.c:
1316           Fix header comment.
1317
1318 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1319
1320         * gst/gsttaglist.c: (_gst_tag_initialize):
1321           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
1322           previous two entries.
1323
1324 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1325
1326         * docs/gst/gstreamer-sections.txt:
1327         * gst/gsttaglist.c: (_gst_tag_initialize):
1328         * gst/gsttaglist.h:
1329           Add tag support for beat-per-minute.
1330
1331 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1332
1333         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1334         (gst_registry_binary_initialize_magic),
1335         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
1336         (gst_registry_binary_save_pad_template),
1337         (gst_registry_binary_save_feature),
1338         (gst_registry_binary_save_plugin),
1339         (gst_registry_binary_write_cache),
1340         (gst_registry_binary_check_magic),
1341         (gst_registry_binary_load_pad_template),
1342         (gst_registry_binary_load_feature),
1343         (gst_registry_binary_load_plugin),
1344         (gst_registry_binary_read_cache):
1345         * gst/gstregistrybinary.h:
1346           Use glib types, cleanup comments, impement interfaces and uri-types.
1347
1348 2007-01-13  Andy Wingo  <wingo@pobox.com>
1349
1350         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
1351         getrange() to return buffers with other caps, while we fix
1352         demuxers and typefind, or otherwise change part-negotiation.txt.
1353
1354 2007-01-12  Andy Wingo  <wingo@pobox.com>
1355
1356         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
1357         Factor start/stop into this private function instead of partially
1358         in activate functions and partially in the change_state function.
1359         Fixes setup before the element has changed from READY->PAUSED, as
1360         is the case in pull-mode pipelines.
1361         (gst_base_transform_sink_activate_push)
1362         (gst_base_transform_src_activate_pull): Refactor to use
1363         gst_base_transform_activate().
1364         (gst_base_transform_change_state): Removed, not needed any more.
1365
1366         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1367         Truncate before fixating.
1368         
1369         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1370         Don't set_caps() if the result of fixating is ANY, as it's not
1371         supported, and not necessary in the case of a link with no
1372         template caps on either side. Fixes tests/check/libs/basesrc in
1373         some pull-mode tests.
1374
1375         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
1376         (gst_base_transform_init, gst_base_transform_sink_activate_push)
1377         (gst_base_transform_src_activate_pull): 
1378         Track the activation mode.
1379         (gst_base_transform_setcaps): In pull mode, when activating the
1380         src pad, after activating the sink pad, activate the sink pad's
1381         peer, as discussed in part-negotiation.txt.
1382
1383         * libs/gst/base/gstbasesrc.h: 
1384         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
1385         vmethod, as in basesink.
1386
1387         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
1388
1389         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
1390         mode, first proxy the setcaps to the peer pad.
1391         (gst_base_sink_pad_fixate): Add a fixate function that calls the
1392         new fixate vmethod.
1393         (gst_base_sink_default_activate_pull): Rename from
1394         gst_base_sink_activate_pull.
1395         (gst_base_sink_negotiate_pull): New function, performs negotiation
1396         in pull mode before calling ::activate_pull().
1397         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
1398         vmethod instead of the default implementation. I have no idea how
1399         this worked before. Negotiate before calling activate_pull.
1400
1401         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
1402         sink pads in pull mode. In addition to being correct, fixes
1403         filesrc ! decodebin ! identity ! fakesink.
1404         (gst_pad_get_range, gst_pad_pull_range): Don't call
1405         gst_pad_set_caps() if the caps changes; instead error out with
1406         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
1407
1408 2007-01-12  Andy Wingo  <wingo@pobox.com>
1409
1410         * docs/design/part-negotiation.txt: Update with more policy.
1411
1412 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1413
1414         * libs/gst/check/gstbufferstraw.h:
1415         * libs/gst/check/gstcheck.h:
1416           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
1417           belongs.
1418
1419 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1420
1421         * tests/check/Makefile.am:
1422         * tests/check/gst/.cvsignore:
1423         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
1424         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
1425         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
1426         (GST_START_TEST), (gst_tag_setter_suite):
1427           Add minimal unit test for beforementioned GstTagSetter bug.
1428
1429 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1430
1431         Patch by: René Stadler <mail at renestadler dot de>
1432
1433         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1434           gst_tag_list_merge() returns a new list, so it's not the best idea
1435           to ingore its return value. Effectively meant that tags could only
1436           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
1437           Also add function guard to require a non-NULL taglist as input (has
1438           always been so due to gst_tag_list_copy(), just making it explicit).
1439
1440 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1441
1442         * docs/random/draft-missing-plugins.txt:
1443           Some additions: mention new API that is supposed to be used at the
1444           various stages; short blob about new gst-inspect introspection
1445           option; mention potential future problem with plugins that have
1446           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
1447
1448 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1449
1450         * tools/gst-inspect.c:
1451         (print_plugin_automatic_install_info_codecs),
1452         (print_plugin_automatic_install_info_protocols),
1453         (print_plugin_automatic_install_info), (main):
1454         Add --print-plugin-auto-install-info option to gst-inspect, so we can
1455         introspect plugin files and get machine-parsable output that corresponds
1456         to the last bit of the missing-plugin installer string (small gotcha:
1457         doesn't take into account ranks).
1458
1459 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
1460
1461         * configure.ac:
1462         * docs/gst/gstreamer-sections.txt:
1463         * gst/Makefile.am:
1464         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
1465         (gst_registry_lookup_locked):
1466         * gst/gstregistry.h:
1467         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1468         (gst_registry_binary_initialize_magic),
1469         (gst_registry_binary_save_string),
1470         (gst_registry_binary_save_pad_template),
1471         (gst_registry_binary_save_feature),
1472         (gst_registry_binary_save_plugin),
1473         (gst_registry_binary_write_cache),
1474         (gst_registry_binary_check_magic),
1475         (gst_registry_binary_load_pad_template),
1476         (gst_registry_binary_load_feature),
1477         (gst_registry_binary_load_plugin),
1478         (gst_registry_binary_read_cache):
1479         * gst/gstregistrybinary.h:
1480         * gst/gstregistryxml.c: (load_feature),
1481         (gst_registry_xml_read_cache):
1482           commit binary registry (disabled by default, see #359653)
1483
1484 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1485
1486         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
1487           Fix 'make check' too.
1488
1489 2007-01-10  Andy Wingo  <wingo@pobox.com>
1490
1491         * docs/design/part-negotiation.txt: Fix a typo, add a couple
1492         notes.
1493         
1494         * docs/design/part-negotiation.txt: Update with, um, one way that
1495         pull-mode negotiation might work?
1496
1497         * gst/gstpad.h: 
1498         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
1499         that the pad must be a src pad; makes sense to call it the other
1500         way in pull mode, and the logic is symmetric anyway.
1501
1502 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
1503
1504         * plugins/elements/gstfilesink.c:
1505           Include <stdio.h> for fseeko().
1506
1507 2007-01-10  Wim Taymans  <wim@fluendo.com>
1508
1509         * gst/gstevent.c:
1510         * gst/gstevent.h:
1511         Reserve LATENCY event.
1512
1513 2007-01-09  Wim Taymans  <wim@fluendo.com>
1514
1515         * docs/design/draft-latency.txt:
1516         Updates.
1517
1518 2007-01-09  Wim Taymans  <wim@fluendo.com>
1519
1520         * docs/design/draft-latency.txt:
1521         Updates.
1522
1523         * gst/gstelement.h:
1524         * gst/gststructure.c:
1525         * gst/gsttrace.c:
1526         Small typo fixes.
1527
1528 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1529
1530         * tests/check/.cvsignore:
1531           Ignore test-registry.xml as well.
1532
1533 2007-01-09  Wim Taymans  <wim@fluendo.com>
1534
1535         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
1536         unref data at the end when we are done with the pad.
1537
1538 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
1539
1540         * docs/gst/gstreamer-sections.txt:
1541         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
1542         (init_post), (gst_deinit), (gst_update_registry):
1543         * gst/gst.h:
1544           API: add gst_update_registry() (#391296).
1545
1546         * tests/check/Makefile.am:
1547         * tests/check/gst/gstregistry.c:
1548         * tests/check/gst/.cvsignore:
1549           Simple unit test for the above.
1550
1551 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
1552
1553         * gst/gstregistry.c: (gst_registry_scan_path_level):
1554           Plugin extension on HP-UX is .sl, add that to the list of approved
1555           plugin extensions (see #393796).
1556
1557         * tests/check/gst/gstpad.c: (GST_START_TEST):
1558           ulong => gulong. Fixes compilation with HP-UX compiler.
1559
1560         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1561           Fix compilation if valgrind headers are not available.
1562
1563 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
1564
1565         * win32/common/libgstreamer.def: 
1566           Add new exported function.
1567         * win32/vs6/libgstbase.dsp: 
1568           Add gstdataqueue.c to the build.
1569         * win32/vs6/libgstcoreelements.dsp:
1570           Add gstmultiqueue.c to the build.
1571         
1572 2007-01-06  Andy Wingo  <wingo@pobox.com>
1573
1574         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
1575         activate_pull(), providing for a way to specialize the process of
1576         spawning a thread to pull on the sink pad. There is a default
1577         implementation.
1578
1579         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
1580         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
1581         (gst_base_sink_init): Renamed pad activation functions (inserting
1582         "_pad" in their names). Refactor to use the new activate_pull
1583         vmethod, as appropriate.
1584         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
1585         default activate_pull function to start a task pulling from the
1586         sink pad, as before.
1587
1588         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
1589         on the pads if necessary, as in push()/chain(). Update docs.
1590         Shouldn't affect existing pull() usage as it is currently only
1591         being used on buffers without caps.
1592
1593 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1594
1595         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1596         (init_pre):
1597           Call g_thread_init() first thing in gst_init() / gst_check_init().
1598           When initialisation is done via gst_init_get_option_group() and
1599           GOption parsing, issue a warning if the GLib thread system has not
1600           been initialised yet by the time gst_init_get_option_group() is
1601           called, as it's quite likely other GLib functions such as
1602           g_option_context_new() have been called already then, and
1603           g_thread_init() must be called before any other GLib function. The
1604           application in question must be fixed in that case, since memory
1605           corruption might happen otherwise.
1606           We issue the warning because even if the GLib folks decide to work
1607           around the problem on their end in future, this is still an issue
1608           with all GLib versions >= 2.10.0, so we should warn until we depend
1609           on a GLib version we know to be safe.
1610           Update documentation as well.
1611           Closes bug #391278.
1612
1613 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1614
1615         * tools/gst-inspect.c: (main):
1616         * tools/gst-launch.c: (main):
1617         * tools/gst-typefind.c: (main):
1618         * tools/gst-xmlinspect.c: (main):
1619           Call g_thread_init() really really early, before any other GLib
1620           function (see #342564 and recent discussion on gtk-devel-list).
1621
1622 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1623
1624         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
1625
1626         * gst/gst_private.h:
1627         * gst/gstconfig.h.in:
1628         * gst/gstinfo.h:
1629           On win32, all the __declspec stuff for symbol exporting is
1630           apparently only needed with MSVC, but doesn't work with MingW.
1631           Fixes compilation with MingW and #391909.
1632
1633 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1634
1635         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
1636           Change some GST_ERROR_OBJECT that aren't really errors to
1637           GST_WARNING_OBJECT in order to reduce terminal spam.
1638
1639 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
1640
1641         * tests/check/Makefile.am:
1642           disable test again, as there seem to be still race problems
1643
1644 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
1645
1646         * tests/check/Makefile.am:
1647         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1648         (GST_START_TEST), (queue_suite):
1649           enable queue test again, add tests for the leaky behaviour
1650
1651 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
1652
1653         * configure.ac:
1654         * tests/examples/Makefile.am:
1655           Compile adapter test/example only if the required headers are
1656           available (fixes #391915).
1657
1658 2007-01-01  David Schleef  <ds@schleef.org>
1659
1660         * gst/gstplugin.c:
1661           Restore the previous signal handler for SIGSEGV instead of
1662           setting to default, since we may have stolen it away from
1663           someone.  (i.e., Mono)
1664
1665 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
1666
1667         * docs/random/draft-missing-plugins.txt:
1668           Some small additions and clarifications.
1669
1670 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
1671
1672         * gst/gstregistryxml.c: (gst_registry_save_escaped):
1673           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
1674           since that can lead to random memory corruptions and crashes
1675           (may or may not be related to #383244, #386711, and #386711).
1676
1677 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1678
1679         * tests/check/.cvsignore:
1680         * tests/check/Makefile.am:
1681           sync .cvsignome and CLEANFILES
1682
1683 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1684
1685         * tests/check/Makefile.am:
1686           fix distcheck
1687
1688 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1689
1690         * docs/design/part-states.txt:
1691           two tiny additional comments
1692         
1693         * gst/gststructure.c:
1694           doc fixing
1695
1696         * tests/check/Makefile.am:
1697         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1698         (GST_START_TEST):
1699           disable test for now, unless it gets fixed
1700
1701 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1702
1703         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1704         (GST_START_TEST):
1705           fix race in underrun test
1706
1707 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1708
1709         * tests/check/elements/.cvsignore:
1710           ignore more
1711
1712         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1713         (GST_START_TEST):
1714           try to narrow test failure
1715
1716 2006-12-21  David Schleef  <ds@schleef.org>
1717
1718         * plugins/elements/gstfakesrc.c:
1719           Use g_random_int_range(), since it produces better random
1720           numbers in a range than almost-correct floating point code.
1721
1722 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1723
1724         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1725         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1726         (gst_check_teardown_sink_pad):
1727           do not automatically (de)activate pads
1728
1729         * tests/check/Makefile.am:
1730         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1731         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
1732           add new, yet simple tests for queue
1733
1734         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
1735         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
1736         * tests/check/elements/filesrc.c: (cleanup_filesrc),
1737         (GST_START_TEST):
1738         * tests/check/elements/identity.c: (cleanup_identity):
1739           consistent pad (de)activation
1740
1741 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
1742
1743         Patch by: Sebastian Dröge  <slomo ubuntu com>
1744
1745         * libs/gst/base/gstcollectpads.c:
1746           Fix two doc typos (#387866).
1747
1748 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
1749
1750         * docs/manual/advanced-dparams.xml:
1751           Fix typo (g_object_control_properties() doesn't exist).
1752
1753 2006-12-19  Edward Hervey  <edward@fluendo.com>
1754
1755         * gst/gstsegment.c: (gst_segment_set_seek):
1756         Fine tune the cases where the segment start/stop values are really
1757         updated.
1758         * tests/check/gst/gstsegment.c: (GST_START_TEST):
1759         Add tests for the return values of gst_segment_set_seek().
1760
1761 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
1762
1763         * gst/gst.c:
1764           Docs typo fix.
1765
1766         * plugins/elements/gstqueue.c: (gst_queue_class_init),
1767         (gst_queue_init):
1768           Fix incorrect documentation and flesh it out a bit more.
1769           Set default values for the max properties on the GParamSpec as well,
1770           so it shows up correctly in gst-inspect.
1771
1772 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
1773
1774         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1775           Correct docs of queue, add more detail and crosslink it more.
1776
1777 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
1778
1779         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1780           Print additional debug info when the stream isn't perfectly
1781           timestamped; don't try to use invalid durations.
1782
1783 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
1784
1785         * docs/design/Makefile.am:
1786           Dist new design docs.
1787
1788 2006-12-16  Wim Taymans  <wim@fluendo.com>
1789
1790         Patch by: Sjoerd Simons <sjoerd at luon dot net>
1791
1792         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
1793         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
1794         (gst_collect_pads_stop), (gst_collect_pads_event),
1795         (gst_collect_pads_chain):
1796         * libs/gst/base/gstcollectpads.h:
1797         Add refcounting to the collectpads data so we can track when it's safe
1798         to free the data. Fixes #383382.
1799
1800 2006-12-15  Wim Taymans  <wim@fluendo.com>
1801
1802         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1803         (gst_collect_pads_remove_pad):
1804         Automatically activate/deactivate pads when they are added to a
1805         started/stoped collectpads.
1806
1807 2006-12-15  Wim Taymans  <wim@fluendo.com>
1808
1809         * gst/gstelement.c: (gst_element_add_pad):
1810         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
1811         * gst/gstpad.c: (gst_pad_init):
1812         Set pads to FLUSHING when they are created. Check, warn and fix when a
1813         demuxer adds an inactive pad to itself when running. Fixes #339326.
1814
1815 2006-12-15  Wim Taymans  <wim@fluendo.com>
1816
1817         * gst/gstelement.c: (gst_element_class_init),
1818         (gst_element_default_send_event), (gst_element_send_event),
1819         (gst_element_default_query), (gst_element_query):
1820         Expose default element send_event and query handling as vmethods that
1821         subclasses can chain up to.
1822
1823 2006-12-15  Wim Taymans  <wim@fluendo.com>
1824
1825         * gst/gstelement.c: (gst_element_set_state_func):
1826         Small documentation fixes.
1827
1828 2006-12-15  Wim Taymans  <wim@fluendo.com>
1829
1830         * docs/design/draft-latency.txt:
1831         Checked in draft for handling latency in pipelines.
1832
1833 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1834
1835         * Makefile.am:
1836         * gstreamer.doap:
1837         * gstreamer.spec.in:
1838           adding .doap file
1839
1840 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
1841
1842         * gst/gst.c: (init_pre), (init_post):
1843           init_pre() and init_post() might be called via our GOptionGroup or
1844           from gst_init(), and we should skip both of them if we've already
1845           been initialised, otherwise we will init some things twice or add
1846           two default log functions.
1847
1848 2006-12-13  Edward Hervey  <edward@fluendo.com>
1849
1850         * docs/manual/basics-bus.xml:
1851         No, gst_main_loop does not exist. Its g_main_loop.
1852         Discovered by somebody who abused the copy-paste technique of coding :)
1853
1854 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
1855
1856         * gst/gstghostpad.c:
1857           Log ghostpad debug stuff to the GST_PADS category as well rather
1858           than just to the default category.
1859
1860 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
1861
1862         * configure.ac:
1863         * gst/gst.c: (init_pre):
1864           Add some basic system details such as OS and architecture
1865           to the debug output if possible, courtesy of uname().
1866
1867 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
1868
1869         * docs/gst/running.xml:
1870           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
1871           environment variables.
1872
1873 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
1874
1875         * tests/check/gst/gstbin.c: (GST_START_TEST):
1876         It is acceptable to have a refcount of 2 or 3 at this point in the
1877         test, because the pipeline might be just posting its state_change
1878         message. The next line then waits for that message to appear using
1879         bus_poll, so that should be fine too.
1880
1881 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
1882
1883         * gst/gst.c: (ensure_current_registry_forking):
1884         Ignore EINTR when reading from the child registry pipe.
1885         Explicitly ignore the return value from close, since it makes no
1886         difference.
1887
1888         * gst/gstminiobject.c: (gst_mini_object_ref),
1889         (gst_mini_object_unref):
1890         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
1891
1892         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
1893         When removing cached plugins, remove their features too, so they're
1894         not visible after they've disappeared.
1895
1896         * gst/gstutils.c: (prepare_link_maybe_ghosting):
1897         In the unlikely case that we are linking pads with no parents, don't
1898         crash trying to get the non-existent parent bin.
1899
1900         * gst/parse/grammar.y:
1901         Output debug in the PIPELINE category
1902
1903 2005-03-08  Wim Taymans  <wim@fluendo.com>
1904
1905         Patch by: René Stadler <mail at renestadler dot de>
1906
1907         * gst/gstclock.c: (gst_clock_new_periodic_id):
1908         Reject invalid clock times for interval of periodic ids.
1909         Fixes ##383506.
1910
1911 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
1912
1913         * gst/gstelementfactory.c: (gst_element_factory_create):
1914         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1915         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
1916         * tools/gst-inspect.c: (print_element_info):
1917         Fix refcounting of gst_plugin_feature_load to match the docs. 
1918         Fixes: #380129
1919
1920 2006-12-07  Wim Taymans  <wim@fluendo.com>
1921
1922         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
1923         (gst_base_sink_get_position):
1924         Improve debugging of events.
1925
1926 2006-12-07  Wim Taymans  <wim@fluendo.com>
1927
1928         Patch by: René Stadler <mail at renestadler dot de>
1929
1930         * gst/gstclock.c: (gst_clock_id_wait):
1931         Make period ids add the interval to the origial requested time instead
1932         of the possibly updated time which can be wrong when there are multiple
1933         waiters for the same id. Fixes #382592.
1934
1935         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
1936         (gst_system_clock_id_wait_jitter_unlocked),
1937         (gst_system_clock_id_wait_jitter):
1938         Fix restart in the async notify thread when an async entry is added to
1939         the front of the list. Fixes #381492. 
1940
1941         * tests/check/gst/gstsystemclock.c: (store_callback),
1942         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
1943         Added test for multiple async waits.
1944         Added test for async wait order.
1945
1946 2006-12-07  Wim Taymans  <wim@fluendo.com>
1947
1948         * gst/gstbin.c: (gst_bin_query):
1949         Add some more docs about the POSITION query.
1950
1951 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
1952
1953         * configure.ac:
1954         Bump version nano - back to CVS.
1955
1956 === release 0.10.11 ===
1957
1958 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
1959
1960         * configure.ac:
1961           releasing 0.10.11, "Love never runs on time"
1962
1963 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
1964
1965         * win32/common/libgstbase.def:
1966         * win32/common/libgstreamer.def:
1967         * win32/vs8/libgstbase.vcproj:
1968         * win32/vs8/libgstcoreelements.vcproj:
1969         * win32/vs8/libgstreamer.vcproj:
1970         Fix compilation on win32 under VS8
1971         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
1972         Partially fixes #381175
1973
1974 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
1975
1976         * gst/gstvalue.c: (gst_value_compare_fraction):
1977         If someone is foolish enough to compare 2 fractions with denominator =
1978         0, return UNORDERED rather than aborting.
1979
1980 2006-11-28  Edward Hervey  <edward@fluendo.com>
1981
1982         * libs/gst/base/Makefile.am:
1983         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
1984         (gst_data_queue_base_init), (gst_data_queue_class_init),
1985         (gst_data_queue_init), (gst_data_queue_new),
1986         (gst_data_queue_cleanup), (gst_data_queue_finalize),
1987         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
1988         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
1989         (gst_data_queue_is_empty), (gst_data_queue_is_full),
1990         (gst_data_queue_set_flushing), (gst_data_queue_push),
1991         (gst_data_queue_pop), (gst_data_queue_drop_head),
1992         (gst_data_queue_set_property), (gst_data_queue_get_property):
1993         * libs/gst/base/gstdataqueue.h:
1994         New GstDataQueue object for threadsafe queueing. Most useful for
1995         elements that need some queueing functionnality.
1996         * docs/libs/gstreamer-libs-docs.sgml:
1997         * docs/libs/gstreamer-libs-sections.txt:
1998         Insert documentation for GstDataQueue
1999         * plugins/elements/Makefile.am:
2000         * plugins/elements/gstelements.c:
2001         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2002         (gst_multi_queue_class_init), (gst_multi_queue_init),
2003         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2004         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
2005         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
2006         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2007         (gst_multi_queue_loop), (gst_multi_queue_chain),
2008         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2009         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
2010         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
2011         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
2012         (wake_up_next_non_linked), (compute_next_non_linked),
2013         (single_queue_overrun_cb), (single_queue_underrun_cb),
2014         (single_queue_check_full), (gst_single_queue_new):
2015         * plugins/elements/gstmultiqueue.h:
2016         New multiqueue element, using GstDataQueue. Used for queuing multiple
2017         streams.
2018         Closes #344639 and #347785
2019
2020 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
2021
2022         * docs/pwg/advanced-types.xml:
2023           add more missing type details
2024
2025         * tools/gst-run.c: (main):
2026           remove unused variable
2027
2028 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
2029
2030         * docs/libs/Makefile.am:
2031         * docs/libs/gstreamer-libs.types:
2032           add types of base classes to enable gobject specific stuff in the docs
2033
2034         * docs/random/ensonic/embedded.txt:
2035           more ideas about isolating platform specific things
2036
2037 2006-11-20  Wim Taymans  <wim@fluendo.com>
2038
2039         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
2040
2041         * libs/gst/check/gstcheck.h:
2042         Fix compilation and running against 0.9.4. Fixes #377332.
2043
2044 2006-11-20  Wim Taymans  <wim@fluendo.com>
2045
2046         * gst/gstsegment.c: (gst_segment_set_seek),
2047         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2048         (gst_segment_to_running_time):
2049         Fix boundary checking in to_running_time() and to_stream_time().
2050         Fixes #377183.
2051
2052         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2053         stream and running time can now be calculated for the complete
2054         clipped segment.
2055
2056 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
2057
2058         * gst/gstpad.c: (gst_pad_push_event):
2059           Can't access event structure after giving away ownership of
2060           the event.
2061
2062 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
2063
2064         * docs/random/ensonic/embedded.txt:
2065         * docs/random/ensonic/profiling.txt:
2066         * docs/random/ensonic/receipies.txt:
2067           more thinking
2068
2069 2006-11-13  Wim Taymans  <wim@fluendo.com>
2070
2071         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2072
2073         * gst/gstpad.c:
2074         Fix documentation for gst_pad_dispatcher. Fixes #374475.
2075
2076 2006-11-13  Wim Taymans  <wim@fluendo.com>
2077
2078         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
2079
2080         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2081         Store new length in segment duration so we don't keep on calling the
2082         potentially expensize get_size() call. Fixes #370865.
2083
2084 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
2085
2086         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
2087
2088         * win32/common/libgstreamer.def:
2089           Add two missing symbols (#366492).
2090
2091 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
2092
2093         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
2094         (gst_adapter_take_buffer):
2095         Fix format string to use all its arguments.
2096         Remove useless >= check on a guint
2097
2098 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2099
2100         * tests/examples/adapter/.cvsignore:
2101         Ignore build file as commanded by the build-bot
2102
2103 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2104
2105         * tests/examples/adapter/Makefile.am:
2106         * tests/examples/adapter/adapter_test.c: (run_test_take),
2107         (run_test_take_buffer), (run_tests), (main):
2108
2109         Add new files from the previous commit
2110
2111 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
2112
2113         * Makefile.am:
2114         * configure.ac:
2115         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
2116         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
2117         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
2118         * libs/gst/base/gstadapter.h:
2119         * tests/check/libs/adapter.c: (create_and_fill_adapter),
2120         (GST_START_TEST), (gst_adapter_suite):
2121         * tests/examples/Makefile.am:
2122         Do some optimisation work in GstAdapter to avoid copies in more cases.
2123         It could still do slightly better by merging buffers when
2124         gst_buffer_is_span_fast is true, but is already faster. 
2125
2126         Also, avoid traversing a single-linked list to append each incoming 
2127         buffer inside the adapter.
2128
2129         Add simple test app that times the adapter behaviour in different
2130         situations, and extend the unit test to check that bytes enter and
2131         exit the adapter in their original order.
2132
2133 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
2134
2135         * docs/random/draft-missing-plugins.txt:
2136           Update: use element message instead of adding a new message
2137           type to the core; don't provide GStreamer API to initiate the
2138           plugin download, just provide API to compose the strings needed
2139           and let an external libgimmestuff handle the rest.
2140
2141 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
2142
2143         * tools/gst-inspect.c: (print_element_properties_info):
2144         Print a string instead of 'unknown type' for GValueArray properties
2145
2146 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
2147
2148         * docs/random/draft-missing-plugins.txt:
2149         More small fixes.
2150
2151 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2152
2153         * tests/examples/typefind/typefind.c: (type_found), (main):
2154           Make typefind element example work again (#371894); add a
2155           license header.
2156
2157 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2158
2159         * docs/random/draft-missing-plugins.txt:
2160           Commit initial draft about how to deal with missing plugins,
2161           needs work (API too).
2162
2163 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
2164
2165         * docs/pwg/advanced-types.xml:
2166           documents the new caps elements (see #363118)
2167
2168 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2169
2170         * gst/gstplugin.c: (gst_plugin_load_file):
2171         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
2172         (gst_file_src_map_region), (gst_file_src_start):
2173         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
2174         (gst_file_index_commit):
2175           Use g_strerror() instead of strerror() - we want UTF-8.
2176
2177 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2178
2179         Patch by: Peter Kjellerstedt <pkj at axis com>
2180
2181         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2182           Another printf fix (#371493).
2183
2184 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2185
2186         * tests/check/gst/gsttag.c:
2187           relicence (okay with author=company)
2188
2189 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2190
2191         * gst/gstpad.c: (gst_pad_event_default_dispatch),
2192         (gst_pad_push_event):
2193           Enhance debug and improve docs
2194         
2195         * gst/gsturi.c:
2196           Fix docs
2197
2198 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2199
2200         * docs/random/ensonic/distributed.txt:
2201         * docs/random/ensonic/profiling.txt:
2202           more ideas
2203
2204 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2205
2206         * docs/gst/gstreamer-sections.txt:
2207           add new API and fix the build
2208           
2209         * gst/gstbin.c: (gst_bin_recalc_state):
2210         * gst/gstelement.c: (gst_element_message_full),
2211         (gst_element_get_state_func), (gst_element_set_state_func):
2212           use new API and improve logging
2213         
2214         * gst/gstutils.c: (gst_element_state_change_return_get_name):
2215         * gst/gstutils.h:
2216           API: add function to get StateChangereturn names to improve logs 
2217
2218 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
2219
2220         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2221           I'm considering shooting the next person to put strerror stuff
2222           in the translateable part of the message.
2223
2224 2006-11-03  Wim Taymans  <wim@fluendo.com>
2225
2226         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2227         Get the type and printf conversion specifiers right.
2228
2229 2006-11-03  Wim Taymans  <wim@fluendo.com>
2230
2231         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2232
2233         * gst/gstpad.c: (gst_pad_init), (pre_activate),
2234         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
2235         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
2236         Some small cleanups. Improve debugging.
2237         * gst/gstpad.h:
2238         Signal all waiting threads with a broadcast instead of just one.
2239         Fixes #369942.
2240
2241 2006-11-03  Wim Taymans  <wim@fluendo.com>
2242
2243         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2244         (gst_fd_src_create):
2245         Add some debugging. 
2246         Only update fd when it's different from the old.
2247
2248 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2249
2250         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
2251           Printf fixes for PPC/OSX, take two (#369366).
2252
2253 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2254
2255         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
2256
2257         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2258         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2259         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2260           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
2261           don't cast to long long for portability reasons, but use
2262           GLib's types instead.
2263
2264 2006-10-30  Michael Smith  <msmith@fluendo.com>
2265
2266         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2267           Get the arguments to lseek() the right way around.
2268           Fixes 367677.
2269
2270 2006-10-30  Wim Taymans  <wim@fluendo.com>
2271
2272         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
2273
2274         * gst/gstinfo.h:
2275         _declspec should be __declspec (two underscores, not one). Fixes 366572.
2276
2277 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
2278
2279         Patch by: Kjartan Maraas  <kmaraas at gnome org>
2280
2281         * docs/design/part-MT-refcounting.txt:
2282         * docs/random/wtay/capsnego2-docs:
2283         * gst/gstclock.c:
2284         * gst/gstxml.c:
2285           Typo fixes (#366212).
2286
2287 2006-10-28  Wim Taymans  <wim@fluendo.com>
2288
2289         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2290
2291         * gst/gst.c:
2292         * win32/common/libgstbase.def:
2293         * win32/common/libgstreamer.def:
2294         * win32/vs8/libgstbase.vcproj:
2295         * win32/vs8/libgstcontroller.vcproj:
2296         Add needed entries in .def files.
2297         Use HAVE_UNISTD_H.
2298         Rearrange def files in vs8 solutions. Fixes #366286.
2299
2300 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
2301
2302         * win32/common/gstconfig.h:
2303           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
2304           hand-made win32 gstconfig.h. Fixes #366321.
2305
2306 2006-10-27  Wim Taymans  <wim@fluendo.com>
2307
2308         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
2309         (gst_ghost_pad_new_full):
2310         Make acceptcaps return TRUE when we don't have a target, just like
2311         setcaps does.
2312
2313 2006-10-27  Wim Taymans  <wim@fluendo.com>
2314
2315         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2316         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
2317
2318 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
2319
2320         * gst/gststructure.c: (gst_structure_id_set_value):
2321           If someone tries to set a non-UTF8 string field on a structure,
2322           don't just print a warning, but also ignore the request and do
2323           not change/add that field to the structure.
2324
2325         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2326           Test for the above.
2327
2328 2006-10-25  David Schleef  <ds@schleef.org>
2329
2330         * gst/gstinfo.c:
2331           g_hash_table_insert() needs a cast to a non-const pointer duh.
2332
2333 2006-10-25  David Schleef  <ds@schleef.org>
2334
2335         * gst/gstinfo.c:
2336         * gst/gstinfo.h:
2337           Change name parameter of _gst_debug_register_funcptr to const
2338           to reflect the constness of its use in the function as well
2339           as to quiet a gcc warning.
2340
2341 2006-10-25  Edward Hervey  <edward@fluendo.com>
2342
2343         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2344         Don't push the buffer if it's empty.
2345         Closes #363095
2346
2347 2006-10-24  Wim Taymans  <wim@fluendo.com>
2348
2349         * gst/gstevent.h:
2350         Add small comment.
2351
2352         * libs/gst/base/gstbasetransform.c:
2353         (gst_base_transform_sink_eventfunc):
2354         Debug segment values *after* updating them as this is more
2355         interesting.
2356
2357 2006-10-23  Wim Taymans  <wim@fluendo.com>
2358
2359         * docs/design/part-events.txt:
2360         Update some docs.
2361
2362         * docs/design/part-block.txt:
2363         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2364         (gst_pad_push_event):
2365         Revert BLOCKING patch, it tries to be smart without really having a
2366         clear idea what or how. So, now we discard all FLUSHING events again on
2367         a blocking pad. Should fix gnonlin again.
2368
2369 2006-10-23  Wim Taymans  <wim@fluendo.com>
2370
2371         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2372
2373         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2374         (gst_base_src_start), (gst_base_src_activate_push):
2375         Make sure size is always initialized. Fixes #364388.
2376
2377 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
2378
2379         * docs/random/ensonic/distributed.txt:
2380           add some ideas about doing distributed processing
2381
2382         * docs/random/ensonic/profiling.txt:
2383           get_rusage look promising
2384
2385 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
2386
2387         * docs/manual/basics-helloworld.xml:
2388           Add a cast in example to fix compile warning
2389
2390 2006-10-18  Wim Taymans  <wim@fluendo.com>
2391
2392         * gst/gstsegment.c: (gst_segment_set_last_stop),
2393         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2394         Relax arg checking again, -1 is allowed.
2395
2396 2006-10-18  Wim Taymans  <wim@fluendo.com>
2397
2398         * gst/gstsegment.c: (gst_segment_set_last_stop),
2399         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2400         _set_last_stop() must be with a value != -1
2401         A _TYPE_SET to -1 means seek to 0.
2402         Calc last_stop correctly for negative rates.
2403         Make sure we work with positive durations when updating a segment.
2404
2405 2006-10-18  Wim Taymans  <wim@fluendo.com>
2406
2407         * docs/design/part-live-source.txt:
2408         * gst/gstclock.h:
2409         Small docs fixes.
2410
2411 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
2412
2413         * gst/gstbuffer.h:
2414           Add an explicit cast to GstBuffer** to keep old code that added an
2415           explicit cast to GstMiniObject** for gst_mini_object_replace()
2416           compiling without warning.
2417
2418 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
2419
2420         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
2421           check for validity of dates
2422
2423 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2424
2425         * docs/gst/gstreamer-sections.txt:
2426           Forgot this one, makes gtk-doc shut up.
2427
2428 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2429
2430         Patch by: Peter Kjellerstedt <pkj at axis com>
2431
2432         * gst/gstobject.h:
2433           Don't define xmlNodePtr to gpointer if the core was built with
2434           --disable-loadsave and --disable-registry, this will break
2435           applications that want to use libxml2 but are buildling against a
2436           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
2437           instead so we don't have to mess with the libxml2 namespace
2438           (#361675).
2439
2440 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2441
2442         * gst/gstbuffer.h:
2443           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
2444           type-punned pointer warnings.
2445
2446 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2447
2448         * gst/gstelement.h:
2449           Add casts to the correct return type to state <=> state transition
2450           macros.
2451
2452 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
2453
2454         * docs/design/part-live-source.txt:
2455           describe howto handle latency
2456         
2457         * docs/random/ensonic/profiling.txt:
2458           more ideas
2459
2460         * tools/gst-plot-timeline.py:
2461           fix log parsing for solaris, remove unused function
2462
2463 2006-10-16  Wim Taymans  <wim@fluendo.com>
2464
2465         * docs/design/part-trickmodes.txt:
2466         * gst/gstevent.c:
2467         Update some docs regarding reverse playback.
2468
2469 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2470
2471         Patch by: Marcus Granado  <mrc dot gran at gmail com>
2472
2473         * win32/vs8/grammar.vcproj:
2474           Error out with a warning if glib-genmarshal.exe is not in path,
2475           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
2476
2477 2006-10-13  Wim Taymans  <wim@fluendo.com>
2478
2479         * gst/gstsegment.c: (gst_segment_set_seek):
2480         When seeking to stop -1, set last_stop (current position) to the
2481         duration of the segment.
2482
2483 2006-10-13  Wim Taymans  <wim@fluendo.com>
2484
2485         * gst/gstelement.h:
2486         Clarify _NO_PREROLL a bit more.
2487
2488         * gst/gstevent.c:
2489         Fix docs.
2490
2491         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
2492         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
2493         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
2494         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
2495         due to wrong locking order. Fixes #361769.
2496         Remove some redundant/misplaced checks in pad_block.
2497
2498         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2499         For negative rates, count backwards from the duration.
2500
2501 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2502
2503         * gst/gsterror.c: (_gst_library_errors_init):
2504           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
2505           up with something better).
2506
2507 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
2508
2509         * win32/vs6/libgstreamer.dsp:
2510         * win32/vs7/libgstreamer.vcproj:
2511         * win32/vs8/libgstreamer.vcproj:
2512           Don't reference glib-compat.c which is currently not used and not
2513           disted; add gstquark.c which was recently added. Fixes #361730.
2514
2515 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
2516
2517         * win32/common/libgstbase.def:
2518         * win32/common/libgstcontroller.def:
2519         * win32/common/libgstreamer.def:
2520           Add gst_caps_merge() and a bunch of other recently-added functions.
2521           Fixes #361732.
2522
2523 2006-10-11  Wim Taymans  <wim@fluendo.com>
2524
2525         * docs/plugins/gstreamer-plugins.args:
2526         * docs/plugins/inspect/plugin-coreelements.xml:
2527         * docs/plugins/inspect/plugin-coreindexers.xml:
2528         Update element args.
2529
2530         * gst/gstsystemclock.c:
2531         Small comment update.
2532
2533         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
2534         (gst_tee_request_new_pad), (gst_tee_release_pad),
2535         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
2536         (gst_tee_sink_activate_pull):
2537         * plugins/elements/gsttee.h:
2538         Some tee loving:
2539         Add default property defines.
2540         Implement release pad function.
2541         Give properties better blubs etc.
2542         Activate pads before adding them to a running tee.
2543         Do simple buffer_alloc on the first requested pad.
2544         Post error when activation fails.
2545
2546 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
2547
2548         * gst/gst.c: (ensure_current_registry_forking):
2549           Check return value of write() to make compiler happy.
2550
2551 2006-10-11  Wim Taymans  <wim@fluendo.com>
2552
2553         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2554
2555         * plugins/elements/gstqueue.c: (gst_queue_chain):
2556         Recheck queue filledness after signalling the overrun when we're about
2557         to leak downstream because we released the lock when emitting the signal
2558         and the queue could be empty again. Fixes #352345.
2559
2560 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
2561
2562         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2563           Fix refcounting here too, just like we did for _new_valist() a few
2564           days ago (#357180) (thanks to René Stadler). Also remove all those
2565           'Since: 0.9' from the gtk-doc blobs.
2566
2567         * tests/check/libs/controller.c: (controller_refcount_new_list),
2568         (gst_controller_suite):
2569           Unit test for the above.
2570
2571 2006-10-10  Wim Taymans  <wim@fluendo.com>
2572
2573         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
2574
2575         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2576         (gst_pad_save_thyself):
2577         Update some docs.
2578         Write pad direction in XML output. Fixes #345496.
2579
2580 2006-10-10  Wim Taymans  <wim@fluendo.com>
2581
2582         Patch by: René Stadler <mail at renestadler dot de>
2583
2584         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2585         (gst_controller_new_list), (_gst_controller_dispose),
2586         (_gst_controller_finalize), (_gst_controller_class_init):
2587         Take ref to controlled object so that it cannot disappear. 
2588         Fixes #357432.
2589
2590 2006-10-10  Wim Taymans  <wim@fluendo.com>
2591
2592         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2593         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2594         (gst_check_teardown_sink_pad):
2595         Activate/deactivate pads in setup/teardown respectively.
2596
2597 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2598
2599         Patch by: Josep Torre Valles <josep@fluendo.com>
2600
2601         * gst/Makefile.am:
2602         Cast values when making gstenumtypes.h.  This pacifies Forte
2603         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
2604         in the enumeration.
2605
2606 2006-10-09  Wim Taymans  <wim@fluendo.com>
2607
2608         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
2609         Rename some more @cur to @start to fix docs. 
2610
2611         * gst/gstsegment.c: (gst_segment_set_seek):
2612         Fix typo.
2613         time and start must always stay in sync as defined in design doc.
2614
2615         * gst/gsttaglist.c: (gst_tag_list_is_empty):
2616         Rename param to fix docs.
2617
2618         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2619         Check that start and time are in sync.
2620
2621         * tests/check/pipelines/parse-launch.c:
2622         (gst_parse_test_element_change_state):
2623         Activate pad before adding to the element.
2624
2625 2006-10-09  Wim Taymans  <wim@fluendo.com>
2626
2627         * docs/design/part-qos.txt:
2628         Fix typo.
2629
2630         * gst/gstevent.c:
2631         * gst/gstevent.h:
2632         Update seek event docs regarding negative rates.
2633         Rename @cur to @start. 
2634
2635         * gst/gstsegment.c: (gst_segment_set_seek):
2636         * gst/gstsegment.h:
2637         Update set_seek docs regarding negative rates.
2638         Correctly update last_stop to @stop when dealing with negative
2639         rates.
2640         Rename @cur to @start. 
2641
2642         * tests/check/gst/gstpad.c: (GST_START_TEST):
2643         Activate pads before trying to use them.
2644
2645         * tests/check/gst/gstsegment.c: (GST_START_TEST),
2646         (gst_segment_suite):
2647         Add simple check for segments and negative rates.
2648
2649 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2650
2651         * gst/gsttaglist.c: (gst_tag_list_is_empty):
2652         * gst/gsttaglist.h:
2653         * docs/gst/gstreamer-sections.txt:
2654           API: add gst_tag_list_is_empty() (#360467).
2655
2656         * tests/check/gst/gsttag.c: (GST_START_TEST):
2657           And a test case.
2658
2659 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2660
2661         * gst/gstmessage.h:
2662         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
2663         a value that doesn't fit on enumeration.
2664
2665 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2666
2667         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2668         Remove local debugging system and use Gstreamer's instead.
2669
2670 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2671
2672         Patch by: Josep Torre Valles <josep@fluendo.com>
2673
2674         * common/m4/gst-error.m4:
2675         Disable warning of statement not reached on Forte.
2676         * gst/gstmessage.h:
2677         Fix warning on Forte (value doesn't fit on enumeration).
2678         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
2679         Fix warning on Forte (value doesn't fit on enumeration).
2680         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2681         DEBUG macro says it takes minimum of 2 args and so Forte
2682         complains about the use with just 1 arg.
2683         * plugins/elements/gstfdsink.c:
2684         * plugins/elements/gstfdsrc.c:
2685         * plugins/elements/gstfilesink.c:
2686         * plugins/elements/gstfilesrc.c:
2687         Use correct return type for the uri handler implementations.
2688
2689         All these fix warnings in Forte.  Fixes bug #360860.
2690
2691 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2692
2693         * gst/gstelement.h:
2694           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
2695           format string, so don't use G_GNUC_PRINTF for those versions.
2696
2697 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
2698
2699         * gst/gsttaglist.c: (gst_is_tag_list):
2700         * gst/gsttaglist.h:
2701           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
2702
2703         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2704           Small test for the above.
2705
2706 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
2707
2708         * gst/gsttaglist.h:
2709           Less tabs, more spaces.
2710
2711 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
2712
2713         * gst/gstinfo.h:
2714           Those two function declarations do actually belong there, revert
2715           commit from yesterday that turned them intro macros.
2716
2717 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2718
2719         Patch by: Josep Torre Valles <josep@fluendo.com>
2720
2721         * gst/gst.c: (gst_init_get_option_group):
2722         Fix empty declaration and type mismatch.
2723         * gst/gstbin.c: (gst_bin_change_state_func):
2724         Fix type mismatch.
2725         * gst/gstelement.c: (gst_element_continue_state),
2726         (gst_element_set_state_func), (gst_element_change_state),
2727         (gst_element_change_state_func):
2728         Fix type mismatches.
2729         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
2730         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
2731         Cast as appropriate.
2732         * gst/gstobject.c: (gst_class_signal_connect):
2733         Cast as appropriate.  The function pointer parameter really
2734         has the wrong type but would break API if we change it.
2735         * gst/gstquery.c:
2736         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
2737         order of including string.h.
2738         * gst/gstutils.c: (gst_element_state_get_name):
2739         Remove unreachable line.
2740         * gst/gstxml.c: (gst_xml_parse_doc):
2741         Fix type mismatch.
2742         All these caught by Forte.
2743
2744 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2745
2746         Patch by: Josep Torre Valles <josep@fluendo.com>
2747
2748         * common/m4/gst-error.m4:
2749         Fixed bug #360151.
2750         We need to disable warnings on Forte for empty declarations
2751         due to gst-indent adding ;s to lines that just use macros
2752         where the macro actually doesn't need a ; at end to end
2753         statement.
2754
2755 2006-10-06  Wim Taymans  <wim@fluendo.com>
2756
2757         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2758         (gst_file_sink_close_file), (gst_file_sink_event),
2759         (gst_file_sink_render):
2760         Add some FIXME for the NEWSEGMENT handling.
2761
2762 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2763
2764         * gst/parse/grammar.y:
2765         Remove static function gst_parse_element_lock as all it does
2766         is return.  Looks like cruft from 0.8.
2767
2768 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2769
2770         Patch by: Josep Torre Valles <josep@fluendo.com>
2771
2772         * common/m4/gst-error.m4:
2773         * configure.ac:
2774         * libs/gst/net/Makefile.am:
2775         Fix a compilation issue with Forte on Solaris.  inet_aton is in
2776         libresolv.
2777
2778 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
2779
2780         * gst/gstpad.c: (pre_activate):
2781         * gst/gstregistry.c: (gst_registry_scan_path_level):
2782         * gst/gstregistryxml.c: (load_plugin):
2783         * libs/gst/controller/gstcontroller.c:
2784         (gst_controlled_property_set_interpolation_mode):
2785         * libs/gst/dataprotocol/dataprotocol.c:
2786         (gst_dp_packet_from_event_1_0):
2787         * libs/gst/net/gstnetclientclock.c:
2788         (gst_net_client_clock_observe_times):
2789         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2790           Printf fixes.
2791
2792 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
2793
2794         * configure.ac:
2795         * docs/gst/gstreamer-sections.txt:
2796         * gst/gstconfig.h.in:
2797         * gst/gstelement.h:
2798         * gst/gstinfo.h:
2799           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
2800           whether we can use G_GNUC_PRINTF in other header files and at
2801           least check the printf format/arguments of debug messages and
2802           GST_ELEMENT_ERROR messages when the printf extension is not
2803           being used.
2804           Replace more tabs with spaces in gstinfo.h and remove two spurious
2805           function declarations in GST_DISABLE_DEBUG part with macros.
2806
2807 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
2808
2809         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
2810           More docs for the sync-message signal (mention that it is not
2811           emitted by default); log message structures of messages posted on
2812           the bus as well.
2813
2814 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
2815
2816         * gst/gst.c: (ensure_current_registry_forking):
2817         Use a pipe pair to receive status results from the forked child, and
2818         ignore the result from waitpid. Fixes #355499
2819
2820 2006-10-02  Wim Taymans  <wim@fluendo.com>
2821
2822         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
2823         (gst_ghost_pad_suite):
2824         Fix leak in check.
2825
2826 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
2827
2828         * gst/gstpad.c:
2829           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
2830
2831 2006-10-02  Edward Hervey  <edward@fluendo.com>
2832
2833         * docs/design/part-block.txt:
2834         Further explain the use of flushing on blocked pads.
2835         * docs/gst/gstreamer-sections.txt:
2836         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2837         (gst_pad_push_event):
2838         * gst/gstpad.h:
2839         Added new GstPadFlag : GST_PAD_BLOCKING.
2840         Adds the notion of pads really blocking, which enables to properly
2841         handle FLUSH_START/FLUSH_STOP events on blocked pads.
2842         Fixes #358999
2843         API: gst_pad_is_blocking()
2844         API: GST_PAD_IS_BLOCKING() macro
2845         API: GST_PAD_BLOCKING GstPadFlag
2846         
2847 2006-10-02  Wim Taymans  <wim@fluendo.com>
2848
2849         Patch by: mrcgran <mrc.gran at gmail dot com>
2850
2851         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
2852         Filter the proxied caps against the padtemplate if we have one.
2853
2854         * gst/gstquery.c: (gst_query_new_segment):
2855         Add include for gstinfo.h so that compilation with
2856         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
2857
2858 2006-10-02  Wim Taymans  <wim@fluendo.com>
2859
2860         Patch by: Alessandro Decina  <alessandro at nnva org>
2861
2862         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
2863         (gst_file_sink_set_location), (gst_file_sink_open_file),
2864         (gst_file_sink_close_file), (gst_file_sink_event),
2865         (gst_file_sink_render):
2866         Set file to NULL when closing filesink so that we can set a new filename
2867         in READY. Fixes #358613.
2868
2869 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
2870
2871         Patch by: Alessandro Decina  <alessandro at nnva org>
2872
2873         * gst/gstevent.c: (_gst_event_copy):
2874           Fix gst_mini_object_make_writable() and gst_event_copy() for events
2875           with event structures by setting the parent refcount address of the
2876           copied structure to the address of the refcount member of the newly
2877           copied event rather than the address of the refcount member of the
2878           original event. Fixes #358737.
2879
2880         * tests/check/gst/gstevent.c: (GST_START_TEST):
2881           Unit test for the above.
2882
2883 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
2884
2885         * docs/design/Makefile.am:
2886           Dist some more files.
2887
2888 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
2889
2890         * tests/check/libs/controller.c: (GST_START_TEST),
2891         (gst_controller_suite):
2892           Add test for the previous fix; add some more tests
2893           for correct refcounting behaviour; fix a few leaks
2894           in test cases; call gst_controller_init() at start
2895           of all tests.
2896
2897 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
2898
2899         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2900         (gst_controller_set_from_list):
2901           Don't g_return_val_if_fail() on timed values with invalid timestamps
2902           inside a critical section without unlocking the mutex. Spotted by
2903           René Stadler. (#357617)
2904           Also, fix up refcounting properly: when returning an existing
2905           controller, we should increase the reference only once and not
2906           once per property and when trying to control a property again
2907           we should also increase the refcount.
2908
2909 2006-09-29  Wim Taymans  <wim@fluendo.com>
2910
2911         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2912         * libs/gst/net/gstnettimeprovider.c:
2913         (gst_net_time_provider_thread):
2914         Stop reading commands when EOF as well.
2915
2916         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2917         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2918         * plugins/elements/gstidentity.c: (gst_identity_class_init):
2919         Unify description of the dump property.
2920
2921 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
2922
2923         * tests/examples/manual/.cvsignore:
2924         OK, so it's actually cvsignore that needs changing. Stop laughing.
2925
2926 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
2927
2928         * tests/examples/manual/Makefile.am:
2929         Gah, declare vars *before* using them
2930
2931 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
2932
2933         * gst/gst.c: (init_pre), (scan_and_update_registry),
2934         (ensure_current_registry_nonforking),
2935         (ensure_current_registry_forking), (ensure_current_registry),
2936         (init_post), (gst_debug_help), (gst_deinit):
2937         * gst/gst_private.h:
2938         * gst/gstregistry.c: (gst_registry_finalize),
2939         (gst_registry_remove_features_for_plugin_unlocked),
2940         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
2941         (gst_registry_scan_path),
2942         (_priv_gst_registry_remove_cache_plugins),
2943         (_priv_gst_registry_cleanup):
2944         * gst/gstregistry.h:
2945         Re-commit the registry changes, along with an extra fix:
2946           When a cached plugin is encountered at a different file path,
2947           update the stored path in the registry cache so that the parent
2948           process knows where it actually is now when it re-reads the registry
2949           cache. Fixes the thing that broke distcheck with the previous commit.
2950
2951         * tests/check/Makefile.am:
2952         Clean up files named 'core' too when running make clean.
2953
2954         * tests/examples/manual/Makefile.am:
2955         Set up a registry path for running these tests, and clean it properly
2956         for distcheck.
2957
2958 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
2959
2960         * configure.ac:
2961         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
2962         want gmodule-no-export-2.0.pc instead so that we don't drag in
2963         --export-dynamic on every project that links to GStreamer.
2964
2965         Also, make our export regex only match the start of symbols, rather 
2966         than any symbol that contains '_gst' somewhere.
2967
2968         * libs/gst/check/Makefile.am:
2969         The libgstcheck we build does however need export-dynamic, as it
2970         produces some symbols that don't match our _gst... style regex.
2971         Fixes: #318031
2972
2973 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
2974
2975         * gst/gst.c: (init_pre), (scan_and_update_registry),
2976         (ensure_current_registry_nonforking),
2977         (ensure_current_registry_forking), (ensure_current_registry),
2978         (init_post), (gst_debug_help), (gst_deinit):
2979         * gst/gst_private.h:
2980         * gst/gstregistry.c: (gst_registry_finalize),
2981         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
2982         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
2983         (_gst_registry_cleanup):
2984         * gst/gstregistry.h:
2985           Revert previous change until I figure out why it breaks distcheck.
2986
2987 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
2988
2989         * gst/gst.c: (init_pre), (scan_and_update_registry),
2990         (ensure_current_registry_nonforking),
2991         (ensure_current_registry_forking), (ensure_current_registry),
2992         (init_post), (gst_debug_help), (gst_deinit):
2993
2994           Make init_pre and init_post take the full complement of GOptionFunc
2995           args so they can return useful GErrors. Make the registry updating
2996           functions do so.
2997
2998           Call _priv_gst_registry_remove_cache_plugins after scanning files to
2999           ensure that the registry we're about to write out doesn't contain
3000           stale information about old-deleted plugin files.
3001
3002           Make _priv_gst_registry_remove_cache_plugins return a boolean so
3003           that deletion of plugin files is considered a registry change.
3004
3005         * gst/gst_private.h:
3006         * gst/gstregistry.c: (gst_registry_finalize),
3007         (gst_registry_remove_features_for_plugin_unlocked),
3008         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3009         (gst_registry_scan_path),
3010         (_priv_gst_registry_remove_cache_plugins),
3011         (_priv_gst_registry_cleanup):
3012         * gst/gstregistry.h:
3013         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
3014         by adding _priv prefix, so that they won't appear in the global
3015         symbol table. They still do atm though because of #318031. Move the
3016         prototypes to gst_private.h
3017
3018         When removing a plugin, remove all features for that plugin too. 
3019         Fixes #340878.
3020
3021 2006-09-27  Wim Taymans  <wim@fluendo.com>
3022
3023         * docs/random/moving-plugins:
3024         Make it clear that the "compiled-in descriptions" really mean
3025         the element details.
3026
3027         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3028         (gst_base_sink_wait_preroll):
3029         Update docs.
3030
3031         * docs/libs/gstreamer-libs-sections.txt:
3032         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3033         (gst_base_src_get_range), (gst_base_src_activate_push):
3034         * libs/gst/base/gstbasesrc.h:
3035         Added function to block while waiting for PLAYING, this function
3036         is used by live sources that block on the clock.
3037         API: gst_base_src_wait_playing()
3038
3039 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3040
3041         Patch by: Peter Kjellerstedt <pkj at axis com>
3042
3043         * Makefile.am:
3044           gst-element-check.m4 is generated and should therefore be
3045           copied from the build dir rather than the source dir (#357593).
3046           'make distcheck' hasn't noticed this because we were disting
3047           the file as well, so stop doing that.
3048
3049 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3050
3051         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3052           Add some tests for gst_caps_intersect().
3053
3054         * tools/gst-launch.c: (event_loop):
3055           Print all buffering percentages we get, even the 100% one.
3056
3057 2006-09-26  Wim Taymans  <wim@fluendo.com>
3058
3059         * tools/gst-inspect.c: (print_element_properties_info),
3060         (print_signal_info):
3061         Fix printing of flags to match the look of enums.
3062
3063 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3064
3065         * gst/gstelementfactory.c:
3066           Fix typo in docs blurb.
3067
3068 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3069
3070         * gst/gsturi.c: (search_by_entry):
3071           Don't assert/crash here if a uri handler doesn't return any
3072           supported protocols. The list of protocols could be generated
3073           dynamically at runtime or at plugin registration, and an error
3074           in the underlying library shouldn't be fatal (#353301).
3075
3076 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3077
3078         * gst/gstinfo.c:
3079           Fix warning if HAVE_PRINTF_EXTENSION is undefined
3080           (spotted by Peter Kjellerstedt).
3081
3082 2006-09-23  Wim Taymans  <wim@fluendo.com>
3083
3084         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
3085
3086         * libs/gst/base/gstbasesrc.c:
3087         (gst_base_src_default_check_get_range), (gst_base_src_start),
3088         (gst_base_src_activate_push), (gst_base_src_activate_pull),
3089         (gst_base_src_change_state):
3090         Match _start/_stop calls in the activate functions. Remove redundant
3091         _stop call from the state change function. Fixes #356910.
3092         Turn failure DEBUG into ERROR. 
3093
3094 2006-09-22  Wim Taymans  <wim@fluendo.com>
3095
3096         * docs/design/part-buffering.txt:
3097         * gst/gstmessage.c: (gst_message_new_buffering),
3098         (gst_message_parse_buffering):
3099         Update docs about buffering.
3100
3101         * docs/design/part-trickmodes.txt:
3102         Fix typo.
3103
3104 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
3105
3106         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3107         (gst_controller_new_list):
3108           Ref instances when returning them again (fixes #357180)
3109
3110 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
3111
3112         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
3113           Don't forget to release proxy lock when there's an error.
3114
3115 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
3116
3117         * gst/gstcaps.h:
3118           Add extra initialisers for Caps things, to fix some plugin warnings
3119           when using -Wextra
3120
3121 2006-09-18  Wim Taymans  <wim@fluendo.com>
3122
3123         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3124           Also set template on the internal pad so that a getcaps from the 
3125           target pad returns the template caps.
3126
3127 2006-09-18  Wim Taymans  <wim@fluendo.com>
3128
3129         * gst/gstelement.c: (gst_element_post_message),
3130         (gst_element_dispose):
3131         Use _DEBUG_OBJECT some more.
3132
3133         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3134         Avoid typechecks.
3135
3136         * tools/gst-launch.c: (main):
3137         If the toplevel element is not a GstPipeline, it must be put in a
3138         pipeline so that a bus and clock is selected.
3139
3140 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
3141
3142         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3143           JITTER, RATE, and LATENCY query should be handled by the
3144           default case and not by the CONVERT query code.
3145
3146 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
3147
3148         * gst/gstformat.c: (gst_format_register):
3149           Fix locking order (must take lock before using n_values).
3150
3151         * gst/gstvalue.c: (gst_value_serialize_enum),
3152         (gst_value_deserialize_enum_iter_cmp),
3153         (gst_value_deserialize_enum):
3154           Fix serialisation/deserialisation of custom registered GstFormats.
3155
3156         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3157           Unit test for custom format serialisation/deserialisation.
3158
3159 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
3160
3161         * docs/pwg/building-boiler.xml:
3162         * plugins/elements/gstcapsfilter.c:
3163         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
3164         section.
3165
3166 2006-09-16  Edward Hervey  <edward@fluendo.com>
3167
3168         * libs/gst/base/gstbasetransform.c:
3169         (gst_base_transform_buffer_alloc):
3170         Check if requested caps are the same as the sinks caps IF
3171         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
3172         is FALSE.
3173         This fixes the renegotiation issues stated in #352827.
3174
3175 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3176
3177         * configure.ac:
3178         * docs/manual/advanced-autoplugging.xml:
3179         * tests/examples/Makefile.am:
3180         * tests/examples/manual/.cvsignore:
3181         * tests/examples/manual/Makefile.am:
3182         * tests/examples/manual/extract.pl:
3183           Extract the manual examples again like we used to do.
3184           Fix one of them.
3185
3186 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3187
3188         * win32/common/config.h:
3189           update for version
3190
3191 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
3192
3193         * gst/gsterror.c:
3194           Documents how to receive errors.
3195
3196 2006-09-15  Wim Taymans  <wim@fluendo.com>
3197
3198         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
3199         (event_loop), (main):
3200         Added some comments here and there.
3201         Post an application message when an interrupt is caught instead of doing
3202         an uncontrolled state change.
3203         Clean up the event loop.
3204         Handle buffering messages, pause/resume the pipeline.
3205         Make shutdown because of an interrupt more reliable.
3206
3207 2006-09-15  Wim Taymans  <wim@fluendo.com>
3208
3209         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3210         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
3211         (gst_base_sink_preroll_object):
3212         Make sure that our internal state is correct when we commit our state
3213         asynchronously. This solves a race where a state change to PLAYING
3214         could cause the sink to remain blocked in preroll in some situations.
3215
3216 2006-09-15  Wim Taymans  <wim@fluendo.com>
3217
3218         * tools/gst-inspect.c: (print_element_properties_info),
3219         (print_signal_info):
3220         List flags as hex so it's easier to deal with.
3221
3222 2006-09-15  Wim Taymans  <wim@fluendo.com>
3223
3224         * docs/libs/gstreamer-libs-sections.txt:
3225         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
3226         (gst_base_sink_do_sync):
3227         * libs/gst/base/gstbasesink.h:
3228         Expose logic to wait for preroll so that subclasses such as audiosink
3229         can also use this method.
3230         API: gst_base_sink_wait_preroll()
3231
3232 2006-09-15  Wim Taymans  <wim@fluendo.com>
3233
3234         * gst/gstobject.c: (gst_object_set_parent):
3235         * gst/gstpipeline.c: (do_pipeline_seek):
3236         Small cleanups in docs and code.
3237
3238         * gst/gstsegment.c: (gst_segment_clip):
3239         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3240         if stop == start and start is in the segment, no clipping should be
3241         done. Also add a test for this.
3242
3243 2006-09-15  Wim Taymans  <wim@fluendo.com>
3244
3245         * docs/design/part-buffering.txt:
3246         * docs/gst/gstreamer-sections.txt:
3247         * gst/gstmessage.c: (gst_message_new_buffering),
3248         (gst_message_parse_buffering):
3249         * gst/gstmessage.h:
3250         Added methods to create and parse BUFFERING messages.
3251         Added preliminary docs about buffering.
3252         API: gst_message_new_buffering
3253         API: gst_message_parse_buffering
3254
3255 2006-09-06  Wim Taymans  <wim@fluendo.com>
3256
3257         * gst/gstbin.c:
3258         Update documentation.
3259
3260         * gst/gstelement.c: (gst_element_class_init),
3261         (gst_element_release_request_pad), (gst_element_set_clock),
3262         (gst_element_get_index), (gst_element_add_pad),
3263         (gst_element_remove_pad), (gst_element_get_random_pad),
3264         (gst_element_send_event), (gst_element_get_query_types),
3265         (gst_element_query), (gst_element_post_message),
3266         (gst_element_message_full), (gst_element_continue_state),
3267         (gst_element_lost_state), (gst_element_save_thyself),
3268         (gst_element_restore_thyself):
3269         Documentation updates.
3270         Rename last bit of the new-pad -> pad-added signal rename.
3271         Fix the case where an element query would only work if the source
3272         pad was linked.
3273         Avoid some useless type checking in message handling.
3274
3275         * gst/gstevent.c:
3276         * gst/gstevent.h:
3277         * gst/gstutils.c:
3278         Documentation updates.
3279
3280 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3281
3282         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3283           add an INFO line for when we actually update the fd
3284
3285 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3286
3287         * configure.ac:
3288           back to TRUNK
3289
3290 === release 0.10.10 ===
3291
3292 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
3293
3294         * configure.ac:
3295           releasing 0.10.10, "Pais"
3296
3297 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
3298
3299         * docs/manual/advanced-position.xml:
3300           Fix typo in sample code.
3301
3302 2006-09-05  Wim Taymans  <wim@fluendo.com>
3303
3304         * libs/gst/net/gstnetclientclock.c: (inet_aton),
3305         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3306         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
3307         * libs/gst/net/gstnetclientclock.h:
3308         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3309         * libs/gst/net/gstnettimepacket.h:
3310         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
3311         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
3312         (gst_net_time_provider_thread), (gst_net_time_provider_new):
3313         * libs/gst/net/gstnettimeprovider.h:
3314         Make stuff compile on windows. Fixes #345295.
3315
3316 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
3317
3318         * gst/gst.c: (ensure_current_registry_forking):
3319           Print better details when child was terminated by signal.
3320
3321 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
3322
3323         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
3324           Print a warning rather than g_assert() if a plugin feature
3325           is a URI handler but returns no protocols (#353976).
3326
3327 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
3328
3329         * docs/random/moving-plugins:
3330         Fix two typos.         
3331
3332 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
3333
3334         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
3335           Fix locking order, handle NULL function values properly.
3336
3337         * gst/gstinfo.h:
3338           Fix docs.
3339
3340         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3341           Initialise variable before using it and fix debug statement to
3342           print the address of the function rather than the address of the
3343           variable on the stack holding the address of the function.
3344
3345 2006-09-01  Wim Taymans  <wim@fluendo.com>
3346
3347         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
3348         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
3349         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
3350         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
3351         (gst_ghost_pad_parent_unset),
3352         (gst_ghost_pad_internal_do_activate_push),
3353         (gst_ghost_pad_internal_do_activate_pull),
3354         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3355         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3356         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
3357         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
3358         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
3359         (gst_ghost_pad_new_no_target_from_template),
3360         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3361         More cleanups.
3362         Avoid needless typechecking in macros.
3363         Since the internal pad is always present and never changes, there is
3364         no need to locking or ref when retrieving it.
3365         Improve debugging a bit.
3366         Handle link errors when setting the target. Fixes #341029.
3367
3368 2006-09-01  Wim Taymans  <wim@fluendo.com>
3369
3370         * docs/libs/gstreamer-libs-sections.txt:
3371         * docs/plugins/gstreamer-plugins-sections.txt:
3372         Fix docs some more.
3373
3374         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3375         (gst_collect_pads_event):
3376         * libs/gst/base/gstcollectpads.h:
3377         Documentation updates.
3378         Free queued buffer when removing a pad.
3379
3380 2006-08-31  Michael Smith  <msmith@fluendo.com>
3381
3382         * gst/gstutils.c: (gst_element_link_pads),
3383         (gst_element_link_pads_filtered):
3384           Ensure that we set a capsfilter to NULL if we failed to link it
3385           when doing filtered linking, to avoid criticals.
3386
3387           No need to check for unreffing srcpad, which is explicly NULLed
3388           above (a trivial code cleanup).
3389
3390 2006-08-31  Wim Taymans  <wim@fluendo.com>
3391
3392         * docs/design/part-gstghostpad.txt:
3393         Update ascii art in documentation.
3394
3395         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
3396         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
3397         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
3398         (gst_ghost_pad_internal_do_activate_push),
3399         (gst_ghost_pad_internal_do_activate_pull),
3400         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3401         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3402         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
3403         (gst_ghost_pad_set_target):
3404         Small cleanups and leak fixes.
3405         Remove some checks now that the internal pad is never NULL.
3406         Fix the case where linking pads without a target would create nasty
3407         criticals. Fixes #341029.
3408         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
3409         value of _set_target().
3410
3411         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3412         (gst_ghost_pad_suite):
3413         Some more tests for creating and linking untargeted ghostpads.
3414
3415 2006-08-31  Edward Hervey  <edward@fluendo.com>
3416
3417         * docs/gst/gstreamer-sections.txt:
3418         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
3419         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
3420         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
3421         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
3422         (gst_ghost_pad_new_from_template),
3423         (gst_ghost_pad_new_no_target_from_template):
3424         * gst/gstghostpad.h:
3425         Refactored *_new() functions.
3426         Templates are now used as a g_object_new() parameter.
3427         Use template in _do_getcaps() if we don't have a target.
3428         Small documentation cleanups.
3429         Added two new constructors:
3430         gst_ghost_pad_new_from_template()
3431         gst_ghost_pad_new_no_target_from_template()
3432         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3433         (gst_ghost_pad_suite):
3434         Added tests for new ghostpad instanciation functions.
3435
3436         API additions: gst_ghost_pad_new_from_template,
3437         gst_ghost_pad_new_no_target_from_template
3438
3439 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
3440
3441         * docs/random/ensonic/profiling.txt:
3442           Ideas about qos profiling.
3443
3444 2006-08-29  Wim Taymans  <wim@fluendo.com>
3445
3446         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
3447         Code cleanups.
3448         Fix memleak.
3449
3450 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
3451
3452         * gst/gstxml.c:
3453           Improve and detypofy docs.
3454
3455         * tests/check/Makefile.am:
3456         * tests/check/gst/.cvsignore:
3457         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
3458           Add a basic test suite for GstXML.
3459
3460 2006-08-29  Wim Taymans  <wim@fluendo.com>
3461
3462         * gst/gstelement.c: (activate_pads), (clear_caps),
3463         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
3464         Clear the pad caps when the element shut down all of the pads and
3465         is not streaming data that could modify the caps. 
3466         Fixes #352958.
3467
3468 2006-08-28  Michael Smith  <msmith@fluendo.com>
3469
3470         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3471           Revert previous change; I misunderstood single-segment mode.
3472
3473 2006-08-28  Michael Smith  <msmith@fluendo.com>
3474
3475         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3476           Unset DISCONT on buffers when using single-segment mode.
3477
3478 2006-08-28  Wim Taymans  <wim@fluendo.com>
3479
3480         * gst/gstcaps.c: (gst_caps_merge_structure):
3481         * gst/gstcaps.h:
3482         Fix docs and indentation again.
3483
3484         * tests/check/gst/gstquery.c: (GST_START_TEST):
3485         Fix leak in tests and add some more tests.
3486
3487 2006-08-28  Edward Hervey  <edward@fluendo.com>
3488
3489         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3490         Inform GstSegment of the last stop position in order for the current
3491         segment to have a proper duration if it doesn't have a specific stop
3492         position from which a duration could be calculated.
3493         This bug was noticeable when a non-flushing, non-update new segment was
3494         followed by another segment (all buffers from the new segment were being
3495         dropped).
3496
3497 2006-08-28  Wim Taymans  <wim@fluendo.com>
3498
3499         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3500         Small comment update.
3501
3502         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3503         (gst_identity_transform_ip):
3504         Drop-probability is broken, mention this in the code with a 
3505         FIXME and also in the property description.
3506         Make silent also be silent about the drop messages.
3507
3508 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
3509
3510         * docs/manual/appendix-win32.xml:
3511           Remove mention of popt, we don't depend on that any
3512           longer (#353136). Add some comments pointing out that
3513           this section is slightly outdated.
3514
3515 2006-08-28  Wim Taymans  <wim@fluendo.com>
3516
3517         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3518
3519         * gst/gstquery.c: (gst_query_new_segment):
3520         * tests/check/gst/gstquery.c: (GST_START_TEST):
3521         Initialize variables when creating a new segment query.
3522         Fixes #353121.
3523
3524 2006-08-28  Wim Taymans  <wim@fluendo.com>
3525
3526         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3527
3528         * gst/gstelement.c: (gst_element_get_bus):
3529         * tests/check/gst/gstelement.c: (GST_START_TEST):
3530         Check for NULL before _reffing the bus. Fixes #353122.
3531
3532 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
3533
3534         * docs/manual/basics-bus.xml:
3535           Docs update: fix wrong callback return value explanation; add
3536           some lines about the implicit relationship between main loop
3537           and main context; remove duplicate main loop variable declaration.
3538
3539 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
3540
3541         * tests/check/gst/gstcaps.c: (GST_START_TEST):
3542           Don't leak caps in unit test; add a few more simple
3543           checks. 
3544
3545 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
3546
3547         * docs/gst/gstreamer-sections.txt:
3548         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
3549         (gst_caps_structure_is_subset), (gst_caps_merge),
3550         (gst_caps_merge_structure):
3551         * gst/gstcaps.h:
3552         * libs/gst/base/gstbasetransform.c:
3553         (gst_base_transform_transform_caps):
3554         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3555           implement caps merging (fixes #352580)
3556
3557 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
3558
3559         * tools/Makefile.am:
3560         * tools/gst-plot-timeline.py:
3561           add debug-log plotting developer tool (#340674)
3562
3563 2006-08-23  Wim Taymans  <wim@fluendo.com>
3564
3565         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
3566         (gst_pad_stop_task):
3567         Improve debugging for task functions.
3568
3569         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
3570         (gst_task_start), (gst_task_pause), (gst_task_join):
3571         Make sure that the task function started and finished after a 
3572         join(). 
3573         Don't try to push the task function on the threadpool multiple
3574         times.
3575         Improve the g_warning message with some useful suggestions
3576         about how to fix the problem. 
3577
3578 2006-08-23  Wim Taymans  <wim@fluendo.com>
3579
3580         * gst/gstutils.c: (gst_pad_proxy_getcaps):
3581         Handle RESYNC correctly in _proxy_getcaps.
3582
3583 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
3584
3585         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
3586         (gst_xml_parse_memory), (gst_xml_get_element):
3587           Chain up to parent class in dispose function and also
3588           unref the elements in the toplevel_elements GList.
3589           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
3590           Always return a reference in gst_xml_get_element() rather
3591           than only sometimes.
3592
3593         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
3594           Don't leak GstXml object.
3595
3596 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
3597
3598         * docs/gst/gstreamer-sections.txt:
3599         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
3600         (gst_caps_merge):
3601         * gst/gstcaps.h:
3602         * libs/gst/base/gstbasetransform.c:
3603         (gst_base_transform_transform_caps):
3604           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
3605           in a better way
3606
3607 2006-08-21  Edward Hervey  <edward@fluendo.com>
3608
3609         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
3610         Implement GObject::dispose virtual method in GstXML so we can free the
3611         top_elements GList.
3612
3613 2006-08-21  Wim Taymans  <wim@fluendo.com>
3614
3615         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
3616         (gst_buffer_create_sub):
3617         Copy duration/offset_end/caps when creating a subbuffer of the
3618         complete parent.
3619         Make the subbuffer read-only when we make the metadata writable for
3620         now. Fixes #351768.
3621
3622         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3623         Added check for metadata copy when creating subbuffers.
3624
3625 2006-08-21  Edward Hervey  <edward@fluendo.com>
3626
3627         * libs/gst/base/gstbasetransform.c:
3628         (gst_base_transform_buffer_alloc):
3629         Only call downstream buffer_alloc if transform element is passthrough
3630         or always_in_place. Closes #350449.
3631
3632 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3633
3634         * ChangeLog:
3635           ChangeLog surgery to add comments to previous changes
3636
3637 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3638
3639         * gst/gst.c:
3640           Add comments
3641
3642         * gst/gstpad.c: (gst_pad_set_active):
3643           Be more verbose in the log
3644
3645         * libs/gst/base/gstbasetransform.c:
3646         (gst_base_transform_transform_caps):
3647           Simplify caps to get rid of duplicates, fixes #345444
3648
3649 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3650
3651         * gst/gstvalue.c:
3652         * gst/gstvalue.h:
3653           Use these optimizations only internally.
3654
3655 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3656
3657         * gst/gstvalue.c: (gst_value_compare_list),
3658         (gst_value_compare_fraction_range),
3659         (gst_value_intersect_fraction_fraction_range),
3660         (gst_value_intersect_fraction_range_fraction_range),
3661         (gst_value_subtract_fraction_fraction_range),
3662         (gst_value_subtract_fraction_range_fraction_range),
3663         (gst_value_get_compare_func), (gst_value_compare),
3664         (gst_value_compare_with_func):
3665         * gst/gstvalue.h:
3666           Saves the expensive lookup of the compare function in many cases
3667          (#345444)
3668
3669 2006-08-18  Edward Hervey  <edward@fluendo.com>
3670
3671         * tests/check/gst/gstinfo.c: (gst_info_suite):
3672         Disable test that require gstdebug if it wasn't built in core.
3673
3674 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
3675
3676         * docs/random/ensonic/logging.txt:
3677           update ideas
3678           
3679         * gst/gstinfo.c: (gst_debug_log_default):
3680           reorder fields, save some columns, add optional color codes for log
3681           levels
3682
3683 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
3684
3685         * docs/random/ensonic/logging.txt:
3686           add ideas about making the logs a bit more useful
3687
3688 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
3689
3690         * docs/pwg/advanced-events.xml:
3691         * docs/pwg/titlepage.xml:
3692           Update for 0.10 API (#340627). Add myself
3693           to authors list.
3694
3695 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
3696
3697         * docs/libs/gstreamer-libs-docs.sgml:
3698         * docs/libs/gstreamer-libs-sections.txt:
3699         * libs/gst/check/gstbufferstraw.c:
3700           Make gstcheck stuff show up in docs (still needs to
3701           be documented properly though).
3702
3703 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
3704
3705         * docs/gst/gstreamer-sections.txt:
3706         * gst/Makefile.am:
3707         * gst/gst.c: (init_post):
3708         * gst/gst_private.h:
3709         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3710         * gst/gstquark.h:
3711         * gst/gstquery.c: (gst_query_new_position),
3712         (gst_query_set_position), (gst_query_parse_position),
3713         (gst_query_new_duration), (gst_query_set_duration),
3714         (gst_query_parse_duration), (gst_query_new_convert),
3715         (gst_query_set_convert), (gst_query_parse_convert),
3716         (gst_query_new_segment), (gst_query_set_segment),
3717         (gst_query_parse_segment), (gst_query_new_seeking),
3718         (gst_query_set_seeking), (gst_query_parse_seeking):
3719         Add internal helpers for pre-registering quarks from static strings
3720         and using the quark values directly instead of looking them up when
3721         creating and parsing queries. Can be used for event construction too.
3722         Closes #350432.
3723
3724 2006-08-16  Wim Taymans  <wim@fluendo.com>
3725
3726         * gst/gstbin.c:
3727         Fix bogus docs.
3728
3729 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3730
3731         * gst/gstutils.c: (gst_util_set_value_from_string):
3732           Fix memleak (#351502).
3733
3734         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3735           Add unit test for most of gst_util_set_value_from_string()
3736           (not that one would want to encourage use of this function).
3737
3738 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3739
3740         * libs/gst/check/gstcheck.h:
3741           Use const gchar * variables in fail_unless_equals_string
3742           macro to avoid compiler warnings (and don't use tabs for
3743           indenting).
3744
3745 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3746
3747         * tools/gst-launch.c: (print_tag):
3748           More space on the left for the tag names, to cater
3749           for the 'extended comment' tag (not touching the
3750           string for the first line since it's translated).
3751
3752 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3753
3754         * libs/gst/check/gstcheck.h:
3755           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
3756           print something when they fail.
3757
3758 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
3759
3760         * docs/gst/gstreamer-sections.txt:
3761         * gst/gsttaglist.c: (_gst_tag_initialize):
3762         * gst/gsttaglist.h:
3763           API: add GST_TAG_EXTENDED_COMMENT (#350935).
3764           Also change merge function for GST_TAG_COMMENT to
3765           use_first.
3766
3767 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
3768
3769         * gst/gstinfo.c: (gst_debug_print_object):
3770           Make GST_PTR_FORMAT print messages as well.
3771
3772         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
3773         (GST_START_TEST), (gst_info_suite):
3774           More tests.
3775
3776 2006-08-14  Edward Hervey  <edward@fluendo.com>
3777
3778         * gst/gstelementfactory.c: (gst_element_register):
3779         If the GstElementClass doesn't have a GstElementDetails with all fields
3780         filled up correctly (longname, description AND author), then error out
3781         nicely instead of crashing.
3782
3783 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
3784
3785         * gst/gststructure.c:
3786           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
3787
3788         * gst/gstvalue.h:
3789           Expand on the difference between arrays and lists as we use them.
3790           
3791 2006-08-14  Wim Taymans  <wim@fluendo.com>
3792
3793         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3794         If the parent state change function failed, don't assume we can safely
3795         stop the source, this will be done when the pads are deactivated.
3796
3797 2006-08-14  Wim Taymans  <wim@fluendo.com>
3798
3799         * gst/gstbuffer.c:
3800         * gst/gsttask.c: (gst_task_join):
3801         Small doc updates.
3802
3803         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3804         (gst_pad_stop_task):
3805         When pad (de)activation failed for some reason, restore the old
3806         activation mode and set the pad to flushing instead of assuming the
3807         pad is deactivated.
3808         If the _task_join() failed, reinstall the task on the pad so that it can
3809         be stopped later and return an error.
3810
3811 2006-08-11  Andy Wingo  <wingo@pobox.com>
3812
3813         * configure.ac:
3814         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
3815         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
3816         is only for users of API that don't want to see deprecated
3817         functions in the headers; people that want to compile out
3818         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
3819         CFLAGS. Fixes the build of multifdsink, or will soon..
3820
3821 2006-08-11  Wim Taymans  <wim@fluendo.com>
3822
3823         * docs/gst/gstreamer-sections.txt:
3824         Add GstClockClass vmethod docs.
3825
3826         * gst/gstcaps.h:
3827         Mark #endif with comment for associated #if
3828
3829         * gst/gstclock.c: (gst_clock_id_wait):
3830         * gst/gstclock.h:
3831         Add vmethod wait_jitter to avoid an unneeded _get_time() for
3832         most clock implementations.
3833         Document vmethods.
3834         Flesh out docs about resolution methods.
3835         API: GstClockClass::wait_jitter
3836
3837         * gst/gstsystemclock.c: (gst_system_clock_class_init),
3838         (gst_system_clock_async_thread),
3839         (gst_system_clock_id_wait_jitter_unlocked),
3840         (gst_system_clock_id_wait_jitter):
3841         Use base class wait_jitter variant for improved performance
3842         due to less clock polling.
3843
3844 2006-08-11  Edward Hervey  <edward@fluendo.com>
3845
3846         * gst/gst.c: (gst_init_check), (init_post):
3847         Set gst as being initialized before scanning/updating the registry,
3848         since there might be my python plugin loader that calls gst_init() and
3849         we don't want to loop back in.
3850         Closes #350879
3851
3852 2006-08-11  Wim Taymans  <wim@fluendo.com>
3853
3854         * docs/design/part-qos.txt:
3855         Bring docs in line with the code. Mostly the sign of the jitter was
3856         wrong in the docs. Fixes #349943.
3857
3858         * gst/gstclock.c:
3859         Fix the docs for the jitter.
3860
3861         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
3862         (gst_event_parse_tag), (gst_event_new_buffer_size),
3863         (gst_event_parse_buffer_size), (gst_event_parse_qos),
3864         (gst_event_new_seek), (gst_event_parse_seek),
3865         (gst_event_new_navigation):
3866         Make sure the GstStructure has no parent when creating custom
3867         events.
3868         Add some more argument checking so that we avoid 0.0 rates.
3869         Flesh out the docs for the QoS event some more.
3870
3871 2006-08-11  Wim Taymans  <wim@fluendo.com>
3872
3873         * docs/gst/gstreamer-sections.txt:
3874         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3875         (ensure_current_registry_forking), (ensure_current_registry),
3876         (parse_one_option), (parse_goption_arg), (gst_deinit),
3877         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
3878         * gst/gst.h:
3879         Doc updates.
3880         Added API and command line option to disable registry forking in
3881         addition to the environment variable.
3882         Constify some static arrays.
3883         Added some more debug.
3884         Don't deinit twice.
3885         API: gst_registry_fork_is_enabled()
3886         API: gst_registry_fork_set_enabled()
3887         API: --gst-disable-registry-fork command line option
3888         Fixes #348918.
3889
3890 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
3891
3892         * gst/gst.c: (gst_init):
3893           Fix typo in error message.
3894
3895 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
3896
3897         * libs/gst/controller/gstcontroller.h:
3898           fix ABI size-correction
3899
3900         * tests/check/libs/gdp.c: (gst_dp_suite):
3901           make tests that use deprecated API conditional
3902
3903 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
3904
3905         * docs/libs/gstreamer-libs-sections.txt:
3906         * libs/gst/controller/gstcontroller.c:
3907         (_gst_controller_get_property), (_gst_controller_set_property),
3908         (_gst_controller_init), (_gst_controller_class_init):
3909         * libs/gst/controller/gstcontroller.h:
3910         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
3911         (gst_object_set_control_rate):
3912           API: add gst_object_{s,g}et_control_rate(), add private data section,
3913           fix docs
3914
3915         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
3916         * libs/gst/dataprotocol/dataprotocol.h:
3917           add deprecation guards to make gtk-doc happy and allow disabling cruft
3918
3919 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
3920
3921         * tests/check/Makefile.am:
3922         * tests/check/gst/.cvsignore:
3923           Let's enable the new unit test as well.
3924
3925 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
3926
3927         * configure.ac:
3928         * docs/gst/gstreamer-sections.txt:
3929         * gst/gstconfig.h.in:
3930         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
3931         (_gst_info_printf_extension_ptr),
3932         (_gst_info_printf_extension_segment):
3933           API: add GST_SEGMENT_FORMAT, which is a printf extension we
3934           register that lets us easily dump GstSegments into debug
3935           logs (#350419).
3936
3937         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
3938         (info_segment_format_printf_extension), (gst_info_suite):
3939           Add simple unit test that logs a bunch of different segments (not
3940           valgrinded at the moment because of leaks in
3941           gst_debug_add_log_function).
3942
3943 2006-08-09  Edward Hervey  <edward@fluendo.com>
3944
3945         * libs/gst/base/gstbasetransform.c:
3946         (gst_base_transform_buffer_alloc):
3947         Even if we can't figure out the proper format to request downstream,
3948         call buffer_alloc() downstream with the input parameters without setting
3949         the caps on the srcpad. This will force negotiation in the chain
3950         function.
3951         Closes #350449
3952
3953 2006-08-08  Edward Hervey  <edward@fluendo.com>
3954
3955         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
3956         Unlinking from a pad without a target is now a perfectly valid case
3957         which should NOT raise an assertion.
3958         This case would happen if a linked ghostpad its target set to NULL after
3959         it was previously linked.
3960
3961 2006-08-08  Edward Hervey  <edward@fluendo.com>
3962
3963         * tests/check/libs/gdp.c:
3964         Also comment out the test (see below).
3965
3966 2006-08-08  Edward Hervey  <edward@fluendo.com>
3967
3968         * tests/check/libs/gdp.c: (gst_dp_suite):
3969         Use the architecture information from config.h and not gcc macros
3970         in order to properly disable a test that fails on PPC64.
3971
3972 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
3973
3974         * gst/gstelement.c: (gst_element_remove_pad):
3975           Don't crash printing the warning if the pad has no parent.
3976
3977 2006-08-02  Wim Taymans  <wim@fluendo.com>
3978
3979         * libs/gst/dataprotocol/dataprotocol.c:
3980         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
3981         (gst_dp_crc), (gst_dp_header_payload_length),
3982         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
3983         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
3984         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
3985         (gst_dp_event_from_packet), (gst_dp_validate_header),
3986         (gst_dp_validate_payload):
3987         Make debug category static
3988         Constify the crc table.
3989         Do some more arg checking in public functions.
3990         Fix some docs and do some small cleanups.
3991
3992         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
3993         Add some more checks to see if GDP deals with bogus input.
3994
3995 2006-07-31  Wim Taymans  <wim@fluendo.com>
3996
3997         * gst/gstvalue.c: (gst_value_compare_list):
3998         Fix GstValueList comparison code. Fixes #347293.
3999
4000         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4001         Check to test GstValueList comparison.
4002
4003 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4004
4005         * gst/gstelementfactory.c: (gst_element_factory_create):
4006         Remove unnecessary ref/unref pair
4007
4008         * gst/parse/grammar.y:
4009         Make sure to free the parse buffer on all code paths.
4010         Move a g_free up to the error handler where it's easier to see.
4011
4012         * tests/check/gst/gstevent.c: (test_event):
4013         Extending timeout for downstream travelling events to 10 seconds to
4014         hopefully avoid intermittent failure on the buildbots.
4015
4016         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
4017         Don't manually set the state of the src element - it will happen as a
4018         natural consequence of the pipeline changing state, and that way it
4019         will do it in the right order too.
4020
4021 2006-07-31  Wim Taymans  <wim@fluendo.com>
4022
4023         * libs/gst/base/gstbasetransform.c:
4024         (gst_base_transform_buffer_alloc):
4025         Use OBJECT_LOCK and refcounting to get the pad caps in the
4026         buffer_alloc function because the caps could change while we are
4027         busy with them. Fixes #349105
4028
4029 2006-07-31  Wim Taymans  <wim@fluendo.com>
4030
4031         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
4032         Protect _PAD_CAPS with OBJECT_LOCK.
4033
4034 2006-07-31  Wim Taymans  <wim@fluendo.com>
4035
4036         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4037         (gst_pad_get_property), (gst_pad_activate_pull),
4038         (gst_pad_activate_push), (gst_pad_set_blocked_async),
4039         (gst_pad_set_activate_function),
4040         (gst_pad_set_activatepull_function),
4041         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
4042         (gst_pad_set_getrange_function),
4043         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
4044         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4045         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
4046         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
4047         (gst_pad_set_acceptcaps_function),
4048         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
4049         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
4050         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
4051         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
4052         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
4053         (gst_pad_configure_sink), (gst_pad_configure_src),
4054         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
4055         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
4056         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
4057         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
4058         (gst_pad_send_event):
4059         Use _DEBUG_OBJECT when it makes sense.
4060         Protect GST_PAD_CAPS with the OBJECT_LOCK.
4061         Small cleanups and code reflows.
4062         Avoid caps refcounting in _accept_caps.
4063         Refactor alloc_buffer so that the code performed on the peer is in a
4064         separate function. Also if the pad does not implement a buffer alloc
4065         function, we should still check if the pad is flushing before falling
4066         back to the default allocator.
4067
4068 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4069
4070         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4071         Make all uses of identity and fakesink have silent=true to avoid
4072         serialising every passing data structure, which is breaking tests
4073         on FC4 for some unknown reason.
4074
4075 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
4076
4077         * gst/parse/Makefile.am:
4078         * gst/parse/grammar.y:
4079         * gst/parse/parse.l:
4080           Reverted previous patch as it required to bump the flex dependency to
4081           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
4082
4083 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
4084
4085         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
4086
4087         * gst/parse/Makefile.am:
4088         * gst/parse/grammar.y:
4089         * gst/parse/parse.l:
4090           push & pop the state of the lexer for reentrant use case
4091           Fixes #349180
4092
4093 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
4094
4095         * libs/gst/base/gstbasesrc.h:
4096           Note in the docs that the ::newsegment vfunc is not actually used by
4097           GstBaseSrc.
4098
4099 2006-07-28  Wim Taymans  <wim@fluendo.com>
4100
4101         * libs/gst/base/gstcollectpads.c:
4102         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
4103         (gst_collect_pads_clear), (gst_collect_pads_flush),
4104         (gst_collect_pads_event), (gst_collect_pads_chain):
4105         When flushing a pad, also clear the queued buffer so that we don't
4106         accidentally use it when we shouldn't.
4107         Fix leaks by inreffing incomming buffer.
4108         Flush out queued buffers in case of errors.
4109         Fixes #347452.
4110
4111 2006-07-28  Wim Taymans  <wim@fluendo.com>
4112
4113         * docs/random/phonon-gst:
4114         Random notes about a Phonon backend.
4115
4116 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
4117
4118         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4119         Extra debug output
4120         * tests/check/libs/gdp.c: (gst_dp_suite):
4121         Take a whack at fixing the ppc compile using a different define to
4122         disable the broken test.
4123
4124         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4125         Remove excess g_print()
4126
4127 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
4128
4129         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4130         Oops, meant to uncomment this line too to dampen the noise a bit.
4131
4132 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
4133
4134         * gst/parse/grammar.y:
4135         * gst/parse/parse.l:
4136         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4137         (GST_START_TEST), (parse_suite):
4138         Fix some of the leaks exposed by extending the parse-launch testsuite,
4139         and move the 3 I can't figure out into a separate test that won't run
4140         the pipelines unless the appropriate line is uncommented.
4141
4142 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
4143
4144         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4145           Requesting 0 bytes before the end of the file should result in
4146           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
4147           unit test.
4148
4149 2006-07-27  Wim Taymans  <wim@fluendo.com>
4150
4151         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
4152         Fix useless assert, a uint is always positive.
4153
4154         * gst/gststructure.c: (gst_structure_nth_field_name),
4155         (gst_structure_foreach), (gst_structure_map_in_place):
4156         Check input arguments for public functions to avoid obvious crashes.
4157
4158         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
4159         * plugins/elements/gstfakesink.h:
4160         Do less useless typechecking.
4161
4162 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
4163
4164         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4165           Do not use mmap() by default since there are a number of error
4166           conditions that we would like to handle in a non-fatal way that
4167           will result in a SIGBUS if we use mmap(). Examples: external
4168           devices (USB harddrive, portable music player) being unplugged
4169           while in use; file on mounted CD/DVD that can't be read because
4170           the medium is partly damaged. Fixes #348455 and #348475.
4171
4172 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
4173
4174         * gst/gstquery.h:
4175         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
4176         rates are a gdouble
4177
4178 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
4179
4180         * gst/gstregistry.c:
4181           Move big documentation comment into class section header, so that it
4182           appears in the API docs.
4183
4184 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4185
4186         * docs/gst/gstreamer-sections.txt:
4187         Oops. Commit the docs additions too for new API.
4188         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
4189
4190 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4191
4192         * gst/gststructure.c: (gst_structure_id_set),
4193         (gst_structure_id_set_valist):
4194         * gst/gststructure.h:
4195         Add API for setting values into structures without performing
4196         a quark lookup, if the appropriate quark is already known.
4197
4198         API: gst_structure_id_set
4199         API: gst_structure_id_set_valist
4200
4201         * gst/parse/grammar.y:
4202         * gst/parse/parse.l:
4203         Remove some dead code shown by the coverage information.
4204         Don't throw a critical g_warning when encountering a syntax error,
4205         just warn and let the normal error path handle it.
4206
4207         * plugins/elements/gstelements.c:
4208         Bump the rank of filesink up to PRIMARY so that it is preferred over
4209         gnomevfssink for file:// sink uri's
4210
4211         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4212         (GST_START_TEST), (run_delayed_test),
4213         (gst_parse_test_element_base_init),
4214         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
4215         (gst_parse_test_element_change_state),
4216         (gst_register_parse_element), (parse_suite):
4217         Beef up the tests for parse syntax to check that more error cases
4218         fail as they are supposed to. Increases the test coverage a bit.
4219
4220 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
4221
4222         * docs/manual/basics-elements.xml:
4223           Fix gst_element_link() example.
4224
4225         * gst/gstutils.c:
4226           Mention in API docs that one should usually gst_bin_add()
4227           elements to a bin or pipeline before doing the linking.
4228           
4229 2006-07-26  Wim Taymans  <wim@fluendo.com>
4230
4231         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4232         (gst_subbuffer_get_type), (gst_buffer_create_sub):
4233         Avoid function call for known types by keeping the buffer and
4234         subbuffer GType global.
4235
4236         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4237         Random silly optimisations in read() path.
4238
4239 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4240
4241         * tools/gst-launch.c: (main):
4242           If the top-level of the parse is a normal bin, it doesn't do the
4243           right logic to run as a top-level element, so place it inside a
4244           pipeline.
4245
4246 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
4247
4248         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
4249           Remove superfluous g_object_notify() calls, GObject does
4250           that for us automatically.
4251
4252 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
4253
4254         * gst/gstinfo.h:
4255           on Win32, use dllspec to export the debug category symbols
4256
4257 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
4258
4259         * gst/gsttaglist.c: (_gst_tag_initialize):
4260           Allow more than one GST_TAG_IMAGE per taglist.
4261
4262 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4263
4264         * gst/gstminiobject.c:
4265           update docs
4266         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
4267         (gst_fd_src_create):
4268           log recurring events at LOG level
4269           add more debug for when the fd gets set
4270
4271 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
4272
4273         * gst/gstparse.c: (gst_parse_launch):
4274           Also remove reentrance checks if flex is MT safe (#348179)
4275          Fix my empty ChangeLog entry below
4276
4277 2006-07-21  Andy Wingo  <wingo@pobox.com>
4278
4279         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
4280
4281         * libs/gst/check/Makefile.am
4282         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
4283         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
4284         * libs/gst/check/gstbufferstraw.h:
4285         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
4286         functions, thus proving I am still a GStreamer haxor. OK I wrote
4287         them a long time ago, but anyways.
4288
4289 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
4290
4291         * configure.ac:
4292         * gst/gstparse.c: (gst_parse_launch):
4293           Check for flex version and omit mutex if we have a MT save flex
4294           (fixes #348179)
4295
4296 2006-07-21  Wim Taymans  <wim@fluendo.com>
4297
4298         * gst/gstparse.c: (gst_parse_launch):
4299         Protect recursive calls to _parse with a recursive mutex
4300         and busy flag.
4301
4302 2006-07-21  Wim Taymans  <wim@fluendo.com>
4303
4304         * tests/check/gst/gstpad.c: (GST_START_TEST):
4305         Fix leak in test.
4306
4307 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
4308
4309         * gst/gstparse.c: (gst_parse_launch):
4310           Do not hang on recursive usage of gst_parse_launch()
4311
4312 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
4313
4314         * gst/gsttaglist.c:
4315           Add some more docs, comments and FIXME 0.11s here and there
4316           and also fix some typos.
4317
4318 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
4319
4320         * gst/gstsegment.h:
4321           Convert tabs to spaces for better readability. 
4322
4323 2006-07-20  Edward Hervey  <edward@fluendo.com>
4324
4325         * tests/check/libs/gdp.c: (gst_dp_suite):
4326         the test_buffer test fails at line 140 on ppc64 at the following
4327         check:
4328         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
4329                 GST_BUFFER_FLAG_IN_CAPS),
4330                 "GST_BUFFER_IN_CAPS flag should have been copied !");
4331         See bug #348114 for more details.
4332
4333 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
4334
4335         * docs/pwg/advanced-scheduling.xml:
4336         * gst/gstpad.c:
4337           Fix typos (#348000).
4338
4339 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
4340
4341         * docs/pwg/intro-basics.xml:
4342           Fix wrong links (#347927).
4343
4344 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
4345
4346         * gst/gstregistry.h:
4347         * gst/gstregistryxml.c: (load_feature),
4348         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
4349         * win32/common/config.h:
4350           make --disable-index work (#342564)
4351
4352 2006-07-18  Wim Taymans  <wim@fluendo.com>
4353
4354         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4355
4356         * gst/Makefile.am:
4357         * gst/gsttrace.h:
4358         The attached patch adds two missing defines to gsttrace.h when tracing
4359         is disabled.  It also corrects one existing define.
4360         Fixes #347756.
4361
4362 2006-07-17  Wim Taymans  <wim@fluendo.com>
4363
4364         * docs/gst/gstreamer-sections.txt:
4365         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
4366         * gst/gst.h:
4367         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
4368         Add two functions to check and change the SIGSEGV behaviour
4369         when loading plugins.
4370         Don't mess with the SIGSEGV handler when we were told not to.
4371         Fixes #347794.
4372         API: gst_segtrap_is_enabled
4373         API: gst_segtrap_set_enabled
4374
4375 2006-07-14  Wim Taymans  <wim@fluendo.com>
4376
4377         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4378         * tests/check/elements/filesrc.c: (GST_START_TEST):
4379         Revert fix for regression in #347408 after release.
4380
4381 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
4382
4383         Patch by: Antoine Tremblay <hexa00 at gmail com>
4384
4385         * gst/gstutils.c: (gst_element_unlink):
4386           Free iterator when done (#347311).
4387
4388         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4389           And add a test case for this.
4390
4391 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
4392
4393         * configure.ac:
4394         Bump nano back to CVS
4395
4396 === release 0.10.9 ===
4397
4398 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
4399
4400         * configure.ac:
4401           releasing 0.10.9, "On the road again"
4402
4403 2006-07-13  Wim Taymans  <wim@fluendo.com>
4404
4405         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4406         * tests/check/elements/filesrc.c: (GST_START_TEST):
4407         Revert pull-0 fix for release. Disable check. Fixes #347408.
4408
4409 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4410
4411         * libs/gst/dataprotocol/dataprotocol.c:
4412         (gst_dp_event_from_packet_1_0):
4413           Fixes #347337: failure to deserialize event packets with
4414           empty payload (only event type)
4415
4416 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4417
4418         * gst/Makefile.am:
4419           do not install a .c file in the header directory
4420
4421 2006-07-13  Edward Hervey  <edward@fluendo.com>
4422
4423         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
4424         GhostPad no longer implicitely use the padtemplates of the targets.
4425         Fixes #347384
4426
4427 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
4428
4429         * gst/gstvalue.c: (gst_value_compare_list),
4430         (gst_value_compare_array), (_gst_value_initialize):
4431         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4432         Make GstValueArray comparison be order dependent as designed.
4433         Add checks for value lists and value array comparisons.
4434         Fixes #347221
4435
4436 2006-07-11  Edward Hervey  <edward@fluendo.com>
4437
4438         * gst/gstbin.c: (activate_pads),
4439         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
4440         (gst_bin_change_state_func):
4441         (de)activate src pads before calling state_change on the childs.
4442         This is to avoid the case where a src ghostpad is blocked (holding the
4443         stream lock), which would block the deactivation of the ghostpad's
4444         target pad.
4445         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
4446         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
4447         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
4448         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4449         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4450         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4451         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4452         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
4453         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
4454         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4455         (gst_ghost_pad_class_init),
4456         (gst_ghost_pad_internal_do_activate_push),
4457         (gst_ghost_pad_internal_do_activate_pull),
4458         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4459         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4460         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
4461         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
4462         GhostPads now create their internal GstProxyPad at creation (and not
4463         when they're linked, as it was being done previously).
4464         The internal and target pads are linked straight away.
4465         The data will also travel through the other pad in order to make
4466         pad blocking and probes non-hackish (the probe/block now really happens
4467         on the GhostPad and not on the target).
4468         * gst/gstpad.c: (gst_pad_set_blocked_async),
4469         (gst_pad_link_prepare), (gst_pad_push_event):
4470         Remove previous ghostpad cruft.
4471         * gst/gstutils.c: (gst_pad_add_data_probe),
4472         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4473         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4474         (gst_pad_remove_buffer_probe):
4475         Remove previous ghost pad cruft.
4476         Added more detailed debug statements.
4477         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4478         Fix the testsuite for refcounting changes.
4479         The comments about who has references were correct, but the refcount
4480         being checked wasn't the same (!?!).
4481
4482         Fixes #341029
4483
4484 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
4485
4486         * docs/gst/gstreamer-sections.txt:
4487         * gst/gstconfig.h.in:
4488         More docs for configuration options, add docs to gtk-doc.
4489
4490 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
4491
4492         * gst/Makefile.am:
4493         * gst/gstconfig.h.in:
4494         * win32/common/config.h:
4495         Fix build when disabling tracing (fixes #344016). Also start to document
4496         the defines that disable the sub-systems.
4497
4498 2006-07-10  Edward Hervey  <edward@fluendo.com>
4499
4500         * gst/gst.c: (ensure_current_registry_forking):
4501         let's make valgrind happy...
4502
4503 2006-07-09  Wim Taymans  <wim@fluendo.com>
4504
4505         * gst/gstelement.c: (activate_pads),
4506         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4507         Better pad activation code: Reset the collect value too on resync.
4508         Add some comments.
4509
4510 2006-07-09  Wim Taymans  <wim@fluendo.com>
4511
4512         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
4513         (gst_pad_activate_push):
4514         Use some more macros where it makes sense.
4515         Allow pad mode switching instead of asserting. When a pad
4516         is activated in one mode and we activate it in another, 
4517         deactivate it first before activating it in a different mode.
4518         Fixes #329198.
4519
4520 2006-07-08  Andy Wingo  <wingo@pobox.com>
4521
4522         * tools/gst-launch.c (main): Handle err == NULL.
4523
4524         * gst/gst.c (init_post, ensure_current_registry)
4525         (ensure_current_registry_forking)
4526         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
4527         factoring out the registry scanning into separate functions. Don't
4528         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
4529         Better environment var name/interface suggestions accepted.
4530
4531 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4532
4533         * gst/gstobject.c: (gst_object_set_name_default),
4534         (gst_object_set_name):
4535           Random micro-optimisation: don't use a hash table
4536           with strings as keys and the usual strdup/strcmp
4537           involved, but rather just use the GQuark of the
4538           type name as key, since it needs to be looked up
4539           anyway to get the type name string.
4540
4541         * tests/check/gst/gstobject.c: (GST_START_TEST):
4542           Fix various leaks.
4543
4544 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4545
4546         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
4547         (gst_bin_iterate_all_by_interface):
4548           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
4549           GTypes are gulongs and thus the top 4 bytes might be cut
4550           off on some platforms when doing GPOINTER_TO_INT, leading
4551           to invalid GTypes and bad things happening (see RH bug #179654).
4552           Also add a check to make sure the type passed in is really
4553           an interface type.
4554
4555 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4556
4557         * .cvsignore:
4558           Ignore more.
4559
4560 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4561
4562         * Makefile.am:
4563         * configure.ac:
4564         * gst-element-check.m4:
4565         * gst-element-check.m4.in:
4566           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
4567           instead of the unversioned gst-inspect (#324176, #168659).
4568
4569 2006-07-06  Wim Taymans  <wim@fluendo.com>
4570
4571         * gst/gstmessage.h:
4572         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
4573         warnings.
4574
4575 2006-07-06  Wim Taymans  <wim@fluendo.com>
4576
4577         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4578         (gst_base_src_wait), (gst_base_src_update_length),
4579         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
4580         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
4581         (gst_base_src_loop), (gst_base_src_start),
4582         (gst_base_src_activate_pull):
4583         Update docs.
4584         blocksize == 0 now means the default blocksize when working in push
4585         based mode.
4586         Remove some pointless asserts in _wait function.
4587         Fix offset/length calculations and EOS handling. We can now pull 0
4588         bytes as well, which is allowed.
4589         use _check_get_range() to decide if we can operate in _pull based
4590         mode.
4591         Fix refcounting leak when check_get_range function was not 
4592         implemented.
4593         API GstBaseSrc::blocksize range can be 0 too now (default)
4594
4595         * tests/check/elements/filesrc.c: (GST_START_TEST),
4596         (filesrc_suite):
4597         Added check to test _get_range() behaviour.
4598
4599 2006-07-06  Wim Taymans  <wim@fluendo.com>
4600
4601         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
4602         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
4603         (gst_pad_pull_range):
4604         * gst/gstpad.h:
4605         Lots of comments and docs added to the pad functions.
4606         Flesh out the expected behaviour of the get_range() functions.
4607
4608 2006-07-06  Wim Taymans  <wim@fluendo.com>
4609
4610         * gst/gstbus.h:
4611         * gst/gstclock.h:
4612         * gst/gstevent.h:
4613         * gst/gstiterator.h:
4614         * gst/gstpad.h:
4615         * gst/gstplugin.h:
4616         * gst/gsttask.h:
4617         Remove comma at end of enumerator list. 
4618
4619 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
4620
4621         * win32/common/libgstbase.def:
4622         * win32/common/libgstdataprotocol.def:
4623         * win32/common/libsgtreamer.def:
4624         Add new exported functions.
4625
4626 2006-07-05  Wim Taymans  <wim@fluendo.com>
4627
4628         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
4629         Add some more docs here and there.
4630
4631 2006-07-05  Wim Taymans  <wim@fluendo.com>
4632
4633         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
4634         (gst_base_sink_loop), (gst_base_sink_get_position):
4635         When operating in pull mode update the offset so that we
4636         read sequentially.
4637
4638 2006-07-05  Wim Taymans  <wim@fluendo.com>
4639
4640         * gst/gstregistryxml.c: (read_string):
4641         Avoid strdup. (will happen in libxml, but hey!)
4642
4643         * gst/gsturi.c:
4644         Add some more docs.
4645
4646 2006-07-05  Wim Taymans  <wim@fluendo.com>
4647
4648         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
4649         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4650         (gst_buffer_suite):
4651         No point in checking if the size of the subbuffer > 0, the
4652         code handles it correclty as demonstrated by unit test.
4653         Also add a unit test for the zero sized _new_and_alloc and
4654         _copy. Fixes #346663.
4655
4656 2006-07-05  Wim Taymans  <wim@fluendo.com>
4657
4658         * libs/gst/base/gstbasetransform.c:
4659         (gst_base_transform_prepare_output_buffer),
4660         (gst_base_transform_buffer_alloc),
4661         (gst_base_transform_handle_buffer):
4662         Make sure the buffer we pass to transform_ip has a refcount of
4663         1 and thus is writable. Fixes #343196
4664
4665 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
4666
4667         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4668         (gst_file_src_init), (gst_file_src_set_property),
4669         (gst_file_src_get_property), (gst_file_src_map_region):
4670         * plugins/elements/gstfilesrc.h:
4671         Add "sequential" property, off by default, to use madvise and hint
4672         to the kernel that sequential access is desired.
4673         Touch all retrieved pages by default to ensure they are pulled
4674         into memory. (Closes #345720)
4675
4676 2006-07-03  Wim Taymans  <wim@fluendo.com>
4677
4678         * docs/design/part-block.txt:
4679         * docs/design/part-dynamic.txt:
4680         Small docs updates.
4681
4682 2006-07-03  Wim Taymans  <wim@fluendo.com>
4683
4684         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
4685         (gst_caps_unref), (gst_static_caps_get),
4686         (gst_caps_append_structure):
4687         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4688         Use GSlice when the glib we build against is >= 2.10
4689
4690 2006-07-03  Wim Taymans  <wim@fluendo.com>
4691
4692         * gst/gstelement.c: (gst_element_pads_activate):
4693         Small cleanup in pad activation code.
4694
4695 2006-07-03  Wim Taymans  <wim@fluendo.com>
4696
4697         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4698
4699         * gst/gst-i18n-app.h:
4700         * gst/gst-i18n-lib.h:
4701         * tools/gst-inspect.c: (print_signal_info):
4702         The attached patch will make the inclusion of gettext.h unconditional in
4703         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
4704         libintl.h in tools/gst-inspect.c.
4705         This allows use of --disable-nls again and fixes #344642.
4706
4707 2006-07-03  Edward Hervey  <edward@fluendo.com>
4708
4709         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
4710         Implement pad blocking on events according to part-block.txt.
4711         More comments on behaviour.
4712         * tests/check/gst/gstevent.c: (test_event):
4713         Send event to peer pad of blocked pad (else it will block).
4714
4715 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4716
4717         * libs/gst/check/gstcheck.c: (gst_check_message_error),
4718         (gst_check_run_suite):
4719           if we get the wrong message, give us the types as string
4720         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4721           Fix a translatable
4722         * tests/check/elements/filesrc.c: (GST_START_TEST):
4723           add a test for trying to open a non-existing file
4724
4725 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4726
4727         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4728           add a test for adding self
4729
4730 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4731
4732         * libs/gst/check/gstcheck.h:
4733           add some assert_ as alias for fail_unless_*
4734         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
4735           increase test coverage
4736
4737 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4738
4739         * Makefile.am:
4740           include lcov.mak for lcov coverage generation
4741         * tools/Makefile.am:
4742           add to CLEANFILES
4743
4744 2006-07-02  Edward Hervey  <edward@fluendo.com>
4745
4746         * tests/check/elements/.cvsignore:
4747         moaping
4748
4749 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4750
4751         * configure.ac:
4752           don't set CFLAGS and friends for gcov, done from GST_GCOV now
4753         * tests/check/Makefile.am:
4754           clean up gcov files
4755
4756 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4757
4758         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
4759           remove gst_caps_simplify; it was not declared and not used
4760           and deprecated in 0.8
4761
4762 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4763
4764         * docs/faq/gst-uninstalled:
4765           don't put empty paths on PYTHONPATH
4766         * docs/gst/gstreamer-sections.txt:
4767           remove some symbols that are not there
4768
4769 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4770
4771         * gst/gstcaps.c: (gst_caps_compare_structures):
4772           whitespace fixes
4773         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4774         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4775           add more tests
4776
4777 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4778
4779         * libs/gst/dataprotocol/Makefile.am:
4780           build dataprotocol test by linking to the lib, instead of
4781           compiling the source, so we get coverage
4782         * tests/check/Makefile.am:
4783         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
4784         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
4785           add a test for filesrc
4786
4787 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4788
4789         * tests/check/gst/gststructure.c: (GST_START_TEST),
4790         (gst_structure_suite):
4791           Push coverage from 59.04% to 70.00%
4792
4793 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4794
4795         * tests/check/Makefile.am:
4796           gst-inspect every element; this makes sure that we also get
4797           coverage on element's get/set functions
4798
4799 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4800
4801         * configure.ac:
4802           set CFLAGS and friends to -O0 if gcov is being used
4803           add GCOV LIBS
4804         * gst/Makefile.am:
4805         * libs/gst/base/Makefile.am:
4806         * libs/gst/check/Makefile.am:
4807         * libs/gst/controller/Makefile.am:
4808         * libs/gst/dataprotocol/Makefile.am:
4809         * libs/gst/net/Makefile.am:
4810         * plugins/elements/Makefile.am:
4811         * plugins/indexers/Makefile.am:
4812           add makefile rules to generate gcov data and clean up
4813         * tests/check/Makefile.am:
4814           add a coverage target that generates an html overview
4815           of coverage data
4816
4817 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4818
4819         * tests/check/elements/fakesink.c:
4820         * tests/check/elements/fakesrc.c:
4821         * tests/check/elements/fdsrc.c:
4822         * tests/check/elements/identity.c:
4823         * tests/check/generic/sinks.c: (gst_sinks_suite):
4824         * tests/check/generic/states.c:
4825         * tests/check/gst/gst.c:
4826         * tests/check/gst/gstabi.c:
4827         * tests/check/gst/gstbin.c:
4828         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
4829         * tests/check/gst/gstbus.c: (gst_bus_suite):
4830         * tests/check/gst/gstcaps.c: (GST_START_TEST):
4831         * tests/check/gst/gstelement.c:
4832         * tests/check/gst/gstevent.c: (gst_event_suite):
4833         * tests/check/gst/gstghostpad.c:
4834         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
4835         * tests/check/gst/gstmessage.c: (gst_message_suite):
4836         * tests/check/gst/gstminiobject.c:
4837         * tests/check/gst/gstobject.c:
4838         * tests/check/gst/gstpad.c:
4839         * tests/check/gst/gstpipeline.c:
4840         * tests/check/gst/gstplugin.c:
4841         * tests/check/gst/gstquery.c: (gst_query_suite):
4842         * tests/check/gst/gstsegment.c: (gst_segment_suite):
4843         * tests/check/gst/gststructure.c:
4844         * tests/check/gst/gstsystemclock.c:
4845         * tests/check/gst/gsttag.c:
4846         * tests/check/gst/gsttask.c: (gst_task_suite):
4847         * tests/check/gst/gstutils.c:
4848         * tests/check/gst/gstvalue.c:
4849         * tests/check/libs/adapter.c:
4850         * tests/check/libs/basesrc.c:
4851         * tests/check/libs/collectpads.c:
4852         * tests/check/libs/controller.c:
4853         * tests/check/libs/gdp.c: (gst_dp_suite):
4854         * tests/check/libs/gstnetclientclock.c:
4855         * tests/check/libs/gstnettimeprovider.c:
4856         * tests/check/libs/libsabi.c: (libsabi_suite):
4857         * tests/check/libs/typefindhelper.c:
4858         * tests/check/pipelines/cleanup.c:
4859         * tests/check/pipelines/parse-launch.c:
4860         * tests/check/pipelines/simple-launch-lines.c:
4861         * tests/check/pipelines/stress.c: (stress_suite):
4862           use the new macro
4863
4864 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4865
4866         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
4867         * libs/gst/check/gstcheck.h:
4868           create a macro and function so that the simple unit test
4869           case can be just one macro to create main()
4870
4871 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
4872
4873         * gst/gstbin.c: (gst_bin_restore_thyself):
4874         * gst/gstxml.c: (gst_xml_make_element):
4875           Fix deserialisation from XML. Set parent manually
4876           instead of using gst_bin_add(), since gst_bin_add()
4877           will unlink all pads of the element being added.
4878           Fixes #341667.
4879
4880 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
4881
4882         Patch by: Peter Kjellerstedt <pkj at axis com>
4883
4884         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
4885           Fix missing g_strdup() and double free when using the
4886           --gst-plugin-load command line option (#346097).
4887
4888 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
4889
4890         * gst/gstinfo.c:
4891           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
4892
4893         * libs/gst/net/gstnetclientclock.c:
4894         * libs/gst/net/gstnettimeprovider.c:
4895           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
4896
4897 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
4898
4899         * docs/manual/advanced-dataaccess.xml:
4900           Fix buffer probe example compilation in
4901           ADM (#345708).
4902         
4903 2006-06-22  Edward Hervey  <edward@fluendo.com>
4904
4905         * gst/gstelement.c: (gst_element_pads_activate):
4906         We need to deactivate src pads first and then sink pads.
4907         The reason is the src pads might be blocking while holding the streaming
4908         lock, so we need to deactivate them first so that deactivating the sink
4909         pads doesn't block (since it will require the streaming lock).
4910
4911 2006-06-22  Wim Taymans  <wim@fluendo.com>
4912
4913         * libs/gst/base/gstbasetransform.c:
4914         (gst_base_transform_buffer_alloc):
4915         Forgot to remove two unneeded unrefs.
4916         Simplify a check _is_equal allready checks the obvious case.
4917
4918 2006-06-22  Wim Taymans  <wim@fluendo.com>
4919
4920         * docs/design/part-block.txt:
4921         Some docs about what pad_block should do.
4922
4923 2006-06-22  Wim Taymans  <wim@fluendo.com>
4924
4925         * gst/gstcaps.c: (gst_caps_replace):
4926         Fix crasher when passed NULL. Doc clarification.
4927         Optimize for the trivial case.
4928
4929         * gst/gstpipeline.c: (gst_pipeline_change_state):
4930         Small cleanups.
4931
4932         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4933         Small documentation cleanup.
4934
4935         * libs/gst/base/gstbasetransform.c:
4936         (gst_base_transform_buffer_alloc):
4937         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
4938         is what we need and it avoids a whole lot of redundant 
4939         refcount operations.
4940
4941 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
4942
4943         Patch by: Philip Jägenstedt  <philip at lysator liu se>
4944
4945         * docs/manual/advanced-dataaccess.xml:
4946           Fix 'Embedding static elements' section to use
4947           GST_PLUGIN_DEFINE_STATIC (#345607).
4948
4949 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
4950
4951         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
4952           Attempt to 'fix' spuriously failing test case: it seems like the
4953           timeout of half a second is simply too small when the system is under
4954           load otherwise, and the timeout doesn't really seem to serve any
4955           particular purpose here. Give the pipeline a few seconds to preroll
4956           first, and then give it another half a second to go from PAUSED to
4957           PLAYING and marshal the message into the main thread.
4958
4959 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
4960
4961         * tools/gst-feedback-m.m:
4962           Don't only use unversioned tools, try versioned tools as well
4963           (#345086).
4964
4965 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
4966
4967         * gst/gstbus.c: (gst_bus_class_init):
4968           Fix some typos, make docs more explicit.
4969
4970 2006-06-20  Wim Taymans  <wim@fluendo.com>
4971
4972         * tests/check/gst/gstghostpad.c: (block_callback),
4973         (GST_START_TEST), (gst_ghost_pad_suite):
4974         Added some more ghostpad tests, mainly blocking
4975         and probes.
4976
4977 2006-06-16  Wim Taymans  <wim@fluendo.com>
4978
4979         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4980         (gst_file_sink_close_file), (gst_file_sink_do_seek),
4981         (gst_file_sink_event), (gst_file_sink_render):
4982         * plugins/elements/gstfilesink.h:
4983         Check if we can seek in the file instead of assuming
4984         we always can. Post an error when we are asked to seek in a
4985         non-seekable file (like a fifo). Fixes #343312.
4986         Some cleanups.
4987
4988 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
4989
4990         * tools/gst-launch.1.in:
4991           Un-garble (fourcc) bit in filtered caps section.
4992
4993 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
4994
4995         * docs/manual/advanced-autoplugging.xml:
4996         * docs/manual/basics-helloworld.xml:
4997         * docs/manual/highlevel-components.xml:
4998           Don't leak bus reference in sample code.
4999
5000 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
5001
5002         * autogen.sh:
5003           Add default for new --enable-plugin-docs switch.
5004
5005         * configure.ac:
5006           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
5007           Fixes #344039.
5008
5009         * docs/Makefile.am:
5010           Use new ENABLE_PLUGIN_DOCS conditional.
5011
5012 2006-06-14  Wim Taymans  <wim@fluendo.com>
5013
5014         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
5015         Make it clear with a FIXME and a real define what the #if 0
5016         previously disabled.
5017
5018 2006-06-14  Wim Taymans  <wim@fluendo.com>
5019
5020         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5021         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5022         * libs/gst/base/gstbasetransform.c:
5023         (gst_base_transform_sink_eventfunc):
5024         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5025         Don't randomly and silently reset a segment when the format 
5026         changes as this is a bug somewhere upstream. Fixes #330379.
5027
5028 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5029
5030         Patch by: Wouter Paesen  <wouter at kangaroot net>
5031
5032         * libs/gst/controller/gstcontroller.c:
5033         (gst_controlled_property_new):
5034           Fix controlling of float properties (#344849).
5035
5036         * tests/check/libs/controller.c:
5037         (gst_test_mono_source_get_property),
5038         (gst_test_mono_source_set_property),
5039         (gst_test_mono_source_class_init), (GST_START_TEST):
5040           While we're at it, add some float stuff to unit test.
5041
5042 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5043
5044         * docs/README:
5045         * docs/images/gdp-header.svg:
5046           add a gdp image
5047         * docs/libs/Makefile.am:
5048         * docs/libs/gdp-header.png:
5049         * libs/gst/dataprotocol/dataprotocol.c:
5050           add it to the API docs
5051         * docs/manual/intro-motivation.xml:
5052           fix typo
5053
5054 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
5055
5056         * gst/gst.c: (scan_and_update_registry), (init_post):
5057           If the fork()'ed child process can't write the updated registry cache
5058           file to disk for some reason, make it exit with a failure exit code,
5059           so that the parent can then re-scan the plugins itself and update the
5060           registry structures in memory and work with that (rather than failing
5061           when creating elements because seemingly no plugins are available).
5062           Refactor registry scanning code into separate function for this and
5063           also separate fork() and non-fork() code paths. Fixes #344748.
5064
5065 2006-06-13  Wim Taymans  <wim@fluendo.com>
5066
5067         * docs/manual/advanced-dataaccess.xml:
5068         Fix wrong PluginDesc. Fixes #344755.
5069
5070 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
5071
5072         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5073           Fix silly bug that prevented us from creating
5074           ~/.gstreamer-0.10 and writing the registry in one
5075           go (the first call to g_mkstemp() would overwrite the
5076           placeholder in the template string, so the second call
5077           to g_mkstemp() after creating the missing directory
5078           would then error out with 'invalid argument').
5079
5080 2006-06-13  Edward Hervey  <edward@fluendo.com>
5081
5082         * gst/gst.c: (init_post):
5083         Free string.
5084
5085 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5086
5087         * gst/glib-compat-private.h:
5088         * gst/glib-compat.c:
5089         * gst/glib-compat.h:
5090         * gst/gstvalue.c: (gst_value_serialize_flags):
5091           remove GLib 2.6 compatibility code
5092
5093 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
5094
5095         * gst/parse/Makefile.am:
5096           Fix build with 'make -j N' even more (#340016).
5097
5098 2006-06-12  Wim Taymans  <wim@fluendo.com>
5099
5100         * docs/gst/gstreamer-sections.txt:
5101         Fix docs.
5102
5103 2006-06-12  Wim Taymans  <wim@fluendo.com>
5104
5105         * gst/gstsegment.c: (gst_segment_set_duration),
5106         (gst_segment_set_last_stop), (gst_segment_set_seek),
5107         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5108         (gst_segment_to_running_time), (gst_segment_clip):
5109         Use G_UNLIKELY to help the compiler a bit.
5110
5111 2006-06-12  Wim Taymans  <wim@fluendo.com>
5112
5113         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
5114
5115         * gst/gstevent.c: (gst_event_get_type):
5116         * gst/gstmessage.c:
5117         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5118         (gst_pad_push):
5119         constify quark registration strings. Fixes #344115
5120         Avoid unneeded type checking is _pad_push() by internally
5121         calling gst_pad_chain_unchecked().
5122
5123 2006-06-12  Wim Taymans  <wim@fluendo.com>
5124
5125         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
5126         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
5127         (gst_subbuffer_finalize), (gst_buffer_create_sub),
5128         (gst_buffer_is_span_fast), (gst_buffer_span):
5129         Init _type for consistency.
5130         Use _FLAGS macro to avoid type check.
5131         Avoid unneeded type checks in subbufer code.
5132
5133 2006-06-12  Wim Taymans  <wim@fluendo.com>
5134
5135         * gst/gst.c: (gst_debug_help):
5136         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
5137         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5138         (gst_plugin_feature_list_free):
5139         * gst/gstregistry.c: (gst_registry_add_plugin),
5140         (gst_registry_add_feature), (gst_registry_plugin_filter),
5141         (gst_registry_feature_filter), (gst_registry_find_plugin),
5142         (gst_registry_find_feature), (gst_registry_get_plugin_list),
5143         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
5144         * gst/gstregistryxml.c: (load_feature),
5145         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
5146         * gst/gstminiobject.c: (gst_mini_object_unref),
5147         (gst_mini_object_replace), (gst_value_mini_object_free),
5148         (gst_value_mini_object_copy):
5149         Use _CAST macros to avoid unneeded type checking.
5150         Added some more G_UNLIKELY.
5151
5152 2006-06-12  Wim Taymans  <wim@fluendo.com>
5153
5154         * gst/gstbuffer.h:
5155         Avoid unneeded type checking.
5156         API: GST_BUFFER_IS_DISCONT
5157
5158         * gst/gstminiobject.h:
5159         Avoid type check in flag accessor.
5160
5161         * gst/gstelementfactory.h:
5162         * gst/gstplugin.h:
5163         * gst/gstpluginfeature.h:
5164         Add _CAST macros.
5165         API: GST_ELEMENT_FACTORY_CAST
5166         API: GST_PLUGIN_CAST
5167         API: GST_PLUGIN_FEATURE_CAST
5168
5169 2006-06-12  Wim Taymans  <wim@fluendo.com>
5170
5171         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
5172         (gst_object_unref):
5173         Add G_UNLIKELY in type registration.
5174         Avoid type check in _ref/_unref since that is also
5175         done in glib.
5176
5177 2006-06-12  Wim Taymans  <wim@fluendo.com>
5178
5179         * gst/gsterror.c: (gst_g_error_get_type):
5180         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5181         (gst_static_pad_template_get_type):
5182         * gst/gsttaglist.c: (gst_tag_list_get_type):
5183         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
5184         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
5185         * gst/gsturi.c: (gst_uri_handler_get_type):
5186         * gst/gstvalue.c: (gst_date_get_type):
5187         * gst/gstxml.c: (gst_xml_get_type):
5188         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5189         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5190         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
5191         Add G_UNLIKELY in type registration.
5192
5193 2006-06-12  Wim Taymans  <wim@fluendo.com>
5194
5195         * tools/gst-inspect.c: (print_signal_info):
5196         Properly print enum values.
5197
5198 2006-06-12  Wim Taymans  <wim@fluendo.com>
5199
5200         * gst/gstinfo.c: (gst_debug_set_active),
5201         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
5202         * gst/gstinfo.h:
5203         Add some G_[UN]LIKELY.
5204         Maintain __gst_debug_min to avoid formatting the arguments of
5205         debug messages that will be dropped anyway to avoid a lot of 
5206         overhead from the debugging system.
5207
5208 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5209
5210         * po/POTFILES.in:
5211         * po/POTFILES.skip:
5212           add missing files containing translatable strings, tell intltool about
5213           one exception
5214
5215 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5216
5217         * tests/check/libs/.cvsignore:
5218         add test-binary to ignore list
5219
5220 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5221
5222         * docs/libs/gstreamer-libs-docs.sgml:
5223         reorder (put dp into a chapter) and indent
5224
5225 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5226
5227         * configure.ac:
5228           back to HEAD
5229
5230 === release 0.10.8 ===
5231
5232 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
5233
5234         * configure.ac:
5235           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
5236
5237 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5238
5239         * gst/gst.c: (init_post):
5240           move pid declaration to declaration block
5241
5242 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5243
5244         * gst/gst.c: (init_post):
5245           use _exit() instead of exit() in our forked child; this ensures
5246           that none of the registered exit handlers from whatever is using
5247           GStreamer get executed.  This fixes gnome-mixer-applet failing
5248           to load, because ORBit would shut down.
5249           Spotted by: Edward Hervey  <edward@fluendo.com>
5250           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
5251           Fixes #344474
5252
5253 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5254
5255         * configure.ac:
5256           back to TRUNK
5257
5258 === release 0.10.7 ===
5259
5260 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
5261
5262         * configure.ac:
5263           releasing 0.10.7, "Soepeke, ik zie ou"
5264
5265 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5266
5267         * configure.ac:
5268         * po/af.po:
5269         * po/az.po:
5270         * po/bg.po:
5271         * po/ca.po:
5272         * po/cs.po:
5273         * po/de.po:
5274         * po/en_GB.po:
5275         * po/fr.po:
5276         * po/it.po:
5277         * po/nb.po:
5278         * po/nl.po:
5279         * po/ru.po:
5280         * po/sq.po:
5281         * po/sr.po:
5282         * po/sv.po:
5283         * po/tr.po:
5284         * po/uk.po:
5285         * po/vi.po:
5286         * po/zh_CN.po:
5287         * po/zh_TW.po:
5288         * win32/common/config.h:
5289           0.10.6.2 prerelease
5290
5291 2006-06-07  Wim Taymans  <wim@fluendo.com>
5292
5293         * gst/gstindex.c: (gst_index_gtype_resolver):
5294         * tools/gst-xmlinspect.c: (print_plugin_info):
5295         Fix leak spotted by coverity checker. Fixes #343827
5296         Fix another other leak found by paolo borelli.
5297
5298 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5299
5300         * libs/gst/dataprotocol/dataprotocol.c:
5301         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5302         (gst_dp_version_get_type), (gst_dp_init),
5303         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
5304         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
5305         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
5306         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
5307         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
5308         (gst_dp_packetizer_free):
5309         * libs/gst/dataprotocol/dataprotocol.h:
5310           API: add a GstDPPacketizer object, and create/free functions
5311           API: add GstDPVersion enum
5312           Add 1.0 event function that uses the string serialization
5313           Serialize more useful buffer flags
5314           Fixes #343988
5315
5316 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5317
5318         * tests/check/Makefile.am:
5319         * tests/check/gst/gstabi.c:
5320         * tests/check/gst/struct_ppc64.h:
5321         * tests/check/libs/libsabi.c:
5322         * tests/check/libs/struct_ppc64.h:
5323           add ppc64 structure sizes
5324
5325 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5326
5327         * tests/check/Makefile.am:
5328         * tests/check/gst/gstabi.c:
5329         * tests/check/gst/struct_x86_64.h:
5330         * tests/check/libs/libsabi.c:
5331         * tests/check/libs/struct_x86_64.h:
5332           generate and add structure size lists for x86_64
5333
5334 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5335
5336         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5337         * libs/gst/check/gstcheck.h:
5338           factor out the method from tests that checks size of structures,
5339           and add code to generate the header containing these sizes
5340         * tests/check/gst/gstabi.c: (GST_START_TEST):
5341         * tests/check/gst/struct_i386.h:
5342         * tests/check/libs/libsabi.c: (GST_START_TEST):
5343         * tests/check/libs/struct_i386.h:
5344           use it
5345
5346 2006-06-06  Michael Smith  <msmith@fluendo.com>
5347
5348         * gst/gstsegment.h:
5349           Don't use c++-style comments, fixes #343929
5350
5351 2006-06-05  Edward Hervey  <edward@fluendo.com>
5352
5353         * gst/gst.c:
5354         plugin_paths is not used if we build without registry support.
5355
5356         * gst/gstsegment.c: (gst_segment_copy): 
5357         _copy() was always returning NULL...
5358
5359 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5360
5361         * libs/gst/dataprotocol/dataprotocol.c:
5362         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5363         (gst_dp_packet_from_event):
5364           factor out CRC code
5365
5366 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5367
5368         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
5369           make sure we unset caps
5370
5371 2006-06-02  Michael Smith  <msmith@fluendo.com>
5372
5373         * libs/gst/check/gstcheck.c: (gst_check_init),
5374         (gst_check_chain_func):
5375         * libs/gst/check/gstcheck.h:
5376           Add a cond/mutex to the check support lib, signal this whenever we
5377           add to the buffers list. This will allow tests to not busy-wait on
5378           the buffer-list.
5379
5380 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5381
5382         * libs/gst/dataprotocol/dataprotocol.c:
5383         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5384         (gst_dp_packet_from_event):
5385           factor out some common header init code
5386
5387 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5388
5389         * docs/libs/gstreamer-libs-sections.txt:
5390         * docs/libs/tmpl/gstdataprotocol.sgml:
5391         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
5392         * libs/gst/dataprotocol/dataprotocol.h:
5393           API: make gst_dp_crc() public
5394
5395 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
5396
5397         * plugins/indexers/gstindexers.c: (plugin_init):
5398         conditionally register fileindexer (fixes #343598)
5399
5400 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
5401
5402         * gst/gsttagsetter.h:
5403         Can't cast ifaces to a class
5404
5405         * libs/gst/net/gstnetclientclock.h:
5406         * libs/gst/net/gstnettimeprovider.h:
5407         * plugins/elements/gstfakesink.h:
5408         * plugins/elements/gstfakesrc.h:
5409         * plugins/elements/gstfdsink.h:
5410         * plugins/elements/gstfdsrc.h:
5411         * plugins/elements/gstfilesink.h:
5412         * plugins/elements/gstfilesrc.h:
5413         * plugins/elements/gstidentity.h:
5414         * plugins/elements/gstqueue.h:
5415         * plugins/elements/gsttee.h:
5416         * plugins/indexers/gstfileindex.c:
5417         * plugins/indexers/gstmemindex.c:
5418         * tests/old/examples/plugins/example.h:
5419         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
5420
5421 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5422
5423         * libs/gst/dataprotocol/dataprotocol.c:
5424         (gst_dp_header_from_buffer):
5425           make sure we zero the whole ABI-compatible area
5426
5427 2006-06-01  Wim Taymans  <wim@fluendo.com>
5428
5429         Patch by: Alessandro Decina <alessandro at nnva dot org>
5430
5431         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
5432         Make sure the EOS flag is cleared from pads after a flush
5433         or stop. Fixes #343538.
5434
5435         * tests/check/libs/collectpads.c: (GST_START_TEST),
5436         (gst_collect_pads_suite):
5437         Added test for collectpads reusage after EOS.
5438
5439 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
5440
5441         * gst/gst.c:
5442          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
5443         * win32/common/libgstbase.def:
5444          export gst_collect_pads_set_flushing
5445         * win32/common/libgstreamer.def:
5446          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
5447          gst_value_fraction_multiply
5448         * win32/vs6/gst_inspect.dsp:
5449          add a link to intl.lib
5450
5451 2006-05-30  Wim Taymans  <wim@fluendo.com>
5452
5453         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5454         (gst_collect_pads_chain):
5455         Handle the case where a pad is removed from the collection
5456         that could cause the other pads to become collectable.
5457
5458 2006-05-30  Wim Taymans  <wim@fluendo.com>
5459
5460         * gst/gstelement.c:
5461         Clarify the use of _release_request_pad() and
5462         _get_request_pad() a bit better.
5463
5464         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
5465         (gst_adapter_take_buffer):
5466         Fix some doc and comment typos.
5467
5468 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5469
5470         * docs/gst/gstreamer-sections.txt:
5471         * docs/libs/gstreamer-libs-sections.txt:
5472           add declared symbols
5473
5474 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
5475
5476         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5477         Add debug that can be enabled using a #define at the top of the file,
5478         for dumping stats about how late/early we were when waking up from
5479         waiting on the clock.
5480
5481 2006-05-30  Wim Taymans  <wim@fluendo.com>
5482
5483         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
5484         When rebuilding the pad list, don't leak the previous list.
5485
5486 2006-05-30  Wim Taymans  <wim@fluendo.com>
5487
5488         Patch by: Lutz Mueller <lutz at topfrose dot de>
5489
5490         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5491         (gst_base_src_get_query_types), (gst_base_src_update_length):
5492         Publish supported query types.
5493         Update last_stop field in get_range mode so the position
5494         query works. Fixes #342321.
5495
5496 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
5497
5498         * docs/gst/gstreamer-sections.txt:
5499         * gst/gsttaglist.c: (_gst_tag_initialize):
5500         * gst/gsttaglist.h:
5501           API: add GST_TAG_PREVIEW_IMAGE (#343341).
5502
5503 2006-05-30  Wim Taymans  <wim@fluendo.com>
5504
5505         Patch by: Alessandro Decina <alessandro at nnva dot org>
5506
5507         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5508         Unlock mutex when removing an unknown pad.
5509         Fixes #343334.
5510
5511         * tests/check/Makefile.am:
5512         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
5513         (push_event), (setup), (teardown), (GST_START_TEST),
5514         (gst_collect_pads_suite), (main):
5515         Added collecpads check, disabled for now as check crashes for
5516         some reason.
5517
5518 2006-05-29  Wim Taymans  <wim@fluendo.com>
5519
5520         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
5521         Don't leak pads lists.
5522
5523 2006-05-29  Wim Taymans  <wim@fluendo.com>
5524
5525         * docs/libs/gstreamer-libs-sections.txt:
5526         * libs/gst/base/gstcollectpads.c:
5527         (gst_collect_pads_set_flushing_unlocked),
5528         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5529         (gst_collect_pads_stop):
5530         * libs/gst/base/gstcollectpads.h:
5531         API: gst_collect_pads_set_flushing()
5532         Added api to set the pads to flushing, useful for seeking
5533         code in elements using collectpads.
5534         Clear segment when receiving a flush.
5535
5536 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
5537
5538         * gst/gst.c: (add_path_func), (init_post):
5539           Don't scan registry paths passed via --gst-plugin-path immediately
5540           (will crash, because absolutely nothing is set up and no types are
5541           registered etc.); do this later in init_post(). Fixes #343057.
5542
5543 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5544
5545         * gst/gst.c: (init_post):
5546           if we have fork, fork while reading/rebuilding the registry
5547           so the parent doesn't take the hit of having all plugins loaded
5548           in memory.  Fixes #342777.
5549         * configure.ac:
5550           Check if we have fork()
5551         * win32/common/config.h.in:
5552           no fork() on win32
5553
5554 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
5555
5556         * plugins/elements/gstelements.c:
5557         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5558         (gst_file_src_init), (gst_file_src_set_property),
5559         (gst_file_src_get_property), (gst_file_src_start):
5560         * plugins/elements/gstfilesrc.h:
5561           API: GstFileSrc::use-mmap
5562
5563         Add a use-mmap property to enable easier testing of all code paths.
5564         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
5565         in the absence of gnomevfssrc. (Closes #340501)
5566
5567 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5568
5569         * tools/gst-inspect.c:
5570         Add missing include, removes warning of ngettext not being defined on
5571         some arches.
5572
5573 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
5574
5575         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5576         Handle NULL input and output pointers silently as a failed conversion,
5577         rather than g_warnings.
5578
5579 2006-05-25  Wim Taymans  <wim@fluendo.com>
5580
5581         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
5582         Initialize variable before using. Fixes #342820.
5583
5584 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
5585
5586         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
5587           Fix off-by-one bug that would only allow peeks of N-1 bytes
5588           from the start even if the buffer to typefind on contains
5589           in fact N bytes of data (makes vorbis typefinding from a
5590           vorbis identification header buffer work).
5591
5592         * tests/check/Makefile.am:
5593         * tests/check/libs/.cvsignore:
5594         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
5595         (gst_typefindhelper_suite), (main), (foobar_typefind),
5596         (plugin_init):
5597           Add very basic unit test for gst_type_find_helper_for_buffer()
5598           that checks for the problem fixed above.
5599
5600 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5601
5602         * tools/gst-inspect.c: (print_interfaces),
5603         (print_element_properties_info), (print_element_list), (main):
5604           add more translatable strings
5605
5606 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
5607
5608         Patch by: Julien Moutte  <julien at moutte net>
5609
5610         * docs/gst/gstreamer-sections.txt:
5611           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
5612           
5613         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5614         (gst_fake_sink_preroll):
5615         * plugins/elements/gstfakesink.h:
5616           API: Add new GstFakeSink::preroll-handoff signal (#337100).
5617
5618 2006-05-23  Wim Taymans  <wim@fluendo.com>
5619
5620         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
5621         * gst/gstpad.h:
5622         Added _CUSTOM error and success GstFlowReturn that can be
5623         used be elements internally. 
5624         Added macro to check for SUCCESS flowreturns.
5625         API: GST_FLOW_CUSTOM_SUCCESS
5626         API: GST_FLOW_CUSTOM_ERROR
5627         API: GST_FLOW_IS_SUCCESS
5628
5629         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5630         Added check for GstFlowReturn sanity.
5631
5632 2006-05-23  Wim Taymans  <wim@fluendo.com>
5633
5634         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5635
5636         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5637         (gst_collect_pads_event):
5638         clear/reset segment info in FLUSH_STOP.
5639         Fixes #336929.
5640
5641 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
5642
5643         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
5644         (gst_collect_pads_check_collected):
5645         Flush queued buffer on _stop(), fixes playing again (#342454)
5646
5647 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5648
5649         * tests/check/gst/gststructure.c: (GST_START_TEST),
5650         (gst_structure_suite):
5651           add a test for a complete structure
5652
5653 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
5654
5655         * docs/faq/developing.xml:
5656         * docs/faq/faq.xml:
5657         * docs/faq/troubleshooting.xml:
5658         * docs/faq/using.xml:
5659           Some minor FAQ updates that won't change the fact that
5660           our FAQ is badly structured, full of information hardly
5661           anyone new to GStreamer needs to know and lacking lots
5662           of information people constantly ask for.
5663           
5664 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
5665
5666         * gst/gstpad.c: (gst_pad_set_caps):
5667           Short-circuit gst_pad_set_caps if setting the existing
5668           caps pointer again, and avoid printing debug and 
5669           reffing/unreffing the caps.
5670
5671         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5672           There's actually no need to set the caps before pushing -
5673           the acceptcaps method will handle it anyway.
5674
5675 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
5676
5677         * docs/gst/gstreamer-sections.txt:
5678         * win32/common/libgstreamer.def:
5679         * gst/gstutils.c: (gst_element_seek_simple):
5680         * gst/gstutils.h:
5681           API: add gst_element_seek_simple() (#342238).
5682
5683 2006-05-18  Edward Hervey  <edward@fluendo.com>
5684
5685         * gst/gsttypefind.c: (gst_type_find_get_type):
5686         * gst/gsttypefind.h:
5687         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
5688         registered for GstTypeFind pointers. This allows wrapping the structure
5689         in bindings (i.e. gst-python).
5690
5691 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
5692
5693         * gst/gsttagsetter.c:
5694           Docs additions and fixes (see #339918).
5695
5696 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
5697
5698         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5699         The caps intersection algorithm can produce multiple copies of the
5700         caps. Until that is fixed, we need to simplify the result to be
5701         sure whether the allowed caps are fixed or not.
5702
5703         * plugins/elements/gstqueue.c: (gst_queue_init),
5704         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
5705         (gst_queue_push_one):
5706         Proxied buffer alloc should not set the caps on the source pad.
5707         When pushing buffers, we always accept the caps change that triggers.
5708         This prevents negotiation errors caused by caps changing mid-stream 
5709         and then being refused on our source pad (because upstream is now
5710         refusing those caps).
5711
5712 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
5713
5714         * tests/examples/helloworld/helloworld.c: (main):
5715           Must plug audioconvert and audioresample between decoder
5716           and audio sink.
5717
5718 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
5719
5720         * gst/gstregistryxml.c: (read_string), (load_pad_template),
5721         (load_feature), (load_plugin):
5722         Allow empty strings for some of the plugin fields so we don't 
5723         drop valid plugin entries that were written out correctly
5724         (Fixes #341479)
5725
5726 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
5727         
5728         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5729           Use g_remove and g_rename instead of remove and rename that don't 
5730           handle utf8 characters. rename was failing for users who had specific
5731           characters in their name then the registry was built at each 
5732           gstreamer init.
5733         * win32/vs6/gst_inspect.dsp:
5734         * win32/vs6/gst_launch.dsp:
5735         * win32/vs6/libgstbase.dsp:
5736         * win32/vs6/libgstcoreelements.dsp:
5737         * win32/vs6/libgstreamer.dsp:
5738           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
5739           build of libgstreamer and clean unused libraries in projects link 
5740           settings.
5741
5742 2006-05-17  Edward Hervey  <edward@fluendo.com>
5743
5744         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5745         The queue is not responsible for pushing an EOS when receiving a fatal
5746         flow error. It's up to the real element driving the pipeline to do that.
5747
5748 2006-05-16  Edward Hervey  <edward@fluendo.com>
5749
5750         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5751         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
5752         buffer returned a fatal error. It should just send an EOS and stop
5753         its task.
5754         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
5755         when pushing buffers on the queue and will be able to handle the event.
5756
5757 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
5758
5759         * docs/manual/basics-bins.xml:
5760         * docs/manual/basics-init.xml:
5761           Fix typos and minor errors in sample code (#341856).
5762
5763 2006-05-16  Wim Taymans  <wim@fluendo.com>
5764
5765         * docs/design/part-qos.txt:
5766         Fix indexes in formulas to make more sense.
5767
5768 2006-05-15  Wim Taymans  <wim@fluendo.com>
5769
5770         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5771         Don't report POSITION based on clock time if sync is
5772         disabled in a sink.
5773
5774 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
5775
5776         * gst/gstobject.h:
5777           Add cast to make compiler happy - refcount variable was a gint
5778           in GstObject but is a guint in GObject and g_atomic_int_get()
5779           wants a gint *.
5780
5781 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5782
5783         * gst/parse/Makefile.am:
5784           chain commands using &&, which also makes parallel make work
5785
5786 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
5787
5788         * docs/gst/gstreamer-sections.txt:
5789         * gst/gstevent.c:
5790         * gst/gstevent.h:
5791         * gst/gstmessage.h:
5792           Minor docs fixes.
5793
5794 === release 0.10.6 ===
5795
5796 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
5797
5798         * configure.ac:
5799           releasing 0.10.6, "Take the cannoli"
5800
5801 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
5802
5803         * tools/gst-launch.c: (print_tag):
5804           Fix use of uninitialized variable in the hypothetical
5805           case that some broken plugin creates a GST_TAG_IMAGE
5806           tag containing a NULL buffer (#341667).
5807
5808 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
5809
5810         * tools/gst-launch.c: (print_tag):
5811           Print something more intelligible for image tags when
5812           using the -t switch (#341556).
5813
5814 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5815
5816         * Makefile.am:
5817           updates for win32
5818         * configure.ac:
5819           define GST_MAJORMINOR so we have it available in win32/common/config.h
5820           Possibly remove it from our Makefile.am files later
5821         * win32/common/config.h:
5822         * win32/common/config.h.in:
5823           added GST_MAJORMINOR
5824         * win32/common/gstenumtypes.c: (register_gst_resource_error):
5825         * win32/common/gstversion.h:
5826           updated
5827
5828 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
5829
5830         * win32/MANIFEST:
5831           Update win32 files listing.
5832         * win32/common/gstversion.h:
5833           Add GST_MAJORMINOR definition.
5834         * win32/common/libgstreamer.def:
5835           Add new exported functions.
5836           
5837 2006-05-12  Michael Smith  <msmith@fluendo.com>
5838
5839         * gst/gstplugin.c: (gst_plugin_load_file):
5840           If an so file has no plugin entry point, unload the module.
5841
5842 2006-05-11  Wim Taymans  <wim@fluendo.com>
5843
5844         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
5845         (gst_queue_set_property):
5846         Don't forget to signal the _chain or _loop function 
5847         when the queue size or thresholds change since that might
5848         cause them to make progres again.
5849
5850 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
5851
5852         * gst/gstclock.c: (gst_clock_class_init):
5853         * gst/gstindex.c: (gst_index_class_init):
5854         * gst/gstobject.c: (gst_object_class_init):
5855         * gst/gstpad.c: (gst_pad_class_init):
5856         * gst/gstpipeline.c: (gst_pipeline_class_init):
5857         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
5858         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
5859         * libs/gst/base/gstbasetransform.c:
5860         (gst_base_transform_class_init):
5861         * libs/gst/net/gstnetclientclock.c:
5862         (gst_net_client_clock_class_init):
5863         * libs/gst/net/gstnettimeprovider.c:
5864         (gst_net_time_provider_class_init):
5865         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
5866         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
5867         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
5868         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
5869         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
5870         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5871         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
5872         * plugins/elements/gstidentity.c: (gst_identity_class_init):
5873         * plugins/elements/gsttee.c: (gst_tee_class_init):
5874         * tests/old/examples/plugins/example.c: (gst_example_class_init):
5875         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
5876           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
5877
5878 2006-05-11  Wim Taymans  <wim@fluendo.com>
5879
5880         * gst/gstbuffer.c: (_gst_buffer_initialize):
5881         Register subbufer along with the buffer type so that
5882         it does not accidentally gets registered from N
5883         different streaming threads in a non threadsafe way.
5884
5885 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
5886
5887         * gst/gstbuffer.h:
5888         * gst/gstevent.h:
5889         * gst/gstmessage.h:
5890           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
5891           gst_event_ref() and gst_message_ref() functions again
5892           (ugly hack, please do fix if there's a better way besides
5893           overrides.txt, which doesn't seem to work).
5894
5895 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5896
5897         * libs/gst/check/gstcheck.h:
5898           add an assert for setting state to avoid lots of repetitive code
5899           in the future
5900
5901 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5902
5903         * gst/gstvalue.c: (gst_value_serialize_flags):
5904           fix a leak if no flags are set
5905         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5906           fix leak in tests
5907
5908 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
5909
5910         * docs/manual/basics-pads.xml:
5911           Expand a bit on caps and filtered links and update
5912           examples that were still using the no longer existing
5913           gst_pad_link_filtered() (#338206).
5914
5915 2006-05-10  Wim Taymans  <wim@fluendo.com>
5916
5917         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5918         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5919         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5920         (gst_collect_pads_stop):
5921         * libs/gst/base/gstcollectpads.h:
5922         No need to call _stop in _finalize.
5923         Iterate the main pad list in _finalize.
5924         Added some more debug.
5925         Free lists and data in the right order.
5926         Also free data whem doing _remove_pad when stopped for
5927         backward compatibility protect ::started with PAD_LOCK as
5928         well.
5929
5930 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5931
5932         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
5933         (gst_structure_parse_value):
5934           add some comments
5935           rename a method so that it actually says what it does better
5936
5937 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5938
5939         * gst/gstevent.c: (_gst_event_initialize):
5940         * gst/gstformat.c: (_gst_format_initialize):
5941           make sure some essential types used by events are registered
5942           as part of gst_init()
5943         * gst/gstvalue.c: (gst_value_serialize_flags):
5944           if no flags are set, serialize them to a value that represents NONE
5945           so that deserializing them works
5946         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5947           add tests for serialization and deserialization of flags
5948
5949 2006-05-10  Wim Taymans  <wim@fluendo.com>
5950
5951         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
5952         (gst_collect_pads_collect_range), (gst_collect_pads_available),
5953         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
5954         (gst_collect_pads_event), (gst_collect_pads_chain):
5955         Update docs.
5956         Better debug info.
5957         Catch and return errors from the collect function
5958         Refuse data on eos pads.
5959
5960 2006-05-10  Edward Hervey  <edward@fluendo.com>
5961
5962         * gst/gstinterface.h:
5963         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
5964         GInterface type checking.
5965         They were previously using non-defined macros.
5966
5967 2006-05-09  Wim Taymans  <wim@fluendo.com>
5968
5969         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
5970         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
5971         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
5972         (gst_collect_pads_start), (gst_collect_pads_stop),
5973         (gst_collect_pads_peek), (gst_collect_pads_pop),
5974         (gst_collect_pads_available), (gst_collect_pads_read),
5975         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
5976         (gst_collect_pads_is_collected), (gst_collect_pads_event),
5977         (gst_collect_pads_chain):
5978         * libs/gst/base/gstcollectpads.h:
5979         Clean up the mess that is collectpads, add comments and
5980         FIXMEs where needed.
5981         Maintain a separate pad list so we can add pads while
5982         collecting the other ones. For this we need a new separate 
5983         lock (see comics).
5984         Fix memory leak in finalize.
5985         Refactor some weird code to set/unset pad flushing flags, mark
5986         with comments.
5987         Don't crash in _available, _read, _flush when we're EOS.
5988
5989         * tests/check/libs/.cvsignore:
5990         Ignore adapter check binary.
5991
5992 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
5993
5994         * gst/gstindex.c: (gst_index_resolver_get_type):
5995         * plugins/elements/gstfakesink.c:
5996         (gst_fake_sink_state_error_get_type):
5997         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
5998         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
5999         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6000           Const-ify GEnumValue arrays.
6001
6002 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6003
6004         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6005           Add test case for flags + gst_buffer_make_metadata_writable().
6006
6007 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6008
6009         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
6010           gst_buffer_make_metadata_writable() should maintain the
6011           buffer flags (those that make sense at least) (see #340859).
6012
6013 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6014
6015         * tools/gst-inspect.c:
6016         * tools/gst-launch.c:
6017         * tools/gst-typefind.c:
6018         * tools/gst-xmlinspect.c:
6019         * tools/tools.h:
6020           Fix up includes: need to include stdlib.h in tools.h for exit().
6021
6022 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6023
6024         * gst/gsttaglist.c: (_gst_tag_initialize):
6025         * gst/gsttaglist.h:
6026           API: add GST_TAG_IMAGE tag (#340721).
6027
6028 2006-05-08  Wim Taymans  <wim@fluendo.com>
6029
6030         * gst/gstquery.c:
6031         Added some docs for the segment query.
6032
6033 2006-05-08  Wim Taymans  <wim@fluendo.com>
6034
6035         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6036         (gst_base_src_loop), (gst_base_src_change_state):
6037         Always push non-flushing serialized events in the streaming 
6038         thread.
6039
6040 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6041
6042         * gst/gsterror.c: (_gst_stream_errors_init):
6043           Add a missing error string.
6044
6045 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
6046
6047         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
6048         Add applied_rate to the debug
6049
6050         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6051         Copy applied_rate into the outgoing NEWSEGMENT event
6052
6053 2006-05-08  Wim Taymans  <wim@fluendo.com>
6054
6055         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
6056
6057         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6058         (gst_base_sink_change_state):
6059         call ::unlock before taking the PREROLL_LOCK so we can safely
6060         handle elements that lock in ::render.
6061         Fixes #340174.
6062
6063 2006-05-08  Edward Hervey  <edward@fluendo.com>
6064
6065         * autogen.sh: (CONFIGURE_DEF_OPT): 
6066         Darwin's libtoolize is in fact called glibtoolize.
6067         Adding glibtoolize to the list of accepted names for libtoolize.
6068
6069 2006-05-08  Wim Taymans  <wim@fluendo.com>
6070
6071         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6072         Unify error handling, don't post an error message
6073         when a push() returns EOS but perform our normal EOS
6074         handling code. Fixes #340772.
6075
6076 2006-05-08  Wim Taymans  <wim@fluendo.com>
6077
6078         * docs/design/part-overview.txt:
6079         Make upsteam/downstream concepts more clear.
6080         Give an example of serialized/non-serialized events.
6081
6082         * docs/design/part-events.txt:
6083         * docs/design/part-streams.txt:
6084         Mention applied_rate.
6085
6086         * docs/design/part-trickmodes.txt:
6087         Mention applied rate, flesh out some more use cases.
6088
6089         * gst/gstevent.c: (gst_event_new_new_segment),
6090         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
6091         (gst_event_parse_new_segment_full), (gst_event_new_tag),
6092         (gst_event_parse_tag), (gst_event_new_buffer_size),
6093         (gst_event_parse_buffer_size), (gst_event_new_qos),
6094         (gst_event_parse_qos), (gst_event_parse_seek),
6095         (gst_event_new_navigation):
6096         * gst/gstevent.h:
6097         Add applied_rate field to NEWSEGMENT event.
6098         API: gst_event_new_new_segment_full()
6099         API: gst_event_parse_new_segment_full()
6100
6101         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
6102         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
6103         (gst_segment_to_stream_time), (gst_segment_to_running_time):
6104         * gst/gstsegment.h:
6105         Add applied_rate to GstSegment structure.
6106         Make calculation of stream_time and running_time more correct
6107         wrt rate/applied_rate.
6108         Add some more docs.
6109         API: GstSegment::applied_rate field
6110         API: gst_segment_set_newsegment_full();
6111
6112         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6113         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
6114         * libs/gst/base/gstbasetransform.c:
6115         (gst_base_transform_sink_eventfunc),
6116         (gst_base_transform_handle_buffer):
6117         Parse and use applied_rate in the GstSegment field.
6118
6119         * tests/check/gst/gstevent.c: (GST_START_TEST):
6120         Add check for applied_rate field.
6121
6122         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6123         (gstsegments_suite):
6124         Add more checks for various GstSegment operations.
6125
6126 2006-05-08  Wim Taymans  <wim@fluendo.com>
6127
6128         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6129         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
6130         (gst_base_sink_get_position), (gst_base_sink_change_state):
6131         Store the sync time of the buffer end position separatly in a
6132         new variable eos_rtime so we can properly sync the EOS event.
6133         Fixes #340697.
6134         Fix the docs for gst_base_sink_set_qos_enabled().
6135         Don't set segment start to invalid value when we receive a 
6136         non TIME newsegment.
6137         get closer to handling position reporting for negative rates 
6138         correctly.
6139
6140 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
6141
6142         * gst/gstcaps.c:
6143         Docs about how to print caps for debug purposes.
6144
6145         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
6146         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
6147
6148 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
6149
6150         * gst/gstelement.c:
6151           use full enum names and preprend a '%' in docs strings to make recent 
6152           gtk-doc turn that into a link
6153
6154 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6155
6156         * docs/manual/basics-bins.xml:
6157         * docs/manual/basics-bus.xml:
6158         * docs/manual/basics-pads.xml:
6159           Some typo fixes, some additions, some clarifications. 
6160
6161 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6162
6163         * tools/gst-inspect.c: (main):
6164         * tools/gst-launch.c: (main):
6165         * tools/gst-run.c: (main):
6166         * tools/gst-typefind.c: (main):
6167         * tools/gst-xmlinspect.c: (main):
6168           Use the string passed to g_option_context_new() for
6169           what it's intended for - the program name is already
6170           printed elsewhere.
6171
6172 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6173
6174         * tools/Makefile.am:
6175         * tools/gst-inspect.c: (main):
6176         * tools/gst-launch.c: (main):
6177         * tools/gst-xmlinspect.c: (main):
6178         * tools/tools.h:
6179           Add back --version command line option (#340460).
6180
6181         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
6182           Add --version option and use GOption for argument parsing; refactor a
6183           bit; accept directories as arguments and recurse into them; lastly,
6184           print a decent error message when things go wrong.
6185
6186 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6187
6188         * docs/manual/basics-bins.xml:
6189         Don't mention GstThread (#340611)
6190         * docs/manual/basics-elements.xml:
6191         Update link to GObject tutorial (#340607)
6192         
6193 2006-05-05  Wim Taymans  <wim@fluendo.com>
6194
6195         * gst/gstbuffer.h:
6196         * gst/gstminiobject.c:
6197         Add note about refcounting and miniobject/buffer writeability
6198         to docs. Fixes #340604
6199
6200         * gst/gstelementfactory.h:
6201         Added some explanation about @klass.
6202
6203 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6204
6205         * docs/manual/intro-motivation.xml:
6206         * docs/manual/manual.xml:
6207         Avoid CORBA & Bonobo references (#340598)
6208
6209 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6210
6211         * docs/manual/basics-bus.xml:
6212         * docs/manual/basics-pads.xml:
6213         Fix up some inaccuracies and omissions (#340609)
6214         
6215 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6216
6217         * gst/gstghostpad.c:
6218           Small typo in docs (#340625)
6219
6220 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6221
6222         * gst/parse/Makefile.am:
6223           Make 'make -j' proof (see #340698).
6224
6225 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6226
6227         * configure.ac:
6228           Require GLib-2.8 here as well.
6229
6230 2006-05-05  Wim Taymans  <wim@fluendo.com>
6231
6232         * gst/glib-compat.c:
6233         * gst/gst.c: (init_pre):
6234         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6235         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
6236         (gst_object_dispatch_properties_changed):
6237         * gst/gstobject.h:
6238         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6239         * gst/gststructure.c: (gst_structure_set_valist):
6240         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6241         Remove pre glib2.8 compatibility, fixes #340508
6242
6243 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6244
6245         * gst/gsttaglist.h:
6246           Mention type of tags in doc blurbs.
6247
6248 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
6249
6250         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6251         (gst_pad_configure_src), (gst_pad_push):
6252         Restore acceptcaps checking behaviour now that good plugins have
6253         been released.
6254
6255 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6256
6257         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
6258
6259         * gst/gst.c:
6260         * gst/gstbus.c:
6261         * gst/gstclock.c:
6262         * gst/gstevent.c:
6263         * gst/gstformat.c:
6264         * gst/gstmessage.c:
6265         * gst/gstparse.c:
6266         * gst/gstquery.c:
6267         * gst/gstutils.c:
6268         * gst/parse/Makefile.am:
6269         * libs/gst/base/gstadapter.c:
6270         * libs/gst/base/gstbasesrc.c:
6271         * libs/gst/base/gstpushsrc.c:
6272         * libs/gst/base/gsttypefindhelper.c:
6273         * plugins/elements/gstfakesrc.c:
6274         * plugins/elements/gstidentity.c:
6275           Make sure gstprivate.h and/or config.h are
6276           always included first, otherwise some of our
6277           defines (like _FILE_OFFSET_BITS) might be
6278           redefined in the system headers. Fixes build
6279           on opensolaris (#340016).
6280
6281 2006-05-04  Wim Taymans  <wim@fluendo.com>
6282
6283         * docs/libs/gstreamer-libs-sections.txt:
6284         API: addition: gst_adapter_take_buffer()
6285         
6286         * libs/gst/base/gstadapter.c: (gst_adapter_push),
6287         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
6288         (gst_adapter_available_fast):
6289         * libs/gst/base/gstadapter.h:
6290         Prepare for optimizing the hell out of this hugely inefficient
6291         piece of code. 
6292         Added gst_adapter_take_buffer() so we can at least start thinking
6293         about subbuffering and merging.
6294         Added some comments.
6295
6296         * tests/check/Makefile.am:
6297         * tests/check/libs/adapter.c: (GST_START_TEST),
6298         (gst_adapter_suite), (main):
6299         Added GstAdapter check.
6300
6301 2006-05-04  Wim Taymans  <wim@fluendo.com>
6302
6303         * docs/design/part-overview.txt:
6304         Fix some typos, add blurb about buffer flags.
6305
6306 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6307
6308         * docs/libs/gstreamer-libs-sections.txt:
6309           make sure GstBaseTransformClass shows up in the docs
6310         * libs/gst/base/gstbasetransform.c:
6311         * libs/gst/base/gstbasetransform.h:
6312           move docs so gtk-doc picks it up now
6313
6314 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
6315
6316         * docs/libs/gstreamer-libs-sections.txt:
6317           add missing symbols to docs
6318
6319 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
6320
6321         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6322           back out the newsegment handling change, see #340060 for ongoing
6323           discussion
6324
6325 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
6326
6327         * tools/gst-run.c: (get_candidates), (main):
6328           Fix wrong g_file_test() usage (see glib docs for why it doesn't
6329           work); fix typo in error message. Fixes #340079.
6330
6331 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6332
6333         * common/Makefile.am:
6334         * docs/Makefile.am:
6335         * docs/faq/Makefile.am:
6336         * docs/gst/Makefile.am:
6337         * docs/libs/Makefile.am:
6338         * docs/manual/Makefile.am:
6339         * docs/plugins/Makefile.am:
6340         * docs/pwg/Makefile.am:
6341         * docs/slides/Makefile.am:
6342         * docs/upload.mak:
6343         * common/upload.mak:
6344           move upload.mak to common
6345
6346 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6347
6348         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6349           add more asserts on refcounts
6350           do more cleanup at end of tests
6351           fix test leaks showing in FC5
6352
6353 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
6354
6355         * plugins/elements/gsttypefindelement.c:
6356         (gst_type_find_element_handle_event):
6357         reverted wrong change and reflowed code to avoid others falling into
6358         this trap
6359
6360 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6361
6362         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6363           fix changelog entry about last collectpads change,
6364           add notes about proper fix
6365
6366 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6367
6368         * gst/gst.c:
6369         * gst/gstregistry.c: (gst_registry_scan_path_level),
6370         (gst_registry_scan_path):
6371         * gst/gstregistry.h:
6372           only write out registry if it has changed, fixes #338339
6373
6374 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6375
6376         * gst/gstbin.c:
6377         * gst/gstpipeline.c:
6378         * plugins/elements/gstcapsfilter.c:
6379         * plugins/elements/gstfakesink.c:
6380         * plugins/elements/gstfakesrc.c:
6381         * plugins/elements/gstfdsink.c:
6382         * plugins/elements/gstfdsrc.c:
6383         * plugins/elements/gstfilesink.c:
6384         * plugins/elements/gstfilesrc.c:
6385         * plugins/elements/gstidentity.c:
6386         * plugins/elements/gstqueue.c:
6387         * plugins/elements/gsttee.c:
6388         * plugins/elements/gsttypefindelement.c:
6389         (gst_type_find_element_handle_event):
6390           make GstElementDetails const
6391
6392 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6393
6394         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6395         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6396         (gst_collect_pads_is_collected), (gst_collect_pads_event):
6397           more detailed debug and formatting cleanup,
6398           forward newsegments to src-pad (so that e.g. adder not eats them)
6399
6400 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6401
6402         * gst/gstutils.c: (gst_element_link_pads):
6403           cleanup double code
6404
6405 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6406
6407         * libs/gst/controller/gstcontroller.c:
6408         (gst_controller_sync_values):
6409           some little tuning
6410         * tests/check/libs/controller.c: (GST_START_TEST),
6411         (gst_controller_suite):
6412           a new test for live value handling
6413
6414 2006-04-28  Wim Taymans  <wim@fluendo.com>
6415
6416         * gst/gstutils.c: (push_and_ref):
6417         Added some more docs.
6418         Fix refcount issue whith gst_element_found_tags() helper 
6419         function. Fixes #338335
6420
6421         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6422         Added testsuite for gst_element_found_tags().
6423
6424 2006-04-28  Michael Smith  <msmith@fluendo.com>
6425
6426         * gst/gstvalue.c: (gst_value_serialize_flags):
6427           Avoid NULL dereference when trying to serialize flags containing
6428           invalid values.
6429
6430 2006-04-28  Michael Smith  <msmith@fluendo.com>
6431
6432         * plugins/elements/gsttypefindelement.c:
6433         (gst_type_find_element_handle_event):
6434           If we get EOS before any data is accumulated, don't use
6435           uninitialised local variables.
6436
6437 2006-04-28  Michael Smith  <msmith@fluendo.com>
6438
6439         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6440         (gst_dp_event_from_packet):
6441           Fixes in reading/writing events over GDP (not currently used?) - 
6442           dereferencing NULL events for unknown/invalid event types, memory
6443           leak, and change g_warning to GST_WARNING.
6444
6445 2006-04-28  Wim Taymans  <wim@fluendo.com>
6446
6447         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
6448         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6449         (gst_base_sink_get_position), (gst_base_sink_change_state):
6450         When frame dropping is enabled, we should not ignore frames
6451         without a duration.
6452         Update some documentation.
6453
6454 2006-04-28  Wim Taymans  <wim@fluendo.com>
6455
6456         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6457         (gst_base_src_send_event), (gst_base_src_change_state):
6458         Documentation updates.
6459
6460 2006-04-28  Wim Taymans  <wim@fluendo.com>
6461
6462         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
6463         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
6464         handle EAGAIN, EINTR and short writes correctly. Also clean
6465         up some error cases, avoid a deadlock on bad file descriptors and
6466         use GST_DEBUG_OBJECT.
6467         Fixes #339843
6468
6469 2006-04-28  Wim Taymans  <wim@fluendo.com>
6470
6471         * gst/gstvalue.c: (gst_value_serialize_buffer),
6472         (gst_value_deserialize_buffer):
6473         Don't try to serialize a GValue with a NULL buffer. 
6474         Fixes #339821.
6475
6476         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6477         Added check for serialisation of NULL buffers.
6478
6479 2006-04-28  Wim Taymans  <wim@fluendo.com>
6480
6481         * gst/gstminiobject.c: (gst_value_take_mini_object):
6482         Taking a NULL miniobject is valid, fix the case where
6483         we try to unref the NULL miniobject.
6484
6485 2006-04-28  Wim Taymans  <wim@fluendo.com>
6486
6487         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6488
6489         * gst/gstbin.c: (gst_bin_handle_message_func):
6490         Update docs.
6491         Don't leak bin refcount when a state recalc is
6492         in progress and we delay another one #339808.
6493
6494 2006-04-28  Wim Taymans  <wim@fluendo.com>
6495
6496         * docs/design/part-TODO.txt:
6497         Mention QoS as an ongoing work item.
6498
6499         * docs/design/part-buffering.txt:
6500         New doc about buffering that needs to be fleshed out
6501         at some point.
6502
6503         * docs/design/part-qos.txt:
6504         More QoS policy for decoders/demuxers/transforms
6505
6506         * docs/design/part-trickmodes.txt:
6507         Small update.
6508
6509 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6510
6511         * configure.ac:
6512           back to HEAD
6513
6514 === release 0.10.5 ===
6515
6516 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
6517
6518         * configure.ac:
6519           releasing 0.10.5, "Fogo"
6520
6521 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6522
6523         patch by: Wim Taymans
6524
6525         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6526         (gst_pad_configure_src), (gst_pad_push):
6527         * gst/gstpipeline.c: (gst_pipeline_init):
6528           Fix internal data flow errors.  Fixes #338711.
6529
6530 2006-04-12  Wim Taymans  <wim@fluendo.com>
6531
6532         * tests/check/gst/gstelement.c: (GST_START_TEST):
6533         Don't leak the factory.
6534
6535 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6536
6537         * configure.ac:
6538         * win32/common/config.h:
6539           prerelease
6540
6541 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
6542
6543         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6544         (gst_controller_unset_all):
6545           Free allocated GstTimedValues when freeing list nodes.
6546           Should fix leaks 'make check-valgrind' complains about.
6547
6548         * win32/common/libgstcontroller.def:
6549           Add gst_controller_unset_all.
6550
6551 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
6552
6553         * docs/libs/gstreamer-libs-sections.txt:
6554         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6555         (gst_controller_unset_all):
6556         * libs/gst/controller/gstcontroller.h:
6557         API: Added new method gst_controller_unset_all()
6558         fixed gst_controller_unset()
6559         * tests/check/libs/controller.c: (GST_START_TEST),
6560         (gst_controller_suite):
6561         Added two testcases for new and fixed method
6562
6563 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
6564
6565         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6566           MSG_DONTWAIT is not defined on Cygwin, so work
6567           around that (fixes #317048).
6568           
6569 2006-04-11  Wim Taymans  <wim@fluendo.com>
6570
6571         * gst/gstelementfactory.c: (gst_element_register),
6572         (gst_element_factory_create), (gst_element_factory_make):
6573         Some cleanups.
6574         Fixed a FIXME.
6575         Updated docs (Fixes #131079)
6576
6577         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6578         Small cleanups.
6579
6580         * tests/check/gst/gstelement.c: (GST_START_TEST),
6581         (gst_element_suite):
6582         Added testcase for elementfactory class field.
6583
6584 2006-04-10  Wim Taymans  <wim@fluendo.com>
6585
6586         * gst/gstsegment.c:
6587         Added some more docs.
6588
6589         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
6590         (gst_base_sink_reset_qos):
6591         Calculate more accurate rate values.
6592
6593 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
6594
6595         * gst/gst_private.h:
6596           add a new #ifdef to use __declspec(dllimport) only for
6597           other modules and not for gstreamer core
6598         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
6599           use gst_guint64_to_gdouble for conversion
6600         * win32/common/libgstreamer.def:
6601           add new exported functions
6602         * win32/vs6/gst_inspect.dsp:
6603         * win32/vs6/gst_launch.dsp:
6604         * win32/vs6/libgstbase.dsp:
6605         * win32/vs6/libgstcontroller.dsp:
6606         * win32/vs6/libgstcoreelements.dsp:
6607         * win32/vs6/libgstdataprotocol.dsp:
6608         * win32/vs6/libgstnet.dsp:
6609           update project files
6610
6611 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
6612
6613         * gst/gstbuffer.c: (gst_subbuffer_class_init):
6614         * gst/gstclock.c: (gst_clock_class_init):
6615         * gst/gstelement.c: (gst_element_class_init):
6616         * gst/gstindex.c: (gst_index_class_init):
6617         * gst/gstindexfactory.c: (gst_index_factory_class_init):
6618         * gst/gstobject.c: (gst_object_class_init),
6619         (gst_signal_object_class_init):
6620         * gst/gstpad.c: (gst_pad_class_init):
6621         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
6622         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
6623         * gst/gstregistry.c: (gst_registry_class_init):
6624         * gst/gstsystemclock.c: (gst_system_clock_class_init):
6625         * gst/gsttask.c: (gst_task_class_init):
6626         * gst/gstxml.c: (gst_xml_class_init):
6627         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6628         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6629         (gst_base_src_loop):
6630         * libs/gst/controller/gstcontroller.c:/
6631         (_gst_controller_class_init):
6632         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6633         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
6634         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
6635         * tests/old/examples/plugins/example.c: (gst_example_class_init):
6636         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6637         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
6638
6639 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
6640
6641         * gst/gstpad.c: (gst_pad_link):
6642           Must set peer pads before calling the link function, otherwise
6643           a task started from a link function might get a flow-not-linked
6644           result when trying to push because the other thread where the
6645           linking happens hasn't had a chance to set the peers yet. This
6646           might happen for example when a queue gets linked to a downstream
6647           element, as queue starts a streaming task when its source pad
6648           gets linked. Happens in real life when playing back flac/musepack
6649           files in playbin (#332390).
6650           
6651 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
6652
6653         * gst/gstindex.h:
6654         * gst/gstxml.h:
6655         * libs/gst/base/gstadapter.h:
6656         * libs/gst/base/gstbasesink.h:
6657         * libs/gst/base/gstbasesrc.h:
6658         * libs/gst/base/gstbasetransform.h:
6659         * libs/gst/base/gstcollectpads.h:
6660         * libs/gst/base/gstpushsrc.h:
6661         Fix broken GObject macros
6662
6663 2006-04-07  Wim Taymans  <wim@fluendo.com>
6664
6665         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6666         Initialize start and stop times, thanks valgrind.
6667
6668 2006-04-07  Wim Taymans  <wim@fluendo.com>
6669
6670         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6671         Be a bit nicer to badly behaving upstream elements that expect
6672         us to deal with non TIME segments and timestamps (such as fakesrc
6673         in the testsuite).
6674
6675 2006-04-07  Wim Taymans  <wim@fluendo.com>
6676
6677         * gst/gstbus.c:
6678         Small documentation clarification about the signal watch.
6679
6680         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6681         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6682         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6683         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6684         (gst_base_sink_get_position_last),
6685         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
6686         Convert and store timestamps in stream time and running time, the
6687         raw timestamps are not useful, also document this better.
6688         Use different window sizes for good and bad QoS observations so
6689         we react to badness a little quicker.
6690         Keep track of the amount of rendered and dropped buffers.
6691         Send QoS timestamps in running time.
6692
6693         * libs/gst/base/gstbasetransform.c:
6694         (gst_base_transform_sink_eventfunc),
6695         (gst_base_transform_handle_buffer):
6696         Compare QoS timestamps against running time.
6697
6698 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
6699
6700         * gst/gstpad.c:
6701           Typo fixes in docs.
6702
6703 2006-04-06  Michael Smith  <msmith@fluendo.com>
6704
6705         * gst/gstpad.c: (gst_pad_set_property):
6706           Use g_value_get_object() instead of g_value_dup_gst_object(),
6707           to avoid double-reffing the pad template (which we then sink,
6708           so this worked previously if (and only if) the pad template
6709           was floating.
6710
6711         * gst/gstpadtemplate.c: (gst_pad_template_init),
6712         (gst_pad_template_pad_created):
6713           Never return floating references to pad templates, create
6714           them as initially-sunken.
6715
6716           Document an extra function (and make this stop sinking our
6717           pad template, since that is now guaranteed to do nothing,
6718           since we created it sunken).
6719
6720         * gst/gstghostpad.c:
6721           Fix docs typo.
6722
6723 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
6724
6725         * gst/gstinfo.c: (__gst_in_valgrind):
6726           Add some newlines.
6727
6728         * plugins/elements/gsttypefindelement.c:
6729         (gst_type_find_element_chain):
6730           Don't leak buffer caps.
6731
6732 2006-04-06  Michael Smith  <msmith@fluendo.com>
6733
6734         * gst/parse/grammar.y:
6735           Fix a leak in parse-launch for any source-or-sink named element 
6736           references used.
6737
6738         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6739           Unref the pipeline if it exists after we've failed parsing.
6740
6741 2006-04-05  Michael Smith  <msmith@fluendo.com>
6742
6743         * gst/gstpipeline.c: (gst_pipeline_init):
6744           When we create a pipeline bus, initially create it in flushing mode.
6745           Fixes leaks in at least one test, and makes a new pipeline work the
6746           same as one that has gone to READY and then back to NULL.
6747
6748         * gst/gstelement.c:
6749           Typo fix in docs.
6750
6751 2006-04-05  Michael Smith  <msmith@fluendo.com>
6752
6753         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6754           Unref a pad we reffed.
6755         * tests/check/gst/gstutils.c: (GST_START_TEST):
6756           Unref bins
6757
6758 2006-04-05  Michael Smith  <msmith@fluendo.com>
6759
6760         * gst/gstquery.c: (gst_query_set_formats),
6761         (gst_query_set_formatsv):
6762           Fix leaking GValues in queries, as shown by valgrind/testsuite.
6763
6764 2006-04-05  Michael Smith  <msmith@fluendo.com>
6765
6766         * tests/check/generic/sinks.c: (GST_START_TEST):
6767           Fix a variety of memleaks in sinks check, which are only sometimes 
6768           shown by running the tests under valgrind (weird?).
6769
6770 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
6771
6772         * docs/version.entities.in:
6773           Fix the substituted entity name after thomas' changes on the
6774           weekend.
6775
6776 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6777
6778         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
6779         VALGRIND_PRINTF
6780         
6781 2006-04-05  Andy Wingo  <wingo@pobox.com>
6782
6783         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
6784
6785         * libs/gst/base/gstbasetransform.c
6786         (gst_base_transform_sink_eventfunc): When resetting our segment on
6787         FLUSH_STOP, also update the flag saying we haven't seen a
6788         newsegment.
6789
6790 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
6791
6792         Patch by: Paolo Borelli  <pborelli at katamail dot com>
6793
6794         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6795         (gst_plugin_check_license):
6796           minor clean-ups: G_DEFINE_TYPE already takes care of the
6797           parent_class stuff, no need to do it twice. Mark array of
6798           license strings as constant. (#337103)
6799           
6800 2006-04-04  Michael Smith  <msmith@fluendo.com>
6801
6802         * tools/gst-inspect.c: (print_element_list):
6803           Free the right plugin list; fixes a memory leak.
6804
6805 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
6806
6807         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
6808
6809         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
6810           Don't error out on empty buffers (#336945).
6811           
6812 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
6813
6814         * docs/libs/gstreamer-libs-sections.txt:
6815         * gst/gsttaglist.c:
6816         * libs/gst/base/gstbasesink.c:
6817         * libs/gst/base/gstbasesink.h:
6818         * libs/gst/base/gstbasesrc.c:
6819         * libs/gst/base/gstbasesrc.h:
6820           Documentation updates. Make BaseSink and BaseSrc docs contain the
6821           class structure so that people can actually see the prototypes for
6822           virtual functions they're supposed to be overriding.
6823
6824 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
6825
6826         * plugins/elements/gsttypefindelement.c:
6827         (gst_type_find_element_chain):
6828           More debug info; when skipping typefinding, send cached
6829           events in all cases.
6830
6831 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6832
6833         * configure.ac:
6834           use new AS_VERSION and AS_NANO macros
6835         * gst/gst-i18n-lib.h:
6836         * gst/gst.c:
6837         * gst/gsterror.c:
6838         * gst/gstversion.h.in:
6839         * win32/common/config.h:
6840         * win32/common/config.h.in:
6841           update accordingly
6842
6843 2006-03-31  Michael Smith  <msmith@fluendo.com>
6844
6845         * plugins/elements/gsttypefindelement.c:
6846         (gst_type_find_element_chain):
6847           Do not typefind content if the buffers already have caps.
6848           Neccesary for icydemux (#333657), and the right thing to do anyway.
6849
6850 2006-03-30  Wim Taymans  <wim@fluendo.com>
6851
6852         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6853         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
6854         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
6855         (gst_base_sink_record_qos_observation),
6856         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6857         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
6858         (gst_base_sink_change_state):
6859         More QoS measurements as described in the design doc.
6860         Get rid of ringbuffer with observations, running average is
6861         more simple and equally good.
6862         Calculates valid proportion now.
6863         Added beginning of flood measurement.
6864
6865 2006-03-29  Wim Taymans  <wim@fluendo.com>
6866
6867         * docs/design/part-qos.txt:
6868         * gst/gstclock.c:
6869         Small documentation updates and additions.
6870
6871 2006-03-29  Wim Taymans  <wim@fluendo.com>
6872
6873         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
6874         (gst_base_src_send_event), (gst_base_src_loop),
6875         (gst_base_src_change_state):
6876         Perform the EOS logic when we reach the segment stop position.
6877         Fix compilation on gcc4.1
6878
6879 2006-03-29  Wim Taymans  <wim@fluendo.com>
6880
6881         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
6882
6883         * plugins/elements/gstqueue.c: (gst_queue_init),
6884         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
6885         (gst_queue_set_property):
6886         * plugins/elements/gstqueue.h:
6887         In queue, when EOS is received, if minimum threshold > max_size -
6888         current_level, there is chance that queue blocks forever in conditional
6889         item del wait. This is because the queue is not emptied completely due
6890         to minimum threshold.  Here is another approach. Instead of setting
6891         cur_levels to max in EOS, just zero all minimum threshold levels. This
6892         should make sure that queue gives out all data. When going to READY
6893         (stop) state, just reset the original minimum threshold levels.
6894         Fixes #336336.
6895
6896 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
6897
6898         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
6899         (gst_type_find_element_handle_event),
6900         (gst_type_find_element_send_cached_events),
6901         (gst_type_find_element_change_state):
6902         * plugins/elements/gsttypefindelement.h:
6903           When typefinding is done in push mode, we should cache
6904           events we receive during typefinding instead of just
6905           dropping them (e.g. newsegment, custom events from
6906           dvdreadsrc etc.) and then send them out once we've
6907           determined the type of the stream (and decodebin
6908           has had a chance to plug in a decoder/demuxer).
6909           
6910 2006-03-27  Wim Taymans  <wim@fluendo.com>
6911
6912         * docs/design/part-qos.txt:
6913         First QoS ideas.
6914
6915 2006-03-27  Wim Taymans  <wim@fluendo.com>
6916
6917         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
6918
6919         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
6920         (gst_base_src_send_event), (gst_base_src_change_state):
6921         Handle element seek correctly when we are streaming.
6922         Fixes #326998.
6923
6924 2006-03-24  Michael Smith  <msmith@fluendo.com>
6925
6926         * docs/faq/gst-uninstalled:
6927           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
6928           allow you to correctly run intalled applications built against old 
6929           core, using plugins that require updated core (e.g. running
6930           installed totem against a full uninstalled gstreamer stack)
6931
6932 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
6933
6934         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
6935         more debug details
6936
6937 2006-03-24  Wim Taymans  <wim@fluendo.com>
6938
6939         * docs/gst/gstreamer-sections.txt:
6940         Rearrange the order of the methods so that related methods
6941         are grouped together in sections.
6942
6943 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
6944
6945         * gst/gstelement.c:
6946           Little clarification in the docs
6947
6948 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
6949
6950         * docs/README:
6951         formatting fix
6952         * plugins/elements/gstidentity.c:
6953         * plugins/elements/gstqueue.c:
6954         * plugins/elements/gsttee.c:
6955         * plugins/elements/gsttypefindelement.c:
6956         GST_ELEMENT_DETAILS formatting
6957
6958 2006-03-24  Wim Taymans  <wim@fluendo.com>
6959
6960         * libs/gst/base/gstbasesink.h:
6961         Only add fields, not insert or we break ABI.
6962
6963 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
6964
6965         * win32/common/libgstbase.def:
6966         * win32/common/libgstreamer.def:
6967           Update, add recently added functions.
6968
6969 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
6970
6971         * docs/gst/gstreamer-sections.txt:
6972         * gst/gstutils.c: (gst_pad_query_peer_position),
6973         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
6974         * gst/gstutils.h:
6975           API: add some new utility functions:
6976            - gst_pad_query_peer_position()
6977            - gst_pad_query_peer_duration()
6978            - gst_pad_query_peer_convert()
6979           
6980 2006-03-23  Wim Taymans  <wim@fluendo.com>
6981
6982         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6983         (gst_base_sink_init), (gst_base_sink_finalize),
6984         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
6985         (gst_base_sink_set_property), (gst_base_sink_get_property),
6986         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
6987         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6988         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
6989         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6990         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
6991         (gst_base_sink_preroll_object), (gst_base_sink_event),
6992         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
6993         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6994         (gst_base_sink_query), (gst_base_sink_change_state):
6995         Decouple max-lateness and the fact that QoS messages are generated
6996         with a new property (qos).
6997         added API: GstBaseSink::async_play()
6998         Add vmethod so subclasses can be notified of ASYNC playing
6999         state changes.
7000         Collect timestamp start and stop to report better current
7001         position in EOS/PLAYING/PAUSED/READY/NULL.
7002         Refactor QoS/frame dropping and other measurements.
7003         API: GstBaseSrc::qos
7004         Fixes #326311
7005
7006         * libs/gst/base/gstbasesink.h:
7007         Added Private struct.
7008         API: gst_base_sink_set_qos_enabled()
7009         API: gst_base_sink_is_qos_enabled()
7010
7011 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
7012
7013         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7014           If compiling against GLib-2.8 or newer, try to read the
7015           registry file using GMappedFile first before falling back
7016           to fopen() + fread() (#332151).
7017
7018 2006-03-22  Wim Taymans  <wim@fluendo.com>
7019
7020         * gst/gstinfo.c: (gst_debug_set_active),
7021         (gst_debug_category_set_threshold):
7022         Disable debugging unless explicitly activated.
7023         Fixes #335480.
7024
7025 2006-03-22  Wim Taymans  <wim@fluendo.com>
7026
7027         * gst/gstelement.c: (gst_element_set_locked_state),
7028         (gst_element_dispose):
7029         Cleanup the error case.
7030
7031         * gst/gstobject.c: (gst_object_dispose):
7032         print a critical when some object was disposed with
7033         a parent, also revive the object since it might
7034         crash the parent.
7035
7036 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
7037
7038         * tools/gst-launch.1.in:
7039           Fix another typo.
7040
7041 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7042
7043         * configure.ac:
7044         * tests/check/Makefile.am:
7045           disable some tests when we don't have a registry
7046         * tests/check/gst/gstutils.c: (gst_utils_suite):
7047           don't build the part that needs parsing
7048
7049 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7050
7051         * gst/Makefile.am
7052         * tests/examples/Makefile.am:
7053           fix --disable-parse build
7054
7055 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7056
7057         * tools/gst-feedback.1.in:
7058           Fix typo: s/feeback/feedback/ (#133494).
7059
7060 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7061
7062         * tools/Makefile.am:
7063         * tools/gst-launch.1.in:
7064           Add FILES section and correct entry about GST_REGISTRY_PATH
7065           environment variable (#133495; #133494).
7066
7067 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7068
7069         * tools/Makefile.am:
7070         * tools/gst-md5sum.1.in:
7071         * tools/gst-md5sum.c:
7072           Remove gst-md5sum and man page (the md5sink element
7073           required was removed ages ago)
7074
7075 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7076
7077         * gst/gststructure.c: (gst_structure_id_set_value):
7078           Make sure that string fields in structures/taglists
7079           contain valid UTF-8 - we don't want to pass rubbish to
7080           applications because of a buggy plugin (cp. #334167).
7081
7082 2006-03-21  Edward Hervey  <edward@fluendo.com>
7083
7084         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7085         (gst_bin_handle_message_func):
7086         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
7087         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
7088         (gst_element_set_bus_func):
7089         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
7090         * gst/gstminiobject.c: (gst_value_set_mini_object),
7091         (gst_value_take_mini_object):
7092         * gst/gstpad.c: (gst_pad_set_pad_template):
7093         * gst/gstpipeline.c: (gst_pipeline_dispose),
7094         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
7095         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
7096         (gst_collect_pads_chain):
7097         * libs/gst/net/gstnettimeprovider.c:
7098         (gst_net_time_provider_set_property):
7099         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
7100         It's in fact all issues with gst_*object_replace().
7101
7102 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
7103
7104         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
7105         
7106         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7107         * pkgconfig/gstreamer-check.pc.in:
7108           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
7109
7110 2006-03-21  Edward Hervey  <edward@fluendo.com>
7111
7112         * gst/gstbuffer.h:
7113         * gst/gstevent.h:
7114         * gst/gstmessage.h:
7115         gst_[buffer|event|message]_ref() macros are replaced by a static
7116         inline functions because gcc-4.1 will about if the return value
7117         isn't used.
7118         * tests/check/gst/gstevent.c: (event_probe):
7119         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
7120
7121 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
7122
7123         * gst/gstutils.h:
7124         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
7125         the type' case. (Closes: #335195 for now). In the future, when we
7126         depend on GLib 2.10, we could also intern the type name using
7127         g_intern_static_string()
7128
7129 2006-03-20  Wim Taymans  <wim@fluendo.com>
7130
7131         * gst/gstbin.c: (gst_bin_handle_message_func),
7132         (bin_query_max_init), (bin_query_position_fold),
7133         (bin_query_position_done), (gst_bin_query):
7134         Position query should also take max of all streams.
7135
7136 2006-03-20  Wim Taymans  <wim@fluendo.com>
7137
7138         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7139         (gst_fake_src_finalize):
7140         Fix leaks in fakesrc.
7141
7142         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7143         Fix leaks in the testcase.
7144
7145 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
7146
7147         * gst/gst_private.h:
7148           add win32 specific import decoration(__declspec(dllimport)) 
7149           for all extern GstDebugCategory * variables
7150         * win32/common/libgstbase.def:
7151         * win32/common/libgstcontroller.def:
7152         * win32/common/libgstreamer.def:
7153           Add some exports, remove empty lines
7154         * win32/common/libgstdataprotocol.def:
7155         * win32/common/libgstdataprotocol.dsp:
7156         * win32/common/libgstnet.def:
7157         * win32/common/libgstnet.dsp:
7158           new project files and exportation files added
7159         
7160 2006-03-19  Wim Taymans  <wim@fluendo.com>
7161
7162         * tests/check/libs/basesrc.c: (eos_event_counter):
7163         Use proper return value for probe.
7164
7165 2006-03-17  Wim Taymans  <wim@fluendo.com>
7166
7167         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7168         (gst_pad_push):
7169         Don't leak buffers, caps and pads on negotiation errors.
7170
7171 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
7172
7173         * docs/faq/cvs.xml:
7174         * docs/faq/dependencies.xml:
7175         * docs/faq/developing.xml:
7176         * docs/faq/faq.xml:
7177         * docs/faq/general.xml:
7178         * docs/faq/getting.xml:
7179         * docs/faq/legal.xml:
7180         * docs/faq/troubleshooting.xml:
7181         * docs/faq/using.xml:
7182         Faq review and update.
7183
7184 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
7185
7186         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7187         (gst_pad_push):
7188         Don't pound the cpu to pieces by checking get_caps when accept_caps
7189         is called with the same caps as the pad already has.
7190         Use GST_DEBUG_OBJECT when outputting caps change information.
7191
7192 2006-03-15  Wim Taymans  <wim@fluendo.com>
7193
7194         * gst/gstclock.c: (gst_clock_class_init):
7195         Fix docs.
7196
7197 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
7198
7199         * gst/gstbuffer.h:
7200         Documentation fix.
7201
7202         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
7203         (gst_pad_accept_caps), (gst_pad_configure_sink),
7204         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
7205         Make the default acceptcaps behaviour be to check the requested 
7206         caps against the gst_pad_get_caps output. 
7207
7208         Ensure that gst_pad_accept_caps is used to check caps when a pad
7209         doesn't have a setcaps function, so that pads automatically refuse 
7210         caps that they don't allow in their pad template. (Fixes #332986)
7211
7212         When a buffer with attached caps is pushed, ensure that the source 
7213         pad receives those caps even if the element didn't call
7214         gst_pad_set_caps first.
7215
7216 2006-03-15  Wim Taymans  <wim@fluendo.com>
7217
7218         * libs/gst/base/gstadapter.c:
7219         Add some docs.
7220
7221 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7222
7223         * win32/common/libgstbase.def:
7224         * win32/common/libgstcontroller.def:
7225         * win32/common/libgstreamer.def:
7226           Add a whole bunch of missing functions (#334434).
7227
7228 2006-03-14  Wim Taymans  <wim@fluendo.com>
7229
7230         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7231         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7232         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
7233         Better debug info when we receive a segment event.
7234         Reorganize a bit so we can pass the get_times() results around.
7235         Use the segment format when calculating the running time.
7236         Don't do QoS is sync is disabled or we have no clock or the
7237         element does not want us to sync to the clock.
7238         Don't drop buffers if QoS is disabled for now.
7239
7240 2006-03-14  Wim Taymans  <wim@fluendo.com>
7241
7242         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
7243         Marked the stats property as unimplemented so people don't get
7244         wild ideas.
7245         Add debug message when regression goes wrong.
7246         Added some more docs.
7247
7248 2006-03-14  Wim Taymans  <wim@fluendo.com>
7249
7250         * gst/gstsegment.c: (gst_segment_to_stream_time):
7251         Return correct return type in case of errors.
7252
7253 2006-03-14  Wim Taymans  <wim@fluendo.com>
7254
7255         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
7256           Don't segfault on invalid formats.
7257
7258 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7259
7260         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7261           Can't use gst_segment_to_running_time() when the segment
7262           is not in GST_TIME_FORMAT (like with filesink, for example).
7263           Stops flac encoding pipelines from spewing critical warnings
7264           at EOS (#331248).
7265           
7266 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7267
7268         * gst/gstpipeline.c: (gst_pipeline_class_init):
7269           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
7270
7271         * plugins/elements/gsttypefindelement.c:
7272         (gst_type_find_element_handle_event):
7273           Don't try to typefind empty streams.
7274
7275 2006-03-14  Wim Taymans  <wim@fluendo.com>
7276
7277         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7278         (gst_base_sink_do_qos):
7279         Separate QoS calculation.
7280         Only drop buffers when lateness is bigger than the 
7281         duration of the buffer.
7282
7283 2006-03-13  Wim Taymans  <wim@fluendo.com>
7284
7285         * gst/gstpipeline.c: (gst_pipeline_set_property),
7286         (gst_pipeline_get_property), (do_pipeline_seek),
7287         (gst_pipeline_change_state), (gst_pipeline_set_delay),
7288         (gst_pipeline_get_delay):
7289         Don't deadlock when reading properties.
7290
7291 2006-03-13  Wim Taymans  <wim@fluendo.com>
7292
7293         * libs/gst/base/gstbasetransform.c:
7294         (gst_base_transform_class_init), (gst_base_transform_init),
7295         (gst_base_transform_sink_event),
7296         (gst_base_transform_sink_eventfunc),
7297         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
7298         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7299         (gst_base_transform_set_property),
7300         (gst_base_transform_get_property),
7301         (gst_base_transform_change_state), (gst_base_transform_update_qos),
7302         (gst_base_transform_set_qos_enabled),
7303         (gst_base_transform_is_qos_enabled):
7304         * libs/gst/base/gstbasetransform.h:
7305         Make basetransform virtual method for src events too.
7306         Handle QOS in basetransform.
7307         API: gst_base_transform_update_qos()
7308         API: gst_base_transform_set_qos_enabled()
7309         API: gst_base_transform_is_qos_enabled()
7310
7311 2006-03-13  Wim Taymans  <wim@fluendo.com>
7312
7313         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7314         (gst_base_sink_do_sync):
7315         Small cleanups.
7316         Use QOS debug category.
7317
7318 2006-03-13  Wim Taymans  <wim@fluendo.com>
7319
7320         * plugins/elements/gstqueue.c:
7321         Very small doc update.
7322
7323 2006-03-13  Wim Taymans  <wim@fluendo.com>
7324
7325         * gst/gst_private.h:
7326         * gst/gstinfo.c: (_gst_debug_init):
7327         Added QOS debug category
7328
7329 2006-03-13  Wim Taymans  <wim@fluendo.com>
7330
7331         * docs/gst/gstreamer-sections.txt:
7332         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
7333         * gst/gstbin.h:
7334         * gst/gstbus.c: (gst_bus_class_init):
7335         * gst/gstbus.h:
7336         * gst/gstclock.c:
7337         * gst/gstelement.c: (gst_element_set_locked_state):
7338         * gst/gstsegment.c:
7339         Documentation updates.
7340
7341         * gst/gstpipeline.c: (gst_pipeline_get_type),
7342         (gst_pipeline_class_init), (gst_pipeline_init),
7343         (gst_pipeline_dispose), (gst_pipeline_set_property),
7344         (gst_pipeline_get_property), (do_pipeline_seek),
7345         (gst_pipeline_send_event), (gst_pipeline_change_state),
7346         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
7347         (gst_pipeline_get_delay):
7348         * gst/gstpipeline.h:
7349         Added methods for setting the delay.
7350         API: gst_pipeline_set_delay()
7351         API: gst_pipeline_get_delay()
7352         Add pipeline debug category
7353         Various cleanups.
7354         Updated docs.
7355         Don't reset stream time when seek failed.
7356
7357 2006-03-13  Wim Taymans  <wim@fluendo.com>
7358
7359         * docs/design/draft-klass.txt:
7360         * docs/design/part-clocks.txt:
7361         * docs/design/part-events.txt:
7362         * docs/design/part-gstbin.txt:
7363         * docs/design/part-gstpipeline.txt:
7364         * docs/design/part-messages.txt:
7365         * docs/design/part-negotiation.txt:
7366         * docs/design/part-overview.txt:
7367         * docs/design/part-preroll.txt:
7368         * docs/design/part-seeking.txt:
7369         * docs/design/part-states.txt:
7370         * docs/design/part-streams.txt:
7371         Documentation updates.
7372
7373 2006-03-12  Julien MOUTTE  <julien@moutte.net>
7374
7375         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
7376         us to leak strings...
7377
7378 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7379
7380         * libs/gst/net/gstnettimeprovider.c:
7381           fix docs
7382         * win32/common/config.h:
7383           update
7384
7385 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7386
7387         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
7388
7389         * configure.ac:
7390           Don't check for libgnomeui (leftover from old examples
7391           that aren't built or disted any longer) (#334303).
7392           
7393 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
7394
7395         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
7396         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7397           Emit RESOURCE_NO_SPACE_LEFT error here as well when
7398           there's no space left on the device.
7399
7400 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
7401
7402         * gst/gstclock.h:
7403           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
7404           to cast the input to GstClockTime before comparing with
7405           another GstClockTime value.
7406
7407 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7408
7409         * configure.ac:
7410           back to trunk
7411
7412 === release 0.10.4 ===
7413
7414 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
7415
7416         * configure.ac:
7417           releasing 0.10.4, "Light"
7418
7419 2006-03-10  Michael Smith  <msmith@fluendo.com>
7420
7421         * libs/gst/dataprotocol/dataprotocol.c:
7422           Fix docs for dataprocotol to not get the return types completely
7423           wrong for a few functions.
7424
7425 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7426
7427         * docs/gst/gstreamer-sections.txt:
7428         * gst/gstpipeline.c: (gst_pipeline_class_init),
7429         (gst_pipeline_init), (gst_pipeline_set_property),
7430         (gst_pipeline_get_property), (gst_pipeline_change_state),
7431         (gst_pipeline_set_auto_flush_bus),
7432         (gst_pipeline_get_auto_flush_bus):
7433         * gst/gstpipeline.h:
7434           Add new API: gst_pipeline_set_auto_flush_bus() and
7435           gst_pipeline_get_auto_flush_bus() to disable automatic
7436           flushing of the pipeline's GstBus when going from READY
7437           to NULL state (#332045).
7438
7439 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7440
7441         * docs/gst/gstreamer-sections.txt:
7442         * gst/gsturi.c: (gst_uri_has_protocol):
7443         * gst/gsturi.h:
7444            Add new API: gst_uri_has_protocol() (#333779).
7445
7446 2006-03-09  Wim Taymans  <wim@fluendo.com>
7447
7448         * gst/gstclock.c: (gst_clock_entry_new),
7449         (gst_clock_id_compare_func), (gst_clock_id_wait),
7450         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
7451         (gst_clock_init), (gst_clock_get_internal_time),
7452         (gst_clock_set_master), (do_linear_regression),
7453         (gst_clock_add_observation), (gst_clock_set_property):
7454         * gst/gstclock.h:
7455         Review docs.
7456         Small cleanups.
7457         Fix a possible segfault when the window-size is made smaller.
7458         Calculate jitter before performing the clock wait. Ideally
7459         the clock implementation should calculate jitter but we need
7460         API breakage for that.
7461
7462         * gst/gstsystemclock.c: (gst_system_clock_init):
7463         Docs review.
7464         
7465         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7466         Remove leftover else
7467
7468         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7469         (gst_systemclock_suite):
7470         Added check to test GST_CLOCK_DIFF.
7471
7472 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7473
7474         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
7475         (gst_type_find_helper_get_range):
7476           If we are provided with the size, we should implement
7477           GstTypeFind::get_length, so that typefind functions who
7478           want to can actually peek at the middle of a file.
7479
7480 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
7481
7482         * docs/manual/advanced-dataaccess.xml:
7483           Add some very very basic error checking.
7484
7485         * docs/pwg/appendix-checklist.xml:
7486           Some updates to the list of things to check when writing an element.
7487
7488 2006-03-08  Wim Taymans  <wim@fluendo.com>
7489
7490         * docs/design/part-element-transform.txt:
7491         Added some docs about the design of tranform elements.
7492
7493         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7494         (gst_base_src_loop), (gst_base_src_change_state):
7495         Mark buffers with the DISCONT flag.
7496
7497 2006-03-08  Michael Smith  <msmith@fluendo.com>
7498
7499         * gst/gstregistry.h:
7500         * gst/gstregistryxml.c: (gst_registry_save),
7501         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
7502         (gst_registry_xml_save_pad_template),
7503         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
7504         (gst_registry_xml_write_cache):
7505           Rewrite registry-saving to avoid race conditions and check for
7506           failed writes.
7507
7508 2006-03-08  Wim Taymans  <wim@fluendo.com>
7509
7510         * libs/gst/base/gstbasetransform.c:
7511         (gst_base_transform_transform_caps),
7512         (gst_base_transform_transform_size),
7513         (gst_base_transform_prepare_output_buffer),
7514         (gst_base_transform_get_unit_size),
7515         (gst_base_transform_buffer_alloc),
7516         (gst_base_transform_handle_buffer),
7517         (gst_base_transform_change_state):
7518         Cleanups, separate normal flow from errors, add sensible
7519         DEBUG lines.
7520         Don't try to renegotiate when allocating an output buffer.
7521         Also copy DISCONT buffer flag when copying a buffer.
7522         Reset the transform after we finish streaming, not during.
7523
7524 2006-03-08  Wim Taymans  <wim@fluendo.com>
7525
7526         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7527         Use last buffer timestamp in qos message.
7528
7529 2006-03-07  Wim Taymans  <wim@fluendo.com>
7530
7531         Patch by: Christophe Fergeau
7532
7533         * docs/pwg/advanced-tagging.xml:
7534         * docs/pwg/building-pads.xml:
7535           fixes #333416
7536
7537 2006-03-07  Wim Taymans  <wim@fluendo.com>
7538
7539         * docs/libs/gstreamer-libs-sections.txt:
7540         Added basesink new methods.
7541
7542         * gst/gstevent.c:
7543         * gst/gstevent.h:
7544         Docs updates. Flesh out the QoS docs.
7545
7546         * libs/gst/base/gstadapter.c:
7547         Small doc clarification about ownership and flushing.
7548
7549         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
7550         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7551         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
7552         (gst_base_sink_get_property), (gst_base_sink_do_sync):
7553         * libs/gst/base/gstbasesink.h:
7554         API additions: 
7555         Added new methods to allow subclass to control max-lateness 
7556         and sync.
7557         Generate very basic QoS events based on last sync observation.
7558         Updated docs, fix typo, added some QoS blurb.
7559
7560         * libs/gst/base/gstbasesrc.c:
7561         Remove obsolete _get_state() calls from docs.
7562
7563 2006-03-07  Wim Taymans  <wim@fluendo.com>
7564
7565         * docs/libs/gstreamer-libs-sections.txt:
7566         * libs/gst/base/gstbasetransform.h:
7567         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
7568         Fix docs for GstBaseSrc.
7569
7570 2006-03-07  Wim Taymans  <wim@fluendo.com>
7571
7572         * docs/gst/gstreamer-sections.txt:
7573         * gst/gstbuffer.h:
7574         * gst/gstvalue.c:
7575         * libs/gst/base/gstbasetransform.h:
7576         Small documentation fixes.
7577
7578 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7579
7580         * gst/gstvalue.c:
7581           Document thread-unsafety of gst_value_register_foo_func()
7582           when used at the same time as gst_value_foo() (#322628).
7583
7584 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7585
7586         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
7587         (gst_push_src_check_get_range):
7588           Push sources don't support pull mode by default.
7589
7590 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
7591
7592         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7593         (gst_base_src_init), (gst_base_src_pad_check_get_range),
7594         (gst_base_src_default_check_get_range):
7595         * libs/gst/base/gstbasesrc.h:
7596           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
7597           provide default implementation, and rename
7598           gst_base_src_check_get_range() to
7599           gst_base_src_pad_check_get_range() for clarity.
7600
7601 2006-03-06  Wim Taymans  <wim@fluendo.com>
7602
7603         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7604         Make property overridable.
7605
7606 2006-03-06  Wim Taymans  <wim@fluendo.com>
7607
7608         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7609         (gst_base_sink_init), (gst_base_sink_set_property),
7610         (gst_base_sink_get_property), (gst_base_sink_do_sync):
7611         * libs/gst/base/gstbasesink.h:
7612         API addition: Make max-lateness a property.
7613
7614 2006-03-06  Wim Taymans  <wim@fluendo.com>
7615
7616         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
7617         (gst_base_sink_do_sync), (gst_base_sink_render_object):
7618         Don't ever draw a frame that is >10ms late.
7619
7620 2006-03-06  Michael Smith  <msmith@fluendo.com>
7621
7622         * gst/gstmessage.c: (_gst_message_copy):
7623           When copying a message, set the parent_refcount of the enclosed
7624           structure to point at the copy, not the original message.
7625
7626 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
7627
7628         Patch by: Christophe Fergeau
7629
7630         * gst/gstutils.h:
7631           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
7632           usable in c++ code (#333417)
7633
7634 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7635
7636         * gst/gstclock.h:
7637           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
7638
7639 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
7640
7641         * libs/gst/base/gstbasetransform.c:
7642         (gst_base_transform_transform_caps):
7643           Make sure caps are writable before passing them to
7644           gst_caps_append().
7645
7646 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
7647
7648         * gst/gsterror.h:
7649           Fix some minor docs errors.
7650
7651 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
7652
7653           Patch by: Ross Burton <ross at burtonini dot com>
7654
7655         * gst/gsterror.c: (_gst_resource_errors_init):
7656         * gst/gsterror.h:
7657           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
7658
7659 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
7660
7661         * gst/gst.c:
7662         Add a check and output a g_warning when GStreamer is built
7663         against GLib 2.6 but running against 2.8 or higher, and vice 
7664         versa. (Closes: #323542)
7665
7666 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
7667
7668         * gst/parse/parse.l:
7669           Commit patch for parse_launch syntax from #331255. Removes 
7670           support for quoted strings and mimetypes when writing filtered 
7671           caps. See the bug report for more details - I'm pretty sure this
7672           obscure feature is not in use by _anyone_ anywhere.
7673
7674           With this simple change, the size of the gstreamer.so here 
7675           drops from 2193KB to 1565KB.
7676
7677 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
7678
7679         * plugins/elements/gsttypefindelement.h:
7680         * plugins/elements/gsttypefindelement.c:
7681         (gst_type_find_element_src_event), (start_typefinding),
7682         (stop_typefinding), (gst_type_find_element_handle_event),
7683         (gst_type_find_element_chain),
7684         (gst_type_find_element_chain_do_typefinding):
7685           Use gst_type_find_helper_for_buffer() for chain-based
7686           typefinding.
7687
7688 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
7689
7690         * plugins/elements/gsttypefindelement.c:
7691         (gst_type_find_element_class_init),
7692         (gst_type_find_element_set_property),
7693         (gst_type_find_element_get_property):
7694           Deprecate "maximum" property (not only was it only taken into
7695           account for typefinding in push-mode anyway, it also was never
7696           actually possible to set it in the first place because the
7697           property was registered with the numeric property ID for the
7698           "minimum" property). Register "maximum" property correctly,
7699           for the sake of future copy'n'pasters. Remove some cruft
7700           from property get/set functions.
7701
7702 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
7703
7704         * plugins/elements/gsttypefindelement.c:
7705         (gst_type_find_element_activate):
7706           Use gst_type_find_helper_get_range() here, so we
7707           can honour the "minimum" property and also emit
7708           the signal with the correct probability of the found caps.
7709
7710 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
7711
7712         * docs/libs/gstreamer-libs-sections.txt:
7713         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7714         (helper_find_suggest), (gst_type_find_helper_get_range),
7715         (gst_type_find_helper):
7716         * libs/gst/base/gsttypefindhelper.h:
7717           New API: gst_type_find_helper_get_range() (#333042).
7718
7719 2006-03-02  Michael Smith  <msmith@fluendo.com>
7720
7721         * gst/gstregistryxml.c: (load_feature):
7722           Asserting on a failure to read part of the registry is Not Cool.
7723           Just log a warning and return NULL (which is already handled)
7724
7725 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
7726
7727         * win32/common/libgstbase.def:
7728           added export of gst_type_find_helper_for_buffer
7729         * win32/common/libgstbase.def:
7730           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
7731           gst_ghost_pad_get_target
7732
7733 2006-02-28  Wim Taymans  <wim@fluendo.com>
7734
7735         * docs/design/draft-klass.txt:
7736         We use Filter now.
7737         Added Connector to mark elements that are only used to
7738         allow pipeline connections.
7739         Moved Debug to extra feature since most of them are 
7740         functionally something else.
7741
7742 2006-02-28  Wim Taymans  <wim@fluendo.com>
7743
7744         * docs/design/draft-klass.txt:
7745         Some updates and clarifications.
7746
7747 2006-02-28  Wim Taymans  <wim@fluendo.com>
7748
7749         * docs/design/draft-klass.txt:
7750         Proposal for klass field values.
7751
7752         * docs/design/part-streams.txt:
7753         Start of a doc describing stream anatomy.
7754
7755 2006-02-28  Wim Taymans  <wim@fluendo.com>
7756
7757         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
7758         Help the compiler a bit with type registration.
7759         Use existing forward cod path instead of duplicating it when 
7760         handling a message.
7761         
7762         * gst/gstbus.c: (gst_bus_get_type):
7763         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
7764         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
7765         * gst/gstclock.c: (gst_clock_get_type):
7766         * gst/gstelement.c: (gst_element_get_type),
7767         * gst/gstelementfactory.c: (gst_element_factory_get_type):
7768         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7769         * gst/gstminiobject.c: (gst_mini_object_get_type):
7770         * gst/gstpad.c: (gst_pad_get_type):
7771         * gst/gstsegment.c: (gst_segment_get_type):
7772         * gst/gststructure.c: (gst_structure_get_type):
7773         * gst/gstsystemclock.c: (gst_system_clock_get_type):
7774         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
7775         * gst/gstvalue.c:
7776         Help compiler with type registration.
7777
7778         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
7779         Small doc update.
7780
7781 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7782
7783         * plugins/elements/gsttypefindelement.c:
7784         (gst_type_find_element_handle_event):
7785           When we get an EOS event and have not found a type yet
7786           (most likely because we had not yet accumulated
7787           TYPE_FIND_MIN_SIZE of data yet), try to determine the
7788           type given the data we have so far. Fixes typefinding
7789           for very short streams again, most notably quicktime
7790           redirections as used on Apple's trailer site (#331701).
7791
7792 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7793
7794         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
7795         (gst_type_find_helper):
7796           Try typefinding factories with the highest rank first.
7797
7798 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7799
7800         * docs/libs/gstreamer-libs-docs.sgml:
7801         * docs/libs/gstreamer-libs-sections.txt:
7802         * libs/gst/base/gsttypefindhelper.c:
7803           Add section for typefind helper and add documentation
7804           for the old and the new function.
7805
7806 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7807
7808         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
7809         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
7810         (gst_type_find_helper_for_buffer):
7811         * libs/gst/base/gsttypefindhelper.h:
7812           New API: gst_type_find_helper_for_buffer() (#332723).
7813           
7814 2006-02-27  Michael Smith  <msmith@fluendo.com>
7815
7816         Patch by: Loïc Minier
7817
7818         * configure.ac:
7819         * docs/Makefile.am:
7820         * docs/slides/Makefile.am:
7821           prevent CVS directories getting disted.
7822
7823 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7824
7825         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
7826           Use the REFCOUNTING category for caps refcounting.
7827           
7828 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
7829
7830         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
7831           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
7832
7833 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
7834
7835         * plugins/elements/gsttypefindelement.c:
7836         (gst_type_find_element_activate):
7837           Use gst_pad_check_pull_range() before _activate_pull()
7838           to avoid unnecessary open/close (see #331690).
7839
7840 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
7841
7842         * gst/gstutils.c:
7843           Docs enhancement: make it crystal clear what the
7844           gst_pad_add_*_probe() callbacks should look like.
7845
7846 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
7847
7848         * libs/gst/base/gstbasesrc.c:
7849           Document how applications can stop recording from
7850           live sources (see #330996).
7851
7852 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7853
7854         * tests/check/Makefile.am:
7855         * tests/check/libs/basesrc.c: (eos_event_counter),
7856         (basesrc_eos_events_pull), (basesrc_eos_events_push),
7857         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
7858         (gst_basesrc_suite), (main):
7859           ... and add some tests for the base source EOS stuff.
7860
7861 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7862
7863         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
7864           Test case originally showed the problem fixed below,
7865           but was then amended. Add checks back at the place
7866           where they used to be.
7867
7868 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7869
7870         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7871         (gst_base_src_init), (gst_base_src_loop),
7872         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7873         (gst_base_src_change_state):
7874         * libs/gst/base/gstbasesrc.h:
7875           Don't unconditionally send EOS when going from PAUSED to
7876           READY state, esp. make sure we don't send two EOS events
7877           in some cases (e.g. one when reaching EOS and one when
7878           going from PAUSED to READY). Also, we don't want to send
7879           EOS events when operating in pull mode. However, we do
7880           want to send an EOS event when shutting down a live
7881           source explicitly, for example (fixes #330996).
7882           
7883 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7884
7885         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7886           Update src->read_position after a seek when not using mmap.
7887           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
7888
7889 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
7890
7891         * gst/Makefile.am:
7892         * gst/gstparse.h:
7893         * gst/gstutils.c:
7894         * gst/gstutils.h:
7895         Make things work with --disable-parse as they do with 
7896         --disable-load-save - the symbols involved disappear, but the
7897         header is still installed and GST_DISABLE_PARSE is included via
7898         gstconfig.h
7899
7900 2006-02-20  Julien MOUTTE  <julien@moutte.net>
7901
7902         * libs/gst/base/gstbasetransform.c:
7903         (gst_base_transform_change_state): Fix a stupid bug. I was 
7904         sure I compiled that.
7905
7906 2006-02-20  Julien MOUTTE  <julien@moutte.net>
7907
7908         * gst/gstpad.c: (gst_pad_set_blocked_async):
7909         * gst/gstutils.c: (gst_pad_add_data_probe),
7910         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7911         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7912         (gst_pad_remove_buffer_probe): Make those function act on the
7913         ghostpad target when it's a ghostpad. (Closes #331727)
7914
7915 2006-02-20  Julien MOUTTE  <julien@moutte.net>
7916
7917         * libs/gst/base/gstbasetransform.c:
7918         (gst_base_transform_change_state): Make basetransform reusable.
7919         (Closes #331898)
7920
7921 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
7922
7923         * docs/random/release:
7924         Move the current documentation of how to do a release to the top
7925         of the file.
7926
7927         * gst/gstbin.c: (gst_bin_class_init),
7928         (gst_bin_handle_message_func):
7929         Allow multiple state-recalculation threads. (Closes #328873)
7930
7931 2006-02-19  Julien MOUTTE  <julien@moutte.net>
7932
7933         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
7934         * gst/gstpad.c: (gst_pad_set_event_function),
7935         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7936         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
7937         2 strings. You can't use the STR_NULL macro on that.
7938
7939 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
7940
7941         * gst/gstpad.c: (gst_pad_set_event_function),
7942         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7943         (gst_pad_set_getcaps_function)
7944         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
7945           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
7946           So now, we can use --gst-debug-level=5 on Windows
7947         * win32/common/libgstcontroller.def:
7948           Added export of gst_controller_init
7949         * win32/vs6/libgstcontroller.dsp:
7950           Fixed Release post build configuration
7951
7952 2006-02-17  Wim Taymans  <wim@fluendo.com>
7953
7954         * tests/check/gst/gstquery.c: (GST_START_TEST):
7955         Added another check.
7956
7957 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
7958
7959         * plugins/elements/gsttypefindelement.c: (find_peek):
7960           We can do peeks at non-zero offsets, as long as they
7961           fall within the buffer we have.
7962
7963 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
7964
7965         * tests/check/Makefile.am:
7966         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
7967         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
7968         (parse_suite), (main):
7969           Add testsuite for parse launch syntax
7970
7971 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
7972
7973         * plugins/elements/gsttypefindelement.c:
7974         (gst_type_find_element_chain):
7975           When typefinding is unsuccessful in the chain function, don't
7976           error out immediately. Only error out with NO_CAPS_FOUND if
7977           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
7978           otherwise simply wait for more data so we can try typefinding
7979           again with more data later. Also, don't attempt to typefind
7980           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
7981           this should improve typefinding from network sources where the
7982           size of the first buffer can be somewhat random.
7983
7984 2006-02-14  Wim Taymans  <wim@fluendo.com>
7985
7986         * docs/gst/gstreamer-sections.txt:
7987         * gst/gstpadtemplate.c:
7988         * gst/gstpadtemplate.h:
7989         Fix padtemplate docs, fixes #328805.
7990
7991 2006-02-14  Wim Taymans  <wim@fluendo.com>
7992
7993         * tools/gst-launch.c: (main):
7994         NO_PREROLL is not an ERROR so don't send confusing messages
7995         to the user.
7996
7997 2006-02-14  Wim Taymans  <wim@fluendo.com>
7998
7999         Patch by: Torsten Schoenfeld
8000
8001         * gst/gstregistry.c: (gst_registry_get_default),
8002         (_gst_registry_cleanup):
8003         Protect default registry with lock and ref/sink it.
8004         Fixes #324818
8005
8006 2006-02-14  Wim Taymans  <wim@fluendo.com>
8007
8008         * gst/gstbuffer.c:
8009         * gst/gstquery.c: (gst_query_list_add_format),
8010         (gst_query_set_formatsv), (gst_query_parse_formats_length),
8011         (gst_query_parse_formats_nth):
8012         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8013         Docs fixes.
8014
8015 2006-02-14  Wim Taymans  <wim@fluendo.com>
8016
8017         * docs/gst/gstreamer-sections.txt:
8018         Reworked query docs.
8019
8020         * gst/gstquery.c: (gst_query_new_formats),
8021         (gst_query_list_add_format), (gst_query_set_formats),
8022         (gst_query_set_formatsv), (gst_query_parse_formats_length),
8023         (gst_query_parse_formats_nth):
8024         * gst/gstquery.h:
8025         Flesh out formats query, added some new methods.
8026         Fix part of #324398.
8027
8028         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
8029         Added query creation tests.
8030
8031 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
8032
8033         * gst/gstpad.c: (fixate_value):
8034         Add a default fixation for fraction lists.
8035
8036 2006-02-13  Wim Taymans  <wim@fluendo.com>
8037
8038         * gst/gsttask.c: (gst_task_init), (gst_task_func),
8039         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
8040         (gst_task_join):
8041         * gst/gsttask.h:
8042         Detect and warn for obvious deadlocks. fixes #320340
8043         Fix error case where lock was not released.
8044
8045         * tests/check/Makefile.am:
8046         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
8047         (task_func), (gst_element_suite), (main):
8048         Add task check.
8049
8050 2006-02-13  Wim Taymans  <wim@fluendo.com>
8051
8052         * docs/gst/gstreamer-sections.txt:
8053         * gst/gstbus.c:
8054         Add new functions to docs.
8055
8056 2006-02-13  Wim Taymans  <wim@fluendo.com>
8057
8058         * docs/design/part-TODO.txt:
8059         Updated TODO list, basesrc supports seeking to non-bytes
8060         formats.
8061
8062         * docs/design/part-element-sink.txt:
8063         Update docs.
8064
8065         * gst/gstbin.c: (bin_replace_message),
8066         (gst_bin_handle_message_func):
8067         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
8068         * gst/gstevent.c: (gst_event_finalize):
8069         * gst/gstpad.c: (gst_pad_event_default_dispatch),
8070         (gst_pad_send_event):
8071         Use shiny new _TYPE_NAME macros.
8072
8073         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8074         Move debug statement up.
8075
8076         * gst/gstelement.c: (gst_element_set_locked_state):
8077         Add some debugging.
8078
8079 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
8080
8081         * docs/gst/gstreamer-sections.txt:
8082         * gst/gstmessage.h:
8083         * gst/gstquery.h:
8084           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
8085           macros (#330906). Also, document the already existing
8086           GST_QUERY_TYPE macro.
8087
8088 2006-02-13  Wim Taymans  <wim@fluendo.com>
8089
8090         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
8091         (event_probe), (GST_START_TEST):
8092         Only events up to the pipeline EOS are counted, there are
8093         some more when going to NULL currently which we don't care
8094         about for now.
8095
8096 2006-02-13  Wim Taymans  <wim@fluendo.com>
8097
8098         * gst/gstpad.c: (gst_pad_send_event):
8099         Correctly check flushing and emit probes. fixes #330125
8100
8101 2006-02-10  Andy Wingo  <wingo@pobox.com>
8102
8103         * gst/gstbus.c (gst_bus_class_init): Declare our private data
8104         structure.
8105         (gst_bus_init): Cache the location of the private data in the
8106         instance structure.
8107         (gst_bus_enable_sync_message_emission) 
8108         (gst_bus_disable_sync_message_emission): Implement new public
8109         functions.
8110         (gst_bus_post): Emit the sync-message signal if the user asked for
8111         it. Fixes #330684.
8112
8113         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
8114         location of the bus-private structure.
8115         (gst_bus_enable_sync_message_emission)
8116         (gst_bus_disable_sync_message_emission): API addition
8117
8118 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
8119
8120         Patch by: Vincent Torri
8121
8122         * docs/pwg/building-boiler.xml:
8123         PWG patch from #326800
8124
8125 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8126
8127         * configure.ac:
8128         * docs/Makefile.am:
8129         * docs/design/Makefile.am:
8130           Dist design docs.
8131
8132 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
8133
8134         * configure.ac:
8135           back to CVS
8136
8137 === release 0.10.3 ===
8138
8139 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
8140
8141         * configure.ac:
8142           releasing 0.10.3, "Like a virgin"
8143
8144 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
8145
8146         * configure.ac:
8147           2nd prerelease of 0.10.3
8148           Bump libtool versioning.
8149
8150 2006-02-07  Andy Wingo  <wingo@pobox.com>
8151
8152         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
8153         update last_stop if we're in TIME format and the timestamp is
8154         valid.
8155
8156         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
8157         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
8158         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
8159         If we get a new newsegment with a different format, adapt
8160         accordingly.
8161
8162         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
8163         of 0. Not a problem, really.
8164
8165         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
8166         warn if sync=true.
8167
8168 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
8169
8170         * configure.ac:
8171           Prelease of 0.10.3
8172
8173 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
8174
8175         * win32/vs7:
8176           project files updated to the default vs7 configuration
8177         * win32/common/libgstbase.def:
8178         * win32/common/libgstreamer.def:
8179           added new symbols,
8180           removed empty lines,
8181           sorted all exported symbols alphabetically
8182         * win32/common/dirent.c:
8183         * win32/common/dirent.h:
8184         * win32/common/gchar.h:
8185           use windows line end.
8186           
8187 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
8188
8189         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8190           Send EOS event when stopping.
8191
8192 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
8193
8194         * docs/README:
8195           Tell folks what to do if the plugin-foobar.xml file
8196           hasn't been generated for a newly-added plugin.
8197
8198 2006-02-05  Julien MOUTTE  <julien@moutte.net>
8199
8200         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8201         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8202         (gst_collect_pads_start), (gst_collect_pads_stop),
8203         (gst_collect_pads_event): Collectpads now holds a reference
8204         to the GstPad that was added. Indeed we don't want to look
8205         at pads that might just go away with no warning...
8206
8207 2006-02-05  Julien MOUTTE  <julien@moutte.net>
8208
8209         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8210         (gst_collect_pads_start), (gst_collect_pads_stop),
8211         (gst_collect_pads_event), (gst_collect_pads_chain):
8212         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
8213         Mark Nauwelaerts's patch on bug #328491.
8214
8215 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8216
8217         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
8218         (gst_utils_suite):
8219           Add some simple tests for gst_parse_bin_from_description() and
8220           gst_bin_find_unconnected_pad() (#329069).
8221
8222 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8223
8224         * tools/gst-launch.c: (event_loop), (main):
8225           Catch errors during preroll (#320084).
8226
8227 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
8228
8229         * plugins/elements/gsttypefindelement.c:
8230         (gst_type_find_element_activate):
8231           Post TYPE_NOT_FOUND error message when typefinding
8232           is unsuccessful in the activate function as well.
8233
8234 2006-02-02  Wim Taymans  <wim@fluendo.com>
8235
8236         * docs/design/part-element-sink.txt:
8237         Updated doc.
8238
8239 2006-02-02  Wim Taymans  <wim@fluendo.com>
8240
8241         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8242         (gst_base_sink_render_object),
8243         (gst_base_sink_queue_object_unlocked):
8244         Only keep track of prerollable items when we are 
8245         prerolling.
8246         Before rendering after preroll, always check if we
8247         have queued items.
8248         Added some more debugging.
8249
8250 2006-02-02  Wim Taymans  <wim@fluendo.com>
8251
8252         * gst/gstelement.c: (gst_element_continue_state),
8253         (gst_element_set_state_func), (gst_element_change_state):
8254         Fixed #326576, been running this for quite some time with
8255         no regressions at all.
8256
8257 2006-02-02  Wim Taymans  <wim@fluendo.com>
8258
8259         * common/gst.supp:
8260         Added more suppressions
8261
8262 2006-02-02  Wim Taymans  <wim@fluendo.com>
8263
8264         * docs/design/part-element-sink.txt:
8265         Updated document.
8266
8267         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8268         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
8269         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
8270         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8271         (gst_base_sink_do_sync), (gst_base_sink_render_object),
8272         (gst_base_sink_preroll_object),
8273         (gst_base_sink_queue_object_unlocked),
8274         (gst_base_sink_queue_object), (gst_base_sink_event),
8275         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
8276         (gst_base_sink_loop), (gst_base_sink_activate_pull),
8277         (gst_base_sink_get_position), (gst_base_sink_change_state):
8278         * libs/gst/base/gstbasesink.h:
8279         Totally refactored matching the design doc.
8280         Use two segments, one to clip incomming buffers and another to
8281         perform sync.
8282         Handle queueing correctly, bypass the queue when playing.
8283         Make EOS cancelable.
8284         Handle errors correctly when operating in pull based mode.
8285
8286         * tests/check/elements/fakesink.c: (GST_START_TEST),
8287         (fakesink_suite):
8288         Added new check for sinks.
8289
8290 2006-02-02  Wim Taymans  <wim@fluendo.com>
8291
8292         * gst/gstsegment.c: (gst_segment_clip):
8293         No reason to refuse to clip when start == -1
8294
8295 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
8296
8297         * docs/README:
8298         * docs/manual/intro-basics.xml:
8299         * docs/manual/intro-preface.xml:
8300         * docs/manual/manual.xml:
8301         * docs/pwg/advanced-dparams.xml:
8302         * docs/pwg/intro-basics.xml:
8303         * docs/pwg/intro-preface.xml:
8304         * docs/pwg/pwg.xml:
8305           describe dparams (controller) for plugins
8306           unify docs a little more
8307
8308 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
8309
8310         * docs/gst/gstreamer-sections.txt:
8311         * gst/gstutils.c: (element_find_unconnected_pad),
8312         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
8313         * gst/gstutils.h:
8314           Add new API: gst_parse_bin_from_description() and
8315           gst_bin_find_unconnected_pad() (#329069).
8316
8317 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
8318
8319         * docs/manual/README:
8320           uncover a nasty detail of the docs build
8321
8322 2006-01-31  Wim Taymans  <wim@fluendo.com>
8323
8324         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
8325         Don't cache duration messages if we're not going to use or
8326         free them.
8327
8328 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
8329
8330         * docs/manual/advanced-dparams.xml:
8331         * docs/pwg/advanced-dparams.xml:
8332           more dparam docs
8333         * gst/gstindex.c:
8334           fix docs
8335         * libs/gst/controller/lib.c: (gst_controller_init):
8336           init just once
8337
8338 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
8339
8340         * gst/gstelement.c: (gst_element_message_full):
8341           also show file/line/func if no additional debug was given
8342
8343 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
8344         
8345         * win32/vs7/grammar.vcproj:
8346           activate copy of autogenerated files for Release mode
8347
8348 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
8349         
8350         * win32/common/libgstreamer.def:
8351           export gst_value_compare
8352
8353 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
8354
8355         * plugins/elements/Makefile.am:
8356         * plugins/elements/gstelements.c:
8357         * plugins/elements/gstfdsink.c: (_do_init),
8358         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
8359         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
8360         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
8361         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
8362         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
8363         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
8364         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
8365         * plugins/elements/gstfdsink.h:
8366         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
8367
8368 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
8369
8370         * docs/manual/advanced-dparams.xml:
8371           describe controller
8372         * docs/manual/advanced-position.xml:
8373         * docs/manual/basics-init.xml:
8374         * docs/manual/manual.xml:
8375         * docs/manual/titlepage.xml:
8376         * docs/pwg/pwg.xml:
8377         * docs/pwg/titlepage.xml:
8378           cleanup xml (more to come)
8379         * libs/gst/controller/gstcontroller.c:
8380           fix typo
8381
8382 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
8383         
8384         * win32/vs6/grammar.dsp:
8385           add autogen of gstmarshal.c,h for Release mode
8386                 
8387 2006-01-30  Wim Taymans  <wim@fluendo.com>
8388
8389         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8390         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
8391         (gst_base_sink_handle_object), (gst_base_sink_event),
8392         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
8393         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8394         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
8395         (gst_base_sink_deactivate), (gst_base_sink_activate),
8396         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8397         (gst_base_sink_query), (gst_base_sink_change_state):
8398         Basesink cleanups, remove some old code.
8399         Handle the case where a subclass can preroll in the render
8400         method (mostly audiosinks).
8401         Handle more events.
8402         Remove some locks around variables that are now protected
8403         with the PREROLL_LOCK (clock_id, flushing, ..).
8404         Optimize position query some more, do correct locking.
8405         Remove old code to push queue in state change, this is not
8406         needed anymore since preroll blocks on all prerollable items 
8407         now.
8408         Almost implemented as described in design doc.
8409
8410 2006-01-30  Wim Taymans  <wim@fluendo.com>
8411
8412         * tests/check/gst/gstbin.c: (GST_START_TEST):
8413         Wait for refcount to settle down before checking.
8414
8415 2006-01-30  Wim Taymans  <wim@fluendo.com>
8416
8417         * docs/design/part-element-sink.txt:
8418         Pseudo code overview of desired sink behaviour regarding
8419         preroll.
8420
8421 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8422         * win32/vs6/grammar.dsp:
8423           fix some bugs in Release mode for autogenerated files
8424                 
8425 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8426         * win32/common/libgstbase.def:
8427         * win32/common/libgstreamer.def:
8428           export some new symbols: gst_base_src_set_format,
8429           gst_iterator_next, gst_structure_set_valist
8430
8431 2006-01-29  Julien MOUTTE  <julien@moutte.net>
8432
8433         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8434         Set pad functions unconditionally. Fixes #329105.
8435
8436 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8437         * win32/vs8:
8438           add vs8 project files created by Sergey Scobich
8439
8440 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
8441
8442         * gst/gstutils.c: (gst_element_unlink_pads):
8443         Don't leak pad references.
8444
8445         * tests/check/elements/fakesink.c: (GST_START_TEST):
8446         * tests/check/generic/sinks.c: (GST_START_TEST):
8447         * tests/check/generic/states.c: (GST_START_TEST):
8448         * tests/check/gst/gstbin.c: (GST_START_TEST):
8449         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8450         * tests/check/gst/gstelement.c: (GST_START_TEST):
8451         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8452         * tests/check/gst/gstiterator.c: (GST_START_TEST):
8453         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8454         Fix a bunch of leaks. Make generic/sinks.c
8455         use a bit less cpu by slowing the buffer rate
8456         between fakesrc and fakesink.
8457         
8458 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
8459         * gst/gstcaps.c:
8460         * gst/gstelement.c: (gst_element_send_event):
8461         * gst/gstevent.c:
8462         * gst/gstinfo.c:
8463         * gst/gstiterator.c:
8464         * gst/gstiterator.h:
8465         * gst/gstpad.c: (gst_pad_send_event):
8466         * gst/gststructure.c:
8467         * gst/gsturi.c:
8468         * gst/gstutils.c:
8469         * gst/gstvalue.c:
8470         * libs/gst/base/gstadapter.c:
8471           doc fixes, to link to function, just write gst_cool_function(), don't
8472           prefix with '#'
8473
8474 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8475
8476         * plugins/elements/gsttee.c: (gst_tee_do_push),
8477         (gst_tee_handle_buffer):
8478         Always prefer an actual return value from a src
8479         pad in place of NOT_LINKED. This means we return
8480         WRONG_STATE when all src pads are WRONG_STATE
8481         instead of NOT_LINKED.
8482
8483         Lock when replacing the last message to prevent
8484         racing with the get_property method.
8485
8486         Add debug output
8487
8488 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8489
8490         * tests/check/Makefile.am:
8491         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
8492         (main):
8493         Add a very simple check that should have caught the memleak I fixed
8494         last night (if not for the slice allocator hiding it)
8495
8496 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8497
8498         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8499         (gst_bin_remove_func), (gst_bin_handle_message_func),
8500         (bin_query_duration_fold), (bin_query_generic_fold):
8501         Clean up references to the clock provider when disposed or when
8502         handling a clock-lost message from it.
8503
8504         Unref sinks when performing a query via gst_iterator_fold, as the
8505         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
8506
8507         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
8508         (gst_clock_set_master):
8509         Drop our reference to the master clock, if any, when we are disposed.
8510
8511         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
8512         Chain up in dispose. 
8513
8514 2006-01-26  Wim Taymans  <wim@fluendo.com>
8515
8516         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8517         Add some debugging.
8518
8519 2006-01-26  Julien MOUTTE  <julien@moutte.net>
8520
8521         * plugins/elements/gsttee.c: (gst_tee_do_push),
8522         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
8523         handles pad being NOT_LINKED or in WRONG_STATE.
8524
8525 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8526
8527         * win32/MANIFEST:
8528           more updating
8529
8530 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8531
8532         * win32/MANIFEST:
8533           remove obsolete entry
8534
8535 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8536
8537         * docs/gst/gstreamer-sections.txt:
8538         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
8539         (gst_bin_iterate_sources), (gst_bin_send_event):
8540         * gst/gstbin.h:
8541         * gst/gstelement.c: (gst_element_send_event):
8542         * gst/gstevent.c:
8543         * gst/gstpad.c: (gst_pad_send_event):
8544           added code for downstream events, reviewed docs in gstevent.c
8545
8546 2006-01-25  Julien MOUTTE  <julien@moutte.net>
8547
8548         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8549         We only query position using the clock in the playing state.
8550         Query peer in the other cases.
8551         * win32/common/config.h: Updates.
8552
8553 2006-01-24  Wim Taymans  <wim@fluendo.com>
8554
8555         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8556         A clock entry that is scheduled for the exact time of the
8557         clock is still in time.
8558
8559         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8560         (gst_base_sink_do_sync):
8561         Add some more debug info.
8562
8563 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
8564
8565         * win32/vs7:
8566           Add new vs7 project files and solution.
8567
8568 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
8569
8570         * win32/vs7:
8571           all files removed as they were out-dated.
8572
8573 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8574
8575         * docs/random/release:
8576           update notes
8577         * gst/gstbin.c: (gst_bin_init):
8578         * gst/gstbus.c: (gst_bus_new):
8579         * gst/gstbus.h:
8580         * gst/gstpipeline.c: (gst_pipeline_init):
8581           use gst_bus_new(), improve logging, fix docs
8582         * win32/common/config.h:
8583           update for cvs build
8584
8585 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8586
8587         * autogen.sh:
8588           up required version of automake to 1.7
8589
8590 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
8591
8592         * win32/common/libgstreamer.def:
8593           export gst_buffer_is_metadata_writable
8594
8595 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
8596
8597         * docs/gst/gstreamer-sections.txt:
8598         * gst/gstevent.h:
8599           Add gst_event_replace() (#327001)
8600
8601 2006-01-20  Wim Taymans  <wim@fluendo.com>
8602
8603         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8604         Make it actually compile too..
8605
8606 2006-01-20  Wim Taymans  <wim@fluendo.com>
8607
8608         * gst/gstcaps.c:
8609         Clarify behaviour of _is_equal() when passing NULL parameters.
8610
8611         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8612         (gst_pad_set_caps):
8613         Cleanups. Don't unref NULL caps.
8614         When setting the same caps, protect caps of the pad with
8615         proper lock.
8616         Use full functionality of _is_equal() when comparing caps.
8617
8618 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
8619
8620         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8621         Don't loop infinitely if there are no buffers to present. Partially
8622         fixes #327197, but collectpads is just broken for reusing elements
8623         to do multiple encodes atm.
8624
8625 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
8626
8627         * tools/gst-inspect.c: (print_element_features):
8628         * tools/gst-xmlinspect.c: (main):
8629         URL_HANDLER is not a plugin feature we can search for in
8630         the registry.
8631
8632 2006-01-19  Edward Hervey  <edward@fluendo.com>
8633
8634         * gst/gstelement.c: (gst_element_pads_activate): 
8635         When activating, do src pads first, then sink pads.
8636         When de-activating, do sink pads first, then src pads.
8637
8638 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8639
8640         * docs/gst/gstreamer-sections.txt:
8641         Add gst_index_add_associationv to the docs
8642
8643 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8644
8645         * gst/gstevent.c:
8646           Fix docs typo
8647
8648         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
8649         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
8650           Do some refactoring. Doesn't actually change functionality,
8651           but makes landing the DRAIN event easier later.
8652
8653 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
8654
8655         * docs/pwg/advanced-scheduling.xml:
8656           Update from 0.9.x to 0.10 API and make example a bit
8657           clearer.
8658
8659 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8660
8661         * docs/gst/gstreamer-sections.txt:
8662         Add gst_buffer_(is|make)_metadata_writable methods.
8663
8664 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8665
8666         * docs/design/part-sparsestreams.txt:
8667         Update sparse streams doc, hopefully for greater clarity
8668
8669 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
8670
8671         * docs/design/part-events.txt:
8672         Remove mention of FILLER events.
8673         Add DRAIN event.
8674
8675         * docs/design/part-sparsestreams.txt:
8676         Write some things about using NEWSEGMENT to keep sparse streams
8677         flowing.
8678
8679 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
8680
8681         * gst/gstbin.c: (gst_bin_dispose):
8682           Guard gst_object_unref call against a NULL object (dispose
8683           can theoretically be called multiple times).
8684           
8685 2006-01-18  Wim Taymans  <wim@fluendo.com>
8686
8687         * gst/gstbin.c: (gst_bin_element_set_state):
8688         * gst/gstclock.c: (gst_clock_id_wait):
8689         Added some more debug info.
8690
8691         * libs/gst/base/gstadapter.c:
8692         Added more docs.
8693
8694         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8695         (gst_base_sink_do_sync), (gst_base_sink_chain):
8696         Added some comments.
8697
8698 2006-01-18  Wim Taymans  <wim@fluendo.com>
8699
8700         * tests/check/Makefile.am:
8701         * tests/check/elements/fakesink.c: (chain_async_buffer),
8702         (chain_async), (chain_async_return), (GST_START_TEST),
8703         (fakesink_suite), (main):
8704         Added fakesink test that checks prerolling and clipping
8705         behaviour.
8706
8707         * tests/check/gst/gstutils.c: (GST_START_TEST):
8708         Make check run faster so that buildbots don't timeout.
8709
8710 2006-01-18  Wim Taymans  <wim@fluendo.com>
8711
8712         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8713         (gst_base_sink_do_sync):
8714         Some cleanups.
8715         When the sink finishes blocking on the preroll buffer, it can
8716         immediatly render it instead of rendering when the next buffer
8717         arrives.
8718
8719 2006-01-18  Wim Taymans  <wim@fluendo.com>
8720
8721         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
8722         (gst_base_sink_get_property), (gst_base_sink_do_sync),
8723         (gst_base_sink_chain):
8724         Small cleanups.
8725         GST_ELEMENT_CLOCK and sync are protected with LOCK.
8726         Don't store _last_stop if the buffer is dropped.
8727
8728 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
8729
8730         * plugins/elements/gsttypefindelement.c:
8731         (gst_type_find_element_class_init):
8732           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
8733           object method handler that sets the caps on the pad and we want
8734           that to happen before we emit the signal (fixes e.g. feeding a
8735           plain text file to decodebin).
8736
8737 2006-01-18  Christian Schaller  <Christian@fluendo.com>
8738
8739         * gst/gstplugin.c: Add MPL and Proprietary as license options
8740
8741 2006-01-18  Andy Wingo  <wingo@pobox.com>
8742
8743         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
8744         symbol was exported before, it appears this was just an oversight.
8745         Fixes #168703.
8746         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
8747
8748         * gst/gstindex.c (gst_index_add_associationv): Changed int in
8749         prototype to gint. OK since this prototype was not in the header.
8750
8751 2006-01-17  Andy Wingo  <wingo@pobox.com>
8752
8753         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
8754         registry while we remove plugins.
8755
8756         * tools/gst-inspect.c (print_element_info): Don't unref the
8757         factory arg, that should be the responsibility of whatever code
8758         received the ref. Fixes a double-free when called from
8759         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
8760         (main): Unref the factory if we have one.
8761         (print_element_list): No change -- relies on the
8762         plugin_feature_list_free to free the list of features.
8763
8764 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
8765
8766         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8767         (gst_buffer_make_metadata_writable):
8768         * gst/gstbuffer.h:
8769         * libs/gst/base/gstbasetransform.c:
8770         (gst_base_transform_prepare_output_buf):
8771         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8772         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8773           Replace gst_buffer_(make|is)_metadata_writable patch now
8774           that the release is out.
8775
8776 2006-01-17  Andy Wingo  <wingo@pobox.com>
8777
8778         * gst/gstregistry.c: Reflow design comment. Update so as to speak
8779         in the present tense without reference to versions.
8780
8781         * gst/gstregistry.c (gst_registry_add_plugin)
8782         (gst_registry_remove_plugin, gst_registry_remove_feature)
8783         (gst_registry_find_feature, gst_registry_get_feature_list)
8784         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
8785         (gst_registry_lookup, gst_registry_scan_path)
8786         (_gst_registry_remove_cache_plugins)
8787         (gst_registry_get_feature_list_by_plugin): Add argument
8788         validation.
8789
8790 === release 0.10.2 ===
8791
8792 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
8793
8794         * configure.ac:
8795           releasing 0.10.2, "If man is five"
8796
8797 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
8798
8799         * gst/gstbuffer.c:
8800         * gst/gstbuffer.h:
8801         * libs/gst/base/gstbasetransform.c:
8802         (gst_base_transform_prepare_output_buf):
8803         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8804         * tests/check/gst/gstbuffer.c: (gst_test_suite):
8805           Back out patch until after the release.
8806
8807 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
8808
8809         * gst/gstminiobject.c:
8810           Spelling fix in docs.
8811         * ChangeLog - remove conflict indicator
8812
8813 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
8814
8815         Reviewed By: Andy Wingo
8816
8817         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8818         (gst_buffer_make_metadata_writable):
8819         * gst/gstbuffer.h:
8820           Add gst_buffer_(is|make)_metadata_writable as analogues of
8821           gst_buffer_(is|make)_writable.
8822
8823         * libs/gst/base/gstbasetransform.c:
8824         (gst_base_transform_prepare_output_buf):
8825         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8826           Use name gst_buffer_(is|make)_metadata_writable functions.
8827
8828         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8829           Test gst_buffer_(is|make)_metadata_writable
8830         
8831           (Closes: #324162)
8832
8833 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8834
8835         * docs/manual/Makefile.am:
8836           don't do parallel make
8837         * configure.ac:
8838           AC_SUBST HOST_CPU
8839         * win32/common/config.h.in:
8840           add generations for HOST_CPU and GST_MAJORMINOR
8841         * win32/common/config.h:
8842           commit generated result
8843
8844 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
8845
8846         * docs/manual/appendix-integration.xml:
8847           Update GNOME integration section to use gst_init_get_option_group()
8848           instead of the old popt stuff (#322911). Also, GNOME applications
8849           should  now use gconf*sink and gconf*src instead of the old gconf
8850           helper lib we had.
8851
8852 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
8853
8854
8855         * docs/gst/gstreamer-docs.sgml:
8856         * docs/gst/gstreamer-sections.txt:
8857         * docs/libs/gstreamer-libs-sections.txt:
8858           add new API entries to the docs
8859         * libs/gst/controller/Makefile.am:
8860         * libs/gst/controller/gstcontroller.c:
8861         * libs/gst/controller/gstcontroller.h:
8862         * libs/gst/controller/gstcontrollerprivate.h:
8863         * libs/gst/controller/gsthelper.c:
8864         * libs/gst/controller/gstinterpolation.c:
8865           move private structs to private header
8866         * po/README:
8867           gstreamer-0.7 -> gstreamer-0.10
8868         * tests/check/libs/struct_i386.h:
8869           remove private structs
8870
8871 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8872
8873         * plugins/indexers/Makefile.am:
8874           Fixes as part of #317048
8875
8876 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8877
8878         * plugins/indexers/Makefile.am:
8879           fix #316086 - compilation when mmap is missing
8880
8881 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
8882
8883         * libs/gst/base/gstbasesink.c:
8884           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
8885           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
8886         * win32/common/config.h:
8887           added some defines GST_MAJORMINOR and HOST_CPU
8888         * win32/common/libgstbase.def:
8889         * win32/common/libgstreamer.def:
8890           added some exported functions.
8891
8892 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
8893
8894         * libs/gst/controller/gstcontroller.c:
8895         (gst_controlled_property_set_interpolation_mode),
8896         (gst_controlled_property_new):
8897         * libs/gst/controller/gstcontroller.h:
8898         * libs/gst/controller/gstinterpolation.c:
8899         (interpolate_none_get_string_value_array):
8900           make G_TYPE_STRING controlable
8901
8902 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
8903
8904         * tools/README:
8905         * tools/gst-feedback.1.in:
8906         * tools/gst-inspect.1.in:
8907         * tools/gst-launch.1.in:
8908         * tools/gst-md5sum.1.in:
8909         * tools/gst-typefind.1.in:
8910         * tools/gst-xmlinspect.1.in:
8911         * tools/gst-xmllaunch.1.in:
8912           cleanup man-pages, remove reference to gst-register, document env-vars
8913
8914 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
8915
8916         * gst/gstbuffer.c: (gst_buffer_span):
8917           gst_buffer_span should copy the timestamp of the first buffer
8918           if they were both originally overlapping subbuffers of the 
8919           same parent, using the same logic as the 'slow copy' case.
8920
8921 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
8922
8923         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
8924           Need to awaken ALL the pads when we pop a buffer, otherwise
8925           collectpads only works when there is 2 input streams.
8926
8927 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
8928
8929         * docs/random/ensonic/media-device-daemon.txt:
8930           more ideas (dbus)
8931         * gst/gstbuffer.c:
8932           fix doc example, add clarification
8933         * tools/gst-launch.1.in:
8934           add initial info about GST_PLUGIN_PATH, needs more work
8935
8936 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8937
8938         * docs/manual/basics-bins.xml:
8939         * docs/manual/basics-elements.xml:
8940         * docs/manual/intro-basics.xml:
8941           Some more minor docs additions and updates.
8942
8943 2006-01-11  Wim Taymans  <wim@fluendo.com>
8944
8945         * docs/manual/basics-bins.xml:
8946         * docs/manual/basics-elements.xml:
8947         Some small fixes as pointed out by Ser-ver on IRC.
8948
8949 2006-01-10  Edward Hervey  <edward@fluendo.com>
8950
8951         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8952         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
8953         the single-segment mode.
8954
8955 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
8956
8957         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
8958
8959         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
8960         (gst_base_src_perform_seek), (gst_base_src_send_event),
8961         (gst_base_src_set_property), (gst_base_src_get_property),
8962         (gst_base_src_loop), (gst_base_src_start),
8963         (gst_base_src_activate_push):
8964         * libs/gst/base/gstbasesrc.h:
8965           Name (private) union; makes Sun's Forte compiler happy (#324900).
8966
8967 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
8968
8969         * README:
8970           gst-register is gone.
8971
8972 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8973
8974         * gst/gstvalue.c: (_gst_value_initialize):
8975           make the G_TYPE_DATE instantiation work if debug is disabled
8976
8977 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
8978
8979         * gst/gstmessage.c: (gst_message_parse_tag),
8980         (gst_message_parse_error), (gst_message_parse_warning):
8981           Don't crash when return location for error/warning debug
8982           string is NULL; add fact that return locations can be
8983           NULL to docs where appropriate.
8984
8985 2006-01-05  Wim Taymans  <wim@fluendo.com>
8986
8987         * gst/gstplugin.c: (gst_plugin_load_file):
8988         Replace strdup by g_strdup.
8989
8990 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8991
8992         * docs/pwg/advanced-types.xml:
8993           fix doc borkage
8994
8995 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8996
8997         submitted by: Abel Cheung
8998
8999         * po/LINGUAS:
9000         * po/zh_TW.po:
9001           Added Chinese (traditional) translation
9002
9003 2006-01-04  Wim Taymans  <wim@fluendo.com>
9004
9005         * docs/manual/basics-pads.xml:
9006         * docs/plugins/Makefile.am:
9007         * docs/plugins/gstreamer-plugins-docs.sgml:
9008         * docs/plugins/gstreamer-plugins-sections.txt:
9009         * docs/pwg/advanced-clock.xml:
9010         * docs/pwg/advanced-scheduling.xml:
9011         * docs/pwg/advanced-types.xml:
9012         * plugins/elements/gstfdsink.c:
9013         * plugins/elements/gstfdsrc.c:
9014         * plugins/elements/gstfdsrc.h:
9015         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9016         * plugins/elements/gstidentity.h:
9017         * plugins/elements/gstqueue.h:
9018         * plugins/elements/gsttee.c:
9019         * plugins/elements/gsttee.h:
9020         * plugins/elements/gsttypefindelement.c:
9021         (gst_type_find_element_class_init):
9022         * plugins/elements/gsttypefindelement.h:
9023         Small updates to various docs.
9024         Added core plugins to docs.
9025
9026 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9027
9028         * common/gst.supp:
9029           add a suppression for liboil's uninitialized variable
9030
9031 2006-01-02  James Livingston  <jrl at ids dot org dot au>
9032
9033         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9034
9035         * gst/gstutils.h:
9036           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
9037           macro, so that gcc doesn't complain if the -Wmissing-prototypes
9038           compiler switch is being used (#325429).
9039
9040 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
9041
9042         * gst/gstbin.c: (gst_bin_query):
9043           Disable duration query caching in bins until it gets
9044           fixed (see #324807).
9045
9046 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
9047
9048         * tools/gst-inspect.c: (print_element_properties_info):
9049           Handle properties of POINTER and BOXED type.
9050
9051 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
9052
9053         * gst/gst.c: (init_post):
9054           Init tags stuff and some other things before loading
9055           any static plugins (there may be other static plugins
9056           than just the GStreamer ones, and they may want to
9057           register their own tags or formats or whatever, and
9058           preferably without segfaulting).
9059
9060         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
9061           Print at least a warning in the debug logs if we drop a
9062           query just because we don't know how to adjust the value
9063           in the particular format.
9064
9065 2005-12-24  David Schleef  <ds@schleef.org>
9066
9067         * tools/gstreamer-completion:
9068           Replacement for gst-complete written in sh and sed.  Only
9069           completes names of features, but that's 90% of what I want
9070           it for.  Properties are not available in registry.xml.  (Maybe
9071           they should be...)
9072
9073 === release 0.10.1 ===
9074
9075 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
9076
9077         * configure.ac:
9078           releasing 0.10.1, "Nollaig chridheil"
9079
9080 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
9081
9082         * docs/faq/cvs.xml:
9083           Add missing quote, should be make ERROR_CFLAGS="".
9084
9085 2005-12-20  Wim Taymans  <wim@fluendo.com>
9086
9087         * docs/design/part-trickmodes.txt:
9088         More documentation on trickmodes.
9089
9090 2005-12-20  Edward Hervey  <edward@fluendo.com>
9091
9092         * gst/gstcaps.c: (gst_static_caps_get_type):
9093         * gst/gstcaps.h:
9094           API addition: GST_TYPE_STATIC_CAPS
9095         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
9096         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
9097         * gst/gstpadtemplate.h:
9098           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
9099         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
9100         bindings.
9101
9102 2005-12-18  Wim Taymans  <wim@fluendo.com>
9103
9104         * libs/gst/base/gstadapter.c:
9105         * libs/gst/base/gstadapter.h:
9106         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9107         (gst_base_sink_get_position):
9108         * libs/gst/base/gstbasesink.h:
9109         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9110         (gst_base_src_default_query), (gst_base_src_default_do_seek),
9111         (gst_base_src_do_seek), (gst_base_src_perform_seek),
9112         (gst_base_src_send_event), (gst_base_src_update_length),
9113         (gst_base_src_get_range), (gst_base_src_loop),
9114         (gst_base_src_start):
9115         * libs/gst/base/gstbasesrc.h:
9116         * libs/gst/base/gstbasetransform.h:
9117         * libs/gst/base/gstcollectpads.h:
9118         * libs/gst/base/gstpushsrc.c:
9119         * libs/gst/base/gstpushsrc.h:
9120         * libs/gst/dataprotocol/dataprotocol.c:
9121         * libs/gst/dataprotocol/dataprotocol.h:
9122         * libs/gst/net/gstnetclientclock.h:
9123         * libs/gst/net/gstnettimeprovider.h:
9124         Documentation updates.
9125
9126 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
9127
9128         * docs/manual/basics-helloworld.xml:
9129           Remove superfluous closing bracket in helloworld example.
9130
9131 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
9132
9133         * tools/gst-launch.1.in:
9134           Update gst-launch man page; add a section with useful
9135           environment variables. Fixes #323882.
9136
9137 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
9138
9139         * gst/gst.c:
9140         * gst/gst_private.h:
9141           change some char* into char[]
9142
9143 2005-12-16  Wim Taymans  <wim@fluendo.com>
9144
9145         * gst/gstregistryxml.c: (load_feature):
9146         Cleanups.
9147         Don't use g_object_unref on GstObjects so that we avoid
9148         leaks on unsafe glibs.
9149
9150 2005-12-16  Wim Taymans  <wim@fluendo.com>
9151
9152         * gst/gstbin.c: (gst_bin_recalc_state):
9153         Small doc updates.
9154
9155 2005-12-16  Wim Taymans  <wim@fluendo.com>
9156
9157         * common/check.mak:
9158         Added make forever target for check.
9159
9160 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9161
9162         * gst/gst.c: (init_post):
9163           make the registry cache file HOST_CPU-dependent
9164
9165 2005-12-16  Andy Wingo  <wingo@pobox.com>
9166
9167         * plugins/elements/gstbufferstore.c
9168         (gst_buffer_store_cleared_func): Pay attention to g_list_append
9169         return value.
9170
9171         * tests/check/gst/gstobject.c
9172         (test_fake_object_name_threaded_unique): Pay attention to
9173         g_list_sort return value.
9174
9175 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9176
9177         * tools/gst-feedback-m.m:
9178           Update for 0.9/0.10 (fixes #323870).
9179
9180 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
9181
9182         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
9183           Fix lcopy for mini objects, the mini object needs to be ref'ed.
9184           
9185         * tests/check/gst/gstminiobject.c: (my_foo_init),
9186         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
9187         (test_value_collection), (gst_mini_object_suite):
9188           Add test to ensure refcounts end up as expected when passing
9189           GstMiniObjects through g_object_get() and g_object_set().
9190
9191 2005-12-14  Julien MOUTTE  <julien@moutte.net>
9192
9193         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9194         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
9195         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
9196         of collectpads. This version removes a lot of races without
9197         touching API/ABI. Yay !
9198
9199 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
9200
9201         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
9202           Don't allow activation of a srcpad in pull_range if it has no
9203           getrange function.
9204           Change some debug statements to be a little clearer
9205
9206         * plugins/elements/gsttypefindelement.c:
9207         (gst_type_find_handle_src_query):
9208           Check that we have a peer before executing queries thereupon.
9209
9210         * tests/examples/metadata/read-metadata.c: (message_loop):
9211           Use gst_bus_pop instead of gst_bus_poll when we just want it to
9212           immediately return us any available message with 0 timeout.
9213
9214 2005-12-12  Michael Smith  <msmith@fluendo.com>
9215
9216         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9217           Don't unref factories after calling them.
9218         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
9219         * plugins/elements/gsttypefindelement.c:
9220         (gst_type_find_element_chain):
9221           Free lists of factories after using them. Fixing typefinding memory
9222           leaks.
9223
9224 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9225
9226         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9227         (gst_plugin_feature_load):
9228           more meaningful debug output
9229         * configure.ac:
9230         * tests/Makefile.am:
9231         * tests/old/examples/Makefile.am:
9232           make make distcheck happy again
9233
9234 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9235
9236         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9237           Catch the special case where we are operating chain-based,
9238           but the downstream peer pad has no chain function. Emit a
9239           custom error message in this case instead of letting the
9240           core generate one implying that this is some sort of core
9241           bug. It's not, it just means that whatever got plugged
9242           into the pipeline downstream when we announced the type
9243           can only operate pull-based, while our source can only
9244           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
9245           Error string has not been marked for translation yet, as
9246           it probably needs some more work first.
9247
9248         (gst_type_find_element_get_best_possibility):
9249           Add helper function to find the best of all available
9250           found possibilities that qualify given the min. threshold.
9251
9252         (gst_type_find_element_handle_event):
9253           Fix the case where we get an EOS while still in TYPEFIND
9254           mode (we want to chose the best of all possible types,
9255           not just the first type that happens to be in our unsorted
9256           list of possible types).
9257
9258         (gst_type_find_element_chain):
9259           Make sure we return GST_FLOW_ERROR when we errored out
9260           in stop_typefinding(); also, don't just find the best of
9261           all found type entries and then use the last examined
9262           type entry, but actually use the best entry.
9263
9264 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9265
9266         * tests/examples/typefind/typefind.c: (type_found):
9267         * tests/examples/xml/runxml.c: (xml_loaded):
9268           More gcc4 fixes and a mem leak fix.
9269
9270 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9271
9272         * tests/examples/xml/createxml.c: (object_saved):
9273           gcc 4 fixes
9274
9275 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9276
9277         * tests/Makefile.am:
9278           enable the examples even more
9279
9280 2005-12-12  Andy Wingo  <wingo@pobox.com>
9281
9282         * libs/gst/net/gstnettimeprovider.c
9283         (gst_net_time_provider_class_init, gst_net_time_provider_init)
9284         (gst_net_time_provider_set_property)
9285         (gst_net_time_provider_get_property):
9286         API addition: Export "active" as a GObject property.
9287         (gst_net_time_provider_thread): Only respond to time queries if
9288         the time provider is active.
9289
9290         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
9291         NetTimeProvider, preserving binary compat.
9292
9293 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9294
9295         * tests/examples/controller/audio-example.c: (main):
9296         * tests/examples/launch/Makefile.am:
9297           convert comments again
9298
9299 2005-12-12  Wim Taymans  <wim@fluendo.com>
9300
9301         * libs/gst/base/gstpushsrc.c:
9302         Fix typo.
9303
9304 2005-12-12  Wim Taymans  <wim@fluendo.com>
9305
9306         * docs/libs/gstreamer-libs-sections.txt:
9307         Added new symbol to docs.
9308
9309         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9310         (gst_base_src_init), (gst_base_src_set_format),
9311         (gst_base_src_default_query), (gst_base_src_query),
9312         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
9313         (gst_base_src_perform_seek), (gst_base_src_send_event),
9314         (gst_base_src_default_event), (gst_base_src_event_handler),
9315         (gst_base_src_set_property), (gst_base_src_get_property),
9316         (gst_base_src_wait), (gst_base_src_do_sync),
9317         (gst_base_src_update_length), (gst_base_src_get_range),
9318         (gst_base_src_check_get_range), (gst_base_src_loop),
9319         (gst_base_src_default_negotiate), (gst_base_src_start),
9320         (gst_base_src_activate_push), (gst_base_src_activate_pull),
9321         (gst_base_src_change_state):
9322         * libs/gst/base/gstbasesrc.h:
9323         Implement seeking to other formats than _BYTES.
9324         Implement more seeking methods correctly.
9325         Doc updates.
9326         Added query vmethod.
9327         Added do_seek vmethod to make life easier for subclasses
9328         when seeking.
9329         API addition: gst_base_src_set_format()
9330
9331 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9332
9333         * tests/examples/Makefile.am:
9334           added that too
9335
9336 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9337
9338         * configure.ac:
9339         * docs/random/ensonic/media-device-daemon.txt:
9340         * tests/examples/controller/.cvsignore:
9341         * tests/examples/controller/Makefile.am:
9342         * tests/examples/controller/audio-example.c: (main):
9343         * tests/examples/helloworld/.cvsignore:
9344         * tests/examples/helloworld/Makefile.am:
9345         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
9346         * tests/examples/launch/.cvsignore:
9347         * tests/examples/launch/Makefile.am:
9348         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
9349         * tests/examples/metadata/.cvsignore:
9350         * tests/examples/metadata/Makefile.am:
9351         * tests/examples/metadata/read-metadata.c: (message_loop),
9352         (make_pipeline), (print_tag), (main):
9353         * tests/examples/queue/.cvsignore:
9354         * tests/examples/queue/Makefile.am:
9355         * tests/examples/queue/queue.c: (event_loop), (main):
9356         * tests/examples/typefind/.cvsignore:
9357         * tests/examples/typefind/Makefile.am:
9358         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
9359         (main):
9360         * tests/examples/xml/.cvsignore:
9361         * tests/examples/xml/Makefile.am:
9362         * tests/examples/xml/createxml.c: (object_saved), (main):
9363         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
9364         * tests/old/examples/Makefile.am:
9365         * tests/old/examples/TODO:
9366         * tests/old/examples/controller/.cvsignore:
9367         * tests/old/examples/controller/Makefile.am:
9368         * tests/old/examples/controller/audio-example.c:
9369         * tests/old/examples/helloworld/.cvsignore:
9370         * tests/old/examples/helloworld/Makefile.am:
9371         * tests/old/examples/helloworld/helloworld.c:
9372         * tests/old/examples/launch/.cvsignore:
9373         * tests/old/examples/launch/Makefile.am:
9374         * tests/old/examples/launch/mp3parselaunch.c:
9375         * tests/old/examples/launch/mp3play:
9376         * tests/old/examples/manual/Makefile.am:
9377         * tests/old/examples/metadata/Makefile.am:
9378         * tests/old/examples/metadata/read-metadata.c:
9379         * tests/old/examples/queue/.cvsignore:
9380         * tests/old/examples/queue/Makefile.am:
9381         * tests/old/examples/queue/queue.c:
9382         * tests/old/examples/typefind/.cvsignore:
9383         * tests/old/examples/typefind/Makefile.am:
9384         * tests/old/examples/typefind/typefind.c:
9385         * tests/old/examples/xml/.cvsignore:
9386         * tests/old/examples/xml/Makefile.am:
9387         * tests/old/examples/xml/createxml.c:
9388         * tests/old/examples/xml/runxml.c:
9389           applied some simple fixing to some examples
9390           re-enabled the working examples
9391
9392 2005-12-12  Wim Taymans  <wim@fluendo.com>
9393
9394         * gst/gstsegment.c: (gst_segment_init),
9395         (gst_segment_set_last_stop), (gst_segment_set_seek),
9396         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
9397         (gst_segment_to_running_time):
9398         Added more documentation.
9399         Make sure the last_pos value is updated properly.
9400         Make sure to_stream_time and to_running_time don't
9401         operate on wrong values.
9402
9403         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9404         Update check.
9405
9406 2005-12-12  Michael Smith  <msmith@fluendo.com>
9407
9408         * plugins/elements/gsttypefindelement.c: (free_entry),
9409         (gst_type_find_element_chain):
9410           Now that we're not leaking factories, make sure we keep references
9411           to them while we need them.
9412
9413 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9414
9415         * tests/check/gst/struct_i386.h:
9416           ifdef out the XML structs
9417
9418 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9419
9420         * gst/gstvalue.c: (gst_value_transform_double_fraction):
9421           floor is not needed, F is always positive; this obviates the
9422           need for adding -lm when building without libxml
9423
9424 2005-12-12  Wim Taymans  <wim@fluendo.com>
9425
9426         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9427         Take current playback rate into account when reporting
9428         the position.
9429
9430 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9431
9432         * docs/manual/mime-world.fig:
9433           Let's try this again, this time with a file that is
9434           actually in XFig format.
9435
9436 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9437
9438         * docs/manual/mime-world.fig:
9439           Add audioconvert element to diagram so that it
9440           matches the text and the code (fixes #319526).
9441
9442 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9443
9444         * docs/pwg/building-chainfn.xml:
9445         * docs/pwg/building-pads.xml:
9446         * docs/pwg/building-state.xml:
9447         * docs/pwg/other-source.xml:
9448           Update state change stuff for 0.10 (fixes #322969).
9449
9450 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9451
9452         * docs/manual/advanced-dataaccess.xml:
9453         * docs/manual/appendix-checklist.xml:
9454         * docs/manual/appendix-programs.xml:
9455         * docs/manual/basics-pads.xml:
9456         * docs/manual/highlevel-components.xml:
9457         * docs/manual/manual.xml:
9458           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
9459           add converters in front of pipelines; remove curly
9460           brackets for threads stuff, they no longer exist; use
9461           GST_TYPE_FRACTION for framerates; update some pieces of
9462           code to 0.10, but there's plenty more to do.
9463
9464         * docs/manual/appendix-porting.xml:
9465           Expand on asynchroneous state changes; s/0.9/0.10/;
9466           mention disappearance of gst_init_get_popt_table()
9467           (fixes #322916).
9468
9469 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9470
9471         * docs/faq/using.xml:
9472           Spider no longer exists, and neither does gst-launch-ext.
9473           Update examples to use decodebin and playbin and put
9474           converters in front of sinks (fixes #323726).
9475
9476 2005-12-09  Michael Smith  <msmith@fluendo.com>
9477
9478         * plugins/elements/gsttypefindelement.c: (find_peek),
9479         (gst_type_find_element_chain):
9480           Fix leaking element factories in typefinding.
9481           Fix problem where we forgot about a probable type on non-seekable
9482           files, and thus later mis-typefound it.
9483
9484 2005-12-09  Michael Smith  <msmith@fluendo.com>
9485
9486         * common/m4/gst-makecontext.m4:
9487         * common/m4/gst-mcsc.m4:
9488         * configure.ac:
9489         * win32/common/config.h:
9490         * win32/common/config.h.in:
9491           Remove makecontext stuff; not used in 0.10 and causes problems on
9492           HPUX according to bug #322441
9493
9494 2005-12-07  Wim Taymans  <wim@fluendo.com>
9495
9496         * tests/check/Makefile.am:
9497         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
9498         (main):
9499         * tests/check/libs/struct_i386.h:
9500         Added ABI check for libs
9501
9502 2005-12-07  Wim Taymans  <wim@fluendo.com>
9503
9504         * tests/check/Makefile.am:
9505         And add the struct_i386.h to dist.
9506
9507 2005-12-07  Wim Taymans  <wim@fluendo.com>
9508
9509         * tests/check/Makefile.am:
9510         * tests/check/gst/.cvsignore:
9511         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
9512         (main):
9513         * tests/check/gst/struct_i386.h:
9514         Added check for ABI compatibility.
9515
9516 2005-12-07  Wim Taymans  <wim@fluendo.com>
9517
9518         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9519         (gst_fake_src_get_times), (gst_fake_src_create):
9520         Fix broken sync option, fixes #323259
9521
9522 2005-12-07  Wim Taymans  <wim@fluendo.com>
9523
9524         * gst/gstbuffer.c:
9525         Small docs update.
9526
9527         * gst/gstcaps.c: (gst_caps_is_equal):
9528         Don't assert on NULL <--> X. Fixes #323260
9529
9530         * gst/gstminiobject.c: (gst_mini_object_replace):
9531         If we're doing atomic operations, we might just as well use
9532         the proper way to get an atomic pointer.
9533
9534         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9535         Clean up debugging.
9536
9537 2005-12-07  Michael Smith  <msmith@fluendo.com>
9538
9539         * gst/parse/grammar.y:
9540           Remove handling of { } for threads.
9541
9542 2005-12-06  David Schleef  <ds@schleef.org>
9543
9544         * libs/gst/base/gstbasetransform.c: speling fix.
9545
9546 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9547
9548         * docs/libs/tmpl/gstdataprotocol.sgml:
9549         * docs/random/omega/testing/gstobject.c:
9550         * gst/gst.c:
9551         * gst/gstclock.c:
9552         * gst/gstelement.c:
9553         * gst/gstelementfactory.c:
9554         * gst/gsterror.c:
9555         * gst/gstevent.c:
9556         * gst/gstghostpad.c:
9557         * gst/gstinfo.c:
9558         * gst/gstpadtemplate.c:
9559         * gst/gstregistryxml.c:
9560         * gst/gsttaglist.c:
9561         * gst/gsttagsetter.c:
9562         * gst/gsttypefind.c:
9563         * gst/gstvalue.c:
9564         * libs/gst/base/gstbasesrc.c:
9565         * libs/gst/net/gstnetclientclock.c:
9566         * libs/gst/net/gstnettimeprovider.c:
9567         * plugins/elements/gstfakesrc.c:
9568         * plugins/elements/gstfdsrc.c:
9569         * plugins/elements/gstfilesrc.c:
9570         * plugins/elements/gstidentity.c:
9571         * plugins/elements/gstqueue.c:
9572         * plugins/elements/gsttypefindelement.c:
9573         * plugins/indexers/gstfileindex.c:
9574         * plugins/indexers/gstmemindex.c:
9575         * tests/check/gst/gsttag.c:
9576         * tests/old/examples/cutter/cutter.c:
9577         * tests/old/examples/mixer/mixer.c:
9578         * tests/old/examples/xml/runxml.c: (main):
9579         * tests/old/testsuite/caps/normalisation.c:
9580         * tests/old/testsuite/debug/global.c:
9581         * tests/old/testsuite/parse/parse1.c:
9582         * tools/gst-xmlinspect.c:
9583         * win32/common/dirent.c:
9584           expand tabs
9585
9586 === release 0.10.0 ===
9587
9588 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9589
9590         * configure.ac:
9591           releasing 0.10.0, "Maroilles"
9592
9593 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9594
9595         submitted by: Funda Wang <fundawang@linux.net.cn>
9596
9597         * po/LINGUAS:
9598         * po/zh_CN.po:
9599           added Chinese (Traditional) translation
9600
9601 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9602
9603         * docs/gst/gstreamer-sections.txt:
9604         * docs/libs/tmpl/gstdataprotocol.sgml:
9605         * docs/random/thomasvs/TODO:
9606         * gst/gstutils.c:
9607         * gst/gstutils.h:
9608           fix docs
9609
9610 2005-12-05  Andy Wingo  <wingo@pobox.com>
9611
9612         patch by: Wim Taymans <wim@fluendo.com>
9613
9614         * libs/gst/base/gstbasetransform.c
9615         (gst_base_transform_prepare_output_buf)
9616         (gst_base_transform_buffer_alloc):
9617         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
9618         alloc_buffer_and_set_caps.
9619
9620         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
9621         set_caps on the source pad.
9622         (gst_pad_alloc_buffer_and_set_caps): New function, does what
9623         alloc_buffer used to do. Fixes #322874.
9624
9625         * docs/gst/gstreamer-sections.txt: 
9626         * docs/design/part-negotiation.txt: 
9627         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
9628         changes.
9629
9630 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9631
9632         patch by: Sebastien Moutte
9633
9634         * win32/MANIFEST:
9635         * win32/common/config.h.in:
9636         * win32/vs6/libgstcontroller.dsp:
9637           win32 build fixes
9638
9639 2005-12-05  Wim Taymans  <wim@fluendo.com>
9640
9641         * gst/gstcaps.c: (gst_caps_is_equal):
9642         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9643         (gst_fake_src_create):
9644         Back out previous code changes, leave doc updates, file bugs 
9645         instead. 
9646
9647 2005-12-05  Wim Taymans  <wim@fluendo.com>
9648
9649         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9650         (gst_fake_src_get_times), (gst_fake_src_create):
9651         * plugins/elements/gstfakesrc.h:
9652         Fix broken sync code.
9653
9654 2005-12-05  Wim Taymans  <wim@fluendo.com>
9655
9656         * gst/gstcaps.c: (gst_caps_is_equal):
9657         Comparing NULL against !NULL yields different caps, not a
9658         failure.
9659
9660 2005-12-05  Wim Taymans  <wim@fluendo.com>
9661
9662         * gst/gstpipeline.c:
9663         Fix small typo in docs.
9664
9665 2005-12-05  Andy Wingo  <wingo@pobox.com>
9666
9667         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
9668
9669         * gst/gst.c (init_post): remove hard-coded 0.9 location for
9670         registries/plugins with a MAJORMINOR one.
9671         (plugin_desc): Rename library from gstcoreleements to
9672         staticelements. Fixes #323222.
9673
9674 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
9675
9676         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
9677           Change debug category to 'collectpads' from 'collect_pads'
9678           (fixes #323250).
9679
9680 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9681
9682         patch by: Sebastien Moutte
9683
9684         * libs/gst/controller/gstinterpolation.c:
9685           use convert function for uint64/double
9686         * win32/vs6/libgstcontroller.dsp:
9687           link to GLib
9688
9689 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9690
9691         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
9692         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
9693         * gst/gstutils.h:
9694         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9695           add tests that seem to show that the guint64/gdouble conversions
9696           are correct.
9697
9698 2005-12-02  Wim Taymans  <wim@fluendo.com>
9699
9700         * gst/gstregistry.c: (gst_registry_add_path):
9701         * gst/gstregistry.h:
9702         * gst/gstregistryxml.c:
9703         Fix docs again.
9704
9705 2005-12-02  Wim Taymans  <wim@fluendo.com>
9706
9707         * gst/gstutils.c: (gst_util_uint64_scale_int64),
9708         (gst_util_uint64_scale_int):
9709         Small cleanup.
9710
9711         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9712         Add debug log line.
9713
9714         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
9715         Add FIXME.
9716
9717 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9718
9719         * win32/MANIFEST:
9720         * win32/common/config.h:
9721         * win32/vs6/gstreamer.dsw:
9722         * win32/vs6/libgstcoreelements.dsp:
9723         * win32/vs6/libgstelements.dsp:
9724           renamed core elements plugin
9725
9726 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9727
9728         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
9729         (get_candidates):
9730           do piece-wise major/minor comparison so 0.9 < 0.10
9731           also allow .exe extensions for tools
9732
9733 2005-12-02  Michael Smith  <msmith@fluendo.com>
9734
9735         * gst/gst.c:
9736           Escape a % to make gtkdoc happier; bug 322958.
9737
9738 === release 0.9.7 ===
9739
9740 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9741
9742         * configure.ac:
9743           releasing 0.9.7, "My Dog Has No Nose"
9744
9745 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9746
9747         * common/gst-xmlinspect.py:
9748         * configure.ac:
9749         * docs/libs/tmpl/gstdataprotocol.sgml:
9750         * docs/random/release:
9751         * po/af.po:
9752         * po/az.po:
9753         * po/bg.po:
9754         * po/ca.po:
9755         * po/cs.po:
9756         * po/de.po:
9757         * po/en_GB.po:
9758         * po/fr.po:
9759         * po/it.po:
9760         * po/nb.po:
9761         * po/nl.po:
9762         * po/ru.po:
9763         * po/sq.po:
9764         * po/sr.po:
9765         * po/sv.po:
9766         * po/tr.po:
9767         * po/uk.po:
9768         * po/vi.po:
9769         * win32/common/config.h:
9770         * win32/common/config.h.in:
9771         * win32/vs6/gst_inspect.dsp:
9772         * win32/vs6/gst_launch.dsp:
9773         * win32/vs6/libgstbase.dsp:
9774         * win32/vs6/libgstelements.dsp:
9775         * win32/vs6/libgstreamer.dsp:
9776         * win32/vs7/GStreamer.vcproj:
9777         * win32/vs7/gst-inspect.vcproj:
9778         * win32/vs7/gst-launch.vcproj:
9779         * win32/vs7/libgstbase.vcproj:
9780           bump GST_MAJORMINOR to 0.10
9781           reset libtool version
9782
9783 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9784
9785         * po/LINGUAS:
9786         * po/bg.po:
9787           Added Bulgarian translation by (Alexander Shopov)
9788
9789 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9790
9791         * tests/check/gst/gstplugin.c:
9792           fix test
9793
9794 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9795
9796         * common/gst-xmlinspect.py:
9797         * common/gtk-doc-plugins.mak:
9798         * configure.ac:
9799         * docs/Makefile.am:
9800         * docs/gst/Makefile.am:
9801         * docs/gst/gstreamer-docs.sgml:
9802         * docs/gst/gstreamer-sections.txt:
9803         * docs/gst/gstreamer.types:
9804         * docs/gst/gstreamer.types.in:
9805         * docs/plugins/Makefile.am:
9806         * docs/plugins/gstreamer-plugins-docs.sgml:
9807         * docs/plugins/gstreamer-plugins-sections.txt:
9808         * docs/plugins/gstreamer-plugins.types:
9809         * docs/plugins/inspect.stamp:
9810         * docs/plugins/inspect/plugin-coreelements.xml:
9811         * docs/plugins/inspect/plugin-coreindexers.xml:
9812         * docs/plugins/scanobj-build.stamp:
9813         * gstreamer.spec.in:
9814         * plugins/elements/Makefile.am:
9815         * plugins/elements/gstelements.c:
9816         * plugins/elements/gstfakesink.c:
9817         * plugins/elements/gstfakesrc.c:
9818         * plugins/elements/gstfilesink.c:
9819         * plugins/elements/gstfilesrc.c:
9820         * plugins/elements/gstqueue.c:
9821         * plugins/indexers/Makefile.am:
9822         * plugins/indexers/gstindexers.c:
9823           document core plugins in a separate document just like all the
9824           others
9825           rename these plugins to something starting with core
9826
9827 2005-12-01  Andy Wingo  <wingo@pobox.com>
9828
9829         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
9830         padding here before, but it missed the commit.
9831
9832 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9833
9834         * libs/gst/controller/gstinterpolation.c:
9835           whitespace prices have crashed, we should feel free to use some now
9836           use gst_guint64_to_gdouble
9837
9838 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9839
9840         * libs/gst/controller/gstcontroller.c:
9841         * libs/gst/controller/gsthelper.c:
9842         * libs/gst/controller/gstinterpolation.c:
9843         * libs/gst/controller/lib.c:
9844           wrap config.h include
9845
9846 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9847
9848         * docs/gst/gstreamer-sections.txt:
9849           update docs
9850
9851 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9852
9853         * plugins/elements/gstelements.c:
9854         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
9855         (gst_fd_sink__class_init), (gst_fd_sink__init),
9856         (gst_fd_sink__chain), (gst_fd_sink__set_property),
9857         (gst_fd_sink__get_property):
9858         * plugins/elements/gstfdsink.h:
9859         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
9860         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
9861         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
9862         (gst_fd_src_unlock), (gst_fd_src_set_property),
9863         (gst_fd_src_get_property), (gst_fd_src_create),
9864         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
9865         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
9866         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
9867         (gst_fd_src_uri_handler_init):
9868         * plugins/elements/gstfdsrc.h:
9869         * plugins/elements/gstqueue.c: (gst_queue_get_type):
9870           more anal cleanup
9871
9872 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9873
9874         * docs/gst/Makefile.am:
9875         * docs/gst/gstreamer.types.in:
9876         * gst/Makefile.am:
9877           fix the docs build
9878
9879 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
9880
9881         * configure.ac:
9882         * gst/Makefile.am:
9883         * gst/gst.c:
9884         * gst/gstplugin.h:
9885         * gst/gstregistry.h:
9886         * tests/benchmarks/complexity.c:
9887         * tests/benchmarks/mass-elements.c:
9888         * tests/check/Makefile.am:
9889         * tools/Makefile.am:
9890         * tools/gst-inspect.c:
9891         * tools/gst-xmlinspect.c:
9892           various fixes to make
9893           --disable-nls --disable-registry --disable-loadsave
9894           --disable-parse --disable-gst-debug
9895           work and get the core .so down to 360444 bytes after stripping
9896
9897 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
9898
9899         * Makefile.am:
9900         * configure.ac:
9901           descend into tests
9902         * docs/random/thomasvs/TODO:
9903         * tests/Makefile.am:
9904         * tests/README:
9905           add a README
9906
9907 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
9908
9909         * win32/GStreamer.vcproj:
9910         * win32/MANIFEST:
9911         * win32/Makefile:
9912         * win32/Makefile.inspect:
9913         * win32/Makefile.launch:
9914         * win32/Makefile.register:
9915         * win32/README.txt:
9916         * win32/gst-inspect.vcproj:
9917         * win32/gst-launch.vcproj:
9918         * win32/gst-register.vcproj:
9919         * win32/gstelements.vcproj:
9920         * win32/gstgetbits.def:
9921         * win32/gstgetbits.vcproj:
9922         * win32/gstreamer-dbg.def:
9923         * win32/gstreamer.def:
9924         * win32/libgstbase.def:
9925         * win32/libgstbase.vcproj:
9926         * win32/link_oldruntime.c:
9927         * win32/mman.c:
9928         * win32/mman.h:
9929         * win32/mman.inl:
9930         * win32/msvc71.sln:
9931           move even more stuff, win32/ is nice and clean now
9932
9933 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
9934
9935         * libs/gst/control/.cvsignore:
9936         * win32/MANIFEST:
9937         * win32/config.h:
9938         * win32/dirent.c:
9939         * win32/dirent.h:
9940         * win32/gstbytestream.def:
9941         * win32/gstbytestream.vcproj:
9942         * win32/gstconfig.h:
9943         * win32/gstenumtypes.c:
9944         * win32/gstenumtypes.h:
9945         * win32/gstoptimalscheduler.vcproj:
9946         * win32/gstversion.h:
9947         * win32/gtchar.h:
9948         * win32/testsuite/bins.vcproj:
9949         * win32/testsuite/bytestream.vcproj:
9950         * win32/testsuite/caps.vcproj:
9951         * win32/testsuite/cleanup.vcproj:
9952         * win32/testsuite/clock.vcproj:
9953         * win32/testsuite/debug.vcproj:
9954         * win32/testsuite/dlopen.vcproj:
9955         * win32/testsuite/dynparams.vcproj:
9956         * win32/testsuite/elements.vcproj:
9957         * win32/testsuite/ghostpads.vcproj:
9958         * win32/testsuite/indexers.vcproj:
9959         * win32/testsuite/negotiation.vcproj:
9960         * win32/testsuite/parse.vcproj:
9961         * win32/testsuite/plugin.vcproj:
9962         * win32/testsuite/refcounting.vcproj:
9963         * win32/testsuite/schedulers.vcproj:
9964         * win32/testsuite/states.vcproj:
9965         * win32/testsuite/tags.vcproj:
9966         * win32/testsuite/threads.vcproj:
9967           remove old win32 stuff that isn't maintained and should be
9968           reorganized
9969
9970 2005-11-30  Andy Wingo  <wingo@pobox.com>
9971
9972         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
9973         loading the gst.interfaces python module bork.
9974
9975         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
9976         available since GLib 2.2. Fixes #318031.
9977
9978 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
9979
9980         * Makefile.am:
9981         * check/.cvsignore:
9982         * check/Makefile.am:
9983         * check/elements/.cvsignore:
9984         * check/elements/fakesrc.c:
9985         * check/elements/fdsrc.c:
9986         * check/elements/identity.c:
9987         * check/generic/.cvsignore:
9988         * check/generic/states.c:
9989         * check/gst-libs/.cvsignore:
9990         * check/gst-libs/controller.c:
9991         * check/gst-libs/gdp.c:
9992         * check/gst/.cvsignore:
9993         * check/gst/capslist.h:
9994         * check/gst/gst.c:
9995         * check/gst/gstbin.c:
9996         * check/gst/gstbuffer.c:
9997         * check/gst/gstbus.c:
9998         * check/gst/gstcaps.c:
9999         * check/gst/gstelement.c:
10000         * check/gst/gstevent.c:
10001         * check/gst/gstghostpad.c:
10002         * check/gst/gstiterator.c:
10003         * check/gst/gstmessage.c:
10004         * check/gst/gstminiobject.c:
10005         * check/gst/gstobject.c:
10006         * check/gst/gstpad.c:
10007         * check/gst/gstpipeline.c:
10008         * check/gst/gstplugin.c:
10009         * check/gst/gstsegment.c:
10010         * check/gst/gststructure.c:
10011         * check/gst/gstsystemclock.c:
10012         * check/gst/gsttag.c:
10013         * check/gst/gstutils.c:
10014         * check/gst/gstvalue.c:
10015         * check/net/.cvsignore:
10016         * check/net/gstnetclientclock.c:
10017         * check/net/gstnettimeprovider.c:
10018         * check/pipelines/.cvsignore:
10019         * check/pipelines/cleanup.c:
10020         * check/pipelines/simple_launch_lines.c:
10021         * check/pipelines/stress.c:
10022         * check/states/.cvsignore:
10023         * check/states/sinks.c:
10024         * configure.ac:
10025         * examples/Makefile.am:
10026         * examples/appreader/.cvsignore:
10027         * examples/appreader/Makefile.am:
10028         * examples/appreader/appreader.c:
10029         * examples/controller/.cvsignore:
10030         * examples/controller/Makefile.am:
10031         * examples/controller/audio-example.c:
10032         * examples/cutter/.cvsignore:
10033         * examples/cutter/Makefile.am:
10034         * examples/cutter/cutter.c:
10035         * examples/cutter/cutter.h:
10036         * examples/events/Makefile.am:
10037         * examples/events/seek.c:
10038         * examples/helloworld/.cvsignore:
10039         * examples/helloworld/Makefile.am:
10040         * examples/helloworld/helloworld.c:
10041         * examples/helloworld2/.cvsignore:
10042         * examples/helloworld2/Makefile.am:
10043         * examples/helloworld2/helloworld2.c:
10044         * examples/launch/.cvsignore:
10045         * examples/launch/Makefile.am:
10046         * examples/launch/mp3parselaunch.c:
10047         * examples/launch/mp3play:
10048         * examples/manual/.cvsignore:
10049         * examples/manual/Makefile.am:
10050         * examples/manual/extract.pl:
10051         * examples/metadata/Makefile.am:
10052         * examples/metadata/read-metadata.c:
10053         * examples/mixer/.cvsignore:
10054         * examples/mixer/Makefile.am:
10055         * examples/mixer/mixer.c:
10056         * examples/mixer/mixer.h:
10057         * examples/pingpong/.cvsignore:
10058         * examples/pingpong/Makefile.am:
10059         * examples/pingpong/pingpong.c:
10060         * examples/plugins/.cvsignore:
10061         * examples/plugins/Makefile.am:
10062         * examples/plugins/example.c:
10063         * examples/plugins/example.h:
10064         * examples/pwg/.cvsignore:
10065         * examples/pwg/Makefile.am:
10066         * examples/pwg/extract.pl:
10067         * examples/queue/.cvsignore:
10068         * examples/queue/Makefile.am:
10069         * examples/queue/queue.c:
10070         * examples/queue2/.cvsignore:
10071         * examples/queue2/Makefile.am:
10072         * examples/queue2/queue2.c:
10073         * examples/queue3/.cvsignore:
10074         * examples/queue3/Makefile.am:
10075         * examples/queue3/queue3.c:
10076         * examples/queue4/.cvsignore:
10077         * examples/queue4/Makefile.am:
10078         * examples/queue4/queue4.c:
10079         * examples/retag/.cvsignore:
10080         * examples/retag/Makefile.am:
10081         * examples/retag/retag.c:
10082         * examples/retag/transcode.c:
10083         * examples/thread/.cvsignore:
10084         * examples/thread/Makefile.am:
10085         * examples/thread/thread.c:
10086         * examples/typefind/.cvsignore:
10087         * examples/typefind/Makefile.am:
10088         * examples/typefind/typefind.c:
10089         * examples/xml/.cvsignore:
10090         * examples/xml/Makefile.am:
10091         * examples/xml/createxml.c:
10092         * examples/xml/runxml.c:
10093         * tests/Makefile.am:
10094         * tests/check/Makefile.am:
10095         * testsuite/.cvsignore:
10096         * testsuite/Makefile.am:
10097         * testsuite/Rules:
10098         * testsuite/caps/.cvsignore:
10099         * testsuite/caps/Makefile.am:
10100         * testsuite/caps/app_fixate.c:
10101         * testsuite/caps/audioscale.c:
10102         * testsuite/caps/caps.c:
10103         * testsuite/caps/caps.h:
10104         * testsuite/caps/caps_strings:
10105         * testsuite/caps/compatibility.c:
10106         * testsuite/caps/deserialize.c:
10107         * testsuite/caps/enumcaps.c:
10108         * testsuite/caps/eratosthenes.c:
10109         * testsuite/caps/filtercaps.c:
10110         * testsuite/caps/fixed.c:
10111         * testsuite/caps/fraction-convert.c:
10112         * testsuite/caps/fraction-multiply-and-zero.c:
10113         * testsuite/caps/intersect2.c:
10114         * testsuite/caps/intersection.c:
10115         * testsuite/caps/normalisation.c:
10116         * testsuite/caps/random.c:
10117         * testsuite/caps/renegotiate.c:
10118         * testsuite/caps/sets.c:
10119         * testsuite/caps/simplify.c:
10120         * testsuite/caps/string-conversions.c:
10121         * testsuite/caps/structure.c:
10122         * testsuite/caps/subtract.c:
10123         * testsuite/caps/union.c:
10124         * testsuite/debug/.cvsignore:
10125         * testsuite/debug/Makefile.am:
10126         * testsuite/debug/category.c:
10127         * testsuite/debug/commandline.c:
10128         * testsuite/debug/global.c:
10129         * testsuite/debug/output.c:
10130         * testsuite/debug/printf_extension.c:
10131         * testsuite/dlopen/.cvsignore:
10132         * testsuite/dlopen/Makefile.am:
10133         * testsuite/dlopen/dlopen_gst.c:
10134         * testsuite/dlopen/loadgst.c:
10135         * testsuite/elements/.cvsignore:
10136         * testsuite/elements/Makefile.am:
10137         * testsuite/elements/gst-inspect-check.in:
10138         * testsuite/elements/struct_i386.h:
10139         * testsuite/elements/struct_size.c:
10140         * testsuite/indexers/.cvsignore:
10141         * testsuite/indexers/Makefile.am:
10142         * testsuite/indexers/cache1.c:
10143         * testsuite/indexers/indexdump.c:
10144         * testsuite/parse/.cvsignore:
10145         * testsuite/parse/Makefile.am:
10146         * testsuite/parse/parse1.c:
10147         * testsuite/parse/parse2.c:
10148         * testsuite/plugin/.cvsignore:
10149         * testsuite/plugin/Makefile.am:
10150         * testsuite/plugin/README:
10151         * testsuite/plugin/dynamic.c:
10152         * testsuite/plugin/linked.c:
10153         * testsuite/plugin/loading.c:
10154         * testsuite/plugin/registry.c:
10155         * testsuite/plugin/static.c:
10156         * testsuite/plugin/static2.c:
10157         * testsuite/plugin/testplugin.c:
10158         * testsuite/plugin/testplugin2.c:
10159         * testsuite/plugin/testplugin2_s.c:
10160         * testsuite/plugin/testplugin_s.c:
10161         * testsuite/refcounting/.cvsignore:
10162         * testsuite/refcounting/Makefile.am:
10163         * testsuite/refcounting/bin.c:
10164         * testsuite/refcounting/element.c:
10165         * testsuite/refcounting/element_pad.c:
10166         * testsuite/refcounting/mainloop.c:
10167         * testsuite/refcounting/mem.c:
10168         * testsuite/refcounting/mem.h:
10169         * testsuite/refcounting/object.c:
10170         * testsuite/refcounting/pad.c:
10171         * testsuite/refcounting/sched.c:
10172         * testsuite/refcounting/thread.c:
10173         * testsuite/states/.cvsignore:
10174         * testsuite/states/Makefile.am:
10175         * testsuite/states/bin.c:
10176         * testsuite/states/locked.c:
10177         * testsuite/states/parent.c:
10178         * testsuite/threads/.cvsignore:
10179         * testsuite/threads/159566.c:
10180         * testsuite/threads/159852.c:
10181         * testsuite/threads/Makefile.am:
10182         * testsuite/threads/queue.c:
10183         * testsuite/threads/signals.c:
10184         * testsuite/threads/staticrec.c:
10185         * testsuite/threads/thread.c:
10186         * testsuite/threads/threadb.c:
10187         * testsuite/threads/threadc.c:
10188         * testsuite/threads/threadd.c:
10189         * testsuite/threads/threade.c:
10190         * testsuite/threads/threadf.c:
10191         * testsuite/threads/threadg.c:
10192         * testsuite/threads/threadh.c:
10193         * testsuite/threads/threadi.c:
10194           move all of these under tests
10195
10196 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10197
10198         * configure.ac:
10199         * tests/Makefile.am:
10200           fix distcheck
10201
10202 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10203
10204         * docs/gst/gstreamer-sections.txt:
10205         * tests/sched/.cvsignore:
10206         * tests/sched/Makefile.am:
10207         * tests/sched/cases/(fs-fs).xml:
10208         * tests/sched/cases/(fs-i-fs).xml:
10209         * tests/sched/cases/(fs-i-i-fs).xml:
10210         * tests/sched/cases/(fs-i-q[i-fs]).xml:
10211         * tests/sched/dynamic-pipeline.c:
10212         * tests/sched/interrupt1.c:
10213         * tests/sched/interrupt2.c:
10214         * tests/sched/interrupt3.c:
10215         * tests/sched/runtestcases:
10216         * tests/sched/runxml.c:
10217         * tests/sched/sched-stress.c:
10218         * tests/sched/sort.c:
10219         * tests/sched/testcases:
10220         * tests/sched/testcases1.tc:
10221         * tests/seeking/.cvsignore:
10222         * tests/seeking/Makefile.am:
10223         * tests/seeking/seeking1.c:
10224         * tests/threadstate/.cvsignore:
10225         * tests/threadstate/Makefile.am:
10226         * tests/threadstate/test1.c:
10227         * tests/threadstate/test2.c:
10228         * tests/threadstate/threadstate1.c:
10229         * tests/threadstate/threadstate2.c:
10230         * tests/threadstate/threadstate3.c:
10231         * tests/threadstate/threadstate4.c:
10232         * tests/threadstate/threadstate5.c:
10233           remove obsolete tests
10234         * configure.ac:
10235         * tests/bench-complexity.scm:
10236         * tests/bench-mass_elements.scm:
10237         * tests/complexity.c:
10238         * tests/complexity.gnuplot:
10239         * tests/instantiate/.cvsignore:
10240         * tests/instantiate/Makefile.am:
10241         * tests/instantiate/caps.c:
10242         * tests/mass_elements.c:
10243         * tests/network-clock-utils.scm:
10244         * tests/network-clock.scm:
10245         * tests/plot-data:
10246         First pass at cleaning up tests/ dir before moving the rest
10247         Combined with CVS surgery
10248
10249 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10250
10251         * po/POTFILES.in:
10252           queue has moved, update
10253
10254 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10255
10256         * docs/gst/gstreamer-sections.txt:
10257           remove double entries from the docs
10258         * gst/gst_private.h:
10259         * gst/gstinfo.c: (_gst_debug_init):
10260           remove the THREAD debug category
10261         * gst/Makefile.am:
10262         * gst/gstqueue.c:
10263         * gst/gstqueue.h:
10264         * docs/gst/gstreamer.types:
10265         * plugins/elements/gstqueue.c: (gst_queue_get_type),
10266         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
10267           completely move queue and fix up debugging categories
10268
10269 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10270
10271         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10272           make initialization portable, using LL is not
10273
10274 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10275
10276         * win32/common/gstconfig.h:
10277           add large padding
10278
10279 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10280
10281         * win32/common/libgstreamer.def:
10282           rename symbols; sort base section
10283
10284 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10285
10286         * gst/gstclock.c: (do_linear_regression):
10287           remove crack non-portable handrolled DEBUG macro
10288
10289 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10290
10291         * docs/random/release:
10292           update notes
10293         * win32/common/gstenumtypes.c: (register_gst_object_flags),
10294         (gst_object_flags_get_type), (register_gst_bin_flags),
10295         (gst_bin_flags_get_type), (register_gst_buffer_flag),
10296         (gst_buffer_flag_get_type), (register_gst_bus_flags),
10297         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10298         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
10299         (gst_caps_flags_get_type), (register_gst_clock_return),
10300         (gst_clock_return_get_type), (register_gst_clock_entry_type),
10301         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10302         (gst_clock_flags_get_type), (register_gst_state),
10303         (gst_state_get_type), (register_gst_state_change_return),
10304         (gst_state_change_return_get_type), (register_gst_state_change),
10305         (gst_state_change_get_type), (register_gst_element_flags),
10306         (gst_element_flags_get_type), (register_gst_core_error),
10307         (gst_core_error_get_type), (register_gst_library_error),
10308         (gst_library_error_get_type), (register_gst_resource_error),
10309         (gst_resource_error_get_type), (register_gst_stream_error),
10310         (gst_stream_error_get_type), (register_gst_event_type_flags),
10311         (gst_event_type_flags_get_type), (register_gst_event_type),
10312         (gst_event_type_get_type), (register_gst_seek_type),
10313         (gst_seek_type_get_type), (register_gst_seek_flags),
10314         (gst_seek_flags_get_type), (register_gst_format),
10315         (gst_format_get_type), (register_gst_index_certainty),
10316         (gst_index_certainty_get_type), (register_gst_index_entry_type),
10317         (gst_index_entry_type_get_type),
10318         (register_gst_index_lookup_method),
10319         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10320         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10321         (gst_index_resolver_method_get_type), (register_gst_index_flags),
10322         (gst_index_flags_get_type), (register_gst_debug_level),
10323         (gst_debug_level_get_type), (register_gst_debug_color_flags),
10324         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10325         (gst_iterator_result_get_type), (register_gst_iterator_item),
10326         (gst_iterator_item_get_type), (register_gst_message_type),
10327         (gst_message_type_get_type), (register_gst_mini_object_flags),
10328         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10329         (gst_pad_link_return_get_type), (register_gst_flow_return),
10330         (gst_flow_return_get_type), (register_gst_activate_mode),
10331         (gst_activate_mode_get_type), (register_gst_pad_direction),
10332         (gst_pad_direction_get_type), (register_gst_pad_flags),
10333         (gst_pad_flags_get_type), (register_gst_pad_presence),
10334         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10335         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10336         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10337         (gst_plugin_error_get_type), (register_gst_plugin_flags),
10338         (gst_plugin_flags_get_type), (register_gst_rank),
10339         (gst_rank_get_type), (register_gst_query_type),
10340         (gst_query_type_get_type), (register_gst_tag_merge_mode),
10341         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10342         (gst_tag_flag_get_type), (register_gst_task_state),
10343         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10344         (gst_alloc_trace_flags_get_type),
10345         (register_gst_type_find_probability),
10346         (gst_type_find_probability_get_type), (register_gst_uri_type),
10347         (gst_uri_type_get_type), (register_gst_parse_error),
10348         (gst_parse_error_get_type):
10349         * win32/common/gstenumtypes.h:
10350         * win32/common/gstversion.h:
10351           update visual studio generated files
10352
10353 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10354
10355         * win32/vs6/libgstbase.dsp:
10356         * win32/vs6/libgstelements.dsp:
10357           update project files for new locations
10358
10359 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10360
10361         * Makefile.am:
10362           remove some files
10363         * README:
10364           reinstate and update
10365         * DEVEL:
10366         * REQUIREMENTS:
10367           removed
10368         * LICENSE:
10369         * docs/random/LICENSE:
10370           moved to random
10371
10372 2005-11-30  Edward Hervey  <edward@fluendo.com>
10373
10374         * gst/gsttypefind.c: (gst_type_find_register):
10375         * gst/gsttypefind.h:
10376         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
10377         (gst_type_find_factory_dispose):
10378         * gst/gsttypefindfactory.h:
10379         Fix memory leak in GstTypeFindFactory.
10380
10381 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10382
10383         * gst/gst.c:
10384         * plugins/elements/Makefile.am:
10385         * plugins/elements/gstelements.c:
10386         * plugins/elements/gstqueue.c:
10387           move queue from core to the elements plugin
10388
10389 2005-11-29  Andy Wingo  <wingo@pobox.com>
10390
10391         * libs/gst/base/gstbasetransform.h: 
10392         * libs/gst/base/gstbasesrc.h: 
10393         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
10394
10395         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
10396         of pointers by which to pad very extensible base classes (like the
10397         ones in libs/gst/base).
10398
10399 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10400
10401         * docs/gst/gstreamer-docs.sgml:
10402         * docs/gst/gstreamer-sections.txt:
10403         * docs/libs/gstreamer-libs-docs.sgml:
10404         * docs/libs/gstreamer-libs-sections.txt:
10405           moving documentation from core to lib
10406
10407 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10408
10409         * check/Makefile.am:
10410         * configure.ac:
10411         * docs/gst/Makefile.am:
10412         * gst/Makefile.am:
10413         * gst/base/.cvsignore:
10414         * gst/base/Makefile.am:
10415         * gst/base/README:
10416         * gst/base/gstadapter.c:
10417         * gst/base/gstadapter.h:
10418         * gst/base/gstbasesink.c:
10419         * gst/base/gstbasesink.h:
10420         * gst/base/gstbasesrc.c:
10421         * gst/base/gstbasesrc.h:
10422         * gst/base/gstbasetransform.c:
10423         * gst/base/gstbasetransform.h:
10424         * gst/base/gstcollectpads.c:
10425         * gst/base/gstcollectpads.h:
10426         * gst/base/gstpushsrc.c:
10427         * gst/base/gstpushsrc.h:
10428         * gst/base/gsttypefindhelper.c:
10429         * gst/base/gsttypefindhelper.h:
10430         * gst/check/Makefile.am:
10431         * gst/check/gstcheck.c:
10432         * gst/check/gstcheck.h:
10433         * gst/net/Makefile.am:
10434         * gst/net/gstnet.h:
10435         * gst/net/gstnetclientclock.c:
10436         * gst/net/gstnetclientclock.h:
10437         * gst/net/gstnettimepacket.c:
10438         * gst/net/gstnettimepacket.h:
10439         * gst/net/gstnettimeprovider.c:
10440         * gst/net/gstnettimeprovider.h:
10441         * libs/gst/Makefile.am:
10442         * libs/gst/base/Makefile.am:
10443         * libs/gst/base/gstbasetransform.c:
10444         * libs/gst/check/Makefile.am:
10445         * plugins/elements/Makefile.am:
10446         * po/POTFILES.in:
10447           CVS surgery + support to move base, check, and net out of gst
10448           and into libs/gst
10449
10450 2005-11-29  Andy Wingo  <wingo@pobox.com>
10451
10452         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
10453
10454         * gst/gststructure.h (struct _GstStructure): Only one pointer of
10455         padding.
10456
10457         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
10458
10459         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
10460
10461         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
10462
10463         * gst/gstobject.h: (struct _GstObject): Only one pointer of
10464         padding; reduces object size by about 30%. We don't expect
10465         anything else to go into gstobject.
10466
10467         * gst/gstminiobject.h (struct _GstMiniObject)
10468         (struct _GstMiniObjectClass): Only one pointer of padding; the
10469         payload is only a pointer and two ints anyway. For the class there
10470         are only two methods as well.
10471         
10472         * gst/gstelement.h (struct _GstElementClass): Removed
10473         the state_changed signal callback, it is not used.
10474
10475 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10476
10477         * docs/gst/gstreamer.types:
10478           fix includes, though they are a little dinky
10479
10480 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10481
10482         * check/Makefile.am:
10483           look in the right place for elements, a lot more chance of
10484           success
10485         * gst/Makefile.am:
10486           remove indexers and elements subdirs
10487         * plugins/Makefile.am:
10488           make indexers conditional
10489
10490 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10491
10492         * Makefile.am:
10493         * configure.ac:
10494         * plugins/elements/Makefile.am:
10495         * plugins/elements/gstcapsfilter.c:
10496         * plugins/elements/gstfilesink.c:
10497         * plugins/elements/gstfilesrc.c:
10498         * plugins/elements/gstidentity.c:
10499         * plugins/indexers/Makefile.am:
10500           do CVS surgery and related build fixery to move elements
10501           and indexers in a new gstreamer/plugins directory, out of the
10502           gst/ directory
10503
10504 2005-11-29  Andy Wingo  <wingo@pobox.com>
10505
10506         * check/Makefile.am:
10507         * pkgconfig/gstreamer-net-uninstalled.pc.in:
10508         * pkgconfig/gstreamer-net.pc.in:
10509         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
10510         #322257.
10511
10512 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10513
10514         * tools/Makefile.am:
10515         * tools/gst-complete.1.in:
10516         * tools/gst-complete.c:
10517         * tools/gst-compprep.1.in:
10518         * tools/gst-compprep.c:
10519           removing -compprep and -complete
10520
10521 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10522
10523         * gst/gstevent.c: (gst_event_new_new_segment),
10524         (gst_event_parse_new_segment):
10525         * gst/gstevent.h:
10526           fix #320529 - clean up new_segment API and structure.
10527           Let's hope everyone was using the methods, and not the structure.
10528
10529 2005-11-29  Edward Hervey  <edward@fluendo.com>
10530
10531         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10532         (gst_base_sink_event), (gst_base_sink_do_sync),
10533         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
10534         Properly handle non GST_FORMAT_TIME segment
10535         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
10536         Properly handle non GST_FORMAT_TIME segment
10537         * gst/gstsegment.c:
10538         This function is valid if the accumulator is 0 and the format
10539         is different from the requested format.
10540         
10541 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
10542
10543         * docs/gst/gstreamer-sections.txt:
10544         Add gst_query_new_seeking and gst_query_parse_seeking to the
10545         docs.
10546
10547 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
10548
10549         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
10550           Treat a pad alloc with new caps the same as if we were not
10551           negotiated, in order to allow a changing upstream output
10552           to produce a new format of data.
10553
10554 2005-11-29  Edward Hervey  <edward@fluendo.com>
10555
10556         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10557         (gst_base_transform_event), (gst_base_transform_eventfunc):
10558         The event virtual method is now properly implemented, with a default
10559         handler
10560         Sub classes should call the parent_class event method. They should
10561         return FALSE if they had a problem handling the given event, or don't
10562         want GstBaseTransform to send that even downstream
10563         * gst/elements/gstidentity.c: (gst_identity_class_init),
10564         (gst_identity_init), (gst_identity_event),
10565         (gst_identity_transform_ip), (gst_identity_set_property),
10566         (gst_identity_get_property):
10567         * gst/elements/gstidentity.h:
10568         Added the single-segment boolean property.
10569         If set to TRUE, it will output a single segment of data, starting from
10570         0, will eat up all incoming newsegment, and modify the timestamp of the
10571         buffers accordingly
10572
10573 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
10574
10575         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
10576           Don't ref NULL target pad (#322751). Improve docs.
10577
10578 2005-11-29  Michael Smith  <msmith@fluendo.com>
10579
10580         * gst/gstregistryxml.c: (load_plugin):
10581           Don't crash if we failed to load a feature from a plugin. 
10582
10583 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10584
10585         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10586         (GST_START_TEST):
10587           use more check API and less GLib API
10588
10589 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10590
10591         * Makefile.am:
10592           don't run checks if we don't have check
10593         * common/check.mak:
10594           remove the registry when running make torture
10595         * docs/gst/gstreamer-sections.txt:
10596           remove second multiply
10597         * gst/gstqueue.c: (gst_queue_loop):
10598           fix a compile warning when disabling debug
10599
10600 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10601
10602         * gst/gstinfo.h:
10603         Hey! Let's print the pad name if the pointer != NULL instead
10604         of when it == NULL :-)
10605
10606 2005-11-28  Wim Taymans  <wim@fluendo.com>
10607
10608         * check/gst/gstutils.c: (GST_START_TEST):
10609         Updated check, add some scaling accuracy checking code.
10610
10611         * gst/gstutils.c: (gst_util_div128_64),
10612         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
10613         (gst_util_uint64_scale_int):
10614         Fix 6 times faster division code. Optimize for common 
10615         1/1 and less common X/1 cases.
10616
10617 2005-11-28  Wim Taymans  <wim@fluendo.com>
10618
10619         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10620         More checks.
10621
10622         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
10623         (do_linear_regression), (gst_clock_add_observation):
10624         Cleanups.
10625         Release lock when the clock cannot be slaved.
10626         Catch the case where the regression returned an invalid denominator.
10627
10628         * gst/gstutils.c: (gst_util_div128_64_iterate),
10629         (gst_util_div128_64), (gst_util_uint64_scale_int64),
10630         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10631         Add protentially more performant non-iterative 128/64 divide function
10632         that unfortunatly does not work yet.
10633         Shortcut the trivial 0/X = 0 case.
10634         Remove the warnings on overflow.
10635
10636 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10637
10638         * gst/gstplugin.c: (gst_plugin_register_func):
10639           everything causing a plugin not to load should be at least a WARNING
10640
10641 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
10642
10643         * docs/random/ensonic/dparams.txt:
10644           some TODOs for the next dev cycle
10645         * libs/gst/controller/gstcontroller.c:
10646         (gst_controlled_property_set_interpolation_mode),
10647         (gst_controlled_property_new):
10648         * libs/gst/controller/gstcontroller.h:
10649           use base type to assign acccessor functions
10650
10651 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10652
10653         * check/Makefile.am:
10654         Oops, that should have been top_srcdir
10655
10656 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10657
10658         * check/Makefile.am:
10659         * check/elements/fdsrc.c: (GST_START_TEST):
10660         Use a cmdline define to specify the location of a file to use for
10661         testing, to avoid breaking distcheck.
10662
10663 2005-11-28  Andy Wingo  <wingo@pobox.com>
10664
10665         * gst/gstpad.c (fixate_value): Use array functions for arrays.
10666
10667 2005-11-28  Edward Hervey  <edward@fluendo.com>
10668
10669         * tools/gst-launch.c: (main):
10670         Clarify the output strings, makes it easier to translate.
10671         Fixes #322626
10672
10673 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10674
10675         * gst/Makefile.am:
10676           don't try and build net if we don't even have <sys/socket.h>
10677
10678 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
10679
10680         * check/Makefile.am:
10681         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
10682         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
10683           Add tests for fdsrc seekability
10684
10685         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10686         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
10687         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
10688         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
10689         * gst/elements/gstfdsrc.h:
10690           fdsrc should not be a 'live' source.
10691           Implement seeking on seekable fd's.
10692
10693         * gst/gstquery.c: (gst_query_new_seeking),
10694         (gst_query_parse_seeking):
10695         * gst/gstquery.h:
10696           Implement SEEKING query functions: 
10697             *_new_seeking and *_parse_seeking
10698
10699 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
10700
10701         * gst/gstelement.c: (gst_element_dispose):
10702           don't loop forever
10703
10704         * gst/gstiterator.c:
10705         * gst/gststructure.c:
10706           doc fixes
10707
10708         * libs/gst/controller/gstcontroller.c:
10709         (gst_controlled_property_set_interpolation_mode):
10710         * libs/gst/controller/gstcontroller.h:
10711         * libs/gst/controller/gstinterpolation.c:
10712         (interpolate_none_get_enum_value_array):
10713           support controlling enums
10714
10715 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
10716
10717         * gst/gstvalue.c:
10718           Improve documentation for gst_value_union().
10719
10720         * gst/gstvalue.h:
10721           Change return value for union, intersect and subtract functions
10722           from gint to gboolean.
10723
10724 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
10725
10726         * gst/gstvalue.c: (gst_value_serialize_any_list),
10727         (gst_value_transform_any_list_string),
10728         (gst_value_deserialize_list), (gst_value_deserialize_array),
10729         (gst_value_set_int_range), (gst_value_deserialize_int_range),
10730         (gst_value_set_double_range), (gst_value_deserialize_double_range),
10731         (gst_value_set_fraction_range_full),
10732         (gst_value_deserialize_fraction_range),
10733         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
10734         (gst_value_deserialize_boolean),
10735         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
10736         (gst_value_serialize_float), (gst_value_deserialize_float),
10737         (gst_string_wrap), (gst_value_deserialize_string),
10738         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
10739         (gst_value_union_int_range_int_range),
10740         (gst_value_intersect_int_range_int_range),
10741         (gst_value_intersect_double_range_double_range),
10742         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
10743         (gst_value_subtract_int_range_int_range),
10744         (gst_value_subtract_double_double_range),
10745         (gst_value_subtract_double_range_double_range),
10746         (gst_value_deserialize_fraction):
10747         * gst/gstvalue.h:
10748           Use gint, gdouble and gchar in our API instead of int, double and
10749           char (and make usage in gstvalue.c more consistent).
10750
10751 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10752
10753         * check/Makefile.am:
10754         * libs/gst/controller/Makefile.am:
10755         * libs/gst/dataprotocol/Makefile.am:
10756           fix up Makefile.am and remove GST_ENABLE_NEW
10757
10758 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10759
10760         * configure.ac:
10761         * gst/Makefile.am:
10762         * gst/base/Makefile.am:
10763         * gst/check/Makefile.am:
10764         * gst/elements/Makefile.am:
10765         * gst/net/Makefile.am:
10766           update LDFLAGS use some more
10767
10768 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10769
10770         * common/m4/gst-doc.m4:
10771           Fixes #312589
10772
10773 2005-11-26  Edward Hervey  <edward@fluendo.com>
10774
10775         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10776         This shouldn't issue a g_warning since it returns NULL if it
10777         couldn't find the plugin, and all functions using this behave
10778         properly on a NULL return. Switching to a GST_WARNING.
10779
10780 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
10781
10782         * gst/gstbin.c: (gst_bin_handle_message_func):
10783         Don't leak clock messages.
10784
10785 2005-11-25  Wim Taymans  <wim@fluendo.com>
10786
10787         * gst/gstutils.c: (gst_util_uint64_scale_int64),
10788         (gst_util_uint64_scale_int):
10789         Optimisations, remove unneeded vars.
10790
10791 2005-11-25  Wim Taymans  <wim@fluendo.com>
10792
10793         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10794         Added more checks for the high precision uint64 cases.
10795
10796         * gst/gstutils.c: (gst_util_uint64_scale_int64),
10797         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10798         Implement high precision (guint64 * guint64) / guint64.
10799
10800 2005-11-24  Wim Taymans  <wim@fluendo.com>
10801
10802         * gst/base/gstbasesrc.c: (gst_base_src_query):
10803         Fix wrong percentage query.
10804
10805         * gst/gstutils.c: (gst_util_uint64_scale),
10806         (gst_util_uint64_scale_int):
10807         Add some more common cases that can be handled 
10808         efficiently to _scale.
10809
10810 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10811
10812         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
10813         (gst_mini_object_suite):
10814           don't use check calls from threads; check probably isn't
10815           threadsafe and using a lock to make it threadsafe would
10816           defeat the purpose of this check
10817         * gst/check/gstcheck.c:
10818         * gst/check/gstcheck.h:
10819           use GST_DEBUG some more
10820
10821 2005-11-24  Wim Taymans  <wim@fluendo.com>
10822
10823         * gst/gstutils.c: (gst_util_uint64_scale),
10824         (gst_util_uint64_scale_int):
10825         Chain trivial case to _scale_int.
10826
10827 2005-11-24  Wim Taymans  <wim@fluendo.com>
10828
10829         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10830         Added test for scaling.
10831
10832         * gst/gstclock.h:
10833         Small doc fix.
10834
10835         * gst/gstutils.c: (gst_util_uint64_scale_int):
10836         Implemented high precision scaling code.
10837
10838 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
10839
10840         * gst/gstinfo.h:
10841           do not crash on pad==NULL
10842
10843 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10844
10845         Patch by: Stefan Kost
10846
10847         * common/gtk-doc.mak:
10848         * docs/gst/Makefile.am:
10849         * docs/libs/Makefile.am:
10850           Fix distcheck issues for the libraries docs build
10851           Closes #319599.
10852
10853 2005-11-24  Michael Smith <msmith@fluendo.com>
10854
10855         * docs/manual/basics-helloworld.xml:
10856           Fix bug #315027: memory leak in example code in docs.
10857
10858 2005-11-24  Michael Smith <msmith@fluendo.com>
10859
10860         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10861           Unlock the PREROLL_LOCK in a failure case.
10862
10863 2005-11-24  Wim Taymans  <wim@fluendo.com>
10864
10865         * docs/gst/gstreamer-sections.txt:
10866         * gst/base/gstadapter.h:
10867         * gst/base/gstbasesink.h:
10868         * gst/base/gstbasesrc.h:
10869         * gst/base/gstbasetransform.h:
10870         * gst/base/gstpushsrc.h:
10871         * gst/elements/gstfakesink.h:
10872         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
10873         * gst/elements/gstfakesrc.h:
10874         * gst/elements/gstfilesink.h:
10875         * gst/elements/gstfilesrc.h:
10876         * gst/gst.c:
10877         * gst/gstbin.c:
10878         * gst/gstbuffer.c: (_gst_buffer_copy):
10879         * gst/gstbus.h:
10880         * gst/gstcaps.c:
10881         * gst/gstchildproxy.c:
10882         * gst/gstclock.c:
10883         * gst/gstelement.c:
10884         * gst/gstelementfactory.c:
10885         * gst/gstelementfactory.h:
10886         * gst/gstevent.c:
10887         * gst/gstghostpad.h:
10888         * gst/gstindex.h:
10889         * gst/gstinterface.h:
10890         * gst/gstminiobject.c:
10891         * gst/gstminiobject.h:
10892         * gst/gstpad.c:
10893         * gst/gstpad.h:
10894         * gst/gstpadtemplate.h:
10895         * gst/gstpipeline.h:
10896         * gst/gstpluginfeature.h:
10897         * gst/gstquery.h:
10898         * gst/gstqueue.h:
10899         * gst/gsttaglist.c:
10900         * gst/gsttaglist.h:
10901         * gst/gsttagsetter.c:
10902         * gst/gsttagsetter.h:
10903         * gst/gsttrace.c:
10904         * gst/gsttrace.h:
10905         * gst/gsttypefind.h:
10906         * gst/gsturi.h:
10907         * gst/gstvalue.c:
10908         * gst/net/gstnetclientclock.c:
10909         * gst/net/gstnetclientclock.h:
10910         * gst/net/gstnettimepacket.c:
10911         * gst/net/gstnettimeprovider.c:
10912         * gst/net/gstnettimeprovider.h:
10913         Doc fixes.
10914
10915 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10916
10917         * configure.ac: back to HEAD
10918
10919 === release 0.9.6 ===
10920
10921 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
10922
10923         * configure.ac:
10924           releasing 0.9.6, "Always On Time"
10925
10926 2005-11-23  Wim Taymans  <wim@fluendo.com>
10927
10928         * docs/gst/gstreamer-sections.txt:
10929         * gst/glib-compat.c:
10930         * gst/gsttagsetter.c:
10931         * gst/gstvalue.c:
10932         * gst/net/gstnetclientclock.c:
10933         * gst/net/gstnettimepacket.h:
10934         Doc updates.
10935
10936 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10937
10938         * docs/faq/using.xml:
10939         * docs/libs/tmpl/gstcontrol.sgml:
10940         * docs/manual/advanced-dparams.xml:
10941         * docs/manual/appendix-checklist.xml:
10942         * docs/manual/basics-elements.xml:
10943         * docs/pwg/other-source.xml:
10944         * docs/random/moving-plugins:
10945         * gst/gstpad.c:
10946         * tools/gst-launch.1.in:
10947           remove mentions of sinesrc
10948
10949 2005-11-23  Michael Smith <msmith@fluendo.com>
10950
10951         * docs/gst/gstreamer-sections.txt:
10952           Update for new API and API changes.
10953         * gst/gstobject.h:
10954           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
10955         * gst/gstvalue.c:
10956           Documentation typo fix.
10957         * gst/net/gstnettimepacket.c:
10958           Documentation fixes for arguments.
10959
10960 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
10961
10962         * gst/gststructure.c: (gst_structure_get_fraction),
10963         (gst_structure_parse_value),
10964         (gst_structure_fixate_field_nearest_fraction):
10965         * gst/gststructure.h:
10966         * gst/gstutils.c: (gst_util_uint64_scale_int):
10967         * gst/gstutils.h:
10968         * scripts/update-funcnames:
10969         API Changes. 
10970         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
10971         Make gst_structure_fixate_field_nearest_fraction take a numerator
10972         and denominator argument instead of a GValue
10973         add gst_structure_get_fraction helper function.
10974
10975 2005-11-23  Wim Taymans  <wim@fluendo.com>
10976
10977         * docs/design/part-TODO.txt:
10978         Update TODO.
10979
10980         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10981         * gst/net/gstnetclientclock.h:
10982         Use parent fields for timeout and window_size.
10983
10984 2005-11-23  Andy Wingo  <wingo@pobox.com>
10985
10986         * check/net/gstnetclientclock.c (test_functioning): Adjust to
10987         rate_num/rate_denom change.
10988
10989         * gst/net/gstnetclientclock.c
10990         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
10991         OBJECT_LOCK. Don't call add_observation with the lock.
10992
10993         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
10994         fraction.
10995         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
10996         rate fraction.
10997         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
10998         deal with rate as a fraction whose numerator and denominator are
10999         GstClockTime values.
11000         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
11001         master; the other fields are protected by the SLAVE_LOCK.
11002         (do_linear_regression): Note that this must be called with the
11003         SLAVE_LOCK.
11004         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
11005         OBJECT_LOCK. Call set_calibration instead of touching the
11006         variables directly.
11007         (gst_clock_set_property, gst_clock_get_property): Protect
11008         master/slave parameters with the SLAVE_LOCK.
11009
11010         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
11011         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
11012         note that all of the instance variables that add_observation and
11013         the set_master functions use are protected by that lock and not
11014         the OBJECT_LOCK.
11015         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
11016
11017         * gst/gstclock.c (gst_clock_add_observation): No longer requires
11018         the caller to take the object lock.
11019
11020 2005-11-23  Wim Taymans  <wim@fluendo.com>
11021
11022         * gst/gsterror.c: (_gst_core_errors_init):
11023         * gst/gsterror.h:
11024         Add error for clock stuff.
11025
11026         * gst/gstpipeline.c: (gst_pipeline_change_state),
11027         (gst_pipeline_set_clock):
11028         Post clock error when clock cannot be used in a pipeline.
11029
11030 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
11031
11032         * docs/gst/gstreamer-sections.txt:
11033           make two symbols from gstinfo private for the docs
11034         * gst/base/gstcollectpads.h:
11035         * gst/gstutils.c:
11036           fix doc typos, update docs
11037
11038 2005-11-22  Wim Taymans  <wim@fluendo.com>
11039
11040         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11041         (gst_base_sink_wait), (gst_base_sink_do_sync),
11042         (gst_base_sink_handle_event):
11043         * gst/base/gstbasesink.h:
11044         No need to store the clock, the parent element class already
11045         has it.
11046
11047         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
11048         Updates for clock_set returning a gboolean
11049
11050         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
11051         (gst_clock_id_wait_async), (gst_clock_class_init),
11052         (gst_clock_init), (gst_clock_finalize),
11053         (gst_clock_get_internal_time), (gst_clock_get_time),
11054         (gst_clock_slave_callback), (gst_clock_set_master),
11055         (gst_clock_get_master), (do_linear_regression),
11056         (gst_clock_add_observation), (gst_clock_set_property),
11057         (gst_clock_get_property):
11058         * gst/gstclock.h:
11059         Implement master/slave. When setting a clock as a slave, a
11060         periodic timeout is scheduled to sample master and slave times.
11061         Then the slave clock is recalibrated to match offset and rate
11062         of the master clock.
11063         Update logging a bit.
11064         Add flag so that a clock can state that is cannot be slaved to
11065         another clock.
11066
11067         * gst/gstelement.c: (gst_element_set_clock):
11068         * gst/gstelement.h:
11069         The set clock returns a gboolean for when an element cannot
11070         deal with the selected clock in the pipeline. 
11071
11072         * gst/gstpipeline.c: (gst_pipeline_change_state),
11073         (gst_pipeline_set_clock):
11074         * gst/gstpipeline.h:
11075         Handle the case where the selected clock cannot be set on
11076         the pipeline.
11077
11078         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
11079         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11080         (gst_net_client_clock_set_property),
11081         (gst_net_client_clock_get_property),
11082         (gst_net_client_clock_observe_times):
11083         * gst/net/gstnetclientclock.h:
11084         Use regression code in GstClock parent, remove duplicated
11085         functionality.
11086
11087 2005-11-22  Michael Smith <msmith@fluendo.com>
11088
11089         * gst/gstutils.c: (gst_util_clock_time_scale):
11090         * gst/gstutils.h:
11091         * docs/gst/gstreamer-sections.txt:
11092           Rename method to have extra underscore.
11093
11094 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11095
11096         * gst/elements/Makefile.am:
11097         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
11098         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11099         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
11100         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
11101         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
11102         * gst/elements/gstfakesrc.h:
11103         * gst/gstqueue.c: (queue_leaky_get_type):
11104           correctly fix GEnumValues so that nick is the short lowercase
11105           dashed tag
11106         * tools/gst-inspect.c: (print_element_properties_info):
11107           also show the nick, since it's useful to use from parse_launch
11108           syntax
11109           Fixes #322139
11110
11111 2005-11-22  Michael Smith <msmith@fluendo.com>
11112
11113         * gst/gstutils.c: (gst_util_clocktime_scale):
11114         * gst/gstutils.h:
11115         * docs/gst/gstreamer-sections.txt:
11116           Add util method for scaling a clocktime by a fraction. Useful 
11117           implementation is left as an exercise for the reader.
11118
11119 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11120
11121         * gst/gstvalue.c: (gst_value_collect_fraction_range):
11122         If needed, allocate storage in the destination value during
11123         collection.
11124
11125 2005-11-22  Edward Hervey  <edward@fluendo.com>
11126
11127         * docs/gst/gstreamer-sections.txt:
11128         * gst/Makefile.am:
11129         * gst/gst.h:
11130         * gst/gsturitype.c:
11131         * gst/gsturitype.h:
11132         * gst/gstutils.c: (gst_util_set_object_arg):
11133         * tools/gst-compprep.c: (main):
11134         * tools/gst-inspect.c: (print_element_properties_info):
11135         Removed GstURI, closes bug #321061
11136
11137 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11138
11139         * check/gst/gststructure.c: (GST_START_TEST):
11140         * gst/gststructure.c: (gst_structure_parse_value):
11141           Oops, broke automatic string type parsing.
11142           Add a test to catch it in future.
11143
11144 2005-11-22  Andy Wingo  <wingo@pobox.com>
11145
11146         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
11147         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
11148         Actually rename the function implementations. Grr.
11149
11150 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11151
11152         * check/gst/capslist.h:
11153           Comment test cases
11154         * check/gst/gststructure.c: (GST_START_TEST),
11155         (gst_structure_suite):
11156           Test automatic value type detection in gst_structure_from_string.
11157         * gst/gststructure.c: (gst_structure_parse_value):
11158           Add fraction as a type we try and guess automatically in
11159           caps/structure strings.
11160
11161 2005-11-22  Andy Wingo  <wingo@pobox.com>
11162
11163         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
11164
11165         * gst/gsttagsetter.h:
11166         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
11167         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
11168         (gst_tag_setter_add_tag_valist)
11169         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
11170         _add_values, _add_valist, and _add_valist_values. Since this is an
11171         interface the function suffixes should be more explicit so
11172         language binding don't end up with element.add_valist ->
11173         gst_tag_setter_add_valist, for example. Fixes #322069.
11174
11175 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11176
11177         * check/gst/gstcaps.c: (GST_START_TEST):
11178           Extend caps string tests to check that a caps to string
11179           conversion is reversible and produces the same caps.
11180
11181         * gst/gststructure.c: (gst_structure_value_get_generic_type):
11182           Output "fraction" as the generic type fraction range, so caps
11183           serialisation and deserialisation works.
11184         * check/gst/capslist.h:
11185         * gst/gstvalue.c: (gst_value_deserialize_fraction):
11186           Support 'MIN' and 'MAX' for deserialising fractions.
11187
11188 2005-11-22  Andy Wingo  <wingo@pobox.com>
11189
11190         * gst/gstevent.h (gst_event_new_new_segment)
11191         (gst_event_parse_new_segment, gst_event_new_buffer_size)
11192         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
11193         Renamed from *_newsegment, *_buffersize, *_notarget.
11194
11195         * scripts/update-funcnames: New script, performs the changes
11196         listed above.
11197
11198 2005-11-22  Wim Taymans  <wim@fluendo.com>
11199
11200         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11201         Make sure the GstFlowReturn is returned.
11202
11203         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
11204         (gst_bus_add_signal_watch):
11205         * gst/gstbus.h:
11206         add gst_bus_add_signal_watch_full.
11207
11208         * gst/gstplugin.c: (gst_plugin_load_file):
11209         Small style cleanup.
11210
11211 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11212
11213         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
11214           Block the fakesrc srcpad when we send an event, to avoid
11215           contention on the stream_lock causing random test failures.
11216
11217 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11218
11219         * check/gst/gstvalue.c: (GST_START_TEST):
11220         * gst/gstvalue.c: (gst_value_fraction_subtract):
11221           Fix subtraction.
11222
11223 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
11224
11225         * gst/gst.h:
11226           include "gstchildproxy.h"
11227         * gst/gstchildproxy.h:
11228         * libs/gst/controller/gstcontroller.h:
11229           use G_GNUC_NULL_TERMINATED
11230
11231 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11232
11233         * check/gst/capslist.h:
11234         * check/gst/gstcaps.c: (GST_START_TEST):
11235         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11236         * gst/gststructure.c: (gst_structure_parse_range),
11237         (gst_structure_fixate_field_nearest_fraction):
11238         * gst/gststructure.h:
11239         * gst/gstvalue.c: (gst_value_init_fraction_range),
11240         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11241         (gst_value_collect_fraction_range),
11242         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
11243         (gst_value_set_fraction_range_full),
11244         (gst_value_get_fraction_range_min),
11245         (gst_value_get_fraction_range_max),
11246         (gst_value_serialize_fraction_range),
11247         (gst_value_transform_fraction_range_string),
11248         (gst_value_compare_fraction_range),
11249         (gst_value_deserialize_fraction_range),
11250         (gst_value_intersect_fraction_fraction_range),
11251         (gst_value_intersect_fraction_range_fraction_range),
11252         (gst_value_subtract_fraction_fraction_range),
11253         (gst_value_subtract_fraction_range_fraction),
11254         (gst_value_subtract_fraction_range_fraction_range),
11255         (gst_value_collect_fraction), (gst_value_fraction_multiply),
11256         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
11257         (gst_value_transform_string_fraction), (_gst_value_initialize):
11258         * gst/gstvalue.h:
11259           Implement fraction ranges and extend GstFraction to support
11260           arithmetic subtraction, as well as deserialization from integer
11261           strings such as "100"
11262           Add a testsuite as for int and double range set operations
11263
11264 2005-11-21  Andy Wingo  <wingo@pobox.com>
11265
11266         * gst/gsttaglist.h: 
11267         * gst/gstcaps.h: 
11268         * gst/gststructure.h: Add glib-compat.h.
11269
11270 2005-11-21  Wim Taymans  <wim@fluendo.com>
11271
11272         * gst/gstbin.c: (gst_bin_change_state_func):
11273         Fix for #321595
11274
11275 2005-11-21  Wim Taymans  <wim@fluendo.com>
11276
11277         * gst/gstsegment.h:
11278         And add a nice define too.
11279
11280 2005-11-21  Wim Taymans  <wim@fluendo.com>
11281
11282         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
11283         (gst_segment_new), (gst_segment_free), (gst_segment_init),
11284         (gst_segment_set_duration), (gst_segment_set_last_stop),
11285         (gst_segment_set_seek), (gst_segment_set_newsegment),
11286         (gst_segment_to_stream_time), (gst_segment_to_running_time),
11287         (gst_segment_clip):
11288         * gst/gstsegment.h:
11289         Make binding friendly.
11290
11291 2005-11-21  Andy Wingo  <wingo@pobox.com>
11292
11293         * gst/gsttagsetter.h: 
11294         * gst/gsttaglist.h: 
11295         * gst/gststructure.h: 
11296         * gst/gstcaps.h: 
11297         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
11298         #319940.
11299
11300         * gst/gsterror.c (_gst_core_errors_init):
11301         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
11302         category.
11303
11304         * gst/Makefile.am (gst_headers): Add glib-compat.h.
11305         (noinst_HEADERS): noinst the -private.
11306
11307 2005-11-21  Michael Smith <msmith@fluendo.com>
11308
11309         * gst/gstplugin.h:
11310         * gst/gstregistry.h:
11311           Remove unimplemented declarations for which we can see no sensible
11312           use.
11313
11314 2005-11-21  Andy Wingo  <wingo@pobox.com>
11315
11316         * gst/gst.h: Include glib-compat.h.
11317
11318         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
11319
11320         * gst/glib-compat.c: Include the public and the private header.
11321
11322         * gst/glib-compat-private.h: Copied here from glib-compat.h.
11323
11324         * gst/gstvalue.c: 
11325         * gst/gstpad.c: 
11326         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
11327
11328         * check/gst/gstevent.c (create_custom_events): Check that
11329         FLUSH_STOP is serialized.
11330
11331         * check/elements/identity.c (event_func): 
11332         * check/elements/fakesrc.c (event_func): No stream lock, the core
11333         takes it.
11334
11335         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
11336         stream lock taking, yay.
11337
11338         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
11339         ensure that core takes the stream lock.
11340
11341         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
11342         lock name change.
11343
11344         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
11345         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
11346         it already. For the flush start we do take it though so we get the
11347         right preroll state change messages.
11348
11349         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
11350         the stream lock here, the core does it for us.
11351
11352         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
11353         GST_STREAM_GET_LOCK.
11354         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
11355         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
11356         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
11357         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
11358         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
11359         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
11360
11361         * gst/gstpad.c: Update for stream lock name change.
11362
11363         * gst/base/gstbasesink.c: Update for preroll lock name change.
11364
11365 2005-11-21  Wim Taymans  <wim@fluendo.com>
11366
11367         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
11368         (gst_clock_get_master):
11369         * gst/gstclock.h:
11370         * gst/gstsystemclock.c: (gst_system_clock_init):
11371         Convert Clock flags to object flags.
11372         Added methods to manage master/slave clocks.
11373
11374 2005-11-21  Wim Taymans  <wim@fluendo.com>
11375
11376         * check/gst/gstsegment.c: (GST_START_TEST):
11377         * docs/design/part-TODO.txt:
11378         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11379         (gst_base_sink_event), (gst_base_sink_do_sync),
11380         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11381         (gst_base_sink_query), (gst_base_sink_change_state):
11382         * gst/base/gstbasesink.h:
11383         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
11384         (gst_base_src_default_newsegment),
11385         (gst_base_src_configure_segment), (gst_base_src_do_seek),
11386         (gst_base_src_get_range), (gst_base_src_loop),
11387         (gst_base_src_change_state):
11388         * gst/base/gstbasesrc.h:
11389         * gst/base/gstbasetransform.c:
11390         (gst_base_transform_prepare_output_buf),
11391         (gst_base_transform_event), (gst_base_transform_change_state):
11392         * gst/base/gstbasetransform.h:
11393         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11394         (gst_collect_pads_event):
11395         * gst/base/gstcollectpads.h:
11396         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
11397         (gst_fake_src_create):
11398         * gst/elements/gstfakesrc.h:
11399         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11400         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11401         (gst_segment_set_last_stop), (gst_segment_set_seek),
11402         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11403         (gst_segment_to_running_time), (gst_segment_clip):
11404         * gst/gstsegment.h:
11405         More segment updates, replace code in plugins with segment
11406         helper functions.
11407
11408 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11409
11410         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
11411         Don't ignore sscanf results
11412
11413 2005-11-21  Andy Wingo  <wingo@pobox.com>
11414
11415         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
11416
11417         * *.h:
11418         * *.c: Ran scripts/update-macros. Oh yes.
11419
11420         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
11421         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
11422         GST_GET_LOCK, etc.
11423
11424         * scripts/update-macros: New script. Run it on your files to
11425         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
11426         well.
11427
11428 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
11429
11430         * docs/gst/Makefile.am:
11431         * docs/gst/gstreamer-docs.sgml:
11432         * docs/gst/gstreamer-sections.txt:
11433         * docs/gst/gstreamer.types:
11434         * gst/gstinfo.h:
11435           more docs fixes, add new api to the docs
11436
11437 2005-11-21  Andy Wingo  <wingo@pobox.com>
11438
11439         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
11440         state_broadcast call.
11441
11442         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
11443
11444 2005-11-21  Julien MOUTTE  <julien@moutte.net>
11445
11446         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
11447         function calls for arrays.
11448
11449 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
11450
11451         * docs/random/ensonic/media-device-daemon.txt:
11452           wild idea, can this be done?
11453         * docs/gst/gstreamer-sections.txt:
11454         * gst/gsterror.h:
11455         * gst/gstfilter.c:
11456         * gst/gstfilter.h:
11457         * gst/gstplugin.h:
11458         * gst/gstpluginfeature.c:
11459         * gst/gsttrace.c:
11460         * gst/gstvalue.c:
11461         * gst/gstvalue.h:
11462           doc fixes and additions
11463
11464 2005-11-21  Andy Wingo  <wingo@pobox.com>
11465
11466         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
11467         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
11468         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
11469         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
11470         private to the basesrc implementation.
11471
11472         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
11473         behalf of event function if necessary. It should no longer be
11474         necessary to take the stream lock in pad's event functions. Fixes
11475         #320299.
11476
11477 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11478         * docs/gst/gstreamer-sections.txt:
11479         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
11480         (gst_structure_fixate_field_nearest_double),
11481         (gst_structure_fixate_field_boolean):
11482         * gst/gststructure.h:
11483         * win32/common/libgstreamer.def:
11484         * win32/gstreamer.def:
11485
11486         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
11487         (#322027)
11488
11489 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11490
11491         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
11492         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
11493         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
11494         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
11495         (gst_fdsrc_uri_handler_init):
11496         * gst/elements/gstfdsrc.h:
11497           Port fd:// URI handler from 0.8 to fdsrc
11498
11499 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11500
11501         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
11502         (gst_value_serialize_fourcc):
11503         * gst/gstvalue.h:
11504           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
11505           consistent with our other format defines (#320324).
11506
11507 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11508
11509         * gst/gstvalue.c: (gst_value_is_fixed):
11510           Revert previous commit. Value lists are by definition
11511           not fixed, as they are a list of possible values.
11512
11513 2005-11-21  Andy Wingo  <wingo@pobox.com>
11514
11515         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
11516         during the stable series if we need it. Fixes #319178.
11517
11518         * gst/gstevent.c (gst_event_new_filler): Removed.
11519
11520         * check/gst/gstevent.c: Update comment about filler events.
11521
11522 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11523
11524         * gst/gstvalue.c: (gst_value_is_fixed):
11525           Should handle both value arrays and value lists.
11526
11527 2005-11-21  Andy Wingo  <wingo@pobox.com>
11528
11529         patch by: Alessandro Dessina <alessandro nnva org>
11530
11531         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
11532         functions to access arrays. Fixes #321962.
11533
11534 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11535
11536         * docs/gst/gstreamer.types:
11537           gst_collectpads_get_type => gst_collect_pads_get_type.
11538           
11539         * gst/base/gstbasetransform.c:
11540           Remove unused SIGNAL_HANDOFF enum.
11541
11542 2005-11-21  Andy Wingo  <wingo@pobox.com>
11543
11544         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
11545         the event type (upstream, downstream, serialized). Renamed
11546         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
11547         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
11548         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
11549
11550         * gst/gstevent.c: Update for new CUSTOM event names.
11551
11552         * check/gst/gstevent.c: Update check for new CUSTOM event names.
11553
11554         * gst/gstevent.h:
11555         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
11556         bug #319392.
11557
11558 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11559
11560         * docs/gst/gstreamer-sections.txt:
11561         * win32/common/libgstbase.def:
11562         * win32/libgstbase.def:
11563         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11564         (gst_collect_pads_class_init), (gst_collect_pads_init),
11565         (gst_collect_pads_finalize), (gst_collect_pads_new),
11566         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
11567         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
11568         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
11569         (gst_collect_pads_start), (gst_collect_pads_stop),
11570         (gst_collect_pads_peek), (gst_collect_pads_pop),
11571         (gst_collect_pads_available), (gst_collect_pads_read),
11572         (gst_collect_pads_flush), (gst_collect_pads_event),
11573         (gst_collect_pads_chain):
11574         * gst/base/gstcollectpads.h:
11575           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
11576           unimplemented functions as unimplemented. Add padding to
11577           GstCollectData. (#320766, #320423)
11578
11579 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11580
11581         * gst/gstmessage.c:
11582           Improve docs for DURATION message (usage of duration parameter)
11583           (#320113)
11584
11585 2005-11-20  Wim Taymans  <wim@fluendo.com>
11586
11587         * check/Makefile.am:
11588         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
11589         (main):
11590         * gst/Makefile.am:
11591         * gst/gst.h:
11592         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11593         (gst_segment_set_seek), (gst_segment_set_newsegment),
11594         (gst_segment_to_stream_time), (gst_segment_to_running_time),
11595         (gst_segment_clip):
11596         * gst/gstsegment.h:
11597         Added segment helper structure and methods. Not fully implemented
11598         yet.
11599         Added segment check.
11600
11601 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
11602
11603         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11604           Add a deserialisation test for fractions
11605         * examples/metadata/read-metadata.c: (message_loop),
11606         (make_pipeline), (main):
11607           Fix up metadata reading sample.
11608         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11609           Debug format fix
11610         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
11611           Don't try and fixate empty caps
11612         * gst/gst_private.h:
11613           Wrap in G_BEGIN_DECLS/G_END_DECLS
11614         * gst/gstvalue.c: (gst_value_collect_fraction),
11615         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
11616         (gst_value_transform_string_fraction),
11617         (gst_value_compare_fraction):
11618           Add some extra guards to ensure that we don't end up 
11619           with an invalid denominator of 0 in a gstfraction and
11620           that fractions always get reduced.
11621
11622 2005-11-20  Wim Taymans  <wim@fluendo.com>
11623
11624         * docs/gst/gstreamer-sections.txt:
11625         * gst/gstbuffer.h:
11626         * gst/gstelement.c:
11627         * gst/gstformat.c:
11628         * gst/gstformat.h:
11629         * gst/gstindex.h:
11630         * gst/gstquery.c:
11631         * gst/gstquery.h:
11632         * gst/gstvalue.c:
11633         Doc fixes.
11634
11635 2005-11-20  Wim Taymans  <wim@fluendo.com>
11636
11637         * docs/design/part-TODO.txt:
11638         * gst/gstcaps.h:
11639         Make a proper enum of the flag.
11640
11641 2005-11-19  Wim Taymans  <wim@fluendo.com>
11642
11643         * docs/design/part-TODO.txt:
11644         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
11645         (gst_format_to_quark), (gst_format_register):
11646         * gst/gstformat.h:
11647         * gst/gstquery.c: (_gst_query_initialize),
11648         (gst_query_type_get_name), (gst_query_type_to_quark),
11649         (gst_query_type_register):
11650         * gst/gstquery.h:
11651         Add type to quark and type to string conversions.
11652
11653 2005-11-19  Andy Wingo  <wingo@pobox.com>
11654
11655         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
11656         #320097.
11657
11658 2005-11-19  Wim Taymans  <wim@fluendo.com>
11659
11660         * docs/design/part-TODO.txt:
11661         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11662         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
11663         (gst_bin_handle_message_func):
11664         * gst/gstbin.h:
11665         Make message handling overridable.
11666
11667 2005-11-19  Andy Wingo  <wingo@pobox.com>
11668
11669         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
11670
11671         * gst/gstclock.h:
11672         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
11673         be a GstClockTime.
11674         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
11675         is a GstClockTime. Fixes #321710.
11676
11677         * gst/gstclock.h (GstClock): Remove offset property. Add
11678         internal_calibration and external_calibration. Fix padding. Pad
11679         also by GstClockTime so we don't run into problems.
11680
11681         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
11682         (gst_clock_get_rate_offset): Remove.
11683         (gst_clock_set_time_adjust): Remove. Fixes #321712.
11684
11685         * gst/gstutils.h:
11686         * gst/gstutils.c (g_static_rec_cond_wait)
11687         (g_static_rec_cond_timed_wait): Removed, no longer needed.
11688
11689         * gst/gstbin.c: Remove terrible continue_state prototype.
11690
11691         * gst/gstelement.h (gst_element_continue_state): Make public.
11692
11693         * gst/gstelement.h:
11694         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
11695         by continue_state. Fixes #319389.
11696
11697         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
11698         Really fixes #168438. However I don't see anywhere where the
11699         filter function is called... stupid GStreamer...
11700         
11701         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
11702         don't have a dispose function, so it won't get called when the
11703         object is unreffed, but oh well!
11704
11705         * gst/gstindex.c (gst_index_set_filter_full): New API function,
11706         allows a destroy function to be set so user_data can be freed.
11707         Fixes #168438.
11708         (gst_index_set_filter): Call gst_index_set_filter_full.
11709
11710         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
11711
11712         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
11713         string should produce an error, given the lack of a way to
11714         represent NULL strings. Fixes #165650.
11715         
11716         * gst/gstvalue.h: 
11717         * gst/gstvalue.c (gst_value_array_append_value) 
11718         (gst_value_array_prepend_value, gst_value_array_get_size) 
11719         (gst_value_array_get_value): New API, copied from
11720         gst_value_list_*, only operates on arrays.
11721         (gst_value_list_append_value, gst_value_list_prepend_value) 
11722         (gst_value_list_concat, gst_value_list_get_size) 
11723         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
11724
11725         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
11726         init_list, because it works on both.
11727         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
11728         (gst_value_copy_list_or_array): Renamed from copy_list.
11729         (gst_value_free_list_or_array): Renamed from free_list.
11730         (gst_value_collect_list_or_array): Renamed from collect_list.
11731         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
11732         (gst_value_list_or_array_peek_pointer): Renamed from
11733         list_peek_pointer.
11734         (_gst_value_array_value_table, _gst_value_list_value_table):
11735         Update value table functions.
11736         (gst_value_compare_list_or_array): Renamed from compare_list.
11737
11738         * gsttaglist.h: Whoops, foreach function returns void. Also fix
11739         some constness.
11740
11741         * gst/gsttaglist.c:
11742         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
11743         GstTagList*. Fixes #143472.
11744
11745         * gst/gststructure.h: Clarify what the foreach/map functions can
11746         or can't do to their arguments.
11747
11748 2005-11-18  Wim Taymans  <wim@fluendo.com>
11749
11750         * gst/gstclock.c: (gst_clock_set_calibration),
11751         (gst_clock_get_calibration):
11752         Doc and API fixes.
11753         Calibration can be set with internal time equal to current
11754         internal time too.
11755
11756 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
11757
11758         * gst/gsterror.c:
11759         * gst/gsterror.h:
11760           document
11761
11762 2005-11-18  Andy Wingo  <wingo@pobox.com>
11763
11764         * configure.ac: 
11765         * pkgconfig/gstreamer-net.pc.in:
11766         * pkgconfig/gstreamer-net-uninstalled.pc.in:
11767         * pkgconfig/Makefile.am: Add net pkgconfig files.
11768
11769 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
11770
11771         * gst/gstcaps.c:
11772         * gst/gstghostpad.c:
11773         * gst/gsttrace.c:
11774         * gst/gstvalue.c:
11775         * gst/gstvalue.h:
11776           docs fixes
11777
11778 2005-11-18  Andy Wingo  <wingo@pobox.com>
11779
11780         * gst/net/gstnetclientclock.c: Turn off debugging.
11781
11782         * check/net/gstnetclientclock.c (test_functioning): Assert that the
11783         times connverge somewhat. Can't make a real test.
11784
11785         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
11786         integer arithmetic. Return the minimum of the domain, which can be
11787         set as "internal" for gst_clock_set_calibration.
11788         (gst_net_client_clock_observe_times): Call _set_calibration.
11789         (gst_net_client_clock_new): Call _set_calibration instead of
11790         rate_offset.
11791
11792         * check/net/gstnetclientclock.c (test_functioning): Use the right
11793         adjustment api.
11794
11795         * gst/gstclock.h:
11796         * gst/gstclock.c (gst_clock_get_calibration) 
11797         (gst_clock_set_calibration): New functions, obsolete the ones I
11798         added yesterday. Doh. Precision issues mean we have to extrapolate
11799         from a point in the more recent past than 1970.
11800         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
11801         obsolete.
11802         (gst_clock_adjust_unlocked): Use the right calibration data.
11803
11804 2005-11-18  Edward Hervey  <edward@fluendo.com>
11805
11806         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
11807         Also reset the ->current_* values in READY->PAUSED
11808
11809 2005-11-18  Andy Wingo  <wingo@pobox.com>
11810
11811         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
11812         Whoops, check the right fd. Also add some debugging.
11813         (gst_net_client_clock_observe_times): Adjust for int64 offset.
11814         (do_linear_regression): Add a crapload of debugging. Subtract off
11815         the minimum values from the input series to discard unneeded bits.
11816         Use only int arithmetic. There is still double arithmetic when
11817         calculating the intercept that needs fixing. Return boolean to
11818         indicate success; FALSE would mean the domain or range is too
11819         great. Still needs fixes.
11820
11821 2005-11-18  Wim Taymans  <wim@fluendo.com>
11822
11823         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
11824         For the current position in stream time, we need to subtract
11825         accumulated time.
11826         
11827         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11828         Release lock before calling the callback function of async
11829         entries.
11830
11831 2005-11-18  Andy Wingo  <wingo@pobox.com>
11832
11833         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
11834         Port goes all the way to MAXUINT16.
11835
11836         * gst/net/gstnettimeprovider.c: Make the port range the same as
11837         for the kernel: 0 assigns, otherwise ports are less than
11838         MAXUINT16.
11839
11840         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
11841         port change.
11842
11843         * check/net/gstnetclientclock.c (test_functioning): Add the start
11844         of another test. 
11845
11846 2005-11-18  Wim Taymans  <wim@fluendo.com>
11847
11848         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11849         (gst_bin_remove_func), (bin_bus_handler):
11850         * gst/gstbin.h:
11851         Removing a clock provider from a bin, triggers a clock lost message
11852         so that a new clock will be selected.
11853         Adding a clock to a bin triggers a clock provider message.
11854         Make sure we reselect a clock when we received a clock lost message.
11855         Keep a reference to the element that provided the clock.
11856
11857 2005-11-18  Andy Wingo  <wingo@pobox.com>
11858
11859         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
11860         the clock initially so it produces values around the base time.
11861         (gst_net_client_clock_class_init): Typo fix.
11862         (gst_net_client_clock_thread): Add note on when the socket gets
11863         closed.
11864
11865 2005-11-17  Wim Taymans  <wim@fluendo.com>
11866
11867         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
11868         Free remote and local time arrays.
11869
11870 2005-11-17  Wim Taymans  <wim@fluendo.com>
11871
11872         * gst/net/gstnetclientclock.c: (do_linear_regression),
11873         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
11874         Fix compilation, uninitialized vars and a forgotten continue.
11875
11876 2005-11-17  Andy Wingo  <wingo@pobox.com>
11877
11878         * check/Makefile.am (check_PROGRAMS): 
11879         * check/net/gstnetclientclock.c: Add a most minimal test for the
11880         net client clock. More to come later.
11881
11882         * gst/net/gstnet.h: 
11883         * gst/net/Makefile.am: Add netclientclock.
11884
11885         * gst/net/gstnetclientclock.h:
11886         * gst/net/gstnetclientclock.c: New files, implement an untested
11887         GstClock that takes its time from a network time provider.
11888         Implements the algorithm in network-clock.scm.
11889
11890         * tests/network-clock.scm (*window-size*): Rename from
11891         *queue-length*.
11892         * tests/network-clock.scm (network-time): 
11893         * tests/network-clock-utils.scm (q-push): Update callers.
11894
11895 2005-11-17  Wim Taymans  <wim@fluendo.com>
11896
11897         * gst/gstbin.c: (gst_bin_provide_clock_func),
11898         (gst_bin_sort_iterator_new):
11899         And unref the child too..
11900
11901 2005-11-17  Wim Taymans  <wim@fluendo.com>
11902
11903         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11904         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
11905         Refactor the sort iterator so it can be used while holding the
11906         LOCK too.
11907         Make clock selection select a clock closest to the source.
11908
11909 2005-11-17  Michael Smith <msmith@fluendo.com>
11910
11911         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
11912         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
11913         * gst/gstclock.h:
11914           Anonymous structs are a gcc (and some other compilers) extension, so
11915           don't use them. Since this is only for ABI-compatibility, and our
11916           API/ABI freeze is over in a few days, this whole thing will only
11917           last a few days, so don't bother trying to think up a meaningful
11918           name for the struct.
11919
11920 2005-11-17  Andy Wingo  <wingo@pobox.com>
11921
11922         * gst/gstclock.h (GstClock): Add rate and offset properties,
11923         preserving ABI stability. Add rate/offset accessors. Will file bug
11924         for the freeze break.
11925
11926         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
11927         and offset, trying to keep precision and avoiding
11928         underflow/overflow.
11929         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
11930         functions. Make gst_clock_set_time_adjust obsolete.
11931         (gst_clock_set_time_adjust): Note that this function is obsolete.
11932         Will file bug soon.
11933
11934         * gst/base/gstbasetransform.h: Make the ABI-stability hack
11935         greppable by using GST_PADDING-1+1.
11936
11937 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
11938
11939         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11940
11941         * gst/gstmessage.c: (gst_message_parse_clock_lost):
11942           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
11943
11944         * gst/gstpadtemplate.h:
11945         * gst/gstpluginfeature.h:
11946           Don't use c++ style comments in headers (#321638).
11947
11948 2005-11-16  Andy Wingo  <wingo@pobox.com>
11949
11950         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
11951         buffer.
11952
11953         * check/net/gstnettimeprovider.c: Check to see that the time
11954         provider actually provides times. Works, yo!
11955
11956 2005-11-16  Wim Taymans  <wim@fluendo.com>
11957
11958         * check/Makefile.am:
11959         Enable more tests.
11960
11961         * check/elements/fakesrc.c: (GST_START_TEST):
11962         Set element to NULL before disposing it.
11963
11964 2005-11-16  Andy Wingo  <wingo@pobox.com>
11965
11966         * gst/net/Makefile.am:
11967         * gst/net/gstnet.h:
11968         * gst/net/gstnettimeprovider.c: 
11969         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
11970         provider, include it from gstnet.h, and add it to the build.
11971
11972         * gst/net/gstnettimepacket.h: 
11973         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
11974         sending and receiving.
11975
11976 2005-11-16  Wim Taymans  <wim@fluendo.com>
11977
11978         * check/Makefile.am:
11979         Enable valgrind check.
11980
11981         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
11982         (gst_fake_src_alloc_buffer):
11983         Fix memleak.
11984
11985 2005-11-16  Wim Taymans  <wim@fluendo.com>
11986
11987         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
11988         Call parent finalize too.
11989
11990 2005-11-16  Wim Taymans  <wim@fluendo.com>
11991
11992         * check/Makefile.am:
11993         Enable valgrind check that should work fine now.
11994
11995         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
11996         * gst/gstqueue.c: (gst_queue_init):
11997         Fix memleaks in pad allocation.
11998
11999 2005-11-16  Andy Wingo  <wingo@pobox.com>
12000
12001         * gst/net/Makefile.am:
12002         * gst/net/gstnet.h: New part of core to hold network elements and
12003         objects. Put in core because it exposes API that applications want
12004         to use. The library is named libgstnet-tempname right now because
12005         of the existing libgstnet in gst-plugins-base. Solution is
12006         probably to rename the one in plugins-base; will file a bug for
12007         the freeze break.
12008
12009         * gst/net/gstnettimeprovider.c: 
12010         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
12011         get_time call over the network.
12012
12013         * configure.ac: 
12014         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
12015
12016         * check/Makefile.am:
12017         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
12018         get additions shortly.
12019
12020 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12021
12022         * gst/gstpad.c: (gst_pad_new_from_static_template):
12023         * gst/gstpad.h:
12024           add gst_pad_new_from_static_template functions
12025         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
12026         (gst_check_setup_sink_pad):
12027         * gst/elements/gsttee.c: (gst_tee_init):
12028           and use them
12029
12030 2005-11-16  Wim Taymans  <wim@fluendo.com>
12031
12032         * gst/gstpad.c: (gst_pad_pause_task):
12033         Removed warning, it's not really an error either.
12034
12035 2005-11-16  Wim Taymans  <wim@fluendo.com>
12036
12037         * gst/base/gstbasetransform.c:
12038         (gst_base_transform_prepare_output_buf),
12039         (gst_base_transform_event):
12040         Check if the caps are NULL, this can happen if the element
12041         is shutting down and the pad caps are set to NULL.
12042
12043 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12044
12045         * gst/elements/gsttee.c: (gst_tee_init):
12046           fix pad template leak in tee
12047
12048 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12049
12050         * gst/glib-compat.c: (g_value_dup_gst_object):
12051         * gst/glib-compat.h:
12052         * gst/gstpad.c: (gst_pad_set_property):
12053           use gst_object_ref when setting the pad template; this will
12054           trigger the pad template leaks on GLib 2.6 and the slaves
12055
12056 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12057
12058         * gst/glib-compat.c: (gst_flags_get_first_value):
12059         * gst/glib-compat.h:
12060         * gst/gstregistryxml.c:
12061           remove functions copied from GLib 2.6
12062
12063 2005-11-16  Michael Smith <msmith@fluendo.com>
12064
12065         * gst/Makefile.am:
12066           Don't link against VALGRIND_LIBS. That was always the wrong thing to
12067           do, but only breaks with newer valgrind versions. We're not a
12068           valgrind tool, we have no link-time dependencies on libcoregrind.
12069
12070 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12071
12072         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12073           some debug changes
12074         * gst/gstmessage.h:
12075           typo fixes
12076
12077 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12078
12079         * gst/base/gstbasesrc.c: (gst_base_src_init):
12080         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12081         * gst/gstqueue.c: (gst_queue_init):
12082         * gst/gstregistryxml.c: (load_feature):
12083           Revert all these unrefs, they don't even pass make check !
12084
12085 2005-11-15  Johan Dahlin  <johan@gnome.org>
12086
12087         * gst/base/gstbasesrc.c: (gst_base_src_init):
12088         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12089         * gst/gstqueue.c: (gst_queue_init): 
12090         Free pad templates, fixes a couple of leaks.
12091
12092 2005-11-15  Daniel Fischer  <dan at f3c dot com>
12093
12094         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12095
12096         * gst/gstpad.c: (gst_pad_get_property):
12097           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
12098           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
12099           (#321452)
12100
12101 2005-11-15  Wim Taymans  <wim@fluendo.com>
12102
12103         * gst/gstevent.c:
12104         Small doc update.
12105
12106 2005-11-15  Andy Wingo  <wingo@pobox.com>
12107
12108         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
12109
12110         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
12111         using GST_CLOCK_TIME_NONE to disable base time management.
12112         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
12113         time if it was NONE before.
12114         (gst_pipeline_change_state): Only munge the base time if
12115         stream_time != GST_CLOCK_TIME_NONE.
12116
12117         * check/gst/gstpipeline.c (test_base_time): Punt around the
12118         problem of the probe not being called, because that's not the
12119         issue I'm looking at. Add a check that setting stream_time to NONE
12120         disables base time management.
12121         
12122 2005-11-15  Wim Taymans  <wim@fluendo.com>
12123
12124         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12125         segment_stop == -1 at startup.
12126
12127         * gst/base/gstbasetransform.c: (gst_base_transform_event),
12128         (gst_base_transform_change_state):
12129         Init segment values at start.
12130
12131 2005-11-15  Wim Taymans  <wim@fluendo.com>
12132
12133         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12134         0 segment values are 0 in any format.
12135
12136         * gst/base/gstbasetransform.c: (gst_base_transform_event):
12137         * gst/base/gstbasetransform.h:
12138         Parse newsegment correctly in basetransform
12139
12140         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12141         Sync to clock using updated segment values.
12142
12143 2005-11-15  Andy Wingo  <wingo@pobox.com>
12144
12145         * check/gst/gstpipeline.c (test_base_time): Add check that the
12146         base time and stream time are reset correctly.
12147
12148 2005-11-15  Wim Taymans  <wim@fluendo.com>
12149
12150         * docs/design/part-TODO.txt:
12151         Some more TODO items.
12152
12153 2005-11-15  Andy Wingo  <wingo@pobox.com>
12154
12155         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
12156         error if the user selected "no clock" as the clocking method.
12157
12158         * check/gst/gstpipeline.c (test_base_time): New test for buffer
12159         timestamps with live capture.
12160
12161         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
12162         is 0 but we are a live source, timestamp the buffers using the
12163         element's clock.
12164
12165 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
12166
12167         * docs/gst/gstreamer-sections.txt:
12168         * gst/gsterror.c:
12169         * gst/gstghostpad.c:
12170         * gst/gstobject.h:
12171         * gst/gstxml.c:
12172           more section docs
12173
12174 2005-11-14  Wim Taymans  <wim@fluendo.com>
12175
12176         * common/gst.supp:
12177           add suppressions from Wim's Debian machine
12178
12179 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12180
12181         * common/gst.supp:
12182           add suppressions from Andy's AMD64 Ubuntu machine
12183
12184 2005-11-14  Andy Wingo  <wingo@pobox.com>
12185
12186         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
12187         STATE_LOCK not necessary. Fixes #311489.
12188
12189         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
12190         #305291.
12191
12192         * gst/gstindex.c (gst_index_add_object): Note in the docs that
12193         this function is not implemented.
12194
12195 2005-11-14  Julien MOUTTE  <julien@moutte.net>
12196
12197         * gst/base/gstbasetransform.c:
12198         (gst_base_transform_prepare_output_buf):
12199         Ref the source pad caps while we need them.
12200         Fixes (#321386)
12201
12202 2005-11-11  Wim Taymans  <wim@fluendo.com>
12203
12204         * docs/gst/gstreamer-sections.txt:
12205         Added some docs for GstCollectData.
12206
12207         * gst/base/gstadapter.c:
12208         Some small code example fix.
12209
12210         * gst/base/gstcollectpads.c:
12211         * gst/base/gstcollectpads.h:
12212         Document some more.
12213
12214 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12215
12216         * configure.ac: back to HEAD
12217
12218 === release 0.9.5 ===
12219
12220 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
12221
12222         * configure.ac:
12223           releasing 0.9.5, "Bike Lunch Day"
12224
12225 2005-11-11  Wim Taymans  <wim@fluendo.com>
12226
12227         * gst/gstbuffer.c: (_gst_buffer_copy):
12228         Copy more flags.
12229
12230         * gst/gstcaps.c: (gst_caps_is_equal):
12231         Fix some docs.
12232         Make _is_equal fast in the trivial cases.
12233
12234         * gst/gstminiobject.c:
12235         * gst/gstminiobject.h:
12236         More docs. Spifify .h file.
12237
12238         * gst/gstutils.c:
12239         Small doc update.
12240
12241 2005-11-11  Wim Taymans  <wim@fluendo.com>
12242
12243         * gst/base/gstbasetransform.c:
12244         (gst_base_transform_prepare_output_buf),
12245         (gst_base_transform_handle_buffer):
12246         Small cleanups.
12247         If we're processing a buffer and need to allocate an output
12248         buffer, we cannot accept a format change. If we did get a 
12249         format change, we have to alloc a buffer ourselves of the 
12250         right size.
12251
12252 2005-11-11  Wim Taymans  <wim@fluendo.com>
12253
12254         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
12255         While checking the flag for reentrancy in the gstcaps function
12256         is nice to detect recursive invocations, it also makes it 
12257         impossible to call getcaps from multiple threads, which must be
12258         possible. So, checking for recursive calls has to go.
12259
12260 2005-11-11  Michael Smith <msmith@fluendo.com>
12261
12262         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12263           Don't sync on buffers that fall partially outside our current
12264           segment. Prevents an assertion failure/abort playing some files.
12265
12266 2005-11-10  Andy Wingo  <wingo@pobox.com>
12267
12268         * check/gst/gstbin.c (test_message_state_changed_children): Style
12269         fix..
12270
12271         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
12272         gst_bus_poll with the signal watch. Ensures that poll and a signal
12273         watch see the same messages.
12274
12275         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
12276         a poll and a watch at the same time get the same messages.
12277
12278 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12279
12280         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
12281         * gst/gstcaps.c: (gst_caps_intersect):
12282           Don't call gst_caps_do_simplify - it doesn't respect order of caps
12283           and it's not needed.
12284
12285 2005-11-10  Wim Taymans  <wim@fluendo.com>
12286
12287         * docs/design/part-TODO.txt:
12288         Updated todo.
12289
12290 2005-11-10  Wim Taymans  <wim@fluendo.com>
12291
12292         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12293         * gst/base/gstbasesrc.c: (gst_base_src_wait),
12294         (gst_base_src_do_sync), (gst_base_src_get_range):
12295         Implement clock sync in base class.
12296
12297 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12298
12299         patch by: Tim-Philipp Müller <tim at centricular dot net>
12300
12301         * gst/gststructure.c: (gst_structure_parse_field),
12302         (gst_structure_from_string):
12303           Forward-port a 0.8 patch to handle escaped spaces in structure string,
12304           so that gst_parse_launch() can deal with spaces in filtered link
12305           caps (fixes #164479)
12306         * check/gst/capslist.h:
12307         * check/gst/gststructure.c: (GST_START_TEST):
12308           add unit tests for this change
12309
12310 2005-11-10  Wim Taymans  <wim@fluendo.com>
12311
12312         * docs/gst/gstreamer-sections.txt:
12313         * gst/gstelement.c:
12314         * gst/gstelement.h:
12315         Fix docs, move some STATE macros to private.
12316
12317 2005-11-10  Wim Taymans  <wim@fluendo.com>
12318
12319         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12320         Added check for bug #317341
12321
12322         * gst/gstbuffer.c:
12323         * gst/gstbuffer.h:
12324         Some more spiffifying.
12325
12326         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
12327         Call peer linkfunction if we are a source pad. Totally fixes
12328         #317341
12329
12330         * gst/gstpad.c:
12331         Update docs, source pads should call the peer linkfunction
12332         so they can atomically perform the pad link.
12333
12334 2005-11-09  Wim Taymans  <wim@fluendo.com>
12335
12336         * gst/gstbuffer.c:
12337         * gst/gstbuffer.h:
12338         Uber-spiffy-spiffify some more.
12339
12340 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
12341
12342         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
12343         * gst/elements/gstfilesink.c: (gst_file_sink_init):
12344         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12345         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
12346         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
12347         * gst/gstpad.c: (gst_pad_init):
12348           Use GST_DEBUG_FUNCPTR() more extensively.
12349
12350 2005-11-09  Wim Taymans  <wim@fluendo.com>
12351
12352         * gst/gstobject.c: (gst_object_class_init):
12353         * gst/gstobject.h:
12354         Documentation fixes.
12355
12356 2005-11-09  Edward Hervey  <edward@fluendo.com>
12357
12358         * gst/gsttypefindfactory.c:
12359         Fix docs.
12360         
12361 2005-11-09  Edward Hervey  <edward@fluendo.com>
12362
12363         * gst/base/gsttypefindhelper.c:
12364         * gst/gsttypefind.c:
12365         * gst/gsttypefind.h:
12366         Fix docs.
12367
12368 2005-11-09  Wim Taymans  <wim@fluendo.com>
12369
12370         * gst/gstiterator.c:
12371         Fix revision data.
12372
12373         * gst/gsttask.c:
12374         * gst/gsttask.h:
12375         Fix docs.
12376
12377 2005-11-09  Wim Taymans  <wim@fluendo.com>
12378
12379         * gst/gstevent.h:
12380         * gst/gsturi.h:
12381         Fix docs.
12382
12383 2005-11-09  Wim Taymans  <wim@fluendo.com>
12384
12385         * docs/gst/gstreamer-sections.txt:
12386         Moved the message async delivery private lock and cond
12387         to the private section.
12388
12389         * gst/gstmessage.c:
12390         * gst/gstmessage.h:
12391         Fixed docs.
12392
12393 2005-11-09  Edward Hervey  <edward@fluendo.com>
12394
12395         * docs/gst/gstreamer-sections.txt:
12396         * gst/gsturi.c:
12397         * gst/gsturi.h:
12398         Document GstURIHandler
12399
12400 2005-11-09  Wim Taymans  <wim@fluendo.com>
12401
12402         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
12403         (gst_iterator_find_custom):
12404         * gst/gstiterator.h:
12405         Fix iterator docs.
12406
12407 2005-11-09  Wim Taymans  <wim@fluendo.com>
12408
12409         * gst/gstbin.h:
12410         Document another field.
12411
12412         * gst/gststructure.c:
12413         * gst/gststructure.h:
12414         Document.
12415
12416 2005-11-09  Wim Taymans  <wim@fluendo.com>
12417
12418         * gst/gstbin.h:
12419         Documented structs.
12420
12421 2005-11-09  Wim Taymans  <wim@fluendo.com>
12422
12423         * docs/gst/gstreamer-sections.txt:
12424         Added some new macros.
12425
12426         * gst/gstclock.c:
12427         * gst/gstclock.h:
12428         * gst/gstobject.h:
12429         Docs updates.
12430
12431 2005-11-09  Wim Taymans  <wim@fluendo.com>
12432
12433         * docs/design/part-TODO.txt:
12434         Some more items for the TODO
12435
12436         * gst/gstcaps.c:
12437         * gst/gstcaps.h:
12438         Document GstCaps.
12439
12440 2005-11-09  Andy Wingo  <wingo@pobox.com>
12441
12442         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
12443         to work on something else now tho...
12444
12445         * gst/base/gstadapter.c: More adapter docs.
12446
12447         * gst/elements/gstfilesink.c (gst_file_sink_start) 
12448         (gst_file_sink_stop): New functions, replace the state change
12449         handler.
12450         (gst_file_sink_class_init): Hook up the start and stop functions.
12451         (gst_file_sink_base_init): Don't set the state change handler any
12452         more. It was a bit ugly too, being set from here...
12453         (gst_file_sink_get_property, gst_file_sink_set_property):
12454         Cleanups...
12455         (gst_file_sink_set_location): More robust check that doesn't call
12456         GST_STATE. Ugggggg.
12457
12458 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
12459
12460         * gst/base/gstbasetransform.c: (gst_base_transform_event):
12461           Hold STREAM_LOCK while pushing newsegment or tag events as well.
12462
12463 2005-11-08  Wim Taymans  <wim@fluendo.com>
12464
12465         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
12466         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12467         (gst_base_sink_chain), (gst_base_sink_change_state):
12468         * gst/base/gstbasesink.h:
12469         * gst/base/gstbasesrc.h:
12470         * gst/gstelement.h:
12471         * gst/gstevent.h:
12472         Avoid excessive typechecking in macros.
12473
12474         * gst/gstminiobject.c: (gst_mini_object_get_type),
12475         (gst_mini_object_init), (gst_mini_object_new),
12476         (gst_mini_object_free):
12477         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12478         (gst_object_finalize):
12479         Remove cruft code, optimize alloc_trace.
12480
12481 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12482
12483         * docs/faq/gst-uninstalled:
12484           fix up PS1 for systems that try to reset it
12485
12486 2005-11-07  Wim Taymans  <wim@fluendo.com>
12487
12488         * gst/base/gstbasesrc.c: (gst_base_src_init),
12489         (gst_base_src_get_range):
12490         Set the segment_end to -1 initially. Fixed typefind.
12491
12492 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
12493
12494         * gst/base/gstadapter.c:
12495           Debug category should be 'adapter', not 'GstAdapter'.
12496           
12497         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
12498         (gst_collectpads_class_init), (gst_collectpads_init),
12499         (gst_collectpads_peek), (gst_collectpads_pop),
12500         (gst_collectpads_event), (gst_collectpads_chain):
12501           Add debug category and some debugging output. Use boilerplate
12502           macros. Remove some extraneous words from docs.
12503
12504 2005-11-05  Andy Wingo  <wingo@pobox.com>
12505
12506         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
12507         macro.
12508
12509 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
12510
12511         * docs/gst/gstreamer-sections.txt:
12512         * gst/gstcaps.h:
12513         * gst/gstinfo.c:
12514         * gst/gstminiobject.h:
12515         * gst/gstobject.h:
12516         * gst/gstutils.h:
12517           more docs added
12518
12519 2005-11-04  Wim Taymans  <wim@fluendo.com>
12520
12521         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12522         Small update to stop at the configured segment_end
12523         position.
12524
12525 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
12526
12527         * gst/gstregistry.c:
12528         * gst/gstregistry.h:
12529           added missing docs
12530
12531 2005-11-04  Edward Hervey  <edward@fluendo.com>
12532
12533         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12534         Check if we are doing a segment seek and have arrived at the
12535         end of that segment.
12536
12537 2005-11-04  Wim Taymans  <wim@fluendo.com>
12538
12539         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
12540         Don't leak a mutex unlock in case of an error.
12541
12542         * gst/gstbus.h:
12543         Doc fixes.
12544
12545 2005-11-04  Wim Taymans  <wim@fluendo.com>
12546
12547         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
12548         (gst_bus_post):
12549         Get the context to wake up only once.
12550
12551 2005-11-03  Wim Taymans  <wim@fluendo.com>
12552
12553         * check/states/sinks.c: (GST_START_TEST):
12554         Uncomment fixed check.
12555
12556         * docs/design/part-TODO.txt:
12557         Updated TODO.
12558
12559         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12560         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12561         (gst_base_sink_get_position):
12562         If we are going to PLAYING, post the right pending state
12563         when we post the intermediate paused message.
12564
12565         * gst/gstelement.c: (gst_element_continue_state),
12566         (gst_element_set_state_func), (gst_element_change_state):
12567         Don't post state changes that were between the same state
12568         and were not ASYNC.
12569
12570 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
12571
12572         * docs/gst/gstreamer-sections.txt:
12573         * gst/gstcaps.h:
12574         * gst/gstinfo.c:
12575         * gst/gstminiobject.h:
12576         * gst/gstobject.h:
12577         * gst/gstutils.h:
12578           more docs and doc style fixes
12579
12580 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
12581
12582         * docs/gst/gstreamer-sections.txt:
12583         * gst/gstelement.c:
12584         * gst/gstminiobject.c:
12585         doc fixes
12586
12587 2005-11-03  Andy Wingo  <wingo@pobox.com>
12588
12589         * check/states/sinks.c (test_livesrc_sink): Add checks that the
12590         state-changed messages actually have the right order and the right
12591         values.
12592
12593 2005-11-03  Wim Taymans  <wim@fluendo.com>
12594
12595         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
12596         Added some more checks. Specifically the case where NO_PREROLL
12597         elements are in the pipeline.
12598
12599         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12600         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12601         (gst_base_sink_get_position):
12602         Post READY->PAUSED state change messages too.
12603         Fix bug where VOID was posted as pending state...
12604
12605         * gst/gstbin.c: (gst_bin_recalc_state):
12606         use _element_continue_state() to continue the state change.
12607
12608         * gst/gstelement.c: (gst_element_continue_state),
12609         (gst_element_commit_state), (gst_element_set_state_func),
12610         (gst_element_change_state), (gst_element_change_state_func):
12611         Lots of state change cleanups, assign the STATE_RETURN in
12612         a new continue_state() function that also propagates the
12613         last return value from a state change to the app.
12614         Update some debug statements with proper category.
12615
12616 2005-11-03  Wim Taymans  <wim@fluendo.com>
12617
12618         * docs/design/part-events.txt:
12619         * docs/design/part-gstpipeline.txt:
12620         * docs/design/part-messages.txt:
12621         * docs/design/part-overview.txt:
12622         * docs/design/part-seeking.txt:
12623         * docs/design/part-states.txt:
12624         * docs/design/part-trickmodes.txt:
12625         * docs/manual/advanced-position.xml:
12626         Small docs updates.
12627
12628         * gst/gstobject.h:
12629         People think !! is ugly, this looks better.
12630
12631         * gst/gstpad.c: (gst_pad_set_blocked_async):
12632         Remove !! since it's fixed elsewhere now.
12633
12634 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12635
12636         * gst/gstminiobject.h:
12637         * gst/gstobject.h:
12638           Add !! to _FLAG_IS_SET macros to make the result boolean.
12639
12640 2005-11-03  Edward Hervey  <edward@fluendo.com>
12641
12642         * gst/gstpad.c: (gst_pad_set_blocked_async):
12643         comparing a flag and a gboolean rarely returns coherent results...
12644         Added two characters (!!) to make that work correctly.
12645         
12646 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12647
12648         * gst/gstbus.c: (gst_bus_class_init):
12649           Fix some typos.
12650           
12651         * gst/gstqueue.c: (gst_queue_loop):
12652           Don't assume a miniobject that isn't a buffer is an
12653           event (it could be that there is a refcounting
12654           problem somewhere and the pointer is stale and
12655           refers to an already destroyed miniobject).
12656
12657 2005-11-03  Julien MOUTTE  <julien@moutte.net>
12658
12659         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
12660
12661 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12662
12663         * docs/manual/advanced-position.xml:
12664           Update seek example and explanations to current 0.9 API.
12665
12666         * gst/elements/gsttypefindelement.c:
12667         (gst_type_find_element_activate):
12668           Remove FIXME comment now that the found caps
12669           are unreffed.
12670
12671 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12672
12673         * gst/gstregistryxml.c: (load_feature):
12674           Add another GST_STR_NULL instance
12675
12676 2005-11-02  Edward Hervey  <edward@fluendo.com>
12677
12678         * gst/gstpad.c: (handle_pad_block):
12679         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
12680         
12681 2005-11-02  Wim Taymans  <wim@fluendo.com>
12682
12683         * gst/gstbin.c:
12684         Fix typo in docs.
12685
12686         * gst/gstelement.c: (gst_element_commit_state):
12687         Remove unused value.
12688
12689         * gst/gstiterator.c:
12690         Mention that the returned element is reffed in the docs.
12691
12692 2005-11-02  Wim Taymans  <wim@fluendo.com>
12693
12694         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
12695         (gst_pad_push), (gst_pad_push_event):
12696         Unlock blocked pads when they are flushed.
12697
12698 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12699
12700         * docs/README:
12701         * docs/gst/gstreamer-sections.txt:
12702         * gst/gstbin.c:
12703           doc updates
12704         * gst/gstregistry.c: (gst_registry_scan_path_level):
12705           fix for a nasty little missed situation where an installed plug-in
12706           which was in the cache did not get overridden by an uninstalled one
12707           which was earlier in the plugin path because the newly created plugin
12708           for the uninstalled one (not in the registry) didn't get its
12709           ->registered set to TRUE
12710
12711 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
12712
12713         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
12714         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
12715         (gst_collectpads_is_active), (gst_collectpads_collect),
12716         (gst_collectpads_collect_range), (gst_collectpads_start),
12717         (gst_collectpads_stop), (gst_collectpads_peek),
12718         (gst_collectpads_pop), (gst_collectpads_available),
12719         (gst_collectpads_read), (gst_collectpads_flush):
12720           Guard public API with assertions.
12721         
12722         * gst/gstpad.c:
12723           Fix docs for gst_pad_set_link_function().
12724
12725 2005-11-02  Johan Dahlin  <johan@gnome.org>
12726
12727         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
12728         Unref found_caps after we used it.
12729
12730 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
12731
12732         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
12733           Don't try to ref NULL.
12734
12735 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12736
12737         * win32/common/config.h.in:
12738           provide a GST_FUNCTION that just gives a string for now
12739
12740 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12741
12742         * win32/common/gstenumtypes.c: (register_gst_object_flags),
12743         (gst_object_flags_get_type), (register_gst_bin_flags),
12744         (gst_bin_flags_get_type), (register_gst_buffer_flag),
12745         (gst_buffer_flag_get_type), (register_gst_bus_flags),
12746         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12747         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
12748         (gst_clock_return_get_type), (register_gst_clock_entry_type),
12749         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12750         (gst_clock_flags_get_type), (register_gst_state),
12751         (gst_state_get_type), (register_gst_state_change_return),
12752         (gst_state_change_return_get_type), (register_gst_state_change),
12753         (gst_state_change_get_type), (register_gst_element_flags),
12754         (gst_element_flags_get_type), (register_gst_core_error),
12755         (gst_core_error_get_type), (register_gst_library_error),
12756         (gst_library_error_get_type), (register_gst_resource_error),
12757         (gst_resource_error_get_type), (register_gst_stream_error),
12758         (gst_stream_error_get_type), (register_gst_event_type),
12759         (gst_event_type_get_type), (register_gst_seek_type),
12760         (gst_seek_type_get_type), (register_gst_seek_flags),
12761         (gst_seek_flags_get_type), (register_gst_format),
12762         (gst_format_get_type), (register_gst_index_certainty),
12763         (gst_index_certainty_get_type), (register_gst_index_entry_type),
12764         (gst_index_entry_type_get_type),
12765         (register_gst_index_lookup_method),
12766         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12767         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12768         (gst_index_resolver_method_get_type), (register_gst_index_flags),
12769         (gst_index_flags_get_type), (register_gst_debug_level),
12770         (gst_debug_level_get_type), (register_gst_debug_color_flags),
12771         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12772         (gst_iterator_result_get_type), (register_gst_iterator_item),
12773         (gst_iterator_item_get_type), (register_gst_message_type),
12774         (gst_message_type_get_type), (register_gst_mini_object_flags),
12775         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12776         (gst_pad_link_return_get_type), (register_gst_flow_return),
12777         (gst_flow_return_get_type), (register_gst_activate_mode),
12778         (gst_activate_mode_get_type), (register_gst_pad_direction),
12779         (gst_pad_direction_get_type), (register_gst_pad_flags),
12780         (gst_pad_flags_get_type), (register_gst_pad_presence),
12781         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12782         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12783         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12784         (gst_plugin_error_get_type), (register_gst_plugin_flags),
12785         (gst_plugin_flags_get_type), (register_gst_rank),
12786         (gst_rank_get_type), (register_gst_query_type),
12787         (gst_query_type_get_type), (register_gst_tag_merge_mode),
12788         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12789         (gst_tag_flag_get_type), (register_gst_task_state),
12790         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12791         (gst_alloc_trace_flags_get_type),
12792         (register_gst_type_find_probability),
12793         (gst_type_find_probability_get_type), (register_gst_uri_type),
12794         (gst_uri_type_get_type), (register_gst_parse_error),
12795         (gst_parse_error_get_type):
12796         * win32/common/gstversion.h:
12797           update win32 copies
12798
12799 2005-11-01  Luca Ognibene  <luogni@tin.it>
12800
12801         * gst/gst.c:
12802           fix docs. popt is dead, long live GOption.
12803
12804 2005-10-31  Wim Taymans  <wim@fluendo.com>
12805
12806         * gst/gstbuffer.h:
12807         Small doc fix.
12808
12809 2005-10-31  Andy Wingo  <wingo@pobox.com>
12810
12811         * Boo!
12812
12813         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
12814
12815         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
12816         need to serialize property notifications on GLib 2.8. GLib 2.6 has
12817         the possibility of deadlocks here if code calling notify() or
12818         set() has a lock that can be taken in another notify handler (ABBA
12819         with class lock and e.g. python GIL state lock).
12820
12821 2005-10-28  Julien MOUTTE  <julien@moutte.net>
12822
12823         * gst/gstbus.c: Doc updates.
12824
12825 2005-10-28  Wim Taymans  <wim@fluendo.com>
12826
12827         * docs/design/part-TODO.txt:
12828         * gst/gstiterator.c:
12829         * gst/gstsystemclock.c:
12830         * gst/gstsystemclock.h:
12831         Doc updates.
12832
12833 2005-10-28  Edward Hervey  <edward@fluendo.com>
12834
12835         * docs/gst/gstreamer-docs.sgml:
12836         * docs/gst/gstreamer-sections.txt:
12837         the GstURIType documentation page is private, it only defines GstURIType
12838         which should be defined in the GstURIHandler page
12839         
12840 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12841
12842         * gst/gstbin.c: (gst_bin_class_init):
12843         * gst/gstbin.h:
12844         * gst/gstutils.c:
12845         Documentation updates.
12846
12847 2005-10-28  Wim Taymans  <wim@fluendo.com>
12848
12849         * docs/gst/gstreamer-sections.txt:
12850         * gst/gstclock.c:
12851         * gst/gstclock.h:
12852         Documented the clocks.
12853
12854 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
12855
12856         * docs/gst/gstreamer-sections.txt:
12857           move some macros to private sections
12858         * gst/gstminiobject.c:
12859         * gst/gstminiobject.h:
12860           add descriptions provided by ds and some more
12861         * gst/gstpad.h:
12862           mark macro as to be removed
12863
12864 2005-10-28  Wim Taymans  <wim@fluendo.com>
12865
12866         * docs/design/part-TODO.txt:
12867         Add an item to TODO.
12868
12869         * gst/gstiterator.c: (gst_iterator_fold),
12870         (gst_iterator_find_custom):
12871         * gst/gstiterator.h:
12872         Add iterator docs.
12873
12874 2005-10-28  Wim Taymans  <wim@fluendo.com>
12875
12876         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12877         (gst_base_transform_init):
12878         Don't leak class.
12879
12880         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
12881         An EOS event marks the queue as completely filled.
12882
12883 2005-10-27  Wim Taymans  <wim@fluendo.com>
12884
12885         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12886         (gst_base_sink_do_sync), (gst_base_sink_get_position):
12887         Some more debugging.
12888
12889         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
12890         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
12891         (gst_base_transform_event), (gst_base_transform_getrange),
12892         (gst_base_transform_chain):
12893         * gst/base/gstbasetransform.h:
12894         Fix debugging,
12895         Protect transform and concurrent buffer alloc with a new lock.
12896         Try not to break ABI/API.
12897
12898 2005-10-27  Wim Taymans  <wim@fluendo.com>
12899
12900         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12901         (gst_base_src_init), (gst_base_src_query),
12902         (gst_base_src_default_newsegment),
12903         (gst_base_src_configure_segment), (gst_base_src_do_seek),
12904         (gst_base_src_send_event), (gst_base_src_event_handler),
12905         (gst_base_src_pad_get_range), (gst_base_src_loop),
12906         (gst_base_src_unlock), (gst_base_src_default_negotiate),
12907         (gst_base_src_start), (gst_base_src_deactivate),
12908         (gst_base_src_activate_push), (gst_base_src_change_state):
12909         Move some stuff around and cleanup things.
12910
12911 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
12912
12913         * gst/base/gstbasesrc.c: (gst_base_src_query):
12914           Add missing break statements.
12915
12916 2005-10-27  Wim Taymans  <wim@fluendo.com>
12917
12918         * check/gst/gstbin.c: (GST_START_TEST):
12919         An extra refcount is taken in basesrc.
12920
12921         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
12922         (gst_base_src_get_range), (gst_base_src_pad_get_range),
12923         (gst_base_src_loop):
12924         Small cleanups, check for flushing after being unlocked from the 
12925         LIVE_LOCK. take refcounts correctly (not yet everywhere).
12926         Don't send out EOS when going to READY.
12927
12928 2005-10-27  Wim Taymans  <wim@fluendo.com>
12929
12930         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12931         (gst_base_sink_get_position):
12932         Some more debug.
12933
12934         * gst/gstbin.c: (message_check), (bin_replace_message),
12935         (bin_remove_messages), (is_eos), (gst_bin_add_func),
12936         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12937         (bin_query_duration_init), (bin_query_duration_fold),
12938         (bin_query_duration_done), (bin_query_generic_fold),
12939         (gst_bin_query):
12940         * tools/gst-launch.c: (main):
12941         Remove old option.
12942
12943 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
12944
12945         * examples/controller/audio-example.c: (main):
12946         * examples/queue/queue.c: (event_loop):
12947         * gst/base/gstbasetransform.h:
12948         * gst/gstelement.c: (gst_element_send_event):
12949         * gst/gstevent.h:
12950         * gst/gstpad.c: (gst_pad_send_event):
12951           fixing examples
12952           fixing docs typos
12953           changing log priority in error situations
12954
12955 2005-10-25  Wim Taymans  <wim@fluendo.com>
12956
12957         * gst/gstbin.c: (message_check), (bin_replace_message),
12958         (bin_remove_messages), (is_eos), (gst_bin_add_func),
12959         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12960         (bin_query_duration_init), (bin_query_duration_fold),
12961         (bin_query_duration_done), (bin_query_generic_fold),
12962         (gst_bin_query):
12963         Some doc and debug updates.
12964         Cache previously requested query DURATION for speed. invalidate
12965         cached duration if element posts a DURATION message.
12966
12967 2005-10-25  Wim Taymans  <wim@fluendo.com>
12968
12969         * docs/design/part-TODO.txt:
12970         Update TODO.
12971
12972         * gst/gstbin.c: (message_check), (bin_replace_message),
12973         (bin_remove_messages), (is_eos), (gst_bin_add_func),
12974         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12975         (bin_query_duration_init), (bin_query_duration_fold),
12976         (bin_query_duration_done), (bin_query_generic_fold),
12977         (gst_bin_query):
12978         Handle SEGMENT_START/DONE messages correctly.
12979         More evolved query algorithm that handles duration queries
12980         correctly.
12981
12982         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
12983         (gst_element_get_state_func), (gst_element_abort_state),
12984         (gst_element_commit_state), (gst_element_lost_state):
12985         Some more debugging.
12986
12987         * gst/gstmessage.h:
12988         Added doc.
12989
12990 2005-10-25  Wim Taymans  <wim@fluendo.com>
12991
12992         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
12993         Don't use invalid stream_time.
12994
12995         * gst/gstevent.c: (gst_event_new_newsegment):
12996         stream_time in newsegment cannot be undefined.
12997
12998 2005-10-24  Wim Taymans  <wim@fluendo.com>
12999
13000         * gst/gstbus.c:
13001         Doc fix.
13002
13003         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13004         (gst_queue_loop):
13005         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
13006
13007 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
13008
13009         * docs/libs/tmpl/gstdparam.sgml:
13010         * docs/libs/tmpl/gstdplinint.sgml:
13011         * docs/libs/tmpl/gstdpman.sgml:
13012         * docs/libs/tmpl/gstdpsmooth.sgml:
13013         * docs/libs/tmpl/gstunitconvert.sgml:
13014           these are obsolete
13015
13016 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13017
13018         * configure.ac:
13019           back to HEAD
13020
13021 === release 0.9.4 ===
13022
13023 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13024
13025         * configure.ac:
13026           releasing 0.9.4, "Tyrannosaurus Rex"
13027
13028 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
13029
13030         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13031         (gst_file_sink_get_current_offset):
13032           Use fseeko() and ftello() if available. When falling back on
13033           lseek() to get the current offset, fflush() first to make sure
13034           everything is up-to-date and we get the right offset.
13035
13036 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13037
13038         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13039         * gst/base/gstbasesrc.c: (gst_base_src_loop):
13040         * gst/gsterror.c: (_gst_stream_errors_init):
13041         * gst/gsterror.h:
13042         * gst/gstqueue.c: (gst_queue_loop):
13043         * po/POTFILES.in:
13044           remove prematurely added error category and clean up the instances
13045
13046 2005-10-21  Wim Taymans  <wim@fluendo.com>
13047
13048         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13049         (gst_base_sink_get_position), (gst_base_sink_query),
13050         (gst_base_sink_change_state):
13051         Simply set the right flag when going to playing, that's all
13052         we need to do instead of calling a function inside the object
13053         lock (that could take the lock as well and deadlock)
13054
13055 2005-10-21  Wim Taymans  <wim@fluendo.com>
13056
13057         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
13058         (gst_base_src_loop):
13059         Don't warn, the peer element knows what to do best when
13060         the seek failed, it might try something else.
13061
13062 2005-10-21  Wim Taymans  <wim@fluendo.com>
13063
13064         * gst/base/gstbasesrc.c: (gst_base_src_init),
13065         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13066         Fix seeking.
13067
13068 2005-10-21  Wim Taymans  <wim@fluendo.com>
13069
13070         * docs/design/part-segments.txt:
13071         More docs.
13072
13073         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13074         Correctly set caps, even on the subbufer.
13075
13076 2005-10-21  Wim Taymans  <wim@fluendo.com>
13077
13078         * docs/gst/gstreamer-docs.sgml:
13079         * docs/gst/gstreamer-sections.txt:
13080         * gst/gstelement.h:
13081         * gst/gstevent.c:
13082         * gst/gstevent.h:
13083         * gst/gstmessage.h:
13084         * gst/gstpad.h:
13085         * gst/gstparse.h:
13086         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
13087         * gst/gsttask.h:
13088         * gst/gstutils.c:
13089         * gst/gstutils.h:
13090         And 2% more doc coverage.
13091
13092 2005-10-21  Andy Wingo  <wingo@pobox.com>
13093
13094         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
13095         position reporting.
13096
13097 2005-10-20  Wim Taymans  <wim@fluendo.com>
13098
13099         * gst/gsterror.c: (gst_error_get_message):
13100         * gst/gstparse.h:
13101         * gst/gstquery.h:
13102         * gst/gststructure.c:
13103         * gst/gsttrace.c:
13104         * gst/gstutils.c:
13105         More docs.
13106
13107 2005-10-20  Wim Taymans  <wim@fluendo.com>
13108
13109         * gst/gstbuffer.h:
13110         * gst/gstpad.c:
13111         * gst/gstparse.c:
13112         Another 1% more coverage.
13113
13114 2005-10-20  Wim Taymans  <wim@fluendo.com>
13115
13116         * docs/gst/gstreamer-sections.txt:
13117         * gst/gstelement.c: (gst_element_get_state_func),
13118         (gst_element_abort_state), (gst_element_commit_state),
13119         (gst_element_lost_state):
13120         * gst/gstevent.h:
13121         * gst/gstquery.c: (gst_query_set_position),
13122         (gst_query_parse_position), (gst_query_set_duration),
13123         (gst_query_parse_duration), (gst_query_new_convert):
13124         * gst/gstutils.c:
13125         Yay! 1% more docs coverage.
13126
13127 2005-10-20  Wim Taymans  <wim@fluendo.com>
13128
13129         * gst/gstpad.h:
13130         * gst/gstquery.c: (gst_query_set_position),
13131         (gst_query_parse_position), (gst_query_set_duration),
13132         (gst_query_parse_duration), (gst_query_new_convert):
13133         * gst/gstquery.h:
13134         * gst/gstutils.c: (gst_element_query_convert):
13135         * gst/gstutils.h:
13136         Docs and consistency fixes.
13137
13138 2005-10-20  Wim Taymans  <wim@fluendo.com>
13139
13140         * gst/gsttask.c:
13141         * gst/gsttask.h:
13142         More docs.
13143
13144 2005-10-20  Wim Taymans  <wim@fluendo.com>
13145
13146         * gst/gstbin.c: (message_check), (bin_replace_message),
13147         (bin_remove_messages), (is_eos), (gst_bin_add_func),
13148         (update_degree), (gst_bin_sort_iterator_next),
13149         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
13150         Reworked the message handling a bit, cache the messages instead of
13151         only the senders. alows us to do more in the future.
13152
13153 2005-10-20  Wim Taymans  <wim@fluendo.com>
13154
13155         * docs/design/part-TODO.txt:
13156         Update TODO
13157
13158         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13159         (gst_base_sink_query):
13160         Don't use clock time to report position when in EOS.
13161
13162 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
13163
13164         * tools/gst-inspect.c: (print_interfaces),
13165         (print_element_properties_info), (print_element_info):
13166           Fix interface output with gst-inspect -a; don't print
13167           newlines after double/float properties.
13168
13169 2005-10-20  Wim Taymans  <wim@fluendo.com>
13170
13171         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13172         (gst_base_sink_query):
13173         Speed up current position calculation.
13174
13175         * gst/base/gstbasesrc.c: (gst_base_src_query),
13176         (gst_base_src_default_newsegment):
13177         Correctly set stream position in newsegment.
13178
13179         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
13180         (update_degree), (gst_bin_sort_iterator_next),
13181         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
13182         * gst/gstmessage.c: (gst_message_new_custom):
13183         Clean up debugging info
13184
13185         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13186         (gst_queue_loop), (gst_queue_handle_src_query):
13187         Pause task faster.
13188
13189 2005-10-19  Wim Taymans  <wim@fluendo.com>
13190
13191         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13192         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13193         Fix query handling again.
13194
13195 2005-10-19  Wim Taymans  <wim@fluendo.com>
13196
13197         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13198         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13199         * gst/base/gstbasesrc.c: (gst_base_src_query):
13200         * gst/elements/gstfilesink.c: (gst_file_sink_query):
13201         * gst/elements/gsttypefindelement.c:
13202         (gst_type_find_handle_src_query), (find_element_get_length),
13203         (gst_type_find_element_activate):
13204         API change fix.
13205
13206         * gst/gstquery.c: (gst_query_new_position),
13207         (gst_query_set_position), (gst_query_parse_position),
13208         (gst_query_new_duration), (gst_query_set_duration),
13209         (gst_query_parse_duration), (gst_query_set_segment),
13210         (gst_query_parse_segment):
13211         * gst/gstquery.h:
13212         Bundling query position/duration is not a good idea since duration
13213         does not change much and we don't want to recalculate it for every
13214         position query, so they are separated again..
13215         Base value in segment query is not needed.
13216
13217         * gst/gstqueue.c: (gst_queue_handle_src_query):
13218         * gst/gstutils.c: (gst_element_query_position),
13219         (gst_element_query_duration), (gst_pad_query_position),
13220         (gst_pad_query_duration):
13221         * gst/gstutils.h:
13222         Updates for query API change.
13223         Added some docs here and there.
13224
13225 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13226
13227         * check/gst/gstbin.c: (GST_START_TEST):
13228         * check/gst/gstghostpad.c: (GST_START_TEST):
13229         * check/pipelines/cleanup.c: (GST_START_TEST):
13230           wait on thread to die so we can check refcount correctly
13231
13232 2005-10-18  Wim Taymans  <wim@fluendo.com>
13233
13234         * check/pipelines/stress.c: (GST_START_TEST):
13235         Make check a little more time consuming.
13236
13237 2005-10-18  Wim Taymans  <wim@fluendo.com>
13238
13239         * check/Makefile.am:
13240         * check/pipelines/stress.c: (GST_START_TEST),
13241         (simple_launch_lines_suite), (main):
13242         Small state change torture test.
13243
13244         * docs/design/part-states.txt:
13245         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13246         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
13247         (gst_base_sink_change_state):
13248         Never take state lock from streaming thread, clean up ugly
13249         hacks. Unfortunatly core does not yet support nice ways to
13250         async commit state.
13251         
13252         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
13253         (bin_bus_handler):
13254         Start state recalc if a STATE_DIRTY message is posted, but only
13255         on the toplevel bin.
13256
13257         * gst/gstelement.c: (gst_element_sync_state_with_parent),
13258         (gst_element_get_state_func), (gst_element_abort_state),
13259         (gst_element_commit_state), (gst_element_lost_state),
13260         (gst_element_set_state_func), (gst_element_change_state):
13261         * gst/gstelement.h:
13262         State variables are now protected with the LOCK, the state
13263         lock is only used to serialize _set_state().
13264
13265 2005-10-18  Wim Taymans  <wim@fluendo.com>
13266
13267         * check/gst/gstbin.c: (GST_START_TEST):
13268         * check/gst/gstmessage.c: (GST_START_TEST):
13269         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13270         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
13271         (bin_bus_handler):
13272         * gst/gstelement.c: (gst_element_abort_state),
13273         (gst_element_commit_state), (gst_element_lost_state):
13274         * gst/gstmessage.c: (gst_message_new_state_changed),
13275         (gst_message_new_state_dirty), (gst_message_new_segment_start),
13276         (gst_message_new_segment_done), (gst_message_new_duration),
13277         (gst_message_parse_state_changed),
13278         (gst_message_parse_segment_start),
13279         (gst_message_parse_segment_done), (gst_message_parse_duration):
13280         * gst/gstmessage.h:
13281         * tools/gst-launch.c: (event_loop):
13282         Seriously, this is better than a previous commit as we only need
13283         to notify the fact that an element changed state in a streaming
13284         thread, marking the state of the parents dirty, hence the 
13285         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
13286         message.
13287
13288 2005-10-18  Wim Taymans  <wim@fluendo.com>
13289
13290         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
13291         (gst_bin_recalc_func):
13292         * gst/gstelement.c: (gst_element_set_clock),
13293         (gst_element_abort_state), (gst_element_lost_state):
13294         Cleanups, prepare for state change fixes.
13295
13296 2005-10-18  Wim Taymans  <wim@fluendo.com>
13297
13298         * gst/gstbin.h:
13299         * gst/gstelement.c: (gst_element_class_init),
13300         (gst_element_set_state), (gst_element_set_state_func):
13301         * gst/gstelement.h:
13302         Pending ABI changes.
13303         GThreadPool in GstBinClass to monitor async state changes.
13304         state_cookie in GstElement to detect concurrent gst/set state.
13305         set_state is now virtual too in case a very complicated element
13306         has to be constructed.
13307
13308 2005-10-18  Wim Taymans  <wim@fluendo.com>
13309
13310         * check/gst/gstbin.c: (GST_START_TEST):
13311         * check/gst/gstmessage.c: (GST_START_TEST):
13312         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13313         * gst/gstbin.c: (bin_bus_handler):
13314         * gst/gstelement.c: (gst_element_commit_state),
13315         (gst_element_lost_state):
13316         * gst/gstmessage.c: (gst_message_new_state_changed),
13317         (gst_message_new_segment_start), (gst_message_new_segment_done),
13318         (gst_message_new_duration), (gst_message_parse_state_changed),
13319         (gst_message_parse_segment_start),
13320         (gst_message_parse_segment_done), (gst_message_parse_duration):
13321         * gst/gstmessage.h:
13322         * tools/gst-launch.c: (event_loop):
13323         Make messages future proof.
13324         state-change gets a flag if it was a message comming from the
13325         streaming thread.
13326         segment-start/stop can also be specified in other formats.
13327         A message to notify an app that a pipeline changed playback 
13328         duration.
13329         Also fix a GstMessage leak in -launch
13330
13331 2005-10-18  Andy Wingo  <wingo@pobox.com>
13332
13333         * gst/gstelement.c (gst_element_dispose): More helpful message.
13334
13335 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13336
13337         reviewed by: <delete if not using a buddy>
13338
13339         * common/gtk-doc.mak:
13340
13341 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13342
13343         * gst/gstregistry.c: (gst_registry_scan_path_level):
13344           unref a plug-in we get that was already initialized
13345
13346 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
13347
13348         * docs/gst/gstreamer-sections.txt:
13349         * docs/libs/gstreamer-libs-sections.txt:
13350         * gst/gstelement.h:
13351           add new api entries
13352           hide internal macro
13353
13354 2005-10-17  Andy Wingo  <wingo@pobox.com>
13355
13356         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
13357         cleanup.
13358
13359         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
13360
13361         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
13362
13363         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
13364         (gst_element_get_state_func): Better debug message.
13365         (gst_element_commit_state): s/INFO/DEBUG/.
13366         (gst_element_lost_state, gst_element_change_state): 
13367
13368         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
13369         (gst_message_new_custom): s/INFO/LOG/.
13370
13371 2005-10-17  Michael Smith <msmith@fluendo.com>
13372
13373         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13374           Check if end time is valid using end time, not start time.
13375
13376 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
13377
13378         * check/gst-libs/controller.c: (GST_START_TEST),
13379         (gst_controller_suite):
13380         * libs/gst/controller/gstcontroller.c:
13381         (gst_controlled_property_set_interpolation_mode):
13382         * libs/gst/controller/gstcontroller.h:
13383         * libs/gst/controller/gstinterpolation.c:
13384         * testsuite/controller/.cvsignore:
13385         * testsuite/controller/Makefile.am:
13386         * testsuite/controller/interpolator.c:
13387           merge controller testsuites
13388           fix broken tests
13389           remove mem-chunk from docs
13390
13391 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
13392
13393         * gst/gstmemchunk.c:
13394         * gst/gstmemchunk.h:
13395         * gst/gsttrashstack.c:
13396         * gst/gsttrashstack.h:
13397           out.  get out.  you're fired.  to the Attic !
13398
13399 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
13400
13401         * gst/gstcaps.c: (gst_caps_intersect):
13402           fix signedness issues in a (hopefully) correct way
13403         * gst/gstelement.c: (gst_element_pads_activate):
13404           some debugging
13405         * gst/gstobject.c: (gst_object_set_parent):
13406           some debugging
13407
13408 2005-10-17  Julien MOUTTE  <julien@moutte.net>
13409
13410         * gst/gstvalue.h: Fix prototypes.
13411
13412 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13413
13414         * docs/gst/gstreamer-sections.txt:
13415         * gst/gst.c: (gst_version_string):
13416         * gst/gst.h:
13417         * gst/gstversion.h.in:
13418         * win32/common/libgstreamer.def:
13419           add gst_version_string ()
13420
13421 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13422
13423         * configure.ac:
13424           clean up further
13425         * gst/gst.c: (init_post):
13426         * win32/common/config.h.in:
13427           it's PLUGINDIR now
13428         * gst/gstcaps.c: (gst_caps_intersect):
13429           use gint64, the range could be bigger than a guint
13430
13431 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13432
13433         * gst/gstclock.h:
13434           document potential problem in 2038
13435
13436 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13437
13438         * gst/gstcaps.c: (gst_caps_intersect):
13439           Fix guint j diving under 0
13440
13441 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13442
13443         * configure.ac:
13444         * win32/common/config.h:
13445         * win32/common/config.h.in:
13446           check for process.h, declares getpid() on Windows
13447         * gst/gstinfo.c:
13448           include process.h if we have it
13449         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
13450         * gst/gstmemchunk.h:
13451           fix signedness issues
13452         * win32/common/libgstreamer.def:
13453           fix get_type's
13454
13455 2005-10-16  Julien MOUTTE  <julien@moutte.net>
13456
13457         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
13458         fix. Because of unsigned ints, caps intersection was going nuts and
13459         trying to access structures with G_MAXUINT index. That fixes
13460         videotestsrc ! ffmpegcolorspace ! fakesink
13461         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
13462         consistency.
13463
13464 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13465
13466         * configure.ac:
13467           use the gettext macro
13468         * gst/elements/gstelements.c:
13469         * gst/gst.c:
13470         * gst/indexers/gstindexers.c:
13471           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
13472         * win32/common/config.h:
13473           updated config.h
13474         * win32/common/config.h.in:
13475           add the template to generate config.h
13476         * win32/common/gstenumtypes.c:
13477         * win32/common/gstversion.h:
13478           updated copies
13479
13480 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13481
13482         * gst/gst.c: (gst_version):
13483         * gst/gstversion.h.in:
13484           add the nano
13485
13486 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
13487
13488         * gst/gstevent.h:
13489           Oops, add missing closing bracket.
13490
13491 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13492
13493         * configure.ac:
13494           use common m4's for argument checking
13495
13496 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
13497
13498         * docs/gst/gstreamer-sections.txt:
13499         * gst/gstevent.h:
13500           Add GST_EVENT_TYPE_NAME() macro.
13501
13502 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13503
13504         * gst/gstinfo.c:
13505         * gst/gstpluginfeature.c:
13506         * gst/gsttask.c:
13507           privatize more symbols
13508
13509 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13510
13511         * configure.ac:
13512           add srcdir, builddir includes to GST_ALL_CFLAGS, since
13513           everything that uses GStreamer API should have the includes
13514
13515 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13516
13517         * docs/gst/gstreamer-sections.txt:
13518         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13519         * gst/gstvalue.h:
13520           give each value a _get_type, removes the DATA exports
13521
13522 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13523
13524         * gst/gst.c:
13525         * gst/gst.h:
13526           remove _gst_registry_auto_load, not used anymore
13527         * gst/gstbin.c: (gst_bin_get_type):
13528         * gst/gstbin.h:
13529         * gst/gstelement.c: (gst_element_get_type):
13530         * gst/gstelement.h:
13531         * gst/gstobject.c: (gst_object_get_type):
13532         * gst/gstobject.h:
13533         * gst/gstpad.c: (gst_pad_get_type):
13534         * gst/gstpad.h:
13535           make _get_type functions similar, fixes data export from library
13536
13537 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13538
13539         * configure.ac:
13540           correctly make conditionals
13541         * gst/elements/Makefile.am:
13542         * gst/elements/gstelements.c:
13543           fix typo causing fdsrc not to build
13544
13545 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13546
13547         * testsuite/Makefile.am:
13548         * testsuite/bytestream/.cvsignore:
13549         * testsuite/bytestream/Makefile.am:
13550         * testsuite/bytestream/filepadsink.c:
13551         * testsuite/bytestream/gstbstest.c:
13552         * testsuite/bytestream/test1.c:
13553         * testsuite/bytestream/testfile1:
13554         * testsuite/caps/normalisation.c:
13555         * testsuite/caps/random.c: (main):
13556         * testsuite/cleanup/.cvsignore:
13557         * testsuite/cleanup/Makefile.am:
13558         * testsuite/cleanup/cleanup1.c:
13559         * testsuite/cleanup/cleanup2.c:
13560         * testsuite/cleanup/cleanup3.c:
13561         * testsuite/cleanup/cleanup4.c:
13562         * testsuite/cleanup/cleanup5.c:
13563         * testsuite/controller/interpolator.c:
13564         * testsuite/debug/printf_extension.c: (main):
13565         * testsuite/elements/tee.c:
13566         * testsuite/negotiation/.cvsignore:
13567         * testsuite/negotiation/Makefile.am:
13568         * testsuite/negotiation/pad_link.c:
13569         * testsuite/pad/Makefile.am:
13570         * testsuite/pad/chainnopull.c:
13571         * testsuite/pad/getnopush.c:
13572         * testsuite/pad/link.c:
13573         * testsuite/refcounting/sched.c: (create_pipeline):
13574         * testsuite/registry/Makefile.am:
13575         * testsuite/registry/gst-print-formats.c:
13576         * testsuite/schedulers/.cvsignore:
13577         * testsuite/schedulers/142183-2.c:
13578         * testsuite/schedulers/142183.c:
13579         * testsuite/schedulers/143777-2.c:
13580         * testsuite/schedulers/143777.c:
13581         * testsuite/schedulers/147713.c:
13582         * testsuite/schedulers/147819.c:
13583         * testsuite/schedulers/147894-2.c:
13584         * testsuite/schedulers/147894.c:
13585         * testsuite/schedulers/Makefile.am:
13586         * testsuite/schedulers/group_link.c:
13587         * testsuite/schedulers/queue_link.c:
13588         * testsuite/schedulers/relink.c:
13589         * testsuite/schedulers/unlink.c:
13590         * testsuite/schedulers/unref.c:
13591         * testsuite/schedulers/useless_iteration.c:
13592         * testsuite/states/bin.c:
13593           clean out/remove some stuff from the testsuite directories
13594
13595 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13596
13597         * configure.ac:
13598           check for some headers
13599         * gst/elements/Makefile.am:
13600         * gst/elements/gstelements.c:
13601           don't compile fdsrc without sys/socket.h
13602         * gst/indexers/Makefile.am:
13603         * gst/indexers/gstindexers.c: (plugin_init):
13604           don't compile fileindex without mmap
13605
13606 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13607
13608         * configure.ac:
13609           reorganize
13610           clean up
13611           document more
13612           remove cruft
13613         * check/Makefile.am:
13614         * docs/gst/Makefile.am:
13615         * examples/helloworld/Makefile.am:
13616         * gst/Makefile.am:
13617         * gst/base/Makefile.am:
13618         * gst/check/Makefile.am:
13619         * gst/elements/Makefile.am:
13620         * gst/indexers/Makefile.am:
13621         * gst/parse/Makefile.am:
13622         * libs/gst/controller/Makefile.am:
13623         * libs/gst/dataprotocol/Makefile.am:
13624         * examples/helloworld/helloworld.c: (event_loop):
13625           compile fixes, though it's not being compiled currently
13626
13627 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13628
13629         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
13630           Add some simple tests for the new taglist date API.
13631
13632 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13633
13634         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
13635         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
13636           Beautify 'last-message' output: print 'none' for buffer timestamps
13637           and durations if none is set; improve alignment with next messages.
13638
13639 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13640
13641         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
13642         * gst/gstpluginfeature.h:
13643         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
13644         * gst/gstregistry.h:
13645         * docs/gst/gstreamer-sections.txt:
13646           Add new API to check plugin feature version requirements.
13647
13648         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
13649           Some basic tests for the above.         
13650
13651 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13652
13653         * gst/gststructure.c: (gst_structure_to_string):
13654           guard against NULL printf - happens when for example
13655           a message structure with GstClock gets serialized
13656
13657 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
13658
13659         * gst/base/gstcollectpads.c: (gst_collectpads_event):
13660           Fix presumable copy'n'pasto.
13661
13662 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13663
13664         * gst/elements/gstfakesrc.h:
13665         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
13666         * gst/elements/gsttypefindelement.c:
13667           fix some signedness
13668         * gst/elements/gstfilesink.c: (gst_file_sink_render):
13669           I wonder if this could actually write +2GB files before
13670
13671 2005-10-13  Andy Wingo  <wingo@pobox.com>
13672
13673         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
13674         Fix Timmeke Waymans bug.
13675         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
13676         string of the proper length to gst_caps_from_string. There's a
13677         potential for, before this fix, that this could cause someone
13678         connecting over the network to cause a segfault if the payload is
13679         not NUL-terminated.
13680
13681 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
13682
13683         * docs/design/draft-push-pull.txt:
13684         * docs/design/part-overview.txt:
13685         * docs/random/TODO-pre-0.9:
13686         * docs/random/old/ChangeLog.gstreamer:
13687         * gst/base/gstpushsrc.c:
13688         * gst/gstclock.c:
13689           fixed typos
13690
13691 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13692
13693         * gst/glib-compat.c: (gst_flags_get_first_value):
13694         * gst/glib-compat.h:
13695         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
13696         (gst_value_compare_double), (gst_value_serialize_flags):
13697           GLib 2.6 g_flags_get_first_value has a bug that triggers an
13698           infinite loop
13699
13700 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13701
13702         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13703         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13704           fix up debugging
13705         * tools/gst-launch.c: (event_loop):
13706           print out clock nicely
13707
13708 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
13709
13710         * docs/gst/gstreamer-sections.txt:
13711         * gst/gsttaglist.h:
13712         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
13713         (gst_tag_list_get_date_index):
13714           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
13715           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
13716
13717 2005-10-13  Julien MOUTTE  <julien@moutte.net>
13718
13719         * gst/base/gstcollectpads.c: (gst_collectpads_event),
13720         (gst_collectpads_chain):
13721         * gst/base/gstcollectpads.h: Handle newsegment and store informations
13722         in CollectData.
13723
13724 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
13725
13726         * docs/gst/gstreamer-sections.txt:
13727         * gst/gst.c:
13728         * gst/gsterror.h:
13729         * tools/gst-inspect.c: (main):
13730         * tools/gst-launch.c: (main):
13731         * tools/gst-run.c: (main):
13732         * tools/gst-xmlinspect.c: (main):
13733           fix GOption context leaks
13734           doc fixes
13735
13736 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13737
13738         * gst/gstbus.c:
13739           use HAVE_UNISTD_H
13740         * win32/common/config.h:
13741           update config
13742         * win32/vs6/grammar.dsp:
13743         * win32/vs6/libgstelements.dsp:
13744         * win32/vs6/libgstreamer.dsp:
13745           update vs6 files
13746
13747 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13748
13749         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13750         * gst/base/gstbasesrc.c: (gst_base_src_query):
13751           fix more guint64<->gdouble conversions
13752
13753 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13754
13755         * Makefile.am:
13756           add win32-update target
13757         * win32/common/gstconfig.h:
13758         * win32/common/gstenumtypes.c:
13759         * win32/common/gstenumtypes.h:
13760         * win32/common/gstversion.h:
13761           add files that visual studio can't generate
13762
13763 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13764
13765         * Makefile.am:
13766           add a win32-update target
13767         * configure.ac:
13768
13769 2005-10-12  Wim Taymans  <wim@fluendo.com>
13770
13771         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13772         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
13773         * gst/gstelement.c: (gst_element_commit_state),
13774         (gst_element_set_state):
13775         Protect flags with proper lock.
13776         unref provided cached clock in dispose.
13777
13778 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
13779
13780         * gst/gst.c:
13781         * gst/gstminiobject.h:
13782         * gst/gstpad.h:
13783         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
13784           removed unused flags from miniobject
13785           doc fixes
13786
13787 2005-10-12  Wim Taymans  <wim@fluendo.com>
13788
13789         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13790         (gst_file_sink_event), (gst_file_sink_render):
13791         Flush before seeking.
13792
13793 2005-10-12  Andy Wingo  <wingo@pobox.com>
13794
13795         * gst/gst.c (gst_init_check): Ignore unknown options, as has
13796         always been the case.
13797
13798 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
13799
13800         * check/gst/gstbin.c: (GST_START_TEST):
13801         * docs/gst/gstreamer-sections.txt:
13802         * gst/base/gstbasesink.c: (gst_base_sink_init):
13803         * gst/base/gstbasesrc.c: (gst_base_src_init),
13804         (gst_base_src_get_range), (gst_base_src_check_get_range),
13805         (gst_base_src_start), (gst_base_src_stop):
13806         * gst/base/gstbasesrc.h:
13807         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
13808         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13809         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
13810         (bin_bus_handler):
13811         * gst/gstbin.h:
13812         * gst/gstbuffer.h:
13813         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
13814         * gst/gstbus.h:
13815         * gst/gstelement.c: (gst_element_is_locked_state),
13816         (gst_element_set_locked_state), (gst_element_commit_state),
13817         (gst_element_set_state):
13818         * gst/gstelement.h:
13819         * gst/gstindex.c: (gst_index_init):
13820         * gst/gstindex.h:
13821         * gst/gstminiobject.h:
13822         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
13823         (gst_object_set_parent):
13824         * gst/gstobject.h:
13825         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
13826         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
13827         * gst/gstpad.h:
13828         * gst/gstpadtemplate.h:
13829         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
13830         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
13831         * gst/gstpipeline.h:
13832         * gst/indexers/gstfileindex.c: (gst_file_index_load),
13833         (gst_file_index_commit):
13834         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
13835         * testsuite/pad/link.c: (gst_test_src_init),
13836         (gst_test_filter_init), (gst_test_sink_init):
13837         * testsuite/states/locked.c: (main):
13838           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
13839           moved bitshift from macro to enum definition
13840
13841 2005-10-12  Wim Taymans  <wim@fluendo.com>
13842
13843         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
13844         * gst/elements/gstfilesink.c: (gst_file_sink_event),
13845         (gst_file_sink_render):
13846         Some more debugging info.
13847
13848 2005-10-12  Wim Taymans  <wim@fluendo.com>
13849
13850         * docs/design/part-states.txt:
13851         * tools/gst-launch.c: (main):
13852         Some doc updates.
13853         Revert non-intentional change.
13854
13855 2005-10-12  Wim Taymans  <wim@fluendo.com>
13856
13857         * check/gst/gstbin.c: (GST_START_TEST):
13858         * check/gst/gstelement.c: (GST_START_TEST):
13859         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
13860         * check/gst/gstghostpad.c: (GST_START_TEST):
13861         * check/gst/gstpipeline.c: (GST_START_TEST):
13862         * check/pipelines/simple_launch_lines.c: (run_pipeline):
13863         * check/states/sinks.c: (GST_START_TEST):
13864         * gst/elements/gsttypefindelement.c: (stop_typefinding):
13865         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13866         (gst_bin_remove_func), (gst_bin_get_state_func),
13867         (gst_bin_recalc_state), (gst_bin_change_state_func),
13868         (bin_bus_handler):
13869         * gst/gstelement.c: (gst_element_get_state_func),
13870         (gst_element_get_state), (gst_element_abort_state),
13871         (gst_element_commit_state), (gst_element_set_state),
13872         (gst_element_change_state), (gst_element_change_state_func):
13873         * gst/gstelement.h:
13874         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
13875         (gst_pipeline_provide_clock_func):
13876         * gst/gstutils.c: (gst_element_link_pads_filtered):
13877         * tools/gst-launch.c: (main):
13878         * tools/gst-typefind.c: (main):
13879         Use GstClockTime in _get_state() instead of GTimeVal.
13880         Remove old code in gstutils.c
13881
13882 2005-10-12  Andy Wingo  <wingo@pobox.com>
13883
13884         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
13885         removed.
13886
13887         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
13888         there is no task. Shouldn't affect any code, as nothing in our
13889         plugins checks this return value.
13890         (gst_pad_stop_task): Also take the stream lock if the pad has no
13891         task. Docs updated.
13892
13893 2005-10-12  Wim Taymans  <wim@fluendo.com>
13894
13895         * gst/gstpad.c: (pre_activate), (post_activate),
13896         (gst_pad_activate_pull), (gst_pad_activate_push):
13897         Cleanup activation code. Reset old state if
13898         activation failed.
13899
13900 2005-10-12  Wim Taymans  <wim@fluendo.com>
13901
13902         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13903         (gst_base_sink_change_state):
13904         No need to prerol after receiving EOS.
13905
13906         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13907         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
13908         * gst/elements/gstidentity.c: (gst_identity_event):
13909         Print events more verbosely.
13910
13911 2005-10-12  Wim Taymans  <wim@fluendo.com>
13912
13913         * check/Makefile.am:
13914         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
13915         * check/states/sinks2.c:
13916         Moved sinks2 testcode in sinks check.
13917
13918         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13919         (gst_bin_remove_func), (gst_bin_recalc_state),
13920         (gst_bin_change_state_func), (bin_bus_handler):
13921         Fix potential race condition when _get_state() iterated over an
13922         ASYNC element right before it posted a state completion.
13923
13924         * gst/gstclock.h:
13925         Do proper cast here.
13926
13927         * gst/gstevent.c: (gst_event_new_newsegment),
13928         (gst_event_parse_newsegment):
13929         A playback rate of 0.0 is not allowed.
13930
13931 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13932
13933         * win32/common/config.h:
13934         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
13935         (_trewinddir), (_ttelldir), (_tseekdir):
13936         * win32/common/dirent.h:
13937         * win32/common/gtchar.h:
13938         * win32/common/libgstbase.def:
13939         * win32/common/libgstreamer.def:
13940         * win32/vs6/grammar.dsp:
13941         * win32/vs6/gst_inspect.dsp:
13942         * win32/vs6/gst_launch.dsp:
13943         * win32/vs6/gstreamer.dsw:
13944         * win32/vs6/libgstbase.dsp:
13945         * win32/vs6/libgstelements.dsp:
13946         * win32/vs6/libgstreamer.dsp:
13947           Visual Studio 6 project files, and a new common directory.
13948           Phear.
13949
13950 2005-10-11  Wim Taymans  <wim@fluendo.com>
13951
13952         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13953         (gst_base_sink_do_sync), (gst_base_sink_query),
13954         (gst_base_sink_change_state):
13955         * gst/base/gstbasesink.h:
13956         Correctly parse newsegment info.
13957
13958 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13959
13960         * gst/gst.c: (init_post):
13961           split plugin paths correctly
13962
13963 2005-10-11  Wim Taymans  <wim@fluendo.com>
13964
13965         * check/gst/gstevent.c: (GST_START_TEST):
13966         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13967         (gst_base_sink_change_state):
13968         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
13969         * gst/base/gstbasetransform.c: (gst_base_transform_event):
13970         * gst/elements/gstfilesink.c: (gst_file_sink_event):
13971         * gst/gstevent.c: (gst_event_new_newsegment),
13972         (gst_event_parse_newsegment):
13973         * gst/gstevent.h:
13974         Added extra flag to newsegment for future API freeze.
13975         Updated check and base elements.
13976
13977 2005-10-11  Julien MOUTTE  <julien@moutte.net>
13978
13979         * gst/base/gstcollectpads.c: (gst_collectpads_init),
13980         (gst_collectpads_add_pad), (gst_collectpads_pop),
13981         (gst_collectpads_event), (gst_collectpads_chain):
13982         * gst/base/gstcollectpads.h: Handle EOS correctly.
13983
13984 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13985
13986         * tools/gst-launch.c: (main):
13987           more null protecting
13988
13989 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13990
13991         * gst/gst-i18n-lib.h:
13992           check for ENABLE_NLS, not GETTEXT_PACKAGE
13993         * gst/gstregistry.c: (gst_registry_add_plugin),
13994         (gst_registry_scan_path_level),
13995         (_gst_registry_remove_cache_plugins):
13996           protect possibly NULL strings
13997         * gst/parse/types.h:
13998           config.h already included before
13999         * tools/gst-inspect.c: (main):
14000           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
14001           check for ENABLE_NLS, not GETTEXT_PACKAGE
14002         * tools/gst-launch.c: (main):
14003           check for ENABLE_NLS, not GETTEXT_PACKAGE
14004
14005 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14006
14007         * configure.ac:
14008           if we don't have glib, fail before testing 2.8
14009         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
14010           fix a leak, should fix plugins-base testsuite
14011
14012 2005-10-11  Andy Wingo  <wingo@pobox.com>
14013
14014         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
14015         take the mode we're going to as an arg. Go head and set the mode
14016         and flushing flags now, so that if the activate function starts a
14017         thread all the flags will be in the right state.
14018         (post_activate): Renamed also. Just handle making sure streaming
14019         finishes for the deactivation case, and setting the deactivated
14020         mode.
14021         (gst_pad_set_active): Complain loudly if deactivation fails.
14022         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
14023         (gst_pad_activate_push): Adapt to pre/post_activate changes,
14024         remove the terrible hack.
14025
14026 2005-10-11  Wim Taymans  <wim@fluendo.com>
14027
14028         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14029         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
14030         (gst_bin_recalc_state), (gst_bin_change_state_func),
14031         (gst_bin_dispose), (bin_bus_handler):
14032         * gst/gstbin.h:
14033         Prepare to make current EOS message queue more generic.
14034         Fix some typos.
14035
14036         * gst/gstevent.c: (gst_event_new_newsegment),
14037         (gst_event_parse_newsegment):
14038         * gst/gstevent.h:
14039         Rename base to stream_time.
14040
14041         * gst/gstmessage.h:
14042         Fix typo in docs.
14043
14044 2005-10-11  Wim Taymans  <wim@fluendo.com>
14045
14046         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14047         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
14048         (gst_bin_change_state_func), (bin_bus_handler):
14049         * gst/gstbin.h:
14050         Work on proper clock selection.
14051
14052 2005-10-11  Edward Hervey  <edward@fluendo.com>
14053
14054         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
14055         * libs/gst/controller/gstcontroller.h:
14056         Added GList* version of _remove_properties() in order to be able to wrap
14057         it in bindings.
14058
14059 2005-10-11  Wim Taymans  <wim@fluendo.com>
14060
14061         * docs/design/part-states.txt:
14062         Some more docs.
14063
14064         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
14065         (gst_bin_change_state_func), (bin_bus_handler):
14066         Doc updates. Don't distribute the same clock over and over again.
14067
14068         * gst/gstclock.c:
14069         * gst/gstclock.h:
14070         Doc updates.
14071
14072         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
14073         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
14074         (gst_pad_send_event):
14075         * gst/gstpad.h:
14076         Make probe emission threadsafe again.
14077         Register quarks and move _get_name() from utils.
14078         Doc updates.
14079
14080         * gst/gstpipeline.c: (gst_pipeline_class_init),
14081         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14082         Only redistribute the clock of it changed.
14083
14084         * gst/gstsystemclock.h:
14085         Doc updates. 
14086
14087         * gst/gstutils.c:
14088         * gst/gstutils.h:
14089         Moved the _flow_get_name() to GstPad.
14090
14091 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14092
14093         * check/gst-libs/gdp.c: (GST_START_TEST):
14094         * check/gst/gstcaps.c: (GST_START_TEST):
14095         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
14096         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
14097         (gst_dp_packet_from_caps):
14098           fix more valgrind warnings before turning up the heat
14099
14100 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14101
14102         * gst/parse/grammar.y:
14103           some cleanup before the hacking
14104
14105 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14106
14107         * gst/base/gstbasesrc.c: (gst_base_src_query):
14108           use conversions
14109         * gst/gstutils.c: (gst_guint64_to_gdouble),
14110         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
14111         * gst/gstutils.h:
14112           externalize, basesrc uses it
14113           obviously the implementation needs testing
14114
14115 2005-10-10  Wim Taymans  <wim@fluendo.com>
14116
14117         * tests/sched/Makefile.am:
14118         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
14119         (make_pipeline3), (make_pipeline4), (print_elem), (main):
14120
14121 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14122
14123         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
14124           apparently converting from guint64 to double is not implemented
14125           on MSVC
14126
14127 2005-10-10  Wim Taymans  <wim@fluendo.com>
14128
14129         * check/Makefile.am:
14130         * check/generic/states.c: (GST_START_TEST):
14131         * check/gst/gstbin.c: (GST_START_TEST):
14132         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14133         * check/states/sinks.c: (GST_START_TEST):
14134         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
14135         (main):
14136         Check fixes, use API as stated in design docs, remove hacks.
14137
14138         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14139         (gst_base_sink_change_state):
14140         Catch stopping our task while we're shutting down.
14141
14142         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
14143         (gst_bin_remove_func), (gst_bin_get_state_func),
14144         (gst_bin_recalc_state), (gst_bin_change_state_func),
14145         (bin_bus_handler):
14146         * gst/gstbin.h:
14147         * gst/gstelement.c: (gst_element_init),
14148         (gst_element_get_state_func), (gst_element_abort_state),
14149         (gst_element_commit_state), (gst_element_lost_state),
14150         (gst_element_set_state), (gst_element_change_state),
14151         (gst_element_change_state_func):
14152         * gst/gstelement.h:
14153         New state change algorithm (see #318116)
14154
14155         * gst/gstpipeline.c: (gst_pipeline_class_init),
14156         (gst_pipeline_init), (gst_pipeline_set_property),
14157         (gst_pipeline_get_property), (do_pipeline_seek),
14158         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14159         * gst/gstpipeline.h:
14160         Remove crude state change hacks.
14161
14162         * gst/gstutils.h:
14163         Remove crude hacks.
14164
14165         * tools/gst-launch.c: (main):
14166         Fixes for state change. Needs some more work to fully use the
14167         new stuff.
14168
14169 2005-10-10  Andy Wingo  <wingo@pobox.com>
14170
14171         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
14172
14173         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
14174         this flag, but it's not even in GLib 2.6. Odd. Hack around the
14175         issue.
14176
14177 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14178
14179         * gst/gstiterator.c: (gst_iterator_new):
14180           Fix my previous commit: GTypes passed to gst_iterator_new()
14181           can be fundamental types.
14182
14183 2005-10-10  Wim Taymans  <wim@fluendo.com>
14184
14185         * gst/gstelement.c: (gst_element_iterate_pad_list),
14186         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
14187         (gst_element_iterate_sink_pads):
14188         Use src/sink pads lists for the respective iterators instead
14189         of filtering.
14190
14191 2005-10-10  Andy Wingo  <wingo@pobox.com>
14192
14193         Merged in popt removal + GOption addition patch from Ronald, bug
14194         #169772.
14195
14196         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
14197         GstElement macros around, remove popt-related symbols, add goption
14198         stuff.
14199
14200         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
14201         
14202         * docs/gst/Makefile.am:
14203         * docs/libs/Makefile.am: No POPT_CFLAGS.
14204         
14205         * examples/manual/Makefile.am:
14206         * docs/manual/basics-init.xml: Doc updates with an example.
14207         
14208         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
14209         (gst_init), (parse_one_option), (parse_goption_arg):
14210         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
14211         bit of hand merging and debugging to get the GOption stuff working
14212         tho.
14213         
14214         * tests/Makefile.am:
14215         * tools/Makefile.am:
14216         * tools/gst-inspect.c: (main):
14217         * tools/gst-launch.c: (main):
14218         * tools/gst-run.c: (main):
14219         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
14220
14221 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14222
14223         * gst/gstiterator.c: (gst_iterator_new):
14224           Add assertions to make sure passed GType is likely to really
14225           be a GType (as the compiler won't catch it if the size and
14226           GType arguments get mixed up, see #318447).
14227
14228 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
14229
14230         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14231
14232         * gst/gstbin.c: (gst_bin_iterate_sorted):
14233           Pass GType and size arguments to gst_iterator_new() in the right
14234           order (maybe we should make _new() take the GType as first argument
14235           just like _new_list()?) (#318447).
14236           
14237
14238 2005-10-10  Wim Taymans  <wim@fluendo.com>
14239
14240         * gst/gstelement.c: (gst_element_finalize):
14241         And free the GStaticRecMutex too
14242
14243 2005-10-10  Andy Wingo  <wingo@pobox.com>
14244
14245         * gst/gstelement.c (gst_element_init, gst_element_finalize):
14246         Allocate and free the mutex properly.
14247
14248         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
14249         New macros.
14250         (GstElement): The state_lock is now recursive. Rebuild your
14251         plugins, suckers. Old macros adapted.
14252
14253         * docs/gst/gstreamer-sections.txt: Doc updates.
14254
14255         * gst/gstutils.h:
14256         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
14257         (g_static_rec_cond_wait): Ported from state changes patch, while
14258         we wait on bug #317802 to be solved in a well-distributed GLib.
14259
14260         * gst/gstelement.c (gst_element_change_state_func): Renamed from
14261         gst_element_change_state, variable name changes.
14262         (gst_element_change_state): Split out of gst_element_set_state in
14263         preparation for the state change merge. Doesn't pay attention to
14264         the 'transition' argument.
14265         (gst_element_set_state): Updates, hopefully purely cosmetic.
14266         (gst_element_sync_state_with_parent): MT-safety. Ported from the
14267         state change patch.
14268         (gst_element_get_state_func): Renamed from get_state, cosmetic
14269         changes.
14270
14271 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14272
14273         * gst/elements/gstelements.c:
14274         * win32/GStreamer.vcproj:
14275         * win32/config.h:
14276         * win32/dirent.c: (_tseekdir):
14277         * win32/gst-inspect.vcproj:
14278         * win32/gst-launch.vcproj:
14279         * win32/gstconfig.h:
14280         * win32/gstelements.vcproj:
14281         * win32/gstenumtypes.c: (gst_object_flags_get_type):
14282         * win32/gstreamer.def:
14283         * win32/msvc71.sln:
14284           updates for the win32 build (patch from Sebastien Moutte)
14285
14286 2005-10-10  Andy Wingo  <wingo@pobox.com>
14287
14288         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
14289         gst_bin_get_state, cleaned up (but no logic changes).
14290         (bin_element_is_sink): Comment updates.
14291         (sink_iterator_filter): Remove needless cast.
14292         (gst_bin_iterate_sinks): Doc update.
14293         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
14294         cleaned up (but no logic changes).
14295
14296         * check/states/sinks.c (test_src_sink): Cleanups from the state
14297         change patch.
14298         (test_livesrc_sink): Sync on the state.
14299
14300         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
14301         the state change patch.
14302
14303         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
14304         change patch.
14305
14306         * check/gst/gstbin.c: Merge in some style fixes and additional
14307         checks from Wim's state change patch.
14308
14309 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14310
14311         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14312         (gst_type_find_helper):
14313           Check whether we have the requested data already in our list of
14314           cached buffers before pulling a new buffer; also make the buffer
14315           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
14316
14317 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14318
14319         * gst/gstcaps.c:
14320         * gst/gstevent.c:
14321           doc updates
14322         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14323           don't use long long, it's not portable.  Replacing with
14324           gint64 seems to work; let's hope no skeletons fall out of the closet.
14325
14326 2005-10-10  Andy Wingo  <wingo@pobox.com>
14327
14328         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
14329
14330 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
14331
14332         * docs/gst/gstreamer-sections.txt:
14333         * gst/gstevent.c:
14334         * gst/gstevent.h:
14335         * gst/gstinfo.c:
14336         * gst/gstinfo.h:
14337         * gst/gstmessage.c: (gst_message_parse_state_changed):
14338         * gst/gstpad.c:
14339         * gst/gstpad.h:
14340           more docs, fix compilation
14341
14342 2005-10-09  Philippe Khalaf <burger@speedy.org>
14343         * gst/gstmessage.c:
14344           Fixed a few forgotten variables on previous commit
14345
14346 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
14347
14348         * gst/base/gsttypefindhelper.c: (helper_find_peek):
14349           Fix evil typefind crasher: getrange() might return a short
14350           buffer at the end of a file, but gst_type_find_peek() must
14351           either return the full data as requested or NULL, but
14352           never a short buffer.
14353
14354 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14355
14356         * gst/gstmessage.c: (gst_message_new_state_changed),
14357         (gst_message_parse_state_changed):
14358         * gst/gstmessage.h:
14359           don't use "new", it's a C++ keyword
14360
14361 2005-10-08  Wim Taymans  <wim@fluendo.com>
14362
14363         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
14364         * gst/gstelement.c: (gst_element_post_message):
14365         * gst/gstpipeline.c: (gst_pipeline_change_state):
14366         Small docs and debug updates.
14367
14368 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
14369
14370         * docs/gst/gstreamer-sections.txt:
14371         * gst/gstelementfactory.c:
14372         * gst/gstevent.c:
14373         * gst/gsttaglist.c:
14374           more docs
14375
14376 2005-10-08  Wim Taymans  <wim@fluendo.com>
14377
14378         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
14379         (gst_bin_dispose), (bin_bus_handler):
14380         Fix typos, add comments.
14381         Clear EOS list when going to PAUSED from any direction and do it
14382         in a threadsafe way.
14383         Get base time in a threadsafe way too.
14384         Fix confusing debug in the change_state function.
14385         Various other small cleanups.
14386         
14387         * gst/gstelement.c: (gst_element_post_message):
14388         Fix very verbose bus posting code.
14389
14390         * gst/gstpipeline.c: (gst_pipeline_class_init),
14391         (gst_pipeline_set_property), (gst_pipeline_get_property),
14392         (gst_pipeline_change_state):
14393         Small ARG_ -> PROP_ cleanup
14394
14395 2005-10-08  Wim Taymans  <wim@fluendo.com>
14396
14397         * gst/gstbin.c: (is_eos), (bin_bus_handler):
14398         Do a less CPU demanding EOS check because we can.
14399
14400 2005-10-08  Wim Taymans  <wim@fluendo.com>
14401
14402         * libs/gst/dataprotocol/dataprotocol.c:
14403         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14404         (gst_dp_packet_from_event):
14405         * libs/gst/dataprotocol/dataprotocol.h:
14406         * libs/gst/dataprotocol/dp-private.h:
14407         It's about time we bump the version number.
14408         Since event types don't fit in the guint8 anymore describing
14409         the payload type, make payload type 16 bits wide.
14410
14411 2005-10-08  Wim Taymans  <wim@fluendo.com>
14412
14413         * docs/design/part-TODO.txt:
14414         * docs/design/part-clocks.txt:
14415         * docs/design/part-events.txt:
14416         * docs/design/part-gstbin.txt:
14417         * docs/design/part-gstelement.txt:
14418         * docs/design/part-gstpipeline.txt:
14419         * docs/design/part-live-source.txt:
14420         * docs/design/part-messages.txt:
14421         * docs/design/part-overview.txt:
14422         * docs/design/part-states.txt:
14423         Many doc updates.
14424
14425 2005-10-08  Wim Taymans  <wim@fluendo.com>
14426
14427         * gst/gstevent.c:
14428         * gst/gstevent.h:
14429         Fix event quark registration.
14430         Add some space between events so we can insert them in the
14431         right groups.
14432
14433 2005-10-08  Wim Taymans  <wim@fluendo.com>
14434
14435         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14436         (gst_base_sink_handle_buffer):
14437         Better log message.
14438
14439         * gst/gstbus.h:
14440         * gst/gstelement.h:
14441         More docs.
14442
14443         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
14444         (gst_queue_set_property), (gst_queue_get_property):
14445         * gst/gstqueue.h:
14446         Remove old unused properties.
14447
14448 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
14449         * docs/gst/gstreamer-sections.txt:
14450         * gst/gstmessage.c:
14451         * gst/gstmessage.h:
14452         * gst/gstminiobject.c:
14453         * gst/gstminiobject.h:
14454         * gst/gstobject.h:
14455         * gst/gstpad.h:
14456         * gst/gstutils.h:
14457           lots of new docs and doc fixes
14458
14459 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14460
14461         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
14462         * gst/gstplugin.h:
14463         * gst/gstregistry.c: (gst_registry_lookup_locked),
14464         (gst_registry_scan_path_level):
14465         * gst/gstregistryxml.c: (load_plugin):
14466           Only ever load one plugin for a given plugin basename.
14467           This ensures correct overriding of GST_PLUGIN_PATH over
14468           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
14469           system installed plugins.
14470
14471 2005-10-08  Wim Taymans  <wim@fluendo.com>
14472
14473         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14474         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
14475         Prepare for doing QOS.
14476
14477 2005-10-08  Wim Taymans  <wim@fluendo.com>
14478
14479         * check/gst/gstbin.c: (GST_START_TEST):
14480         * check/pipelines/cleanup.c: (GST_START_TEST):
14481         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14482         Allow new clock message too.
14483
14484 2005-10-08  Wim Taymans  <wim@fluendo.com>
14485
14486         * gst/gstmessage.c: (gst_message_new_error),
14487         (gst_message_new_warning), (gst_message_new_tag),
14488         (gst_message_new_state_changed), (gst_message_new_clock_provide),
14489         (gst_message_new_clock_lost), (gst_message_new_new_clock),
14490         (gst_message_new_segment_start), (gst_message_new_segment_done),
14491         (gst_message_parse_state_changed),
14492         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
14493         (gst_message_parse_new_clock):
14494         * gst/gstmessage.h:
14495         Also carry the clock in question.
14496
14497 2005-10-08  Wim Taymans  <wim@fluendo.com>
14498
14499         * gst/gstmessage.c: (gst_message_new_custom),
14500         (gst_message_new_eos), (gst_message_new_error),
14501         (gst_message_new_warning), (gst_message_new_tag),
14502         (gst_message_new_state_changed), (gst_message_new_clock_provide),
14503         (gst_message_new_new_clock), (gst_message_new_segment_start),
14504         (gst_message_new_segment_done), (gst_message_parse_state_changed),
14505         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
14506         * gst/gstmessage.h:
14507         Clean up.
14508         Added clock related messages.
14509
14510         * gst/gstpipeline.c: (gst_pipeline_change_state):
14511         Post message when the clock changed.
14512
14513         * tools/gst-launch.c: (event_loop):
14514         Print new clock.
14515
14516 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
14517
14518         * tools/gst-inspect.c: (print_element_properties_info):
14519           Can't pass NULL strings to g_print() on windows.
14520
14521 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14522
14523         * docs/Makefile.am:
14524         * docs/gst/Makefile.am:
14525         * docs/gst/gstreamer-docs.sgml:
14526         * docs/gst/running.xml:
14527         * docs/version.entities.in:
14528           add a chapter on running GStreamer.
14529           document GST_DEBUG and GST_PLUGIN* env vars
14530
14531 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14532
14533         * Makefile.am:
14534           remove include dir
14535         * configure.ac:
14536           remove PLUGINS_BUILDDIR stuff
14537         * gst/gst.c: (init_post):
14538           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
14539         * idiottest.mak:
14540           remove, it was condescending and not needed
14541
14542 2005-10-08  Wim Taymans  <wim@fluendo.com>
14543
14544         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
14545         (gst_base_sink_handle_object), (gst_base_sink_event),
14546         (gst_base_sink_wait), (gst_base_sink_handle_event),
14547         (gst_base_sink_change_state):
14548         * gst/base/gstbasesink.h:
14549         Repost EOS message while going to PLAYING if still EOS.
14550         Make sure that when receiving a FLUSH_START we don't attempt
14551         to sync on the clock anymore.
14552
14553 2005-10-08  Wim Taymans  <wim@fluendo.com>
14554
14555         * tools/gst-launch.c: (event_loop):
14556         Better message printout.
14557
14558 2005-10-08  Wim Taymans  <wim@fluendo.com>
14559
14560         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
14561         (gst_bin_child_proxy_get_children_count):
14562         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14563         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
14564         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
14565         (gst_child_proxy_set_valist):
14566         * gst/parse/grammar.y:
14567         Make ChildProxy threadsafe and fix mem leaks.
14568
14569 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14570
14571         * gst/gst.c: (init_post):
14572           debug the GST_PLUGIN_ env vars
14573
14574 2005-10-08  Wim Taymans  <wim@fluendo.com>
14575
14576         * check/gst/gstbin.c: (GST_START_TEST):
14577         * check/gst/gstmessage.c: (GST_START_TEST):
14578         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14579         * gst/gstelement.c: (gst_element_commit_state),
14580         (gst_element_lost_state):
14581         * gst/gstmessage.c: (gst_message_new_state_changed),
14582         (gst_message_parse_state_changed):
14583         * gst/gstmessage.h:
14584         * tools/gst-launch.c: (event_loop):
14585         Added extra field to STATE_CHANGE message with the pending
14586         state, which will be different from the new state soon.
14587
14588 2005-10-08  Wim Taymans  <wim@fluendo.com>
14589
14590         * gst/gstbus.c: (gst_bus_pop):
14591         * gst/gstclock.c:
14592         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14593         Small cleanups and doc updates.
14594
14595 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14596
14597         * gst/gst.c: (init_pre):
14598         * gst/gstbin.c: (gst_bin_add_func):
14599           log distributing clocks and base time
14600         * gst/gstregistry.c: (gst_registry_add_plugin),
14601         (gst_registry_scan_path_level), (gst_registry_scan_path):
14602           clean up the debugging output a little
14603         * gst/gstutils.c: (gst_element_state_get_name):
14604           warn about a memleak (I've actually seen this be used, though
14605           it was probably a bug)
14606
14607 2005-10-07  Wim Taymans  <wim@fluendo.com>
14608
14609         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14610         (gst_base_src_init), (gst_base_src_default_newsegment),
14611         (gst_base_src_newsegment), (gst_base_src_do_seek),
14612         (gst_base_src_loop), (gst_base_src_start):
14613         * gst/base/gstbasesrc.h:
14614         Make the newsegment event customizable by subclasses.
14615
14616 2005-10-07  Wim Taymans  <wim@fluendo.com>
14617
14618         * gst/gstevent.c: (gst_event_new_buffersize),
14619         (gst_event_parse_buffersize):
14620         * gst/gstevent.h:
14621         New event for future idea.
14622
14623 2005-10-07  Andy Wingo  <wingo@pobox.com>
14624
14625         * gst/gstelement.c (gst_element_post_message): Doc update.
14626
14627         * docs/gst/gstreamer-sections.txt: Update.
14628
14629         * gst/gstmessage.c (gst_message_new_application): Made into a
14630         function like honest API calls.
14631         (gst_message_new_element): New message type.
14632
14633         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
14634
14635         * check/elements/fakesrc.c (test_no_preroll): New check, checks
14636         that setting a live fakesrc to PAUSED returns NO_PREROLL both
14637         times.
14638
14639         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
14640         NO_PREROLL from gst_element_change_state to fall through.
14641
14642 2005-10-07  Wim Taymans  <wim@fluendo.com>
14643
14644         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
14645         (gst_ghost_pad_do_activate_push):
14646         Activating a ghostpad with no internal pad in push mode
14647         is ok.
14648
14649 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14650
14651         * gst/gstobject.h:
14652           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
14653           Fixes compilation on Windows.
14654
14655 2005-10-07  Michael Smith <msmith@fluendo.com>
14656
14657         * tools/gst-inspect.c:
14658           Print out feature and plugin count at the end when printing out
14659           all features.
14660
14661 2005-10-04  Michael Smith <msmith@fluendo.com>
14662
14663         * gst/gsterror.c: (_gst_stream_errors_init):
14664           Add another error string used in a few existing plugins.
14665
14666         * gst/gstplugin.c:
14667         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14668         * tools/gst-inspect.c: (print_element_info):
14669           When a feature disappears from a plugin (and the feature exists in
14670           the cached registry file), things went horribly wrong. This isn't a
14671           complete fix, we should actually be removing the 'missing' features
14672           from the features list when we load the actual plugin. That's not
14673           yet implemented. 
14674
14675 2005-10-04  Johan Dahlin  <johan@gnome.org>
14676
14677         * check/gst/gstiterator.c: (GST_START_TEST):
14678         * gst/gstbin.c: (gst_bin_iterate_elements),
14679         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
14680         * gst/gstelement.c: (gst_element_iterate_pads):
14681         * gst/gstformat.c: (gst_format_iterate_definitions):
14682         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
14683         (gst_iterator_new_list), (gst_iterator_filter):
14684         * gst/gstiterator.h:
14685         * gst/gstquery.c: (gst_query_type_iterate_definitions):
14686         Add a GType to GstIterator, update callsites and tests.
14687
14688 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14689
14690         * gst/gstpad.c: (gst_pad_event_default_dispatch):
14691           give events a chance to be handled by event probes when the pad
14692           is not linked
14693
14694 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14695
14696         * gst/gstevent.c: (gst_event_type_get_name),
14697         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
14698         * gst/gstevent.h:
14699           add string representations for event types
14700
14701 2005-10-06  Wim Taymans  <wim@fluendo.com>
14702
14703         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
14704         Don't use NULL pointers.
14705
14706 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14707
14708         * gst/gst_private.h:
14709         * gst/gstbus.c:
14710         * gst/gstelement.c:
14711         * gst/gstinfo.c:
14712         * gst/gstpluginfeature.c:
14713           widen the debug category in output to fit the biggest one we have
14714           add a bus category and use it
14715           play with the colors
14716           fix up some categories
14717
14718 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14719
14720         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
14721           add push activation of sink ghost pads.
14722           Andye, please verify
14723
14724 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14725
14726         * gst/gstutils.c: (gst_element_link_pads):
14727           fix a bug in the case where neither element has a pad
14728         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14729           add a test for that case
14730
14731 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14732
14733         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
14734           emit have-data before checking for peers.  This allows
14735           for probe handlers to connect elements.  This helps autopluggers.
14736         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
14737         (gst_pad_suite):
14738           add six checks, linked/unlinked with no/true/false probe
14739
14740 2005-10-04  Wim Taymans  <wim@fluendo.com>
14741
14742         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
14743         (gst_fake_sink_event), (gst_fake_sink_preroll),
14744         (gst_fake_sink_render), (gst_fake_sink_change_state):
14745         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
14746         (gst_fake_src_get_property), (gst_fake_src_create),
14747         (gst_fake_src_stop):
14748         * gst/elements/gstidentity.c: (gst_identity_stop):
14749         Protect last_message with lock.
14750
14751 2005-10-04  Edward Hervey  <edward@fluendo.com>
14752
14753         * gst/gstformat.h: 
14754         Added precision in the comments for GST_FORMAT_DEFAULT
14755
14756 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
14757
14758         * tools/gst-launch.c: (main):
14759           Don't try to run erroneous pipelines.
14760
14761 2005-10-04  Julien MOUTTE  <julien@moutte.net>
14762
14763         * gst/gstbus.c: We don't need this header.
14764
14765 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14766
14767         * configure.ac:
14768           back to development
14769
14770 === release 0.9.3 ===
14771
14772 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14773
14774         * README:
14775         * configure.ac:
14776           Releasing 0.9.3, "Unregistered"
14777
14778 2005-10-03  Andy Wingo  <wingo@pobox.com>
14779
14780         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
14781         whereby calling a pad's activatepush() function can start a thread
14782         that starts to push or pull before the pad gets the FLUSHING flag
14783         unset. Hack around it by holding the stream lock until the flag is
14784         set. Need to replace this with a proper solution. Together with
14785         the ghost pad fixes, this fixes mp3 playing/tagreading.
14786
14787         * docs/design/part-gstghostpad.txt: Add a note about activation of
14788         proxy pads outside of ghost pads.
14789
14790         * gst/gstghostpad.c: Implement the ghost pad activation design.
14791
14792 2005-10-02  Andy Wingo  <wingo@pobox.com>
14793
14794         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
14795         It is volatile, after all.
14796
14797         * docs/design/part-gstghostpad.txt: Flesh out activation with
14798         ghost pads.
14799
14800         * gst/base/gstbasesrc.c (gst_base_src_init): Use
14801         GST_DEBUG_FUNCPTR.
14802
14803 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
14804
14805         * configure.ac:
14806           Fix (unused) AM_CONDITIONAL tests.
14807
14808 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
14809
14810         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14811
14812         * gst/gstutils.c: (gst_pad_query_convert):
14813           Add assertion that makes sure src_val is >=0, just like
14814           gst_query_new_convert() has. (#315895)
14815
14816 2005-09-30  Edward Hervey  <edward@fluendo.com>
14817
14818         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
14819         Let's not iterate pads we're not interested in, it avoids getting 
14820         sky-high refcounts on sinkpad.
14821
14822 2005-09-30  Wim Taymans  <wim@fluendo.com>
14823
14824         * gst/gstelement.c: (gst_element_set_state),
14825         (gst_element_change_state):
14826         Small tweak, element in ASYNC remains ASYNC.
14827
14828 2005-09-30  Wim Taymans  <wim@fluendo.com>
14829
14830         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14831         Only error is an error.
14832
14833         * gst/gstbin.c: (gst_bin_change_state):
14834         Better debugging.
14835
14836         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
14837         Also call pad_block in pad alloc.
14838
14839         * gst/gstutils.c: (gst_flow_get_name):
14840         Better debugging.
14841
14842 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
14843
14844         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14845         (gst_base_src_get_range):
14846           Fix documentation typos. Add some more debug info.
14847
14848 2005-09-29  David Schleef  <ds@schleef.org>
14849
14850         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
14851           more end-user friendly.
14852         * tools/gst-inspect.c: (main): Check if command-line argument is
14853           a file and attempt to load that file as a plugin.
14854
14855 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14856
14857         * check/gst/gstbin.c:
14858         * check/states/sinks.c:
14859           fix tests for the new warning
14860         * check/gst/gstpipeline.c:
14861           add a test for pipeline and bus interaction
14862         * gst/gstelement.c:
14863           elements should be NULL if they get disposed; add a warning if not
14864
14865 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14866
14867         * gst/gstobject.c:
14868           for 2.6 refcounting, make debug log more correct by printing
14869           the actual refcounts at the time of swap (Wim)
14870
14871 2005-09-29  Andy Wingo  <wingo@pobox.com>
14872
14873         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
14874         removes signal watches previously added via
14875         gst_bus_add_signal_watch.
14876         (gst_bus_add_signal_watch): Don't return the source id, just store
14877         it on the bus if there wasn't an id already.
14878
14879         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
14880         add_signal_watch and remove_signal_watch.
14881
14882 2005-09-29  Edward Hervey  <edward@fluendo.com>
14883
14884         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
14885         Better if we actually iterate the list :)
14886
14887 2005-09-29  Wim Taymans  <wim@fluendo.com>
14888
14889         * check/gst/gstbin.c: (GST_START_TEST):
14890         Change for new bus API.
14891
14892         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
14893         (send_messages), (GST_START_TEST), (gstbus_suite):
14894         Change for new bus signal API.
14895
14896         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
14897         (gst_bus_source_prepare), (gst_bus_source_check),
14898         (gst_bus_create_watch), (gst_bus_add_watch_full),
14899         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
14900         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
14901         * gst/gstbus.h:
14902         Remove support for multiple GSources operating on different
14903         message types as it is too complex and unneeded when using
14904         signals.
14905         Added support for receiving signals from the bus.
14906
14907 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14908
14909         * docs/libs/tmpl/gstdataprotocol.sgml:
14910         * docs/manual/advanced-dataaccess.xml:
14911         * gst/elements/gstcapsfilter.c:
14912         * gst/gstutils.c:
14913           rename filter-caps to caps property
14914
14915 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
14916
14917         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14918           More robust fraction string parsing.
14919
14920         * docs/pwg/appendix-porting.xml:
14921           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
14922
14923 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
14924
14925         * gst/gstcaps.c: (gst_caps_do_simplify):
14926           Thou shalt not free a structure and then continue using it
14927           in the next loop iteration.
14928
14929         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
14930         (gst_caps_suite):
14931           Add test case for caps simplification.
14932
14933 2005-09-29  Wim Taymans  <wim@fluendo.com>
14934
14935         * check/gst/gstbin.c: (GST_START_TEST):
14936         Oops.
14937
14938 2005-09-29  Wim Taymans  <wim@fluendo.com>
14939
14940         * check/gst/gstbin.c: (GST_START_TEST):
14941         Add bus to bin.
14942
14943         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
14944         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
14945         (find_element), (gst_bin_sort_iterator_next),
14946         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
14947         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
14948         (gst_bin_change_state), (gst_bin_dispose):
14949         A bin does not have a bus, it gets the bus from the parent.
14950
14951         * gst/gstelement.c: (gst_element_requires_clock),
14952         (gst_element_provides_clock), (gst_element_is_indexable),
14953         (gst_element_is_locked_state), (gst_element_change_state),
14954         (gst_element_set_bus_func):
14955         Small cleanups.
14956
14957         * gst/gstpipeline.c: (gst_pipeline_class_init),
14958         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
14959         The pipeline provides a bus.
14960
14961 2005-09-28  Johan Dahlin  <johan@gnome.org>
14962
14963         * gst/gstmessage.c (gst_message_parse_state_changed): Use
14964         gst_structure_get_enum instead of gst_structure_get_int
14965
14966         * gst/gststructure.c (gst_structure_get_enum): Impl.
14967
14968         * gst/gststructure.h (gst_structure_get_enum): Add
14969
14970         * docs/gst/gstreamer-sections.txt: Ditto
14971
14972         * gst/gstmessage.c (gst_message_new_state_changed): Use
14973         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
14974         which does introspection.
14975         Reviewed by Christian Schaller
14976
14977 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
14978
14979         * gst/gstinfo.c: (gst_debug_log_default):
14980           don't do dummy g_strdup()s
14981         * libs/gst/controller/gstcontroller.c:
14982         (on_object_controlled_property_changed),
14983         (gst_controlled_property_new), (gst_controller_new_valist),
14984         (gst_controller_new_list),
14985         (gst_controller_remove_properties_valist), (gst_controller_set),
14986         (gst_controller_get), (gst_controller_sync_values),
14987         (gst_controller_get_value_array), (_gst_controller_class_init),
14988         (gst_controller_get_type):
14989         * libs/gst/controller/gstcontroller.h:
14990         * libs/gst/controller/gstinterpolation.c:
14991         (gst_controlled_property_find_timed_value_node):
14992           convert // to /**/ comments
14993
14994 2005-09-28  Wim Taymans  <wim@fluendo.com>
14995
14996         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
14997         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
14998         (gst_bus_sync_signal_handler):
14999         * gst/gstbus.h:
15000         Added async-message and sync-message signals to the bus.
15001         Added helper BusFunc to emit signals for all posted messages.
15002
15003         * gst/gstmessage.c: (gst_message_type_get_name),
15004         (gst_message_type_to_quark), (gst_message_get_type):
15005         * gst/gstmessage.h:
15006         Register quarks for message names.
15007
15008 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
15009
15010         * docs/libs/gstreamer-libs-sections.txt:
15011         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
15012         (gst_controller_new_list):
15013         * libs/gst/controller/gstcontroller.h:
15014           added another constructor for language bindings
15015
15016 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15017
15018         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15019           add another check
15020         * gst/gstbus.c:
15021           add some doc
15022         * gst/gstinfo.c: (_gst_debug_init):
15023           slightly more readable color for refcount debugging
15024
15025 2005-09-28  Wim Taymans  <wim@fluendo.com>
15026
15027         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15028         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15029         (find_element), (gst_bin_sort_iterator_next),
15030         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15031         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15032         (gst_bin_change_state), (gst_bin_dispose):
15033         Small doc fixes. get_clock -> provide_clock.
15034
15035         * gst/gstelement.c: (gst_element_class_init),
15036         (gst_element_provides_clock), (gst_element_provide_clock),
15037         (gst_element_get_clock), (gst_element_commit_state),
15038         (gst_element_lost_state):
15039         * gst/gstelement.h:
15040         Make get/set_clock() symetric. Add provide_clock vmethod since
15041         that is actually what this function does.
15042
15043         * gst/gstpipeline.c: (gst_pipeline_class_init),
15044         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
15045         (gst_pipeline_get_clock):
15046         get_clock -> provide_clock.
15047
15048 2005-09-28  Andy Wingo  <wingo@pobox.com>
15049
15050         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
15051         lieu of real docs...
15052
15053         * gst/elements/gstfdsrc.c: Cleaned up a bit.
15054
15055 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
15056
15057         * gst/elements/gstcapsfilter.c:
15058         * gst/elements/gstfakesink.c:
15059         * gst/elements/gstfakesrc.c:
15060         * gst/elements/gstfdsink.c:
15061         * gst/elements/gstfdsrc.c:
15062         * gst/elements/gstfilesink.c:
15063         * gst/elements/gstfilesrc.c:
15064         * gst/elements/gstidentity.c:
15065         * gst/elements/gsttee.c:
15066         * gst/elements/gsttypefindelement.c:
15067           Make element details static.
15068
15069 2005-09-28  Wim Taymans  <wim@fluendo.com>
15070
15071         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15072         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15073         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15074         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15075         (gst_bin_change_state), (gst_bin_dispose):
15076         Some documentation updates.
15077         Clean up dispose handlers.
15078
15079         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
15080         * gst/gstpad.c: (gst_pad_dispose):
15081         Clean up dispose handler.
15082
15083         * gst/gstpipeline.c: (gst_pipeline_change_state):
15084         Removed spurious UNLOCK.
15085
15086 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
15087
15088         * docs/gst/gstreamer-sections.txt:
15089         * gst/base/gstbasesrc.h:
15090         * gst/gstelement.h:
15091         * gst/gstevent.h:
15092         * gst/gstobject.h:
15093         * gst/gstpad.h:
15094         * gst/gstpipeline.c:
15095         * gst/gstpipeline.h:
15096         * gst/gstutils.h:
15097         * gst/gstxml.h:
15098           added two new functions to the docs
15099                 documents all undocumented GstXXXFlags
15100                 completed some incomplete docs 
15101
15102 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15103
15104         * gst/gstbin.c: (gst_bin_dispose):
15105         * gst/gstelement.c: (gst_element_dispose):
15106           remove now useless and leaky resurrection code in dispose
15107         * gst/base/gstbasesrc.c: (gst_base_src_init):
15108         * gst/gstelementfactory.c: (gst_element_factory_create):
15109         * gst/gstobject.c: (gst_object_set_parent):
15110           add some debugging
15111
15112 2005-09-27  Wim Taymans  <wim@fluendo.com>
15113
15114         * docs/design/part-TODO.txt:
15115         Update TODO.
15116
15117         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15118         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15119         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15120         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15121         (gst_bin_change_state):
15122         * gst/gstelement.h:
15123         Remove element variable, we keep element info in the iterator now.
15124
15125 2005-09-27  Andy Wingo  <wingo@pobox.com>
15126
15127         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
15128         values.
15129
15130 2005-09-27  Wim Taymans  <wim@fluendo.com>
15131
15132         * check/gst/gstbin.c: (GST_START_TEST):
15133         Enable check that works now.
15134
15135         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15136         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15137         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15138         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15139         (gst_bin_change_state):
15140         * gst/gstbin.h:
15141         Redid the state change algorithm using a topological sort algo.
15142         Handles all cases correctly.
15143         Exposed iterator for state change order.
15144
15145         * gst/gstelement.h:
15146         Temp storage for state changes. Need to get rid of this soon.
15147
15148 2005-09-27  Wim Taymans  <wim@fluendo.com>
15149
15150         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
15151         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
15152         (link_fold_func), (gst_pad_proxy_setcaps):
15153         Leak fixes, the fold functions need to unref the passed object and
15154         _get_parent_*() returns ref to parent.
15155
15156 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15157
15158         * check/gst/gstbuffer.c: (test_make_writable):
15159           Plug leak in test case and fix 'make check-valgrind'
15160
15161 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15162
15163         * gst/gstbuffer.c: (gst_subbuffer_init):
15164           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
15165           works correctly in all circumstances (we could have just copied
15166           the parent buffer's readonly flag, but conceptually it seems
15167           cleaner to mark all subbuffers as read-only). (based on patch
15168           by Alessandro Decina, #314710).
15169         
15170         * check/gst/gstbuffer.c: (create_read_only_buffer),
15171         (test_make_writable), (test_subbuffer_make_writable),
15172         (gst_test_suite):
15173           Add some tests for gst_buffer_make_writable().
15174
15175 2005-09-27  Wim Taymans  <wim@fluendo.com>
15176
15177         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
15178         use gst_object_has_ancestor().
15179
15180         * gst/gstobject.c: (gst_object_has_ancestor):
15181         * gst/gstobject.h:
15182         gst_object_has_ancestor() copied from gstbin.c as it is a
15183         useful function.
15184
15185         * tests/instantiate/create.c: (create_all_elements):
15186         * tests/lat.c: (handoff_src), (handoff_sink):
15187         * tests/sched/runxml.c: (main):
15188         * tests/seeking/seeking1.c: (main):
15189         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15190         (main):
15191         Fix compilation of some tests.
15192
15193 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15194
15195         * gst/gsterror.h:
15196           Remove comment. GST_TYPE_G_ERROR is here to stay,
15197           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
15198           (#316961, #300610).
15199
15200 2005-09-26  Wim Taymans  <wim@fluendo.com>
15201
15202         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15203         Added check that shows error in state change order.
15204
15205 2005-09-26  Wim Taymans  <wim@fluendo.com>
15206
15207         * gst/gstbin.c: (gst_bin_change_state):
15208         Make state change function use 3 queues again, we were
15209         adding elements in the wrong order.
15210
15211         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
15212         Some debug info,
15213
15214         * gst/gstpad.c: (gst_pad_dispose):
15215         Added some debug info first.
15216
15217 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
15218
15219         * docs/design/draft-push-pull.txt:
15220         * docs/design/part-events.txt:
15221         * docs/design/part-overview.txt:
15222         * docs/design/part-scheduling.txt:
15223           Replace all _pull_region() with _pull_range()
15224           
15225 2005-09-26  Andy Wingo  <wingo@pobox.com>
15226
15227         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
15228
15229         * check/gst-libs/controller.c: Update for controller api change.
15230
15231         * configure.ac: 
15232         * tests/Makefile.am:
15233         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
15234         over by GLib bug 118439.
15235         
15236         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
15237         routines to a function.
15238
15239         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
15240
15241         * libs/gst/controller/gsthelper.c:
15242         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
15243         (gst_object_sync_values): Renamed from sink_values. Ugh.
15244
15245         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
15246
15247         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
15248         Renamed from controller_key, as it is exported.
15249
15250         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
15251
15252 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
15253
15254         * gst/Makefile.am:
15255         * gst/gst.h:
15256         * gst/gstpad.h:
15257         * gst/gstpadtemplate.h:
15258         * gst/gstquery.c:
15259         * gst/gstquery.h:
15260         * gst/gstqueryutils.c:
15261         * gst/gstqueryutils.h:
15262           remove queryutils headers after moving the two used functions
15263           to gstquery.  also fixes build problem for gstsiddec
15264
15265 2005-09-26  Michael Smith <msmith@fluendo.com>
15266
15267         * tools/gst-launch.1.in:
15268         Correct documentation in manpage of debug syntax
15269
15270 2005-09-26  Wim Taymans  <wim@fluendo.com>
15271
15272         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15273         (gst_base_src_is_seekable), (gst_base_src_change_state):
15274         Some more debugging info.
15275
15276 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15277
15278         * docs/gst/gstreamer-sections.txt:
15279         * gst/base/gstbasetransform.h:
15280         * gst/gstindex.h:
15281           added more docs
15282
15283 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15284
15285         * docs/gst/.cvsignore:
15286         * docs/gst/tmpl/.cvsignore:
15287         * docs/gst/tmpl/gstpipeline.sgml:
15288         * docs/gst/tmpl/gstplugin.sgml:
15289         * gst/gstpipeline.c:
15290         * gst/gstplugin.c:
15291         * gst/gstplugin.h:
15292           inlined the last two docs files
15293           removed the tmpl directory from cvs (no more conflicts here!)
15294
15295 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15296
15297         * docs/gst/gstreamer-sections.txt:
15298         * docs/gst/tmpl/.cvsignore:
15299         * docs/gst/tmpl/gstpad.sgml:
15300         * docs/gst/tmpl/gstpadtemplate.sgml:
15301         * gst/Makefile.am:
15302         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
15303         (gst_pad_finalize), (gst_pad_set_pad_template):
15304         * gst/gstpad.h:
15305         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
15306         (gst_pad_template_class_init), (gst_pad_template_init),
15307         (gst_pad_template_dispose), (name_is_valid),
15308         (gst_static_pad_template_get), (gst_pad_template_new),
15309         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
15310         (gst_pad_template_pad_created):
15311         * gst/gstpadtemplate.h:
15312           inlined two more docs
15313           factored gstpadtemplate out of gstpad
15314
15315 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
15316
15317         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15318         (test_children_state_change_order_semi_sink):
15319           Fix test case: we can't rely on a fixed state change order when
15320           going from READY => PAUSED because the sink might commit its 
15321           new state first when the first buffer created by the source 
15322           reaches the sink before the source has finished its change state.
15323           (Test case still fails at times, see #316856, comment 5 onwards)
15324
15325 2005-09-24  Wim Taymans  <wim@fluendo.com>
15326
15327         * docs/design/part-events.txt:
15328         * docs/design/part-gstbus.txt:
15329         * docs/design/part-gstpipeline.txt:
15330         * docs/design/part-messages.txt:
15331         * docs/design/part-overview.txt:
15332         * docs/design/part-segments.txt:
15333         * gst/gstbin.c:
15334         * gst/gstbuffer.c:
15335         * gst/gstclock.c:
15336         * gst/gstelement.c:
15337         * gst/gstevent.c:
15338         * gst/gstfilter.c:
15339         * gst/gstiterator.c:
15340         Various documentation updates.
15341
15342 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15343
15344         * gst/gstclock.h:
15345           Well, that's embarassing.  Luckily we weren't using
15346           GST_CLOCK_DIFF anywhere.
15347
15348 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15349
15350         * common/gtk-doc.mak:
15351           don't fail on building XML, FC4 slave shows a bunch of doc
15352           missing bits that I don't get
15353         * gst/gstpad.c:
15354         * gst/gstpipeline.c:
15355         * gst/gststructure.c:
15356           some doc updates
15357
15358 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
15359
15360         * docs/design/part-gstbin.txt:
15361         * docs/design/part-gstbus.txt:
15362         * gst/gstbus.c:
15363           Add blurb about how the bus goes into flushing mode and
15364           drops all messages when its bin goes from READY into NULL 
15365           state.
15366
15367 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15368
15369         * docs/gst/gstreamer-sections.txt:
15370         * gst/gststructure.c: (gst_structure_get_clock_time):
15371         * gst/gststructure.h:
15372           add a method to get a GstClockTime out of a structure
15373
15374 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
15375
15376         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15377         (test_children_state_change_order_semi_sink), (gst_bin_suite):
15378           Added test to check state change order in bins (can still be made
15379           to fail here under heavy disk load; bails out with 'Push on pad
15380           fakesink:sink0, but it was not activated in push mode').
15381
15382         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
15383           Fix state change order when there is only a semi sink (#316856)
15384
15385         * gst/gstbus.c: (gst_bus_class_init):
15386           Use _class_peek_parent(), not _class_ref(); fix docs to say
15387           'default main context' instead of 'mainloop' where that is
15388           what's meant.
15389
15390         * gst/gstelement.c: (gst_element_commit_state),
15391         (gst_element_set_state):
15392           Fix typos in debug messages
15393
15394 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15395
15396         * docs/README:
15397         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
15398         * gst/gstpluginfeature.c:
15399         * gst/gstutils.c:
15400           various doc updates
15401         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15402           change an assert into an error until it gets fixed properly
15403
15404 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
15405
15406         * docs/gst/gstreamer-sections.txt:
15407         * docs/gst/tmpl/.cvsignore:
15408         * docs/gst/tmpl/gstelement.sgml:
15409         * docs/gst/tmpl/gstinfo.sgml:
15410         * docs/gst/tmpl/gstobject.sgml:
15411         * gst/gstelement.c:
15412         * gst/gstelement.h:
15413         * gst/gstinfo.c:
15414         * gst/gstinfo.h:
15415         * gst/gstobject.c: (gst_object_class_init):
15416         * gst/gstobject.h:
15417           inlined 3 more biiiig doc files and added some missing docs on the fly
15418
15419 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15420
15421         * check/gst/.cvsignore:
15422         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
15423         * gst/gstregistryxml.c: (load_plugin),
15424         (gst_registry_xml_save_plugin):
15425           put back source in registry.  add checks for find_plugin.
15426         * testsuite/states/bin.c: (assert_state), (empty_bin),
15427         (test_adding_one_element), (main):
15428         * testsuite/states/locked.c: (main):
15429           some compile/run fixes
15430
15431 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15432
15433         * check/gst/gstvalue.c: (GST_START_TEST):
15434           fix leaks in the test itself
15435
15436 2005-09-22  Wim Taymans  <wim@fluendo.com>
15437
15438         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15439         (gst_base_sink_send_event), (gst_base_sink_peer_query),
15440         (gst_base_sink_query):
15441         Prepare for more accurate position reporting and query
15442         handling.
15443
15444         * gst/gstelement.c: (gst_element_send_event),
15445         (gst_element_set_state):
15446         Add some comment.
15447
15448 2005-09-22  Wim Taymans  <wim@fluendo.com>
15449
15450         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
15451         (gst_query_parse_segment):
15452         * gst/gstquery.h:
15453         More documentation.
15454         Add segment query for future use.
15455
15456 2005-09-22  Wim Taymans  <wim@fluendo.com>
15457
15458         * gst/gstbin.c: (gst_bin_add_func):
15459         Some more debug info.
15460
15461         * gst/gstelement.c: (gst_element_send_event):
15462         Simplify send_event
15463
15464         * gst/gstelement.h:
15465         Don't know how flags got broken.
15466
15467         * gst/gstquery.h:
15468         Added new query.
15469
15470 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
15471
15472         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
15473           Add simplistic test suite for GST_TYPE_DATE serialisation and
15474           deserialisation.
15475
15476 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
15477
15478         * docs/gst/gstreamer-sections.txt:
15479         * gst/gststructure.c: (gst_structure_set_valist),
15480         (gst_structure_get_date):
15481         * gst/gststructure.h:
15482         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
15483         (gst_date_copy), (gst_value_compare_date),
15484         (gst_value_serialize_date), (gst_value_deserialize_date),
15485         (gst_value_transform_date_string),
15486         (gst_value_transform_string_date), (_gst_value_initialize):
15487         * gst/gstvalue.h:
15488           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
15489           bunch of utility functions along with a hack that checks that
15490           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
15491           is required. Part of the grand scheme in #170777.
15492
15493 2005-09-22  Andy Wingo  <wingo@pobox.com>
15494
15495         * gst/gstconfig.h.in: Psych out gtk-doc.
15496
15497         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
15498
15499         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
15500
15501         * tools/gst-inspect.c (print_element_list): Plug some
15502         inconsequential leaks.
15503
15504         * gst/gstregistry.c (gst_registry_get_default): Doc.
15505
15506         * check/gst/gstplugin.c: 
15507         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
15508         * gst/gstelementfactory.c (gst_element_factory_create): 
15509         * gst/gstindexfactory.c (gst_index_factory_create): Update for
15510         refcount changes.
15511
15512         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
15513         (gst_plugin_feature_load): Doc, don't eat refs.
15514
15515         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
15516         (gst_plugin_list_free): Doc.
15517         (gst_plugin_load_file): Doc updates.
15518
15519         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
15520         accessors returning refcounted objects, return a ref.
15521
15522         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
15523         accessor for caps. IDEMPOTENCE. Oh yes.
15524
15525 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
15526
15527         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15528
15529         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15530         (_gst_debug_register_funcptr):
15531           Add mutex to serialise access to the hash table with
15532           the function pointer => function name string mapping;
15533           make that hash table static scope (#316809).
15534
15535         * gst/registries/.cvsignore:
15536           Remove left-over file.
15537
15538 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
15539
15540         * docs/pwg/appendix-porting.xml:
15541           And something about newsegment events and caps-on-buffers to
15542           the porting guide (feel free to improve).
15543
15544 2005-09-21  Andy Wingo  <wingo@pobox.com>
15545
15546         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
15547         data and event probes on the same pad.
15548         (test_buffer_probe_once): Test that removing probes from within
15549         the probe functions works.
15550
15551 2005-09-21  Andy Wingo  <wingo@pobox.com>
15552
15553         * check/gst/gstutils.c: New file.
15554         (test_buffer_probe_n_times): A simple buffer probe test. More to
15555         come, foolios.
15556
15557         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
15558         have-data::buffer, not have-data.
15559         (gst_pad_add_event_probe): Likewise for have-data::event.
15560         (gst_pad_add_data_probe): More docs. The part about 'resolving the
15561         peer' isn't quite right yet though.
15562         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
15563         (gst_pad_remove_data_probe): Change to take the guint handler_id
15564         as their arg, not the function+data, which is more glib-like.
15565
15566         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
15567         the signal emission to indicate if the data is a buffer or an
15568         event.
15569         (gst_pad_get_type): Initialize buffer and event quarks.
15570         (gst_pad_class_init): have-data is now a detailed signal, yes it
15571         is.
15572
15573 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
15574
15575         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
15576         * gst/gstutils.c: (gst_util_set_value_from_string),
15577         (gst_util_set_object_arg):
15578           Don't put functional code in g_return_if_fail() or
15579           g_return_val_if_fail() statements, otherwise things will 
15580           break when G_DISABLE_CHECKS is defined during compilation.
15581
15582 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15583
15584         * docs/gst/tmpl/.cvsignore:
15585         * docs/gst/tmpl/gstvalue.sgml:
15586         * gst/gstvalue.c:
15587         * gst/gstvalue.h:
15588           inlied another one and added  some obvious docs
15589
15590 2005-09-21  Wim Taymans  <wim@fluendo.com>
15591
15592         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15593         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
15594         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
15595         (gst_fdsrc_get_property), (gst_fdsrc_create):
15596         * gst/elements/gstfdsrc.h:
15597         Properly implement fdsrc. Removed signal and timeout,
15598         better implemented somewhere else.
15599
15600 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15601
15602         * docs/gst/tmpl/.cvsignore:
15603         * docs/gst/tmpl/gstimplementsinterface.sgml:
15604         * gst/gstinterface.c:
15605           inlined more docs
15606
15607 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15608
15609         * docs/gst/gstreamer-sections.txt:
15610         * docs/gst/tmpl/.cvsignore:
15611         * docs/gst/tmpl/gstenumtypes.sgml:
15612           remove obsolete doc file
15613
15614 2005-09-21  David Schleef  <ds@schleef.org>
15615
15616         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
15617         little beer, fix a little leak.
15618
15619 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15620
15621         * docs/gst/gstreamer-docs.sgml:
15622         * docs/gst/gstreamer-sections.txt:
15623         * docs/gst/tmpl/.cvsignore:
15624         * gst/Makefile.am:
15625         * gst/gst.h:
15626         * gst/gstbin.c:
15627         * gst/gstelement.h:
15628         * gst/gstindex.c: (gst_index_class_init):
15629         * gst/gstindex.h:
15630         * gst/gstindexfactory.c: (gst_index_factory_get_type),
15631         (gst_index_factory_class_init), (gst_index_factory_init),
15632         (gst_index_factory_finalize), (gst_index_factory_new),
15633         (gst_index_factory_destroy), (gst_index_factory_find),
15634         (gst_index_factory_create), (gst_index_factory_make):
15635         * gst/gstindexfactory.h:
15636         * gst/gstpluginfeature.c:
15637         * gst/gstpluginfeature.h:
15638         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15639           more docs inlined, splitted gstindex.{c,h}
15640
15641 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15642
15643         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15644           fix a leak
15645
15646 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
15647
15648         * gst/elements/gstfilesink.c: (gst_file_sink_init):
15649           Set sync to FALSE by default.
15650
15651 2005-09-20  Wim Taymans  <wim@fluendo.com>
15652
15653         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15654         (gst_base_sink_init):
15655         Make sync property settable from subclass.
15656
15657         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
15658         (gst_fake_sink_change_state):
15659         Set sync to FALSE by default.
15660
15661 2005-09-20  Wim Taymans  <wim@fluendo.com>
15662
15663         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
15664         * tools/gst-launch.c: (main):
15665         The timeout handler should have lower priority than the source
15666         so we don't timeout before popping a message with 0 timeout.
15667         Dump error messages after failed state change.
15668
15669 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
15670
15671         * tools/gst-inspect.c: (print_element_properties_info):
15672           Fix two typos.
15673
15674 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15675
15676         * check/gst/gstevent.c:
15677         * gst/elements/gstfakesink.c:
15678         * gst/elements/gstfakesink.h:
15679           remove the sync property from fakesink.
15680           has the side effect of setting sync TRUE
15681           for fakesink, which is a change.  Anyone who knows how
15682           to fix this nicely in a GObject-y way, feel free.
15683
15684 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15685
15686         * docs/gst/gstreamer-docs.sgml:
15687           remove probe refsection
15688
15689 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15690
15691         * check/Makefile.am:
15692           disable valgrinding the controller test again
15693         * docs/gst/gstreamer-sections.txt:
15694           update for api-changes
15695
15696 2005-09-20  Wim Taymans  <wim@fluendo.com>
15697
15698         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15699         (gst_base_sink_set_property), (gst_base_sink_get_property),
15700         (gst_base_sink_do_sync):
15701         * gst/base/gstbasesink.h:
15702         Added sync property to basesink to disable clock sync.
15703
15704 2005-09-20  Andy Wingo  <wingo@pobox.com>
15705
15706         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
15707         eating the caller's refcount.
15708
15709         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
15710         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
15711         refcount.
15712
15713         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
15714         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
15715         of GLib 2.8 public, so we can know which refcount to check in
15716         tests.
15717
15718         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
15719         (gst_object_init): Only set the gst refcount if we're going ahead
15720         with the refcount hack.
15721
15722 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15723
15724         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15725         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15726           more leaks plumbed, added more debug-logging
15727         * gst/gstmacros.h:
15728           whitespace fix
15729
15730 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15731
15732         * gst/gstmessage.c:
15733           remove include of gstmemchunk.h
15734
15735 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15736
15737         * gst/gstclock.c: (_gst_clock_id_free):
15738           Commit from the Political Party For More Atomic CVS Commits,
15739           so that people don't waste too much of their day fishing
15740           out obvious leaks out of massive commits.
15741           Oh, and fix a pretty damn obvious leak in the memchunk
15742           removal code.
15743
15744 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15745
15746         * check/Makefile.am:
15747         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15748           plug mem-leak, re-add to valgrindable tests
15749
15750 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15751
15752         * gst/gstplugin.h:
15753           unbreak the build for those who have chronic arthritis
15754           and typing "make check" is just too taxing on the hands
15755
15756 2005-09-20  Andy Wingo  <wingo@pobox.com>
15757
15758         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
15759         really want it out, you should fix plugins at the same time.
15760
15761 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
15762
15763         * configure.ac:
15764         * docs/gst/gstreamer-sections.txt:
15765         * gst/gstobject.c:
15766           added missing symbols to api docs
15767           disable ref-count hack if we have glib >= 2.8
15768
15769 2005-09-19  David Schleef  <ds@schleef.org>
15770
15771         * docs/gst/Makefile.am: Ignore a few more internal headers
15772         * docs/gst/gstreamer-docs.sgml: Remove old sections
15773         * docs/gst/gstreamer-sections.txt: Remove old sections
15774         * docs/gst/tmpl/gstobject.sgml: update
15775         * docs/gst/tmpl/gstplugin.sgml: update
15776         * docs/gst/tmpl/gstpluginfeature.sgml: update
15777         * docs/random/ds/0.9-suggested-changes: update.
15778         * gst/Makefile.am: remove memchunk and trashstack, since they're
15779           not used.
15780         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
15781         * gst/gst.h: don't include some headers
15782         * gst/gstchildproxy.c: add gstmarshal.h
15783         * gst/gstclock.c: Don't use memchunks
15784         * gst/gstminiobject.c: Add some docs
15785         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
15786         * gst/gstobject.h: same
15787         * gst/gstplugin.c: include gstmacros.h
15788         * gst/gstplugin.h: don't include gstmacros.h, since it's private
15789         * gst/gstquery.c: don't use memchunks
15790         * gst/gstregistry.c: rename gst_registry_deinit()
15791         * gst/gstregistry.h: same
15792
15793 2005-09-19  David Schleef  <ds@schleef.org>
15794
15795         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
15796         * docs/libs/gstreamer-libs-sections.txt:
15797         * docs/libs/tmpl/gstgetbits.sgml:
15798         * docs/libs/tmpl/gstputbits.sgml:
15799
15800 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
15801
15802         * win32/gstenumtypes.c:
15803         * win32/gstenumtypes.h:
15804           Update.
15805
15806 2005-09-19  Wim Taymans  <wim@fluendo.com>
15807
15808         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
15809         Automatically PAUSE and RESUME a pipeline when a flushing seek
15810         is performed.
15811
15812 2005-09-19  Andy Wingo  <wingo@pobox.com>
15813
15814         * gst/gstregistry.h: Spacing fixen.
15815
15816 2005-09-19  Wim Taymans  <wim@fluendo.com>
15817
15818         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
15819         Handle state change failure more correctly.
15820
15821 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15822
15823         * check/Makefile.am:
15824         * check/pipelines/cleanup.c: (run_pipeline):
15825         * check/pipelines/simple_launch_lines.c: (run_pipeline),
15826         (GST_START_TEST):
15827           enable cleanup again after fixing the leak
15828         * docs/README:
15829           some more info on docs
15830
15831 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15832
15833         * check/Makefile.am:
15834           re-enable tests now that leaks are plugged
15835         * check/gst/gst.c:
15836         * check/gst/gstbin.c:
15837         * check/gst/gstpipeline.c:
15838           add some more tests while fixing leaks
15839         * common/check.mak:
15840           make sure binaries are uptodate when valgrinding/gdbing
15841         * gst/gst.c:
15842         * gst/gstelementfactory.c:
15843           remove a ref too many, and add a FIXME for when we get
15844           round to disposing of classes
15845         * gst/gstplugin.c:
15846           fix the refcounting when loading a plugin from a file and
15847           the code pretends that the pointer is the same even though
15848           of course it can change
15849         * gst/gstpluginfeature.c:
15850           unref plugins marked cached (a bit confusing as a name)
15851           as the docs state should be done
15852           various doc additions to explain refcounting
15853         * gst/gstregistry.c:
15854         * gst/gstregistryxml.c:
15855           debugging
15856
15857 2005-09-19  Wim Taymans  <wim@fluendo.com>
15858
15859         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
15860         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15861         (send_messages), (GST_START_TEST), (gstbus_suite):
15862         * check/gst/gstpipeline.c: (GST_START_TEST):
15863         * check/pipelines/cleanup.c: (run_pipeline):
15864         * check/pipelines/simple_launch_lines.c: (run_pipeline),
15865         (GST_START_TEST):
15866         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
15867         (gst_bus_source_check), (gst_bus_source_dispatch),
15868         (gst_bus_create_watch), (gst_bus_add_watch_full),
15869         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
15870         * gst/gstbus.h:
15871         * tools/gst-launch.c: (event_loop):
15872         * tools/gst-md5sum.c: (event_loop):
15873         GstBusHandler -> GstBusFunc, return value has the same meaning as
15874         any other GSource (FALSE == remove source).
15875         _add_watch() and _add_watch_full() now take a MessageType mask to
15876         only handle specific types of messages.
15877         _poll() returns the GstMessage instead of the message type to avoid
15878         race conditions.
15879         _have_pending() takes a MessageType mask now too.
15880         Added testsuite for multiple bus watches.
15881         Fix testsuites and applications for new bus API.
15882
15883 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15884
15885         * check/Makefile.am:
15886           mark a bunch of the tests as to fix until we fix them
15887
15888 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15889
15890         * common/check.mak:
15891           use GST_PLUGIN settings for valgrind tests as well, so we're
15892           valgrinding the correct thing
15893         * gst/gst.c: (init_post):
15894           plug another leak
15895
15896 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15897
15898         * gst/gst.c: (init_post), (gst_deinit):
15899         * gst/gstelementfactory.c: (gst_element_factory_class_init),
15900         (gst_element_factory_finalize), (gst_element_factory_cleanup):
15901         * gst/gstindex.c: (gst_index_factory_class_init),
15902         (gst_index_factory_finalize):
15903         * gst/gstobject.c: (gst_object_dispose):
15904         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15905         (gst_plugin_load_file), (gst_plugin_desc_free):
15906         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
15907         (gst_plugin_feature_finalize):
15908         * gst/gstregistry.c: (gst_registry_class_init),
15909         (gst_registry_init), (gst_registry_finalize),
15910         (gst_registry_get_default), (gst_registry_deinit):
15911         * gst/gstregistry.h:
15912         * gst/gstregistryxml.c: (load_feature), (load_plugin):
15913           various cleanups and memleak plugging.  make valgrind is happy now.
15914
15915 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15916
15917         * common/check.mak:
15918           add a check-valgrind target
15919
15920 2005-09-18  David Schleef  <ds@schleef.org>
15921
15922         * tools/gst-inspect.c: Revert the GOption code.
15923
15924 2005-09-17  David Schleef  <ds@schleef.org>
15925
15926         * check/Makefile.am: Fix environment variables.
15927         * check/gst/gstplugin.c: Fix for API changes.
15928         * tools/gst-inspect.c: Fix for API changes.
15929         * tools/gst-xmlinspect.c: Fix for API changes.
15930         * gst/gstelementfactory.c:
15931         * gst/gstplugin.c:
15932         * gst/gstplugin.h:
15933         * gst/gstpluginfeature.c:
15934         * gst/gstpluginfeature.h:
15935         * gst/gstregistry.c:
15936         * gst/gstregistry.h:
15937         * gst/gstregistryxml.c:
15938         * gst/gsttypefind.c:
15939         * gst/gsttypefindfactory.c:
15940         * gst/indexers/gstfileindex.c:
15941         * gst/indexers/gstmemindex.c:
15942         * gst/schedulers/Makefile.am:
15943           Change registry to keep track of both plugins and features,
15944           removing the feature tracking from plugins themselves.
15945
15946 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15947
15948         * check/Makefile.am:
15949         * tools/gst-register.1.in:
15950           remove gst-register
15951
15952 2005-09-15  David Schleef  <ds@schleef.org>
15953
15954         * check/gst/gstplugin.c:
15955         * gst/gstelementfactory.c:
15956         * gst/gstplugin.c:
15957         * gst/gstpluginfeature.c:
15958         * gst/gstregistry.c:
15959           Getting tired of debugging.  Disabled all the unreffing of
15960           plugins and features, which fixes the segfaults, but of
15961           course leaks like crazy.  At least playbin works.
15962
15963 2005-09-15  David Schleef  <ds@schleef.org>
15964
15965         * check/gst/gstplugin.c: (register_check_elements),
15966         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
15967         More testing
15968         * gst/elements/gsttypefindelement.c: Fix refcounting.
15969         * gst/gsttypefind.c:
15970         * gst/gsttypefindfactory.c:
15971         * gst/gsttypefindfactory.h:
15972
15973 2005-09-15  David Schleef  <ds@schleef.org>
15974
15975         * gst/gstindex.c: get refcounting correct.
15976         * gst/gstregistry.c: Handle the case where a feature/plugin is
15977           not found.
15978
15979 2005-09-15  David Schleef  <ds@schleef.org>
15980
15981         * check/Makefile.am:
15982         * check/gst/gstplugin.c: Add test
15983         * gst/gstplugin.c: Fix problems noticed by testsuite
15984         * gst/gstplugin.h:
15985         * gst/gstregistry.c: 
15986         * gst/gstregistry.h:
15987
15988 2005-09-15  David Schleef  <ds@schleef.org>
15989
15990         * gst/gstplugin.c: Implement semi-decent recounting and locking
15991           in plugins and plugin features.
15992         * gst/gstplugin.h:
15993         * gst/gstpluginfeature.c:
15994         * gst/gstpluginfeature.h:
15995         * gst/gstregistry.c:
15996
15997 2005-09-15  Michael Smith <msmith@fluendo.com>
15998
15999         * gst/gstregistry.c: (gst_registry_get_feature_list):
16000           Implement this. Makes oggdemux work; decodebin still broken.
16001
16002 2005-09-14  David Schleef  <ds@schleef.org>
16003
16004         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
16005           #316076)
16006         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
16007         * gst/check/Makefile.am:
16008         * libs/gst/controller/Makefile.am:
16009         * libs/gst/dataprotocol/Makefile.am:
16010
16011 2005-09-14  David Schleef  <ds@schleef.org>
16012
16013         * configure.ac: Remove getbits library.  Nothing uses it, and
16014           it should be in something like liboil if someone did want
16015           to use it.
16016         * libs/gst/Makefile.am:
16017         * libs/gst/getbits/Makefile.am:
16018         * libs/gst/getbits/gbtest.c:
16019         * libs/gst/getbits/getbits.c:
16020         * libs/gst/getbits/getbits.h:
16021         * libs/gst/getbits/gstgetbits_generic.c:
16022         * libs/gst/getbits/gstgetbits_i386.s:
16023         * libs/gst/getbits/gstgetbits_inl.h:
16024
16025 2005-09-14  David Schleef  <ds@schleef.org>
16026
16027         * gst/Makefile.am: Dist glib-compat.h
16028
16029 2005-09-14  David Schleef  <ds@schleef.org>
16030
16031         * configure.ac: Remove gst/registries, since it's no longer used.
16032         * gst/registries/Makefile.am:
16033         * gst/registries/gstlibxmlregistry.c:
16034         * gst/registries/gstlibxmlregistry.h:
16035         * gst/registries/gstxmlregistry.c:
16036         * gst/registries/gstxmlregistry.h:
16037         * gst/registries/registrytest.c:
16038
16039 2005-09-14  David Schleef  <ds@schleef.org>
16040
16041         * gst/glib-compat.h:
16042         * gst/gstregistryxml.c:
16043           Convergence is near.  Seriously.
16044
16045 2005-09-14  David Schleef  <ds@schleef.org>
16046
16047         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16048         * gst/glib-compat.h:
16049           Attempt #4 to appease the buildbots.
16050
16051 2005-09-14  David Schleef  <ds@schleef.org>
16052
16053         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16054           Attempt #3.
16055
16056 2005-09-14  David Schleef  <ds@schleef.org>
16057
16058         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16059         Attempt #2.
16060
16061 2005-09-14  David Schleef  <ds@schleef.org>
16062
16063         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
16064           the new functions.
16065
16066 2005-09-14  David Schleef  <ds@schleef.org>
16067
16068         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16069         * gst/glib-compat.h: Add some functions that are in newer versions
16070           of glib than we care to require.
16071         * gst/gstregistryxml.c: Use them.
16072
16073 2005-09-14  David Schleef  <ds@schleef.org>
16074
16075         * po/POTFILES.in: remove gst-register.c
16076
16077 2005-09-14  David Schleef  <ds@schleef.org>
16078
16079         * docs/gst/gstreamer-docs.sgml:
16080         * docs/gst/gstreamer-sections.txt:
16081         * docs/gst/gstreamer.types:
16082         * docs/gst/tmpl/gstelement.sgml:
16083         * docs/gst/tmpl/gstplugin.sgml:
16084         * docs/gst/tmpl/gstpluginfeature.sgml:
16085           Documentation updates for registry changes.
16086
16087 2005-09-14  David Schleef  <ds@schleef.org>
16088
16089         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
16090           because we don't require glib-2.8.
16091
16092 2005-09-14  David Schleef  <ds@schleef.org>
16093
16094         * gst/gstregistryxml.c: Added.  Essentially moved out of the
16095           registries directory.
16096
16097 2005-09-14  David Schleef  <ds@schleef.org>
16098
16099         * check/Makefile.am:
16100         * check/generic/states.c:
16101         * gst/Makefile.am:
16102         * gst/gst.c:
16103         * gst/gst.h:
16104         * gst/gst_private.h:
16105         * gst/gstelementfactory.c:
16106         * gst/gstindex.c:
16107         * gst/gstinfo.c:
16108         * gst/gstplugin.c:
16109         * gst/gstplugin.h:
16110         * gst/gstpluginfeature.c:
16111         * gst/gstpluginfeature.h:
16112         * gst/gstregistry.c:
16113         * gst/gstregistry.h:
16114         * gst/gstregistrypool.c: remove
16115         * gst/gstregistrypool.h: remove
16116         * gst/gsttypefind.c:
16117         * gst/gsttypefindfactory.c:
16118         * gst/gsturi.c:
16119         * tools/Makefile.am:
16120         * tools/gst-compprep.c:
16121         * tools/gst-inspect.c:
16122         * tools/gst-register.c: remove
16123         * tools/gst-xmlinspect.c:
16124           Registry rewrite.  Changes registry from being a file created
16125           by a tool into a simple cache file created automatically by 
16126           libgstreamer.  Removed gst-register (because it's no longer
16127           needed).  Remove registry pools, because we only have one
16128           registry implementation (XML).  Fix up other subsystems as
16129           necessary.
16130
16131 2005-09-13  Michael Smith <msmith@fluendo.com>
16132
16133         * gst/gstconfig.h.in:
16134           Don't Use windows linking attributes for MinGW. Fixes #316157
16135
16136 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16137
16138         * gst/gstutils.c: (set_state_async_thread_func),
16139         (gst_element_set_state_async):
16140           Apparently people think it's better if this function doesn't
16141           try to set the state to whatever state was asked for on the first
16142           call to this function for any object.  Seriously.
16143
16144 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16145
16146         * check/gst/gstpipeline.c: (GST_START_TEST):
16147         * docs/gst/gstreamer-sections.txt:
16148         * gst/gstutils.c: (set_state_async_thread_func),
16149         (gst_element_set_state_async):
16150         * gst/gstutils.h:
16151           add a "gst_element_set_state_async" method that
16152           sets the state and starts a thread to make sure the state
16153           change completes as best as it can
16154
16155 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16156
16157         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16158           codify design+behaviour in testsuite after discussion
16159
16160 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16161
16162         * docs/gst/tmpl/gstelement.sgml:
16163         * docs/manual/appendix-quotes.xml:
16164           add a quote
16165         * gst/gstelement.c: (gst_element_set_state):
16166           add some debug
16167
16168 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
16169
16170         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16171         (gst_base_transform_prepare_output_buf),
16172         (gst_base_transform_handle_buffer):
16173         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
16174         (gst_capsfilter_prepare_buf):
16175           Remove the requirement for sub-classes to call the parent
16176           implementation of prepare_output_buffer with a wrapper function.
16177           
16178         * gst/gsttaglist.h:
16179         * gst/gsttagsetter.h:
16180           Fix #define wrapper
16181
16182 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
16183
16184         * docs/gst/gstreamer-sections.txt:
16185           more doc cleanups
16186
16187 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16188
16189         * docs/gst/gstreamer-sections.txt:
16190         * docs/gst/tmpl/gstelement.sgml:
16191         * docs/gst/tmpl/gstplugin.sgml:
16192         * gst/gstminiobject.c:
16193         * gst/gstvalue.h:
16194           docs now stop throwing warnings
16195
16196 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16197
16198         * docs/gst/gstreamer-sections.txt:
16199         * docs/gst/gstreamer.types:
16200         * docs/gst/tmpl/gstpad.sgml:
16201         * docs/gst/tmpl/gsttypes.sgml:
16202         * gst/base/gstadapter.h:
16203         * gst/base/gstbasesink.h:
16204         * gst/base/gstbasesrc.h:
16205         * gst/gstbin.h:
16206         * gst/gstbuffer.h:
16207         * gst/gstbus.h:
16208         * gst/gstcaps.h:
16209         * gst/gstclock.h:
16210         * gst/gstelement.h:
16211         * gst/gstevent.h:
16212         * gst/gstmessage.h:
16213         * gst/gstpad.h:
16214         * gst/gststructure.c:
16215         * gst/registries/gstlibxmlregistry.h:
16216           various documentation fixes
16217
16218 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16219
16220         * docs/gst/gstreamer-sections.txt:
16221         * docs/gst/tmpl/gstvalue.sgml:
16222           rearrange gstvalue section
16223         * gst/gstutils.c: (gst_element_state_get_name):
16224           NONE -> VOID
16225         * gst/gstvalue.c: (_gst_value_initialize):
16226         * gst/gstvalue.h:
16227           doc updates
16228
16229 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
16230
16231         * check/gst-libs/controller.c:
16232           Header include fix.
16233         * gst/base/gstbasetransform.c:
16234         (gst_base_transform_default_prepare_buf),
16235         (gst_base_transform_handle_buffer):
16236         * gst/base/gstbasetransform.h:
16237           Some more basetransform changes and fixes to enable sub-classes
16238           that modify buffer metadata only.
16239         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16240         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
16241         (gst_capsfilter_prepare_buf):
16242           If the output pad has fixed allowed caps and input buffers 
16243           don't have any, set the fixed caps on outgoing buffers.
16244
16245 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
16246         * check/elements/identity.c: (GST_START_TEST):
16247           Make the error a little clearer when the test fails because
16248           identity made a copy of the buffer.
16249         * docs/gst/gstreamer-sections.txt:
16250           New symbols in gstbasetransform.h
16251         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16252         (gst_base_transform_init), (gst_base_transform_transform_size),
16253         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16254         (gst_base_transform_default_prepare_buf),
16255         (gst_base_transform_get_unit_size),
16256         (gst_base_transform_buffer_alloc),
16257         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16258         (gst_base_transform_change_state),
16259         (gst_base_transform_set_passthrough),
16260         (gst_base_transform_set_in_place),
16261         (gst_base_transform_is_in_place):
16262         * gst/base/gstbasetransform.h:
16263           Change BaseTransform to separate in_place operate from same_caps
16264           output. in_place implies that the element can perform the transform
16265           on incoming buffers in-place, even if the caps on the output are
16266           different.
16267           Sub-class elements can now implement special buffer allocation
16268           methods for outgoing buffers if they wish to.
16269           Big documentation addition.
16270         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
16271         * gst/elements/gstelements.c:
16272           Changes for basetransform modifications.
16273         * gst/elements/Makefile.am:
16274         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
16275           Compile fix. Extra debug output.
16276
16277 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16278
16279         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
16280         (gst_pad_suite):
16281           add tests for valid pad naming
16282         * gst/check/gstcheck.c: (gst_check_log_message_func),
16283         (gst_check_log_critical_func):
16284           add ASSERT_WARNING
16285           remove printing of code, it is fragile when the code contains
16286           % and the line number is enough info
16287         * gst/check/gstcheck.h:
16288         * gst/gstpad.c: (gst_pad_template_new):
16289           fix memleaks
16290
16291 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16292
16293         * configure.ac:
16294           say what CHECK flags we use
16295         * docs/libs/gstreamer-libs.types:
16296         * libs/gst/controller/Makefile.am:
16297         * libs/gst/controller/gst-controller.c:
16298         * libs/gst/controller/gst-controller.h:
16299         * libs/gst/controller/gst-helper.c:
16300         * libs/gst/controller/gst-interpolation.c:
16301         * libs/gst/controller/gstcontroller.c:
16302         * libs/gst/controller/gsthelper.c:
16303         * libs/gst/controller/gstinterpolation.c:
16304         * tools/gst-inspect.c: (print_plugin_info):
16305           we don't use dashes in header names
16306
16307 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16308
16309         * check/Makefile.am:
16310         * check/gst/.cvsignore:
16311         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
16312         (gst_pipeline_suite), (main):
16313           adding a test for pipelines and state changes
16314         * gst/gstutils.c: (get_state_func):
16315           add some debugging
16316         * gstreamer.spec.in:
16317           fix up spec file
16318
16319 2005-09-08  Michael Smith <msmith@fluendo.com>
16320
16321         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
16322         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
16323         (gst_file_src_is_seekable), (gst_file_src_get_size),
16324         (gst_file_src_start):
16325         * gst/elements/gstfilesrc.h:
16326           Various fixes for unseekable, unmmapable, and non-normal files, so
16327           that fallback to read() rather than mmap() works.
16328         * gst/gstevent.c: (gst_event_new_newsegment):
16329           Allow newsegment events with segment_start == segment_end, as will
16330           correctly happen if you use filesrc on a zero-size file, for
16331           example.
16332
16333 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
16334
16335         * gst/gstplugin.c: (gst_plugin_load_file):
16336           Call g_module_close when we don't load the module
16337
16338         * gst/registries/gstlibxmlregistry.c:
16339         (gst_xml_registry_get_property):
16340           Port leak fix from 0.8
16341
16342 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16343
16344         * docs/gst/gstreamer-docs.sgml:
16345         * docs/gst/tmpl/.cvsignore:
16346         * docs/gst/tmpl/gsttrace.sgml:
16347         * docs/gst/tmpl/gsttrashstack.sgml:
16348         * gst/Makefile.am:
16349         * gst/gst.h:
16350         * gst/gstelement.h:
16351         * gst/gstevent.h:
16352         * gst/gstmessage.c:
16353         * gst/gstmessage.h:
16354         * gst/gsttag.c:
16355         * gst/gsttag.h:
16356         * gst/gsttaginterface.c:
16357         * gst/gsttaginterface.h:
16358         * gst/gsttaglist.c:
16359         * gst/gsttaglist.h:
16360         * gst/gsttagsetter.c:
16361         * gst/gsttagsetter.h:
16362         * gst/gsttrace.c:
16363         * gst/gsttrace.h:
16364         * gst/gsttrashstack.c:
16365           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
16366           inlined docs for gsttrace, gsttrashstack
16367
16368 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16369
16370         * gst/Makefile.am:
16371         * gst/elements/gstbufferstore.h:
16372         * gst/elements/gsttypefindelement.c:
16373         * gst/elements/gsttypefindelement.h:
16374         * gst/gst.h:
16375         * gst/gsttypefind.c:
16376         * gst/gsttypefind.h:
16377         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
16378         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
16379         (gst_type_find_factory_dispose),
16380         (gst_type_find_factory_unload_thyself),
16381         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
16382         (gst_type_find_factory_get_caps),
16383         (gst_type_find_factory_get_extensions),
16384         (gst_type_find_factory_call_function):
16385         * gst/gsttypefindfactory.h:
16386         * gst/registries/gstlibxmlregistry.c:
16387         * gst/registries/gstxmlregistry.c:
16388           splitted gsttypefind into gsttypefind, gsttypefindfactory
16389
16390 2005-09-07  Andy Wingo  <wingo@pobox.com>
16391
16392         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
16393         condition whereby the pad's task function is entered before the
16394         pad_mode variable was set.
16395
16396 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
16397
16398         * gst/gstpad.c: (gst_pad_alloc_buffer):
16399           Catch misbehaving pad_alloc functions that don't
16400           set up caps and do it for them.
16401
16402 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16403
16404         * check/pipelines/simple_launch_lines.c: (run_pipeline):
16405           test for pipe!=NULL
16406         * docs/gst/tmpl/.cvsignore:
16407         * docs/gst/tmpl/gstmemchunk.sgml:
16408         * docs/gst/tmpl/gstparse.sgml:
16409         * docs/gst/tmpl/gsttaglist.sgml:
16410         * docs/gst/tmpl/gsttagsetter.sgml:
16411         * docs/gst/tmpl/gsttypefind.sgml:
16412         * docs/gst/tmpl/gsttypefindfactory.sgml:
16413         * gst/gstmemchunk.c:
16414         * gst/gstparse.c:
16415         * gst/gsttag.c:
16416         * gst/gsttaginterface.c:
16417         * gst/gsttypefind.c:
16418         * gst/gsttypefind.h:
16419           inlined more docs
16420
16421 === release 0.9.2 ===
16422
16423 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16424
16425         * NEWS:
16426         * RELEASE:
16427         * configure.ac:
16428           releasing 0.9.2, "South"
16429
16430 2005-09-05  Andy Wingo  <wingo@pobox.com>
16431
16432         * gst/registries/gstxmlregistry.h:
16433         * gst/registries/gstxmlregistry.c: Um... resurrect...
16434         
16435         * gst/registries/gstxmlregistry.h:
16436         * gst/registries/gstxmlregistry.c: and update to newer API.
16437         Incidentally they should be a bit faster now that they don't have
16438         to parse the caps.
16439         
16440 2005-09-05  Andy Wingo  <wingo@pobox.com>
16441
16442         * gst/registries/gstxmlregistry.h:
16443         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
16444         replaced by the libxml registry a while back
16445
16446 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16447
16448         * docs/gst/tmpl/gstplugin.sgml:
16449         * gst/elements/gstelements.c:
16450         * gst/gst.c:
16451         * gst/gstplugin.c: (gst_plugin_register_func),
16452         (gst_plugin_desc_copy), (gst_plugin_desc_free),
16453         (gst_plugin_get_source):
16454         * gst/gstplugin.h:
16455         * gst/registries/gstlibxmlregistry.c: (load_plugin),
16456         (gst_xml_registry_save_plugin):
16457         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
16458         (gst_xml_registry_save_plugin):
16459         * tools/gst-inspect.c: (print_plugin_info):
16460           add a "source" plugin description field, to represent the source
16461           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
16462           will set it to PACKAGE, which is automake's idea of the name of
16463           the source project.
16464
16465 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16466
16467         * Makefile.am:
16468         * autogen.sh:
16469         * configure.ac:
16470         * docs/Makefile.am:
16471         * docs/faq/Makefile.am:
16472         * docs/gst/tmpl/gstelement.sgml:
16473         * docs/gst/tmpl/gsttypes.sgml:
16474         * docs/htmlinstall.mak:
16475         * docs/manual/Makefile.am:
16476         * docs/pwg/Makefile.am:
16477           reorganize doc build a little
16478           split out docbook and gtk-doc stuff
16479           have two separate --enable's and enable them through autogen
16480           but disable by default in configure (to be similar to other
16481           projects)
16482         * gstreamer.spec.in:
16483           clean up docs install
16484         * po/af.po:
16485         * po/az.po:
16486         * po/ca.po:
16487         * po/cs.po:
16488         * po/de.po:
16489         * po/en_GB.po:
16490         * po/fr.po:
16491         * po/it.po:
16492         * po/nb.po:
16493         * po/nl.po:
16494         * po/ru.po:
16495         * po/sq.po:
16496         * po/sr.po:
16497         * po/sv.po:
16498         * po/tr.po:
16499         * po/uk.po:
16500         * po/vi.po:
16501           translation updates
16502
16503 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
16504
16505         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
16506           Add comment.
16507           
16508         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16509         (gst_fake_sink_change_state):
16510           Make state change function thread-safe.
16511           
16512         * gst/gstpad.c: (gst_pad_alloc_buffer):
16513           Set offset on generic buffer allocated by fallback.
16514
16515 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
16516
16517         * docs/gst/gstreamer-sections.txt:
16518         * docs/gst/tmpl/gstelement.sgml:
16519         * gst/gstpad.c:
16520         * libs/gst/controller/gst-controller.c:
16521         (gst_controlled_property_set_interpolation_mode),
16522         (gst_controlled_property_new),
16523         (gst_controller_find_controlled_property):
16524          run the wingo-magic script against the docs
16525
16526 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
16527
16528         * docs/gst/gstreamer-docs.sgml:
16529         * docs/gst/gstreamer-sections.txt:
16530         * docs/gst/tmpl/.cvsignore:
16531         * docs/gst/tmpl/gstelementdetails.sgml:
16532         * docs/gst/tmpl/gstelementfactory.sgml:
16533         * gst/gst.c:
16534         * gst/gstbus.c:
16535         * gst/gstelementfactory.c:
16536         * gst/gstelementfactory.h:
16537           merged elementdetails docs into elementfactory docs
16538           inlined both
16539
16540 2005-09-02  Andy Wingo  <wingo@pobox.com>
16541
16542         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
16543         consider this enum an enum and not a flags.
16544
16545 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
16546
16547         * docs/gst/gstreamer-docs.sgml:
16548         * docs/gst/tmpl/.cvsignore:
16549         * docs/gst/tmpl/gstghostpad.sgml:
16550         * docs/gst/tmpl/gstiterator.sgml:
16551         * docs/gst/tmpl/gstmacros.sgml:
16552         * docs/gst/tmpl/gstrealpad.sgml:
16553         * docs/gst/tmpl/gstregistry.sgml:
16554         * docs/gst/tmpl/gstregistrypool.sgml:
16555         * docs/gst/tmpl/gststructure.sgml:
16556         * docs/gst/tmpl/gstsystemclock.sgml:
16557         * docs/gst/tmpl/gsttrace.sgml:
16558         * gst/gstghostpad.c:
16559         * gst/gstmacros.h:
16560         * gst/gstmemchunk.c:
16561         * gst/gstmemchunk.h:
16562         * gst/gstqueue.c:
16563         * gst/gstregistry.c:
16564         * gst/gstregistrypool.c:
16565         * gst/gststructure.c:
16566         * gst/gstsystemclock.c:
16567           more docs inlined
16568
16569 2005-09-02  Andy Wingo  <wingo@pobox.com>
16570
16571         * gst/gstelement.h (GstState): Renamed from GstElementState,
16572         changed to be a normal enum instead of flags.
16573         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
16574         munged to be GST_STATE_CHANGE_*.
16575         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
16576         work with the new state representation.
16577         (GstStateChange): New enumeration of possible state transitions.
16578         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
16579         (GstElementClass::change_state): Pass the GstStateChange along as
16580         an argument. Helps language bindings, so they don't have to use
16581         tricky lock-needing macros like GST_STATE_CHANGE ().
16582
16583         * scripts/update-states (file): New script. Run it on a file to
16584         update it for state naming and API changes. Updates files in
16585         place.
16586
16587         * All files updated for the new API.
16588
16589 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16590
16591         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
16592         * gst/gstutils.c: (gst_util_set_value_from_string),
16593         (gst_util_set_object_arg):
16594           fix a bunch of unchecked return values
16595         * tools/gst-complete.c: (main):
16596         * gstreamer.spec.in:
16597           clean up a little
16598
16599 2005-09-01  Wim Taymans  <wim@fluendo.com>
16600
16601         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16602         (gst_base_sink_event), (gst_base_sink_do_sync),
16603         (gst_base_sink_handle_event):
16604         * gst/base/gstbasesink.h:
16605         Handle newsegments more correctly.
16606
16607         * gst/gstbus.c:
16608         Fix docs.
16609
16610         * gst/gstevent.c: (gst_event_new_newsegment):
16611         A newsegment cannot have a start_time of -1
16612
16613 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
16614
16615         * win32/gstenumtypes.c:
16616         * win32/gstenumtypes.h:
16617           Update
16618
16619 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
16620
16621         * libs/gst/controller/gst-controller.c:
16622         (gst_controlled_property_set_interpolation_mode),
16623         (gst_controlled_property_new):
16624          fixed boolean again
16625
16626 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
16627
16628         * docs/faq/gst-uninstalled:
16629           add -good
16630         * gst/gstevent.c:
16631         * gst/gstevent.h:
16632           remove wrong docs
16633         * gst/gstutils.c: (gst_element_link_filtered):
16634         * gst/gstutils.h:
16635           add gst_element_link_filtered
16636
16637 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
16638
16639         * docs/gst/gstreamer-docs.sgml:
16640         * docs/gst/gstreamer-sections.txt:
16641         * docs/gst/tmpl/.cvsignore:
16642         * docs/gst/tmpl/gsterror.sgml:
16643         * docs/gst/tmpl/gstfilter.sgml:
16644         * docs/gst/tmpl/gsturihandler.sgml:
16645         * docs/gst/tmpl/gsturitype.sgml:
16646         * docs/gst/tmpl/gstutils.sgml:
16647         * docs/gst/tmpl/gstxml.sgml:
16648         * gst/gsterror.c:
16649         * gst/gsterror.h:
16650         * gst/gstfilter.c:
16651         * gst/gsturi.c:
16652         * gst/gsturitype.c:
16653         * gst/gstutils.c:
16654         * gst/gstxml.c:
16655           inlined more docs, fixed double id-ref
16656
16657 2005-08-31  Wim Taymans  <wim@fluendo.com>
16658
16659         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16660         (gst_base_transform_handle_buffer):
16661         Passthrough elements don't need the caps as they don't care.
16662
16663 2005-08-31  Wim Taymans  <wim@fluendo.com>
16664
16665         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16666         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
16667         Don't leak refcounts on buffers.
16668
16669 2005-08-31  Wim Taymans  <wim@fluendo.com>
16670
16671         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
16672         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16673         (gst_base_transform_chain), (gst_base_transform_change_state):
16674         * gst/base/gstbasetransform.h:
16675         Handle the case where we are not negotiated more gracefully.
16676
16677 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
16678
16679         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
16680         (gst_file_src_map_region):
16681           Set READONLY flag on mmap'ed buffers, otherwise
16682           gst_buffer_make_writable() won't work properly (#314708).
16683
16684 2005-08-31  Wim Taymans  <wim@fluendo.com>
16685
16686         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
16687         passthrough elements can even do inplace on non writable
16688         buffers (as they don't touch them).
16689
16690 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
16691
16692         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
16693         (gst_test_mono_source_set_property),
16694         (gst_test_mono_source_class_init), (GST_START_TEST),
16695         (gst_controller_suite):
16696           more tests (hehe I have the most)
16697         * gst/gstbus.c:
16698           describe popping messages whenusing mulltiple sources
16699         * libs/gst/controller/gst-controller.c:
16700         (gst_controlled_property_set_interpolation_mode),
16701         (gst_controlled_property_new):
16702         * libs/gst/controller/gst-controller.h:
16703         * libs/gst/controller/gst-interpolation.c:
16704           implement boolean properties
16705
16706 2005-08-31  Wim Taymans  <wim@fluendo.com>
16707
16708         * gst/gstminiobject.c: (gst_mini_object_ref):
16709         Cannot assert that the refcount has to be positive
16710         since a disposed object can be resurrected.
16711
16712 2005-08-31  Wim Taymans  <wim@fluendo.com>
16713
16714         * gst/gstpad.c: (gst_pad_init):
16715         Revert change, need to first fix badly behaving 
16716         apps.
16717
16718 2005-08-30  Wim Taymans  <wim@fluendo.com>
16719
16720         * check/elements/fakesrc.c: (setup_fakesrc):
16721         * check/elements/identity.c: (setup_identity):
16722         Activate pads before using them.
16723
16724 2005-08-30  Wim Taymans  <wim@fluendo.com>
16725
16726         * gst/base/gstadapter.c: (gst_adapter_flush):
16727         Flushing out 0 bytes is ok for this function.
16728
16729         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16730         no newsegment gives a warning and sets the start/stop to 
16731         invalid.
16732
16733         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
16734         (gst_base_transform_set_passthrough):
16735         Some debug info.
16736
16737         * gst/gstminiobject.c: (gst_mini_object_ref):
16738         Check refcount here too.
16739
16740         * gst/gstpad.c: (gst_pad_init):
16741         Pads are initially flushing and refusing data.
16742
16743         * gst/gstutils.c: (gst_element_link_pads_filtered):
16744         When adding a capsfilter element make sure it has the
16745         same state as the parent bin.
16746
16747 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16748
16749         * docs/gst/tmpl/.cvsignore:
16750         * docs/gst/tmpl/gstformat.sgml:
16751         * docs/gst/tmpl/gstversion.sgml:
16752         * gst/gstbus.h:
16753         * gst/gstformat.c:
16754         * gst/gstformat.h:
16755         * gst/gstversion.h.in:
16756           more docs and two more inlined
16757
16758 2005-08-30  Wim Taymans  <wim@fluendo.com>
16759
16760         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
16761         Don't sync to clock.
16762
16763 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16764
16765         * docs/gst/gstreamer-sections.txt:
16766           ultral33t func10ns deserve to appear in the docs actually
16767         * docs/gst/tmpl/.cvsignore:
16768         * docs/gst/tmpl/gstcompat.sgml:
16769         * docs/gst/tmpl/gstconfig.sgml:
16770         * gst/check/gstcheck.c:
16771         * gst/gstcompat.h:
16772         * gst/gstconfig.h.in:
16773           inlined more docs
16774
16775 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16776
16777         * docs/gst/tmpl/.cvsignore:
16778         * docs/gst/tmpl/gstquery.sgml:
16779         * docs/gst/tmpl/gstutils.sgml:
16780         * gst/gstquery.c:
16781         * gst/gstquery.h:
16782           inlined and extended docs
16783
16784 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16785
16786         * check/gst-libs/controller.c: (GST_START_TEST),
16787         (gst_controller_suite):
16788           more tests
16789         * docs/gst/tmpl/gstutils.sgml:
16790         * docs/libs/gstreamer-libs-sections.txt:
16791         * docs/libs/tmpl/gstdataprotocol.sgml:
16792           include path fixes
16793         * examples/controller/audio-example.c: (main):
16794           controller example works now
16795         * gst/gstclock.h:
16796           doc fixes
16797         * tools/gst-inspect.c: (print_element_properties_info):
16798           show param spec flags
16799
16800 2005-08-29  Andy Wingo  <wingo@pobox.com>
16801
16802         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
16803
16804 2005-08-28  Andy Wingo  <wingo@pobox.com>
16805
16806         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
16807         as having two arguments instead of just one. Allows superclasses
16808         to access information on subclasses -- see the terrible for() loop
16809         in gtype.c:g_type_create_instance for the reason why. All callers
16810         changed.
16811
16812 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
16813
16814         * docs/design/part-messages.txt:
16815           update info
16816         * docs/gst/tmpl/.cvsignore:
16817         * docs/gst/tmpl/gstcaps.sgml:
16818         * docs/gst/tmpl/gstclock.sgml:
16819         * gst/gstbus.c:
16820         * gst/gstcaps.c:
16821         * gst/gstcaps.h:
16822         * gst/gstclock.c:
16823         * gst/gstclock.h:
16824         * gst/gstmessage.c:
16825           added descriptions for bus and message
16826           inline caps and clock docs
16827
16828 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
16829
16830         * gst/gstmessage.c:
16831         * gst/gstmessage.h:
16832           doc fixes
16833
16834 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
16835
16836         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
16837           fix div-by-zero
16838
16839 2005-08-26  Andy Wingo  <wingo@pobox.com>
16840
16841         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
16842         element_set_state's return val.
16843         (test_2_elements): Add test that's been disabled for months.
16844
16845         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
16846         can-activate-pull properties.
16847
16848         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
16849         can-activate-pull properties. Implement is_seekable so fakesrc can
16850         operate in pull mode.
16851
16852         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
16853         properties.
16854         (gst_base_sink_activate, gst_base_sink_activate_pull)
16855         (gst_base_sink_activate_push): Make activation mode choosing work.
16856         Cleanups.
16857         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
16858         is right. Make pull mode work. Post an eos before pausing in pull
16859         mode.
16860         (gst_base_sink_change_state): Pay attention to the core's
16861         change_state() return val.
16862         
16863         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
16864         has-getrange properties. Cleanups.
16865         
16866         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
16867         has_getrange and replace with can_activate_pull and
16868         can_activate_push.
16869
16870         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
16871         locking comments. Remove has_loop, has_chain and replace with
16872         can_activate_pull and can_activate_push.
16873
16874 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
16875
16876         * configure.ac:
16877         * examples/Makefile.am:
16878         * examples/metadata/Makefile.am:
16879         * examples/metadata/read-metadata.c: (message_loop),
16880         (have_pad_handler), (make_pipeline), (print_tag), (main):
16881           Add metadata reading example that loops over a list of filenames,
16882           dumping any tags found.
16883
16884         * gst/gstbus.c: (gst_bus_dispose):
16885         * gst/gstelement.c: (gst_element_dispose):
16886           Release a few potentially-held references in dispose.
16887
16888 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
16889
16890         * docs/gst/tmpl/gstminiobject.sgml:
16891           do *not* add tmpl/*.sgml files to CVS!
16892
16893 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
16894
16895         * libs/gst/bytestream/.cvsignore:
16896         * libs/gst/bytestream/Makefile.am:
16897         * libs/gst/bytestream/adapter.c:
16898         * libs/gst/bytestream/adapter.h:
16899         * libs/gst/bytestream/bytestream.c:
16900         * libs/gst/bytestream/bytestream.h:
16901         * libs/gst/bytestream/filepad.c:
16902         * libs/gst/bytestream/filepad.h:
16903           removing obsolete files
16904
16905 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
16906
16907         * docs/gst/gstreamer-docs.sgml:
16908         * docs/libs/gstreamer-libs-docs.sgml:
16909           disabed additional index entries again, as this makes docs-gen just
16910           slow and they aren't useful yet
16911         * docs/libs/gstreamer-libs-sections.txt:
16912           little -section.txt cleanup for libs
16913
16914 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
16915
16916         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16917         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
16918           fix up some debugging
16919         (gst_base_transform_get_unit_size),
16920         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
16921         (gst_base_transform_handle_buffer):
16922         * gst/base/gstbasetransform.h:
16923           handle and store timed NEWSEGMENT events so that subclasses that
16924           calculate time by counting samples have a segment_start time they
16925           need to add to their timestamps - see audioresample
16926
16927 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
16928
16929         * gst/gstbin.h:
16930           removed ';' from the end of macro defs
16931         * docs/gst/gstreamer-docs.sgml:
16932         * docs/gst/gstreamer-sections.txt:
16933         * docs/gst/tmpl/.cvsignore:
16934         * gst/gstbus.h:
16935         * gst/gstelement.c: (gst_element_class_init),
16936         (gst_element_set_state), (activate_pads),
16937         (gst_element_save_thyself):
16938         * gst/gstevent.c: (gst_event_new_newsegment):
16939         * gst/gstevent.h:
16940         * gst/gstiterator.c:
16941         * gst/gstiterator.h:
16942         * gst/gstpad.c:
16943         * gst/gstprobe.h:
16944         * gst/gstutils.c: (gst_pad_query_convert):
16945         * gst/gstutils.h:
16946           fixed parameter name mismatches between source, header and docs
16947           added some more docs, resolved the last batch of unused elements in
16948           docs (now someone needs to doc them)
16949
16950 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
16951
16952         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
16953         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
16954           don't walk through the plugins backwards.  Where is all this
16955           reversed logic coming from ?
16956
16957 2005-08-25  Wim Taymans  <wim@fluendo.com>
16958
16959         * gst/base/gstbasetransform.c: (gst_base_transform_init),
16960         (gst_base_transform_transform_size),
16961         (gst_base_transform_configure_caps),
16962         (gst_base_transform_get_unit_size),
16963         (gst_base_transform_buffer_alloc),
16964         (gst_base_transform_change_state):
16965         * gst/base/gstbasetransform.h:
16966         Cache caps unit_size.
16967         Make sure we cannot negotiate up and downstream at the
16968         same time.
16969
16970 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
16971
16972         * gst/gst.c: (init_pre), (init_post):
16973           register the installed plugin path after the env var
16974         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
16975         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
16976           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
16977           directories, so the tests can prefer uninstalled over installed
16978
16979 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
16980
16981         * gst/base/gstbasetransform.h:
16982           comment
16983         * gst/gstpad.c:
16984           add to docs
16985
16986 2005-08-25  Wim Taymans  <wim@fluendo.com>
16987
16988         * gst/gstbin.c: (bin_bus_handler):
16989         Be a bit more conservative about the posted message.
16990         
16991         * gst/gstbus.c: (gst_bus_post):
16992         Some cleanups, warn wrong return values.
16993
16994 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
16995
16996         * check/gst/gstbin.c: (GST_START_TEST):
16997         * gst/gstbin.c: (bin_bus_handler):
16998         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
16999         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17000         (gst_message_new_warning), (gst_message_new_tag),
17001         (gst_message_new_state_changed), (gst_message_new_segment_start),
17002         (gst_message_new_segment_done), (gst_message_new_custom):
17003         * gst/gstmessage.h:
17004         * tools/gst-launch.c: (event_loop):
17005         * tools/gst-md5sum.c: (event_loop):
17006           Revert unpopular change for GST_MESSAGE_SRC to GObject.
17007
17008 2005-08-25  Wim Taymans  <wim@fluendo.com>
17009
17010         * check/generic/states.c: (GST_START_TEST):
17011         Cleanup can be done at the end.
17012
17013         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
17014         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17015         (gst_task_get_state), (gst_task_start), (gst_task_pause):
17016         Oh boy.. Thanks for finding this, Thomas. 
17017
17018 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
17019
17020         * docs/gst/gstreamer.types:
17021           added missing types
17022
17023 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
17024
17025         * docs/gst/gstreamer-docs.sgml:
17026         * docs/gst/gstreamer-sections.txt:
17027         * docs/gst/tmpl/.cvsignore:
17028         * gst/gstbin.c:
17029         * gst/gstiterator.c:
17030         * gst/gstutils.c:
17031         * gst/registries/gstxmlregistry.h:
17032           added missing classes and symbols (123 more to go)
17033           removed removed symbols from section file
17034           fixed many doc-comments
17035
17036 2005-08-24  Wim Taymans  <wim@fluendo.com>
17037
17038         * check/generic/states.c: (GST_START_TEST):
17039         Make sure all tasks are stopped.
17040
17041         * check/gst/gstbin.c: (GST_START_TEST):
17042         Unref after usage for proper valgrinding.
17043
17044         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
17045         Really wait for the task to stop before destroying the
17046         mutex.
17047
17048         * gst/gstqueue.c: (gst_queue_sink_activate_push),
17049         (gst_queue_src_activate_push):
17050         Small cleanups. Don't stop the task when we did not start
17051         it.
17052
17053         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
17054         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17055         (gst_task_get_state), (gst_task_start), (gst_task_pause),
17056         (gst_task_join):
17057         * gst/gsttask.h:
17058         Protect the stream lock with the object lock.
17059         Disallow setting the stream lock when running.
17060         Add cleanup_all to wait for the threadpool to finish.
17061         Remove code to autoallocate a mutex if none was provided.
17062         Add _join() to wait for a task to stop.
17063         Protect the thread pool with a global lock.
17064
17065 2005-08-24  Wim Taymans  <wim@fluendo.com>
17066
17067         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17068         (gst_base_sink_get_times), (gst_base_sink_do_sync),
17069         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
17070         * gst/base/gstbasesink.h:
17071         Handle newsegment events correctly.
17072         Drop buffers out of the segment range.
17073
17074 2005-08-22  Andy Wingo  <wingo@pobox.com>
17075
17076         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
17077         macro, implements an interface and gstimplementsinterface for a
17078         new type.
17079
17080 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17081
17082         * check/Makefile.am:
17083         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
17084           add a test that does a bunch of state changes on elements
17085           needs some fixing for valgrind
17086         * check/states/sinks.c: (gst_object_suite):
17087           whitespace
17088         * gst/gstcaps.h:
17089           add prototype for gst_caps_is_equal_fixed
17090         * gst/gstplugin.c:
17091         * gst/gstregistrypool.c:
17092           doc fixes
17093
17094 2005-08-24  Andy Wingo  <wingo@pobox.com>
17095
17096         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
17097         convert a negative value. Doesn't make much sense. Mostly this is
17098         here to force callers to ensure -1 maps to -1.
17099
17100 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
17101
17102         * docs/pwg/advanced-types.xml:
17103           Well done to Michael for catching my deliberate introduction
17104           of this spelling mistake. 
17105         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
17106         * gst/gstelement.h:
17107           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
17108           unlink pads before removing the element from the bin.
17109
17110 2005-08-24  Andy Wingo  <wingo@pobox.com>
17111
17112         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
17113         the same thing as GST_DEBUG=*:4.
17114         (parse_debug_level, parse_debug_category): New helper parsers.
17115
17116 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17117
17118         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17119         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
17120         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
17121         (gst_base_transform_buffer_alloc),
17122         (gst_base_transform_handle_buffer):
17123           use gboolean return values and pointers to size so we can use the
17124           full GST_BUFFER_SIZE range (guint) for buffer sizes
17125           use GstPadDirection for transform_caps
17126         * gst/base/gstbasetransform.h:
17127           rename get_size to get_unit_size since that's what it is
17128         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
17129           use GstPadDirection for transform_caps
17130         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17131         * gst/gstutils.h:
17132           cleanup and debugging
17133
17134 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
17135
17136         * gst/gstelement.c: (gst_element_class_init),
17137         (gst_element_set_state), (activate_pads),
17138         (gst_element_save_thyself):
17139         * tools/gst-compprep.c: (main):
17140         * tools/gst-inspect.c: (print_element_properties_info):
17141         * tools/gst-xmlinspect.c: (print_element_properties):
17142           Fixed long standing mem-leak
17143
17144 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
17145
17146         * check/gst/gstbin.c: (GST_START_TEST):
17147         * gst/gstbin.c: (bin_bus_handler):
17148         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17149         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17150         (gst_message_new_warning), (gst_message_new_tag),
17151         (gst_message_new_state_changed), (gst_message_new_segment_start),
17152         (gst_message_new_segment_done), (gst_message_new_custom):
17153         * gst/gstmessage.h:
17154         * tools/gst-launch.c: (event_loop):
17155         * tools/gst-md5sum.c: (event_loop):
17156           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
17157           that applications can sensibly post custom messages with references
17158           to their own objects.
17159
17160 2005-08-24  Andy Wingo  <wingo@pobox.com>
17161
17162         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
17163         already.
17164
17165 2005-08-24  Wim Taymans  <wim@fluendo.com>
17166
17167         * gst/base/gstbasetransform.c: (gst_base_transform_init),
17168         (gst_base_transform_transform_caps),
17169         (gst_base_transform_transform_size),
17170         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17171         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17172         (gst_base_transform_handle_buffer):
17173         * gst/base/gstbasetransform.h:
17174         Many fixes and new features added by Thomas. Can now also do
17175         transforms with variable sizes and a custom fixate_caps function.
17176
17177 2005-08-24  Wim Taymans  <wim@fluendo.com>
17178
17179         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17180         Some debugging.
17181
17182         * gst/gstclock.h:
17183         Cast to ClockTime before formatting to time.
17184
17185         * gst/gstutils.h:
17186         Cleanups.
17187
17188 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
17189
17190         * check/gst-libs/controller.c: (GST_START_TEST),
17191         (gst_controller_suite):
17192         * docs/gst/tmpl/gstcaps.sgml:
17193         * docs/gst/tmpl/gstghostpad.sgml:
17194         * docs/gst/tmpl/gstquery.sgml:
17195         * docs/gst/tmpl/gstutils.sgml:
17196         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
17197         (gst_object_sink_values), (gst_object_get_value_arrays),
17198         (gst_object_get_value_array):
17199           gracefully handle helper method calls to objects that are not beeing
17200           controlled, added test case for that          
17201
17202 2005-08-23  Wim Taymans  <wim@fluendo.com>
17203
17204         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
17205         (gst_event_new_newsegment), (gst_event_parse_newsegment),
17206         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
17207         (gst_event_parse_qos), (gst_event_new_seek),
17208         (gst_event_parse_seek):
17209         * gst/gstevent.h:
17210         Some more debugging output and doc cleanups.
17211
17212         * gst/gstqueue.c: (gst_queue_handle_sink_event):
17213         Fix possible deadlock.
17214
17215 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17216
17217         * docs/gst/gstreamer-docs.sgml:
17218         * docs/gst/gstreamer-sections.txt:
17219         * docs/gst/gstreamer.types:
17220         * docs/gst/tmpl/.cvsignore:
17221         * gst/gstbin.h:
17222         * gst/gstbus.c:
17223         * gst/gstelement.c:
17224         * gst/gstevent.h:
17225           added 100 symbols from gstreamer-unused.txt to the right sections
17226           fixed more broken comments
17227           added GstBus to docs
17228
17229 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17230
17231         * docs/gst/gstreamer-sections.txt:
17232         * docs/gst/tmpl/.cvsignore:
17233         * docs/gst/tmpl/gstbin.sgml:
17234         * docs/gst/tmpl/gstbuffer.sgml:
17235         * gst/base/gstbasesrc.c:
17236         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
17237         * gst/gstbuffer.c:
17238         * gst/gstbuffer.h:
17239         * tools/gst-launch.1.in:
17240           inlined more doc comments, added missing comments and fixed comments
17241           fixed typos
17242
17243 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17244
17245         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17246           some debugging
17247         * gst/gstcaps.h:
17248           whitespace fixes
17249         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
17250           more debugging
17251         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
17252         * gst/gststructure.h:
17253           add a fixate function for booleans; add a FIXME that these func
17254           names should probably be gst_structure_fixate_*
17255
17256 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17257
17258         * docs/gst/gstreamer-docs.sgml:
17259         * docs/gst/gstreamer-sections.txt:
17260         * gst/Makefile.am:
17261         * gst/gstbin.c: (gst_bin_get_type),
17262         (gst_bin_child_proxy_get_child_by_index),
17263         (gst_bin_child_proxy_get_children_count),
17264         (gst_bin_child_proxy_init):
17265         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17266         (gst_child_proxy_get_child_by_index),
17267         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
17268         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
17269         (gst_child_proxy_get), (gst_child_proxy_set_property),
17270         (gst_child_proxy_set_valist), (gst_child_proxy_set),
17271         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
17272         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
17273         * gst/gstchildproxy.h:
17274         * gst/parse/grammar.y:
17275         * tools/gst-inspect.c: (print_interfaces),
17276         (print_element_properties_info), (print_element_info):
17277           ported gstchildproxy over from 0.8
17278           ported gst-inspect fixes and enhancements over from 0.8
17279
17280 2005-08-22  Wim Taymans  <wim@fluendo.com>
17281
17282         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17283         (gst_base_transform_handle_buffer):
17284         Also call the transform function if we have ANY caps.
17285
17286         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
17287         Fix debug info.
17288
17289 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
17290
17291         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
17292           Don't pretend to handle seek events if the source is not seekable
17293
17294 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
17295
17296         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17297           Remove extra parameter to debug output
17298
17299         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17300         (gst_base_src_do_seek), (gst_base_src_activate_push):
17301           Fix seek event handling.
17302
17303         * gst/gstpipeline.c: (gst_pipeline_change_state):
17304         * gst/gstqueue.c: (gst_queue_handle_sink_event),
17305         (gst_queue_src_activate_push):
17306           Don't start the src pad task on FLUSH_STOP if the pad
17307           isn't linked.
17308           Debug changes.
17309
17310 2005-08-22  Wim Taymans  <wim@fluendo.com>
17311
17312         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
17313         Added check for gst_static_caps_get() refcounting.
17314
17315 2005-08-22  Wim Taymans  <wim@fluendo.com>
17316
17317         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
17318         Make _static_caps_get() refcounting sane.
17319         
17320         * gst/gstelement.c: (gst_element_set_state):
17321         Add g_return_val_if_fail() to protect against segfaults.
17322
17323 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
17324
17325         * docs/gst/tmpl/gstevent.sgml:
17326         * gst/gstevent.c:
17327         * gst/gstevent.h:
17328           inlined remaining docs, added missing doc comments
17329
17330 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17331
17332         * check/gst/gstbin.c: (GST_START_TEST):
17333           since we don't know when preroll is done, use refcount range
17334           check for the sink
17335         * gst/check/gstcheck.h:
17336           add macro for checking refcount range
17337
17338 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17339
17340         * check/Makefile.am:
17341           clean up environment for when registry gets built versus
17342           when actual tests are run; valgrind seems to not report
17343           leaks if GST_PLUGIN_PATH is set to some specific values
17344         * check/gst/gstbin.c: (GST_START_TEST):
17345           add more refcounting checks; maybe this exposes a
17346           preroll lock bug ?
17347         * common/check.mak:
17348         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17349         * gst/check/gstcheck.h:
17350         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
17351         (gst_bin_change_state):
17352         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
17353           add/fix debugging/whitespace
17354
17355 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
17356
17357         * check/gst/gstevent.c: (event_probe), (test_event),
17358         (GST_START_TEST):
17359          Er, don't call gst_bin_watch_for_state_change you idiot.
17360
17361 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
17362
17363         * check/Makefile.am:
17364           Use CHECK_CFLAGS and CHECK_LIBS
17365         * check/gst/gstevent.c: (event_probe), (test_event),
17366         (GST_START_TEST):
17367           Don't leak events.
17368         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17369         (gst_base_src_start), (gst_base_src_stop),
17370         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17371         (gst_base_src_change_state):
17372           Sprinkle gst_base_src_stop liberally around error paths to fix
17373           problems reusing a source after failed state changes.
17374         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17375         (helper_find_suggest), (gst_type_find_helper):
17376           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
17377         * gst/gstevent.h:
17378         * docs/gst/tmpl/gstevent.sgml:
17379           Migrate part of the docs from the SGML file. Wait for ensonic to
17380           tell me how I did it wrong ;)
17381         * tools/gst-typefind.c: (main):
17382           Extra robustness to state changes between files.
17383
17384 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17385
17386         * check/Makefile.am:
17387           don't valgrind the controller test - it's leaking - Stefan, HELP
17388         * gst/check/gstcheck.c: (gst_check_message_error),
17389         (gst_check_chain_func), (gst_check_setup_element),
17390         (gst_check_teardown_element), (gst_check_setup_src_pad),
17391         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
17392         (gst_check_teardown_sink_pad):
17393         * gst/check/gstcheck.h:
17394           add a bunch of methods to set up elements, and src and sink pads
17395         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
17396         * check/elements/identity.c: (setup_identity), (cleanup_identity),
17397         (GST_START_TEST):
17398           use them
17399         * gst/gstmessage.c:
17400         * gst/gsttag.h:
17401           whitespace/doc fixes
17402
17403 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17404
17405         * gst/gstelement.h:
17406           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
17407           be handled by the application and not always printed as well
17408
17409 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17410
17411         * check/Makefile.am:
17412           set GST_TOOLS_DIR
17413         * gst/check/gstcheck.c: (gst_check_message_error):
17414         * gst/check/gstcheck.h:
17415           add a fail_unless_equals_int
17416           add fail_unless for error messages
17417
17418 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17419
17420         * check/Makefile.am:
17421         * check/gst.supp:
17422         * common/Makefile.am:
17423         * common/check.mak:
17424         * common/gst.supp:
17425           factor out some of the common stuff so we can use it
17426
17427 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17428
17429         * check/Makefile.am:
17430         * check/gst/gstiterator.c: (GST_START_TEST):
17431         * check/gst/gstsystemclock.c: (GST_START_TEST),
17432         (gst_systemclock_suite):
17433         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
17434         * gst/gstclock.c:
17435           valgrind more tests
17436
17437 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17438
17439         * check/elements/.cvsignore:
17440         * check/elements/gstfakesrc.c:
17441           rename to name of element
17442         * check/elements/identity.c: (chain_func), (event_func),
17443         (setup_identity), (cleanup_identity), (GST_START_TEST),
17444         (identity_suite), (main):
17445           add a test for identity
17446         * check/Makefile.am:
17447         * pkgconfig/Makefile.am:
17448         * pkgconfig/gstreamer-check.pc.in:
17449         * pkgconfig/gstreamer-check-uninstalled.pc.in:
17450         * gst/check:
17451         * gst/Makefile.am:
17452         * configure.ac:
17453           move the check stuff to a library that gets installed
17454         * check/gst-libs/controller.c: (GST_START_TEST):
17455         * check/gst-libs/gdp.c:
17456         * check/gst/gst.c: (GST_START_TEST):
17457         * check/gst/gstbin.c:
17458         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17459         * check/gst/gstbus.c:
17460         * check/gst/gstcaps.c: (GST_START_TEST):
17461         * check/gst/gstelement.c:
17462         * check/gst/gstghostpad.c:
17463         * check/gst/gstiterator.c:
17464         * check/gst/gstmessage.c:
17465         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
17466         * check/gst/gstobject.c:
17467         * check/gst/gstpad.c: (GST_START_TEST):
17468         * check/gst/gststructure.c: (GST_START_TEST):
17469         * check/gst/gstsystemclock.c: (GST_START_TEST),
17470         (gst_systemclock_suite):
17471         * check/gst/gsttag.c: (gst_tag_suite):
17472         * check/gst/gstvalue.c:
17473         * check/pipelines/cleanup.c:
17474         * check/pipelines/simple_launch_lines.c:
17475         * check/states/sinks.c:
17476           change include statement
17477
17478         * docs/gst/gstreamer-sections.txt:
17479         * docs/gst/tmpl/gstpad.sgml:
17480           document more pad stuff
17481         * gst/gstminiobject.c: (gst_mini_object_ref),
17482         (gst_mini_object_unref):
17483           debug refcounting
17484
17485 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
17486
17487         * docs/gst/tmpl/gst.sgml:
17488         * gst/gst.c:
17489           eliminate another tmpl file, fix spelling in the long-description
17490
17491 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17492
17493         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17494         (test_event), (timediff), (gstevents_suite):
17495           Should fix build on 64-bit arch's
17496
17497 2005-08-18  Andy Wingo  <wingo@pobox.com>
17498
17499         Make sure that when a pipeline goes to PLAYING, that data has
17500         actually hit the sink.
17501
17502         * check/states/sinks.c (test_sink): A sink that doesn't get any
17503         data shouldn't return SUCCESS for going to either PLAYING or
17504         PAUSED. Test also the return values on the way back down.
17505
17506         * gst/gstelement.c (gst_element_set_state): When changing the
17507         state of an element currently changing state asynchronously, go to
17508         lost-state after commiting the pending state. Makes future calls
17509         to get_state continue to return ASYNC.
17510
17511         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
17512         ASYNC when going to PLAYING if we still don't have preroll, as can
17513         happen with live sources.
17514
17515 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17516
17517         * docs/pwg/advanced-types.xml:
17518           Hack long paragraph into 2 chunks as a workaround for buggy
17519           jadetex version in sid and breezy that loops infinitely and
17520           eats all RAM.
17521
17522 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17523
17524         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17525         (test_event), (timediff), (gstevents_suite):
17526           Provide more error margin in clock measurements to allow for 
17527           g_get_current_time inaccuracies.
17528
17529 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17530
17531         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17532         (test_event), (timediff), (gstevents_suite):
17533            Fix error message output so I might be able to tell why the
17534            test works here but fails on the build farm.
17535
17536 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17537
17538         * check/Makefile.am:
17539         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17540         (test_event), (timediff), (gstevents_suite), (main):
17541           I wrote a test!
17542
17543         * docs/design/part-seeking.txt:
17544           Spelling correction
17545
17546         * docs/gst/tmpl/gstevent.sgml:
17547         * docs/gst/tmpl/gstfakesrc.sgml:
17548           Docs updates.
17549
17550         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17551           Treat a buffer-without-newsegment the same as a receiving 
17552           a newsegment not in time format, and disable syncing to the clock
17553           with a warning.
17554
17555         * gst/gstbus.c: (gst_bus_set_sync_handler):
17556           Assert if anyone tries to replace the existing sync_handler for bus, 
17557           as only the owner should be setting it.
17558
17559         * gst/gstevent.h:
17560           Have a fixed set of custom event enums with events identified by
17561           their structure name (as in 0.8), rather than a free-for-all
17562           allowing collisions between enum values from different plugins.
17563
17564         * gst/gstpad.c: (gst_pad_class_init):
17565           Docs change.
17566           
17567         * gst/gstqueue.c: (gst_queue_handle_sink_event):
17568           Handle out-of-band downstream events from the sending thread.
17569
17570 2005-08-17  Andy Wingo  <wingo@pobox.com>
17571
17572         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
17573         play-timeout==0 to mean no timeout at all. In that case, don't
17574         bother with a get_state or a warning, just return directly, even
17575         if it's ASYNC.
17576
17577         * gst/base/gstbasetransform.c: Debug changes.
17578
17579         * gst/gstutils.h:
17580         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
17581         ensure bins post state change messages. A bit of a hack but I can't
17582         think of a way to avoid it.
17583
17584         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
17585
17586 2005-08-16  Andy Wingo  <wingo@pobox.com>
17587
17588         * gst/base/gstadapter.h:
17589         * gst/base/gstadapter.c (gst_adapter_take): New function, like
17590         peek() but you own the data. Not terribly efficient atm.
17591
17592 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17593
17594         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
17595         (gst_element_found_tags):
17596         * gst/gstutils.h:
17597           Add two utility functions for tag handling.
17598
17599 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17600
17601         * docs/manual/advanced-dataaccess.xml:
17602         * docs/manual/basics-helloworld.xml:
17603           Fix docs to use _bin_add() before _link(), which fixes the examples
17604           with recent core versions (reported by Madhan Raj M
17605           <raj_madan@rediffmail.com>, #313199).
17606
17607 2005-08-16  Wim Taymans  <wim@fluendo.com>
17608
17609         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17610         Added subtract checks.
17611
17612         * docs/design/part-events.txt:
17613         Some more docs about newsegment
17614
17615         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
17616         Fix FIXME
17617
17618         * gst/gstcaps.c: (gst_caps_to_string):
17619         Add comments, cleanups.
17620         
17621         * gst/gstelement.c: (gst_element_save_thyself):
17622         cleanups
17623         
17624         * gst/gstvalue.c: (gst_value_collect_int_range),
17625         (gst_string_unwrap), (gst_value_union_int_int_range),
17626         (gst_value_union_int_range_int_range),
17627         (gst_value_intersect_int_int_range),
17628         (gst_value_intersect_int_range_int_range),
17629         (gst_value_intersect_double_double_range),
17630         (gst_value_intersect_double_range_double_range),
17631         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
17632         (gst_value_subtract_int_range_int),
17633         (gst_value_subtract_double_range_double),
17634         (gst_value_subtract_double_range_double_range),
17635         (gst_value_subtract_from_list), (gst_value_subtract_list),
17636         (gst_value_can_compare), (gst_value_compare_fraction):
17637         Cleanups, add comments, remove unneeded asserts.
17638
17639 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17640
17641         * tools/gst-launch.c: (event_loop):
17642           don't convert NULL structures to strings
17643
17644 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
17645
17646         * docs/gst/gstreamer-sections.txt:
17647           made some defines private
17648         * docs/gst/tmpl/gstconfig.sgml:
17649         * docs/gst/tmpl/gstqueue.sgml:
17650         * docs/gst/tmpl/gsttaglist.sgml:
17651         * docs/gst/tmpl/gsttypes.sgml:
17652         * docs/gst/tmpl/gstutils.sgml:
17653         * docs/pwg/appendix-porting.xml:
17654         * gst/base/gstbasesink.h:
17655         * gst/base/gstbasesrc.c:
17656         * gst/base/gstbasesrc.h:
17657         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
17658         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
17659         * gst/gstelement.c: (gst_element_class_init):
17660         * gst/gstpad.c: (gst_pad_class_init):
17661         * gst/gstqueue.c: (gst_queue_class_init):
17662         * gst/gstxml.c: (gst_xml_class_init):
17663           documented all undocumented signal inline
17664         * libs/gst/controller/gst-controller.h:
17665           added padding
17666
17667 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17668
17669         * docs/pwg/appendix-porting.xml:
17670           Document _set_link_function -> _set_setcaps_function.
17671
17672 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17673
17674         * check/Makefile.am:
17675           add a .check target for running the check
17676         * check/gst-libs/controller.c: (GST_START_TEST):
17677           cosmetic fixups
17678         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17679           complete checks for gstbuffer; would be nice if I could get the
17680           gcov stuff to work so I can see if I actually completed gstbuffer.c
17681         * check/gstcheck.h:
17682           add ASSERT_BUFFER_REFCOUNT
17683
17684 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
17685
17686         * docs/gst/gstreamer-sections.txt:
17687         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
17688         * gst/gsttag.h:
17689           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
17690           spew out a warning if a tag that is already registered
17691           is re-registered, unless it is re-registered with a 
17692           different type (#308438).
17693
17694 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
17695
17696         * docs/pwg/appendix-porting.xml:
17697         * docs/pwg/building-state.xml:
17698           Add some paragraphs about state changes in 0.9 to the PWG
17699           and the porting guide, in particular about the new meaning
17700           of GST_STATE_PAUSED and how to write state change functions
17701           with concurrent access by multiple threads in mind.
17702
17703 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
17704
17705         * docs/gst/gstreamer-docs.sgml:
17706         * docs/libs/gstreamer-libs-docs.sgml:
17707           added deprecation and since indexes
17708         * libs/gst/controller/gst-controller.c:
17709         * libs/gst/controller/gst-helper.c:
17710           added since tags
17711
17712
17713 2005-08-11  Wim Taymans  <wim@fluendo.com>
17714
17715         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
17716         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
17717         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
17718         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
17719         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
17720         (gst_ghost_pad_set_target):
17721         Actually implement (re)setting the target on a ghostpad
17722         as described in the docs.
17723
17724 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
17725
17726         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
17727           Check whether GST_DEBUG_NO_COLOR environment variable is
17728           set and disable coloured debug output if that is the case.
17729
17730 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
17731
17732         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17733         (gst_type_find_helper):
17734           The memory returned by gst_type_find_peek() needs to
17735           stay valid until the end of a typefind function, and
17736           typefind functions may keep results from different 
17737           offsets around, so we can't just unref the buffer from
17738           the previous _peek(), but have to save all buffers 
17739           returned by _peek() until typefinding is done and only
17740           free them then.
17741
17742 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
17743
17744         * docs/gst/gstreamer-sections.txt:
17745         * gst/gstutils.h:
17746           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
17747
17748 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17749
17750         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17751           Fix a pretty good memleak.
17752
17753 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
17754
17755         * gst/gstiterator.h:
17756           Fix wrong include and 'make distcheck'.
17757
17758 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17759
17760         * gst/gstbin.c: (bin_bus_handler):
17761           Use gst_element_post_message() instead.
17762
17763 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
17764
17765         * gst/base/gstadapter.h:
17766         * gst/base/gstbasesink.h:
17767         * gst/base/gstbasesrc.h:
17768         * gst/base/gstbasetransform.h:
17769         * gst/base/gstcollectpads.h:
17770         * gst/base/gstpushsrc.h:
17771         * gst/gstiterator.h:
17772           Add padding to our base elements' class and instance structs and
17773           to GstIterator (you will need to rebuild all plugins and apps!)
17774
17775 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17776
17777         * gst/gstbin.c: (bin_bus_handler):
17778           Make default message forwarding from child->bus to bin->bus
17779           threadsafe and make it not emit warnings if the parent has no bus.
17780
17781 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17782
17783         * gst/gstelement.c: (activate_pads):
17784           On paused->ready, set pad->caps to NULL, as is the documented
17785           behaviour in this state change. Fixes playback of series of
17786           media files when visualization is enabled in Totem.
17787
17788 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17789
17790         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17791           Allow NULL as filter-caps (which means "any").
17792
17793 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
17794
17795         * docs/libs/gstreamer-libs-sections.txt:
17796         * libs/gst/controller/gst-controller.c:
17797         * libs/gst/controller/gst-controller.h:
17798         * libs/gst/controller/gst-helper.c:
17799           adding more entries to the docs and fix small doc-bugs
17800
17801 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
17802
17803         * docs/gst/gstreamer-docs.sgml:
17804         * docs/gst/gstreamer-sections.txt:
17805         * docs/gst/gstreamer.types:
17806         * docs/gst/tmpl/gstbasesink.sgml:
17807         * docs/gst/tmpl/gstbasesrc.sgml:
17808         * docs/gst/tmpl/gstbasetransform.sgml:
17809         * docs/gst/tmpl/gstfakesrc.sgml:
17810         * gst/base/gstcollectpads.c:
17811         * gst/base/gstcollectpads.h:
17812         * libs/gst/controller/gst-controller.c:
17813         * libs/gst/controller/gst-controller.h:
17814         * libs/gst/controller/gst-helper.c:
17815         * libs/gst/controller/gst-interpolation.c:
17816         * libs/gst/controller/lib.c:
17817           added long/short desc for controller docs
17818           added collectpads base class docs
17819           added correct includes to base-class docs
17820
17821 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
17822
17823         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
17824         (gst_test_mono_source_set_property),
17825         (gst_test_mono_source_class_init), (GST_START_TEST),
17826         (gst_controller_suite):
17827         * docs/gst/gstreamer-docs.sgml:
17828         * docs/gst/gstreamer-sections.txt:
17829         * docs/gst/gstreamer.types:
17830         * docs/libs/gstreamer-libs-docs.sgml:
17831         * docs/libs/gstreamer-libs-sections.txt:
17832         * gst/base/gstadapter.c:
17833         * libs/gst/controller/gst-controller.c:
17834         (gst_controlled_property_new), (gst_controlled_property_free),
17835         (gst_controller_new_valist),
17836         (gst_controller_remove_properties_valist),
17837         (gst_controller_sink_values), (_gst_controller_finalize):
17838         * libs/gst/controller/gst-controller.h:
17839         * libs/gst/controller/gst-helper.c:
17840         (gst_object_control_properties), (gst_object_uncontrol_properties),
17841         (gst_object_get_controller), (gst_object_set_controller),
17842         (gst_object_sink_values), (gst_object_get_value_arrays),
17843         (gst_object_get_value_array):
17844           more tests (and fixes) for the controller
17845           more docs for the controller
17846           integrated companies docs for the adapter 
17847
17848 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17849
17850         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
17851         (GST_START_TEST), (fakesrc_suite):
17852           add tests for sizetype
17853
17854 2005-08-04  Andy Wingo  <wingo@pobox.com>
17855
17856         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
17857         fixes buffer_alloc proxying among other things.
17858
17859         * gst/base/gstbasetransform.c:
17860         * gst/base/gstbasetransform.h:
17861         Revert patch to gstbasetransform from 7-28 removing
17862         delay_configure.
17863
17864         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
17865         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
17866         Semantics changed, should return not the size of the output buffer
17867         but the byte size of a buffer with a given caps.
17868
17869         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
17870         debug object.
17871         (gst_base_transform_configure_caps): Don't set out_size here: (in,
17872         out) are not the pad caps until setcaps finishes.
17873         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
17874         not-in-place case as well. Deal with changing from in-place to
17875         not-in-place within calling pad_alloc_buffer. Still a bit
17876         concerned about the overhead here...
17877
17878 2005-08-03  Andy Wingo  <wingo@pobox.com>
17879
17880         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
17881         fixating is an error.
17882
17883 2005-08-04  Edward Hervey  <edward@fluendo.com>
17884
17885         * gst/base/gstadapter.h: 
17886         Added gst_adapter_get_type() to the header
17887
17888 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
17889
17890         * check/Makefile.am:
17891         * check/gst-libs/controller.c:
17892         * libs/gst/controller/gst-controller.c:
17893         (gst_controller_new_valist):
17894           added check test suite for the controller
17895         * gst/base/gstpushsrc.c:
17896           fixed a doc typo
17897
17898 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
17899
17900         * docs/gst/Makefile.am:
17901         * docs/gst/gstreamer-docs.sgml:
17902         * docs/gst/gstreamer-sections.txt:
17903         * docs/gst/gstreamer.types:
17904         * docs/gst/tmpl/gstfakesrc.sgml:
17905         * gst/base/README:
17906         * gst/base/gstbasesink.c:
17907         * gst/base/gstbasesink.h:
17908         * gst/base/gstbasesrc.c:
17909         * gst/base/gstbasesrc.h:
17910         * gst/base/gstbasetransform.c:
17911         * gst/base/gstpushsrc.c:
17912         * gst/base/gstpushsrc.h:
17913           add short/long description docs to base classes
17914           add pushsrc to the docs
17915           remove consolidated doc fragments
17916
17917 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
17918
17919         * configure.ac:
17920         * docs/libs/Makefile.am:
17921         * docs/libs/gstreamer-libs-docs.sgml:
17922         * docs/libs/gstreamer-libs-sections.txt:
17923         * docs/libs/gstreamer-libs.types:
17924         * examples/Makefile.am:
17925         * examples/controller/.cvsignore:
17926         * examples/controller/Makefile.am:
17927         * examples/controller/audio-example.c: (main):
17928         * libs/gst/Makefile.am:
17929         * libs/gst/controller/.cvsignore:
17930         * libs/gst/controller/Makefile.am:
17931         * libs/gst/controller/gst-controller.c:
17932         (on_object_controlled_property_changed), (gst_timed_value_compare),
17933         (gst_timed_value_find),
17934         (gst_controlled_property_set_interpolation_mode),
17935         (gst_controlled_property_new), (gst_controlled_property_free),
17936         (gst_controller_find_controlled_property),
17937         (gst_controller_new_valist), (gst_controller_new),
17938         (gst_controller_remove_properties_valist),
17939         (gst_controller_remove_properties), (gst_controller_set),
17940         (gst_controller_set_from_list), (gst_controller_unset),
17941         (gst_controller_get), (gst_controller_get_all),
17942         (gst_controller_sink_values), (gst_controller_get_value_arrays),
17943         (gst_controller_get_value_array),
17944         (gst_controller_set_interpolation_mode),
17945         (_gst_controller_finalize), (_gst_controller_init),
17946         (_gst_controller_class_init), (gst_controller_get_type):
17947         * libs/gst/controller/gst-controller.h:
17948         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
17949         (g_object_uncontrol_properties), (g_object_get_controller),
17950         (g_object_set_controller), (g_object_sink_values),
17951         (g_object_get_value_arrays), (g_object_get_value_array):
17952         * libs/gst/controller/gst-interpolation.c:
17953         (gst_controlled_property_find_timed_value_node),
17954         (interpolate_none_get), (interpolate_trigger_get),
17955         (interpolate_trigger_get_value_array):
17956         * libs/gst/controller/lib.c: (gst_controller_init):
17957         * pkgconfig/Makefile.am:
17958         * pkgconfig/gstreamer-control-uninstalled.pc.in:
17959         * pkgconfig/gstreamer-control.pc.in:
17960         * testsuite/Makefile.am:
17961         * testsuite/controller/.cvsignore:
17962         * testsuite/controller/Makefile.am:
17963         * testsuite/controller/interpolator.c: (main):
17964           added controller code
17965           removed dparam pc files
17966
17967 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
17968         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
17969         (gst_collectpads_stop):
17970           Broadcast the condition when shutting down, to make sure we wake all
17971           threads up. Shut down pads on finalize, for safety.
17972
17973 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
17974         * gst/base/gstbasetransform.c: (gst_base_transform_init),
17975         (gst_base_transform_handle_buffer),
17976         (gst_base_transform_change_state):
17977           Handle PAUSED->READY->PAUSED transition after negotiation
17978           occurred already.
17979         * gst/gstmessage.c: (gst_message_init):
17980           Extra piece of debug for new messages.
17981
17982 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
17983
17984         * configure.ac:
17985         * docs/gst/tmpl/gstbasesrc.sgml:
17986         * docs/gst/tmpl/gstelement.sgml:
17987         * docs/gst/tmpl/gstevent.sgml:
17988         * docs/gst/tmpl/gstfakesrc.sgml:
17989         * docs/gst/tmpl/gstformat.sgml:
17990         * docs/gst/tmpl/gstghostpad.sgml:
17991         * docs/gst/tmpl/gstpad.sgml:
17992         * docs/gst/tmpl/gstquery.sgml:
17993         * docs/gst/tmpl/gststructure.sgml:
17994         * docs/gst/tmpl/gsttaglist.sgml:
17995         * docs/gst/tmpl/gstvalue.sgml:
17996         * docs/libs/gstreamer-libs-docs.sgml:
17997         * docs/libs/gstreamer-libs-sections.txt:
17998         * docs/libs/gstreamer-libs.types:
17999         * libs/gst/Makefile.am:
18000         * libs/gst/control/.cvsignore:
18001         * libs/gst/control/Makefile.am:
18002         * libs/gst/control/control.c:
18003         * libs/gst/control/control.h:
18004         * libs/gst/control/dparam.c:
18005         * libs/gst/control/dparam.h:
18006         * libs/gst/control/dparam_smooth.c:
18007         * libs/gst/control/dparam_smooth.h:
18008         * libs/gst/control/dparamcommon.h:
18009         * libs/gst/control/dparammanager.c:
18010         * libs/gst/control/dparammanager.h:
18011         * libs/gst/control/dplinearinterp.c:
18012         * libs/gst/control/dplinearinterp.h:
18013         * libs/gst/control/unitconvert.c:
18014         * libs/gst/control/unitconvert.h:
18015         * testsuite/Makefile.am:
18016         * testsuite/dynparams/.cvsignore:
18017         * testsuite/dynparams/Makefile.am:
18018         * testsuite/dynparams/dparamstest.c:
18019         * tools/Makefile.am:
18020         * tools/gst-inspect.c: (print_element_info), (main):
18021         * tools/gst-xmlinspect.c: (print_element_info), (main):
18022           deactivate and remove dparams (libgstcontrol)
18023
18024 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18025
18026         * gst/elements/gsttypefindelement.c:
18027         (gst_type_find_element_have_type), (gst_type_find_element_init),
18028         (stop_typefinding), (gst_type_find_element_handle_event),
18029         (gst_type_find_element_chain), (gst_type_find_element_getrange):
18030         * gst/elements/gsttypefindelement.h:
18031           Set caps on all outgoing buffers, not just the first one.
18032
18033 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18034
18035         * gst/elements/gsttypefindelement.c:
18036         (gst_type_find_element_have_type),
18037         (gst_type_find_element_check_set_buffer_caps),
18038         (gst_type_find_element_init), (stop_typefinding),
18039         (gst_type_find_element_handle_event),
18040         (gst_type_find_element_chain), (gst_type_find_element_getrange):
18041         * gst/elements/gsttypefindelement.h:
18042           Set caps on first outgoing buffer when we've found the type.
18043
18044 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
18045
18046         * docs/gst/gstreamer-docs.sgml:
18047         * docs/gst/gstreamer-sections.txt:
18048         * docs/gst/tmpl/gstscheduler.sgml:
18049         * docs/gst/tmpl/gstschedulerfactory.sgml:
18050           Remove some old cruft from docs.
18051
18052 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
18053
18054         * gst/gstpad.h:
18055           Fix inline docs for GstPadLinkReturn.
18056           
18057         * gst/gststructure.c: (gst_structure_has_name):
18058         * gst/gststructure.h:
18059         * docs/gst/gstreamer-sections.txt:
18060           New API: gst_structure_has_name().
18061
18062 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
18063
18064         * configure.ac:
18065           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
18066           and _LARGEFILE_SOURCE in config.h as required. Do not 
18067           export those flags in our .pc files any longer (#142209).
18068
18069           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
18070
18071         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
18072         (gst_file_sink_do_seek), (gst_file_sink_event),
18073         (gst_file_sink_get_current_offset), (gst_file_sink_render):
18074           Redo seek/tell calls with large file support in mind; add some
18075           debugging messages; add log message that tells us when large
18076           file support is unavailable or not enabled for some reason.
18077
18078         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
18079           Add log message that tells us when large file support 
18080           is unavailable or not enabled for some reason.
18081
18082 2005-07-29  Wim Taymans  <wim@fluendo.com>
18083
18084         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18085         Added test for removing an element with ghostpad from a bin.
18086         Fixed test as current implementation does the right thing.
18087
18088         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
18089         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
18090         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
18091         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
18092         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
18093         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
18094         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
18095         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
18096         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
18097         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
18098         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
18099         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
18100         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
18101         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
18102         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
18103         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
18104         * gst/gstghostpad.h:
18105         Clean up ghostpads, remove properties for internal stuff.
18106         Make threadsafe.
18107         Fix refcounting.
18108         Prepare for switching targets, not all use cases work yet.
18109
18110 2005-07-29  Wim Taymans  <wim@fluendo.com>
18111
18112         * docs/design/part-gstghostpad.txt:
18113         Small update.
18114
18115         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18116         (gst_bin_remove_func):
18117         Unlinking pads while holding the bin LOCK is not a good
18118         idea.
18119
18120         * gst/gstpad.c: (gst_pad_class_init),
18121         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
18122         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
18123         No prob setting template after creating the pad.
18124
18125 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
18126
18127         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
18128         (gst_bus_peek), (gst_bus_source_dispatch),
18129         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
18130         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
18131           gst_bus_poll may be called from other threads. Handle
18132           this nicely by not making poll_data disappear off the
18133           stack once gst_bus_poll returns.
18134           gst_bus_peek now increments the refcount on the returned
18135           message.
18136
18137 2005-07-29  Wim Taymans  <wim@fluendo.com>
18138
18139         * docs/design/part-gstghostpad.txt:
18140         Overview of current GhostPad datastructures and use
18141         cases for changing the target.
18142
18143 2005-07-28  Wim Taymans  <wim@fluendo.com>
18144
18145         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18146         Added checks for hierarchy consistency whan adding linked
18147         elements to bins.
18148
18149         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18150         Added check to test element scheduling without bin/pipeline.
18151
18152         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18153         First add elements to bin, then link.
18154         
18155         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18156         (gst_bin_remove_func):
18157         Unlink pads from elements added/removed from bin to maintain
18158         hierarchy consistency.
18159
18160 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18161
18162         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18163         (gst_base_transform_handle_buffer):
18164         * gst/base/gstbasetransform.h:
18165           Remove broken delay_configure (fixes renegotiation of software
18166           scaling pipelines); remove some leftover printf()s.
18167
18168 2005-07-28  Wim Taymans  <wim@fluendo.com>
18169
18170         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18171         Added some more tests for wrong hierarchy
18172
18173         * docs/design/part-overview.txt:
18174         Some updates.
18175
18176         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
18177         Cleanups.
18178
18179         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
18180         (gst_element_dispose):
18181         Some more cleanups.
18182
18183         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18184         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
18185         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18186         (gst_pad_set_caps), (gst_pad_send_event):
18187         Check for correct hierarchy when linking pads. Moving to
18188         strict requirement for ghostpads when linking elements in
18189         different bins.
18190
18191         * gst/gstpad.h:
18192         Clean ups. Added WRONG_HIERARCHY return value.
18193
18194 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18195
18196         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18197           Better debug if no transform is possible.
18198
18199 2005-07-27  Wim Taymans  <wim@fluendo.com>
18200
18201         * docs/random/wtay/network-transp:
18202         Some old doc I had.
18203
18204 2005-07-27  Wim Taymans  <wim@fluendo.com>
18205
18206         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18207         (gst_dp_event_from_packet):
18208         Fix serialization of seek events.
18209
18210 2005-07-27  Wim Taymans  <wim@fluendo.com>
18211
18212         * check/gst-libs/gdp.c: (GST_START_TEST):
18213         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18214         Fix compilation and fix event serialization.
18215
18216 2005-07-27  Wim Taymans  <wim@fluendo.com>
18217
18218         * CHANGES-0.9:
18219         * docs/design/part-TODO.txt:
18220         * docs/design/part-events.txt:
18221         Some docs updates
18222
18223         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18224         (gst_base_sink_event), (gst_base_sink_do_sync),
18225         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18226         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18227         (gst_base_src_do_seek), (gst_base_src_event_handler),
18228         (gst_base_src_loop):
18229         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18230         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18231         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18232         (gst_base_transform_event), (gst_base_transform_handle_buffer),
18233         (gst_base_transform_set_passthrough),
18234         (gst_base_transform_is_passthrough):
18235         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18236         * gst/elements/gstfilesink.c: (gst_file_sink_event):
18237         Event updates.
18238
18239         * gst/gstbuffer.h:
18240         Use faster casts.
18241
18242         * gst/gstelement.c: (gst_element_seek):
18243         * gst/gstelement.h:
18244         Update gst_element_seek.
18245
18246         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
18247         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
18248         (gst_event_new_flush_start), (gst_event_new_flush_stop),
18249         (gst_event_new_eos), (gst_event_new_newsegment),
18250         (gst_event_parse_newsegment), (gst_event_new_tag),
18251         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
18252         (gst_event_parse_qos), (gst_event_new_seek),
18253         (gst_event_parse_seek), (gst_event_new_navigation):
18254         * gst/gstevent.h:
18255         Make GstEvent use GstStructure. Add parsing code, make sure the
18256         API is sufficiently generic.
18257         Mark possible directions of events and serialization.
18258
18259         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
18260         (_gst_message_copy), (gst_message_new_segment_start),
18261         (gst_message_new_segment_done), (gst_message_new_custom),
18262         (gst_message_parse_segment_start),
18263         (gst_message_parse_segment_done):
18264         Small cleanups.
18265
18266         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18267         (gst_pad_set_caps), (gst_pad_send_event):
18268         Update for new events. 
18269         Catch events sent in wrong directions.
18270
18271         * gst/gstqueue.c: (gst_queue_link_src),
18272         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18273         (gst_queue_handle_src_query):
18274         Event updates.
18275
18276         * gst/gsttag.c:
18277         * gst/gsttag.h:
18278         Remove event code from this file.
18279
18280         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18281         (gst_dp_event_from_packet):
18282         Event updates.
18283
18284 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18285
18286         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
18287         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18288         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
18289           Make debugging actually useful.
18290
18291 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18292
18293         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
18294         (gst_pad_fixate_caps):
18295           Implement default fixation once again, so that gst_pad_fixate()
18296           actually does anything at all. This probably needs to be some
18297           sort of a last resort, and use profile-based fixation first, but
18298           since that doesn't exist yet, this is the best we have. Fixes
18299           visualization in Totem.
18300
18301 2005-07-22  Wim Taymans  <wim@fluendo.com>
18302
18303         * docs/design/part-events.txt:
18304         Small update.
18305
18306         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18307         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
18308         (gst_base_sink_activate_pull):
18309         Some more comments.
18310
18311         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
18312         (gst_fake_src_create):
18313         Fix handoff marshall.
18314
18315         * gst/elements/gstidentity.c: (gst_identity_class_init),
18316         (gst_identity_transform_ip):
18317         We're a real inplace element.
18318
18319         * gst/gstbus.c: (gst_bus_post):
18320         Added some comments.
18321
18322         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
18323         * tests/muxing/case1.c: (main):
18324         * tests/sched/dynamic-pipeline.c: (main):
18325         * tests/sched/interrupt1.c: (main):
18326         * tests/sched/interrupt2.c: (main):
18327         * tests/sched/interrupt3.c: (main):
18328         * tests/sched/runxml.c: (main):
18329         * tests/sched/sched-stress.c: (main):
18330         * tests/seeking/seeking1.c: (event_received), (main):
18331         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18332         (main):
18333         * tests/threadstate/threadstate3.c: (main):
18334         * tests/threadstate/threadstate4.c: (main):
18335         * tests/threadstate/threadstate5.c: (main):
18336         Fix the tests.
18337
18338 2005-07-21  Wim Taymans  <wim@fluendo.com>
18339
18340         * docs/design/part-seeking.txt:
18341         Some small additions.
18342
18343         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18344         (gst_base_sink_get_times), (gst_base_sink_do_sync),
18345         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18346         * gst/base/gstbasesink.h:
18347         discont values are gint64, handle the math correctly.
18348
18349         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18350         Make the basesrc report error if the source pad is not linked.
18351
18352         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18353         (gst_queue_loop), (gst_queue_handle_src_query),
18354         (gst_queue_src_activate_push):
18355         Make queue collect data even if the srcpad is not linked.
18356         Start pushing out data as soon as it is linked.
18357
18358         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
18359         * gst/gstutils.h:
18360         Added gst_flow_get_name() to ease error reporting.
18361
18362 2005-07-20  Wim Taymans  <wim@fluendo.com>
18363
18364         * gst/gstmessage.c: (gst_message_new_segment_start),
18365         (gst_message_new_segment_done), (gst_message_parse_segment_start),
18366         (gst_message_parse_segment_done):
18367         * gst/gstmessage.h:
18368         Added a bunch of messages for advanced seeking.
18369
18370         * gst/parse/grammar.y:
18371         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
18372         (gst_dpman_state_changed):
18373         Fix some new-pad -> pad-added signals
18374
18375 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18376
18377         * docs/manual/appendix-porting.xml:
18378         * docs/pwg/appendix-porting.xml:
18379           Document new-pad/state-change signal renames and the FixedList
18380           type rename.
18381
18382 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18383
18384         * docs/manual/advanced-autoplugging.xml:
18385         * docs/manual/basics-helloworld.xml:
18386         * docs/manual/basics-pads.xml:
18387         * docs/random/ds/0.9-suggested-changes:
18388         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
18389         * gst/gstelement.h:
18390         * gst/gstevent.h:
18391         * gst/gstformat.h:
18392         * gst/gstquery.h:
18393         * gst/gststructure.c: (gst_structure_value_get_generic_type),
18394         (gst_structure_parse_array), (gst_structure_parse_value):
18395         * gst/gstvalue.c: (gst_type_is_fixed),
18396         (gst_value_list_prepend_value), (gst_value_list_append_value),
18397         (gst_value_list_get_size), (gst_value_list_get_value),
18398         (gst_value_transform_array_string), (gst_value_serialize_array),
18399         (gst_value_deserialize_array), (gst_value_intersect_array),
18400         (gst_value_is_fixed), (_gst_value_initialize):
18401         * gst/gstvalue.h:
18402           GstElement::new-pad -> pad-added, GstElement::state-change ->
18403           state-changed, GstValueFixedList -> GstValueArray, add format and
18404           flags as their own arguments in gst_element_seek() (should improve
18405           "bindeability"), remove function generators since they don't work
18406           under a whole bunch of compilers (they were deprecated already
18407           anyway).
18408
18409 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18410
18411         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18412         (_gst_debug_register_funcptr):
18413         * gst/gstinfo.h:
18414           Fix illegal cast on some platforms (#309253).
18415
18416 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18417
18418         * gst/gstmessage.c: (gst_message_new_custom):
18419         * gst/gstmessage.h:
18420           Add _new_custom, make _new_application a macro to _new_custom.
18421
18422 2005-07-20  Wim Taymans  <wim@fluendo.com>
18423
18424         * gst/base/gstbasesrc.c: (gst_base_src_init),
18425         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18426         * gst/base/gstbasesrc.h:
18427         Add a gboolean to decide when to push out a discont.
18428
18429         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18430         (gst_queue_loop), (gst_queue_handle_src_query),
18431         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
18432         (gst_queue_set_property), (gst_queue_get_property):
18433         Some cleanups.
18434
18435         * tests/threadstate/threadstate1.c: (main):
18436         Make a thread test compile and run... very silly..
18437
18438
18439 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18440
18441         * docs/manual/appendix-porting.xml:
18442           Mention removal of libgstgconf-0.9.la and existence of gconf
18443           elements.
18444
18445 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18446
18447         * docs/pwg/advanced-clock.xml:
18448         * docs/pwg/appendix-porting.xml:
18449         * docs/pwg/intro-preface.xml:
18450         * docs/pwg/other-base.xml:
18451         * docs/pwg/other-manager.xml:
18452         * docs/pwg/other-nton.xml:
18453         * docs/pwg/other-ntoone.xml:
18454         * docs/pwg/other-oneton.xml:
18455         * docs/pwg/pwg.xml:
18456           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
18457           demuxer), remove n-to-n (was never written), fix some code examples
18458           and links and update the porting section to include all this.
18459
18460 2005-07-19  Wim Taymans  <wim@fluendo.com>
18461
18462         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
18463         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
18464         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
18465         (gst_queue_src_activate_push), (gst_queue_change_state),
18466         (gst_queue_get_property):
18467         * gst/gstqueue.h:
18468         Propagate GstFlowReturn more intelligently upstream and output
18469         an ERROR/EOS when streaming stopped due to fatal error.
18470
18471 2005-07-19  Wim Taymans  <wim@fluendo.com>
18472
18473         * tools/gst-launch.c: (check_intr), (event_loop), (main):
18474         Don't block forever for the state change to complete, the
18475         pipeline already did with a sensible timeout.
18476
18477 2005-07-19  Wim Taymans  <wim@fluendo.com>
18478
18479         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18480         Make sure we never call the create function is we
18481         got deactivated.
18482
18483 2005-07-19  Andy Wingo  <wingo@pobox.com>
18484
18485         * gst/parse/parse.l: Attempt to solve bug #172815.
18486
18487 2005-07-19  Wim Taymans  <wim@fluendo.com>
18488
18489         * docs/design/part-clocks.txt:
18490         * docs/design/part-events.txt:
18491         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
18492         Small docs updates.
18493         Only update the seeking values when we are not
18494         busy streaming.
18495
18496 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
18497
18498         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18499           Oops, ignore the result of gst_pad_push_event here.
18500
18501 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
18502
18503         * gst/base/gstbasesrc.c: (gst_base_src_loop),
18504         (gst_base_src_activate_push):
18505           Send discont event from the loop function, as pads
18506           aren't activated yet in the activate_push handler.
18507
18508         * gst/gstbin.c: (bin_bus_handler):
18509           Don't leak element name.
18510
18511 2005-07-18  Andy Wingo  <wingo@pobox.com>
18512
18513         * configure.ac: Use AS_LIBTOOL_TAGS.
18514
18515 2005-07-18  Wim Taymans  <wim@fluendo.com>
18516
18517         * docs/gst/gstreamer.types:
18518         Remove deleted types.
18519
18520 2005-07-18  Wim Taymans  <wim@fluendo.com>
18521
18522         * check/elements/gstfakesrc.c: (GST_START_TEST):
18523         * configure.ac:
18524         * gst/Makefile.am:
18525         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
18526         (init_popt_callback):
18527         * gst/gst.h:
18528         * gst/gst_private.h:
18529         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
18530         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
18531         * gst/gstbin.h:
18532         * gst/gstbus.h:
18533         * gst/gstconfig.h.in:
18534         * gst/gstelement.c: (gst_element_class_init),
18535         (gst_element_set_base_time), (gst_element_get_base_time),
18536         (iterator_fold_with_resync), (gst_element_change_state),
18537         (gst_element_dispose), (gst_element_get_bus):
18538         * gst/gstelement.h:
18539         * gst/gstelementfactory.h:
18540         * gst/gsterror.c: (_gst_core_errors_init):
18541         * gst/gsterror.h:
18542         * gst/gstevent.h:
18543         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18544         * gst/gstindex.c:
18545         * gst/gstinfo.c: (_gst_debug_init):
18546         * gst/gstmessage.c: (_gst_message_copy):
18547         * gst/gstmessage.h:
18548         * gst/gstminiobject.h:
18549         * gst/gstobject.c:
18550         * gst/gstobject.h:
18551         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18552         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
18553         * gst/gstpad.h:
18554         * gst/gstparse.h:
18555         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
18556         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18557         (gst_pipeline_get_last_stream_time):
18558         * gst/gstpipeline.h:
18559         * gst/gstpluginfeature.h:
18560         * gst/gstquery.h:
18561         * gst/gstscheduler.c:
18562         * gst/gstscheduler.h:
18563         * gst/gststructure.h:
18564         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
18565         (gst_task_finalize), (gst_task_func), (gst_task_create),
18566         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
18567         (gst_task_stop), (gst_task_pause):
18568         * gst/gsttask.h:
18569         * gst/gsttypefind.h:
18570         * gst/gsttypes.h:
18571         * gst/registries/gstlibxmlregistry.c: (load_feature),
18572         (gst_xml_registry_load), (gst_xml_registry_save_feature):
18573         * gst/registries/gstxmlregistry.c:
18574         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
18575         * gst/schedulers/threadscheduler.c:
18576         * libs/gst/control/dparammanager.h:
18577         * tools/gst-inspect.c: (print_element_list),
18578         (print_plugin_features), (print_element_features):
18579         * tools/gst-xmlinspect.c: (print_element_list),
18580         (print_plugin_info), (main):
18581         Removed plugable schedulers.
18582         Removed Scheduler/Manager from elements.
18583         Removed gsttypes.h, rearranged includes.
18584         Removed dependency pad<->element, element<>pipeline, and
18585         various others,  fix includes.
18586         implement gst_pad_get_parent() with gst_object_get_parent()
18587         Make GstTask sefcontained.
18588         Fix _get_state() on GstBin, it did not return ASYNC with a 0
18589         timeout.
18590         Fix endless loop in iterator_fold_with_resync.
18591
18592
18593 2005-07-18  Wim Taymans  <wim@fluendo.com>
18594
18595         * gst/Makefile.am:
18596         * gst/gstarch.h:
18597         Remove old file.
18598
18599 2005-07-18  Wim Taymans  <wim@fluendo.com>
18600
18601         * gst/Makefile.am:
18602         No more cothreads.h
18603
18604 2005-07-18  Wim Taymans  <wim@fluendo.com>
18605
18606         * gst/cothreads.c:
18607         * gst/cothreads.h:
18608         Let's remove these.
18609
18610 2005-07-18  Wim Taymans  <wim@fluendo.com>
18611
18612         * docs/design/part-dynamic.txt:
18613         * docs/design/part-events.txt:
18614         * docs/design/part-seeking.txt:
18615         Some more docs in the works.
18616
18617         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18618         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
18619         (gst_base_transform_setcaps), (gst_base_transform_get_size),
18620         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18621         (gst_base_transform_handle_buffer),
18622         (gst_base_transform_sink_activate_push),
18623         (gst_base_transform_src_activate_pull),
18624         (gst_base_transform_set_passthrough),
18625         (gst_base_transform_is_passthrough):
18626         Refcounting fixes.
18627
18628         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
18629         Cleanups.
18630
18631         * gst/gstevent.c: (gst_event_finalize):
18632         Set SRC to NULL.
18633
18634         * gst/gstutils.c: (gst_element_unlink),
18635         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
18636         (gst_pad_proxy_setcaps):
18637         * gst/gstutils.h:
18638         Add _get_parent_element() to get a pads parent as an element.
18639
18640 2005-07-18  Wim Taymans  <wim@fluendo.com>
18641
18642         * check/gst/gstbin.c: (GST_START_TEST):
18643         Remove bogus test.
18644
18645 2005-07-18  Wim Taymans  <wim@fluendo.com>
18646
18647         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
18648         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
18649         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
18650         (gst_base_sink_event), (gst_base_sink_do_sync),
18651         (gst_base_sink_chain), (gst_base_sink_loop),
18652         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
18653         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18654         Refcounting fixes.
18655         Fix logic for returning ASYNC when not prerolled.
18656
18657 2005-07-18  Wim Taymans  <wim@fluendo.com>
18658
18659         * gst/gstqueue.c: (gst_queue_handle_sink_event):
18660         Fix nasty refcount bug.
18661
18662 2005-07-16 Philippe Khalaf <burger@speedy.org>
18663
18664         * gst/elements/gstfdsrc.c:
18665         * gst/elements/gstfdsrc.h:
18666         * gst/elements/gstelements.c:
18667         * gst/elements/Makefile.am:
18668         Ported fdsrc to 0.9.
18669
18670 2005-07-16  Wim Taymans  <wim@fluendo.com>
18671
18672         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18673         (gst_base_sink_do_sync):
18674         Fix compile error.
18675
18676 2005-07-16  Wim Taymans  <wim@fluendo.com>
18677
18678         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18679         (gst_base_sink_event), (gst_base_sink_get_times),
18680         (gst_base_sink_do_sync), (gst_base_sink_change_state):
18681         * gst/base/gstbasesink.h:
18682         Store and use discont values when syncing buffers as described
18683         in design docs.
18684         
18685         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18686         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
18687         (gst_base_src_activate_push):
18688         Push discont event when starting.
18689
18690         * gst/elements/gstidentity.c: (gst_identity_transform):
18691         Small cleanups.
18692
18693         * gst/gstbin.c: (gst_bin_change_state):
18694         Small cleanups in base_time  distribution.
18695
18696         * gst/gstelement.c: (gst_element_set_base_time),
18697         (gst_element_get_base_time), (gst_element_change_state):
18698         * gst/gstelement.h:
18699         Added methods for the base_time of the element.
18700         Some MT fixes.
18701
18702         * gst/gstpipeline.c: (gst_pipeline_send_event),
18703         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18704         (gst_pipeline_get_last_stream_time):
18705         * gst/gstpipeline.h:
18706         MT fixes.
18707         Handle seeking as described in design doc, remove stream_time
18708         hack.
18709         Cleanups clock and stream_time selection code. Added accessors
18710         for the stream_time.
18711         
18712
18713 2005-07-16  Andy Wingo  <wingo@pobox.com>
18714
18715         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
18716         (#305291).
18717
18718 2005-07-16  Wim Taymans  <wim@fluendo.com>
18719
18720         * check/gst/gstbin.c: (GST_START_TEST):
18721         Make elements silent as the deep_notify refs the
18722         parent, which might make the test fail.
18723
18724         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18725         Don't hold the lock for too long.
18726
18727 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
18728
18729         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18730           Don't unref the caps we passed to gst_caps_make_writable() after
18731           passing them. gst_caps_make_writable() will do that for us.
18732
18733 2005-07-15  Andy Wingo  <wingo@pobox.com>
18734
18735         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
18736         (#157311).
18737
18738         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
18739         own marshalling function for the handoff signal. Properly type the
18740         buffer as a buffer. Fixes some warnings. Should do a more general
18741         solution.
18742         (gst_identity_class_init): Plug into the right marshaller.
18743
18744 2005-07-15  Wim Taymans  <wim@fluendo.com>
18745
18746         * docs/design/part-TODO.txt:
18747         * docs/design/part-clocks.txt:
18748         * docs/design/part-element-sink.txt:
18749         * docs/design/part-events.txt:
18750         * docs/design/part-gstpipeline.txt:
18751         Updated docs, mostly DISCONT related.
18752
18753 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
18754
18755         * docs/pwg/building-pads.xml:
18756           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
18757
18758 2005-07-15  Andy Wingo  <wingo@pobox.com>
18759
18760         * tools/gst-typefind.c: Update, add copyright block.
18761
18762         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
18763         Normalize and truncate caps before fixation.
18764
18765         * gst/gstcaps.h:
18766         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
18767         discards all but the first structure from its argument.
18768
18769 2005-07-15  Wim Taymans  <wim@fluendo.com>
18770
18771         * gst/base/gstbasetransform.c: (gst_base_transform_init),
18772         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
18773         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18774         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18775         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
18776         (gst_base_transform_chain), (gst_base_transform_change_state),
18777         (gst_base_transform_set_passthrough),
18778         (gst_base_transform_is_passthrough):
18779         * gst/base/gstbasetransform.h:
18780         Make passthrough work using the bufferpools.
18781         Changed API a bit, subclasses have to write into a buffer
18782         provided by the base class.
18783         More debug info in nego functions.
18784         
18785         * gst/elements/gstidentity.c: (gst_identity_init),
18786         (gst_identity_transform):
18787         Port to new base class.
18788
18789 2005-07-15  Wim Taymans  <wim@fluendo.com>
18790
18791         * gst/gstmessage.c: (gst_message_new_state_changed):
18792         * tools/gst-launch.c: (event_loop), (main):
18793         Totally dump messages in -launch with the -m option.
18794         Fix message name for State messages,
18795
18796 2005-07-14  Wim Taymans  <wim@fluendo.com>
18797
18798         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18799         Post error messages on errors.
18800
18801 2005-07-14  Wim Taymans  <wim@fluendo.com>
18802
18803         * gst/gstcaps.c: (gst_caps_do_simplify):
18804         Remove debug info.
18805
18806         * gst/gsterror.h:
18807         Define error for stream stopped.
18808
18809         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
18810         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
18811         Do proper return values.
18812
18813         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18814         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
18815         (gst_pad_get_range):
18816         Better return values.
18817
18818         * gst/gstpad.h:
18819         Reorganise return values, add macro to check for fatal errors.
18820
18821         * gst/gstqueue.c: (gst_queue_chain):
18822         Return proper GstFlowReturn values,
18823
18824 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18825
18826         * docs/gst/gstreamer-sections.txt:
18827         * docs/gst/gstreamer.types:
18828         * docs/gst/tmpl/gst.sgml:
18829         * docs/gst/tmpl/gstbasesink.sgml:
18830         * docs/gst/tmpl/gstbasesrc.sgml:
18831         * docs/gst/tmpl/gstbasetransform.sgml:
18832         * docs/gst/tmpl/gstbin.sgml:
18833         * docs/gst/tmpl/gstbuffer.sgml:
18834         * docs/gst/tmpl/gstcaps.sgml:
18835         * docs/gst/tmpl/gstclock.sgml:
18836         * docs/gst/tmpl/gstcompat.sgml:
18837         * docs/gst/tmpl/gstconfig.sgml:
18838         * docs/gst/tmpl/gstelement.sgml:
18839         * docs/gst/tmpl/gstelementdetails.sgml:
18840         * docs/gst/tmpl/gstelementfactory.sgml:
18841         * docs/gst/tmpl/gstenumtypes.sgml:
18842         * docs/gst/tmpl/gsterror.sgml:
18843         * docs/gst/tmpl/gstevent.sgml:
18844         * docs/gst/tmpl/gstfakesink.sgml:
18845         * docs/gst/tmpl/gstfakesrc.sgml:
18846         * docs/gst/tmpl/gstfilesink.sgml:
18847         * docs/gst/tmpl/gstfilesrc.sgml:
18848         * docs/gst/tmpl/gstfilter.sgml:
18849         * docs/gst/tmpl/gstformat.sgml:
18850         * docs/gst/tmpl/gstghostpad.sgml:
18851         * docs/gst/tmpl/gstimplementsinterface.sgml:
18852         * docs/gst/tmpl/gstindex.sgml:
18853         * docs/gst/tmpl/gstindexfactory.sgml:
18854         * docs/gst/tmpl/gstinfo.sgml:
18855         * docs/gst/tmpl/gstiterator.sgml:
18856         * docs/gst/tmpl/gstmacros.sgml:
18857         * docs/gst/tmpl/gstmemchunk.sgml:
18858         * docs/gst/tmpl/gstminiobject.sgml:
18859         * docs/gst/tmpl/gstobject.sgml:
18860         * docs/gst/tmpl/gstpad.sgml:
18861         * docs/gst/tmpl/gstpadtemplate.sgml:
18862         * docs/gst/tmpl/gstparse.sgml:
18863         * docs/gst/tmpl/gstpipeline.sgml:
18864         * docs/gst/tmpl/gstplugin.sgml:
18865         * docs/gst/tmpl/gstpluginfeature.sgml:
18866         * docs/gst/tmpl/gstquery.sgml:
18867         * docs/gst/tmpl/gstqueue.sgml:
18868         * docs/gst/tmpl/gstregistry.sgml:
18869         * docs/gst/tmpl/gstregistrypool.sgml:
18870         * docs/gst/tmpl/gstscheduler.sgml:
18871         * docs/gst/tmpl/gstschedulerfactory.sgml:
18872         * docs/gst/tmpl/gststructure.sgml:
18873         * docs/gst/tmpl/gstsystemclock.sgml:
18874         * docs/gst/tmpl/gsttaglist.sgml:
18875         * docs/gst/tmpl/gsttagsetter.sgml:
18876         * docs/gst/tmpl/gsttrace.sgml:
18877         * docs/gst/tmpl/gsttrashstack.sgml:
18878         * docs/gst/tmpl/gsttypefind.sgml:
18879         * docs/gst/tmpl/gsttypefindfactory.sgml:
18880         * docs/gst/tmpl/gsttypes.sgml:
18881         * docs/gst/tmpl/gsturihandler.sgml:
18882         * docs/gst/tmpl/gsturitype.sgml:
18883         * docs/gst/tmpl/gstutils.sgml:
18884         * docs/gst/tmpl/gstvalue.sgml:
18885         * docs/gst/tmpl/gstversion.sgml:
18886         * docs/gst/tmpl/gstxml.sgml:
18887         * docs/libs/tmpl/gstcontrol.sgml:
18888         * docs/libs/tmpl/gstdataprotocol.sgml:
18889         * docs/libs/tmpl/gstdparam.sgml:
18890         * docs/libs/tmpl/gstdplinint.sgml:
18891         * docs/libs/tmpl/gstdpman.sgml:
18892         * docs/libs/tmpl/gstdpsmooth.sgml:
18893         * docs/libs/tmpl/gstgetbits.sgml:
18894         * docs/libs/tmpl/gstunitconvert.sgml:
18895         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
18896         (gst_push_src_base_init), (gst_push_src_class_init),
18897         (gst_push_src_init), (gst_push_src_create):
18898         * gst/base/gstpushsrc.h:
18899         * gst/elements/gstelements.c:
18900         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
18901         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
18902         (gst_fake_sink_init), (gst_fake_sink_set_property),
18903         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
18904         (gst_fake_sink_event), (gst_fake_sink_preroll),
18905         (gst_fake_sink_render), (gst_fake_sink_change_state):
18906         * gst/elements/gstfakesink.h:
18907         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18908         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18909         (gst_fake_src_base_init), (gst_fake_src_class_init),
18910         (gst_fake_src_init), (gst_fake_src_event_handler),
18911         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
18912         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
18913         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
18914         (gst_fake_src_create_buffer), (gst_fake_src_create),
18915         (gst_fake_src_start), (gst_fake_src_stop):
18916         * gst/elements/gstfakesrc.h:
18917         * gst/elements/gstfilesink.c: (_do_init),
18918         (gst_file_sink_base_init), (gst_file_sink_class_init),
18919         (gst_file_sink_init), (gst_file_sink_dispose),
18920         (gst_file_sink_set_location), (gst_file_sink_set_property),
18921         (gst_file_sink_get_property), (gst_file_sink_open_file),
18922         (gst_file_sink_close_file), (gst_file_sink_query),
18923         (gst_file_sink_event), (gst_file_sink_render),
18924         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
18925         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
18926         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
18927         * gst/elements/gstfilesink.h:
18928         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
18929         (gst_file_src_class_init), (gst_file_src_init),
18930         (gst_file_src_finalize), (gst_file_src_set_location),
18931         (gst_file_src_set_property), (gst_file_src_get_property),
18932         (gst_file_src_map_region), (gst_file_src_map_small_region),
18933         (gst_file_src_create_mmap), (gst_file_src_create_read),
18934         (gst_file_src_create), (gst_file_src_is_seekable),
18935         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
18936         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
18937         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
18938         (gst_file_src_uri_handler_init):
18939         * gst/elements/gstfilesrc.h:
18940           more autistic cleanliness in functions/names/defines
18941
18942 2005-07-13  Andy Wingo  <wingo@pobox.com>
18943
18944         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
18945         source couldn't negotiate.
18946
18947         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
18948         connections again.
18949
18950         * gst/gstutils.h:
18951         * gst/gstutils.c (gst_element_link_pads_filtered): New old
18952         function. I am channeling Hades. Put your boots on suckers!!!
18953
18954 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18955
18956         * testsuite/caps/Makefile.am:
18957         * testsuite/caps/value_compare.c:
18958         * testsuite/caps/value_intersect.c:
18959         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18960           move two testsuite apps over to the check dir
18961
18962 2005-07-12  Wim Taymans  <wim@fluendo.com>
18963
18964         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18965         Added more debug info in the negotiate process.
18966
18967         * gst/gstmessage.h:
18968         Prepare for segment playback.
18969
18970         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
18971         Better debugging.
18972
18973         * gst/gstutils.c:
18974         Some more docs.
18975
18976         * tools/gst-launch.c: (main):
18977         NULL pipeline on errors.
18978
18979 2005-07-12  Andy Wingo  <wingo@pobox.com>
18980
18981         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
18982         not it comes from a malloc region. Make sure our copy gets freed.
18983
18984 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18985
18986         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18987         * check/gst/gstmessage.c: (GST_START_TEST):
18988         * check/gst/gststructure.c: (GST_START_TEST),
18989         (gst_structure_suite), (main):
18990           more testing
18991         * gst/gstelement.c: (gst_element_message_full):
18992           clean up GError and debug string now that they get copied
18993         * gst/gstmessage.c: (gst_message_new_error),
18994         (gst_message_new_warning), (gst_message_parse_error),
18995         (gst_message_parse_warning):
18996           use GST_TYPE_G_ERROR for structure_new, and take copies of
18997           arguments, so that we don't mess up refcounting
18998
18999 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19000
19001         * check/Makefile.am:
19002           add per-test valgrind targets
19003         * check/gst-libs/gdp.c: (GST_START_TEST),
19004         (gst_data_protocol_suite), (main):
19005           clean up
19006
19007 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19008
19009         * check/Makefile.am:
19010           instate more valgrindable tests
19011         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19012         (GST_START_TEST), (fakesrc_suite):
19013         * check/gst/gstpad.c: (GST_START_TEST):
19014         * check/gst/gststructure.c: (GST_START_TEST):
19015           fix test leaks
19016         * docs/gst/tmpl/gstminiobject.sgml:
19017         * gst/gstpad.c: (gst_pad_finalize):
19018           fix the static mutex leak
19019
19020 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19021
19022         * check/Makefile.am:
19023           add two more tests for valgrinding
19024         * check/gst/gstvalue.c: (GST_START_TEST):
19025           test refcount of deserialized buffer, found a leak
19026         * docs/gst/gstreamer-docs.sgml:
19027         * docs/gst/gstreamer-sections.txt:
19028         * docs/gst/gstreamer.types:
19029         * docs/gst/tmpl/gstminiobject.sgml:
19030           add miniobject to docs
19031         * gst/gstminiobject.c:
19032           add some docs
19033         * gst/gstvalue.c: (gst_value_deserialize_buffer),
19034         (gst_string_unwrap):
19035           fix a hard-to-find invalid write for one of the tests
19036           fix a leak for deserialized buffers
19037
19038 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19039
19040         * docs/pwg/advanced-events.xml:
19041         * docs/pwg/advanced-request.xml:
19042         * docs/pwg/advanced-scheduling.xml:
19043         * docs/pwg/appendix-porting.xml:
19044         * docs/pwg/building-boiler.xml:
19045         * docs/pwg/intro-preface.xml:
19046         * docs/pwg/other-ntoone.xml:
19047           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
19048           of example code and explanation for pad activation, loop() and
19049           getrange() functions and a bit more. Remove old comments pointing
19050           to loop-functions.
19051         * examples/pwg/Makefile.am:
19052           Add loop/getrange examples.
19053
19054 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19055
19056         * configure.ac:
19057           check for valgrind binary + some fixes
19058         * check/gst.supp:
19059           valgrind suppressions for the tests
19060         * check/Makefile.am:
19061           add a valgrind: target that valgrinds the unit tests
19062         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
19063         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19064         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19065         * check/gst/gstghostpad.c:
19066           added some cleanup
19067         * check/gst/gstdata.c:
19068           removed
19069         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
19070         (thread_unref), (gst_mini_object_suite), (main):
19071           added
19072         * gst/gst.c: (gst_deinit):
19073         * gst/gst.h:
19074           add a method to clean up.
19075         * gst/gstsystemclock.c: (gst_system_clock_dispose),
19076         (gst_system_clock_obtain):
19077           allow for disposing the system clock.
19078         * tools/gst-launch.c: (main):
19079           deinit
19080
19081 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19082
19083         * docs/gst/tmpl/gstbasesrc.sgml:
19084         * docs/gst/tmpl/gstfakesrc.sgml:
19085         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19086         (gst_base_src_init), (gst_base_src_set_property),
19087         (gst_base_src_get_property), (gst_base_src_get_range),
19088         (gst_base_src_start):
19089         * gst/base/gstbasesrc.h:
19090           add num-buffers property
19091         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19092         (gst_fakesrc_init), (gst_fakesrc_set_property),
19093         (gst_fakesrc_get_property), (gst_fakesrc_create),
19094         (gst_fakesrc_start):
19095           remove num-buffers property
19096
19097 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19098
19099         * docs/gst/gstreamer-sections.txt:
19100         * docs/gst/tmpl/gstbasesink.sgml:
19101         * docs/gst/tmpl/gstbasesrc.sgml:
19102         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19103         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19104         (gst_base_sink_finalize), (gst_base_sink_set_clock),
19105         (gst_base_sink_set_property), (gst_base_sink_get_property),
19106         (gst_base_sink_handle_object), (gst_base_sink_event),
19107         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19108         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
19109         (gst_base_sink_loop), (gst_base_sink_deactivate),
19110         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
19111         (gst_base_sink_change_state):
19112         * gst/base/gstbasesink.h:
19113         * gst/base/gstbasesrc.h:
19114         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
19115         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19116         (gst_filesink_init):
19117           more macro splitting
19118
19119 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19120
19121         * gst/gstelement.c: (gst_element_get_bus):
19122           add debug
19123         * tools/gst-launch.c: (check_intr), (event_loop):
19124           fix bus leaks
19125
19126 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19127
19128         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
19129           fix a caps leak
19130
19131 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19132
19133         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19134         (gst_base_src_finalize):
19135           add finalize method and clean up properly
19136         * gst/gstpipeline.c: (gst_pipeline_dispose):
19137           add debug
19138
19139 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19140
19141         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
19142         (gst_bin_suite):
19143           add more things to check
19144         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19145         * gst/gstelement.c:
19146           more debug
19147
19148 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19149
19150         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19151         (GST_START_TEST), (fakesrc_suite):
19152         * check/gst-libs/gdp.c: (GST_START_TEST):
19153         * check/gst/gst.c: (GST_START_TEST):
19154         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19155         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19156         * check/gst/gstbus.c: (GST_START_TEST):
19157         * check/gst/gstcaps.c: (GST_START_TEST):
19158         * check/gst/gstdata.c: (GST_START_TEST):
19159         * check/gst/gstelement.c: (GST_START_TEST):
19160         * check/gst/gstghostpad.c: (GST_START_TEST):
19161         * check/gst/gstiterator.c: (GST_START_TEST):
19162         * check/gst/gstmessage.c: (GST_START_TEST):
19163         * check/gst/gstobject.c: (GST_START_TEST):
19164         * check/gst/gstpad.c: (GST_START_TEST):
19165         * check/gst/gststructure.c: (GST_START_TEST):
19166         * check/gst/gstsystemclock.c: (GST_START_TEST),
19167         (gst_systemclock_suite):
19168         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19169         * check/gst/gstvalue.c: (GST_START_TEST):
19170         * check/pipelines/cleanup.c: (GST_START_TEST):
19171         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19172         * check/states/sinks.c: (GST_START_TEST):
19173         * check/gstcheck.c: (gst_check_init):
19174         * check/gstcheck.h:
19175           add debugging category
19176           use GST_START_TEST now, so we add a debug line
19177
19178 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19179
19180         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
19181           add test for state change message on a bin
19182         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
19183           add another test
19184         * gst/gstbin.c: (gst_bin_init):
19185         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
19186         * gst/gstelement.c: (gst_element_post_message),
19187         (gst_element_set_state):
19188         * gst/gstelementfactory.c: (gst_element_factory_create):
19189         * gst/gstmessage.c: (gst_message_new):
19190         * gst/gstscheduler.c:
19191           various debugging additions and cleanups
19192
19193 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19194
19195         * check/Makefile.am:
19196         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
19197         (main):
19198           adding tests for elements
19199         * gst/gstelement.c: (gst_element_dispose):
19200
19201 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19202
19203         * gst/registries/gstlibxmlregistry.c: (load_feature):
19204           plug more leaks.  A simple gst_init() now is leakfree, yay.
19205
19206 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19207
19208         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
19209         (gst_xml_registry_load):
19210           plug another memleak
19211
19212 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19213
19214         * configure.ac:
19215           use GST_SET_ERROR_CFLAGS
19216         * docs/faq/cvs.xml:
19217           change to ERROR_CFLAGS
19218
19219 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19220
19221         * configure.ac:
19222           make GST_ERROR_CFLAGS overridable and re-enable Werror
19223         * docs/faq/cvs.xml:
19224           add a note about error CFLAGS
19225         * docs/gst/tmpl/gstfakesrc.sgml:
19226         * gst/elements/gstfakesrc.c:
19227           comment out some unused code
19228         * gst/gst.c: (split_and_iterate):
19229         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
19230         (load_feature):
19231           plug some memleaks
19232
19233 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19234
19235         * common/Makefile.am:
19236         * common/gtk-doc.mak:
19237         * docs/gst/Makefile.am:
19238           factor out gtk-doc.mak
19239
19240 2005-07-07  Wim Taymans  <wim@fluendo.com>
19241
19242         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
19243         (gst_thread_scheduler_dispose):
19244         Unlock the STREAM_LOCK completely.
19245
19246 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19247
19248         * check/Makefile.am:
19249         * check/elements/.cvsignore:
19250         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19251         (START_TEST), (fakesrc_suite), (main):
19252         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19253         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19254         (gst_fakesrc_create), (gst_fakesrc_start):
19255         * gst/elements/gstfakesrc.h:
19256           adding a first element test
19257
19258 2005-07-07  Andy Wingo  <wingo@pobox.com>
19259
19260         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
19261         debug message.
19262
19263 2005-07-07  Wim Taymans  <wim@fluendo.com>
19264
19265         * gst/gstquery.c:
19266         * gst/gstquery.h:
19267         Remove old types
19268
19269 2005-07-07  Wim Taymans  <wim@fluendo.com>
19270
19271         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19272         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
19273         Allow subclasses to implement their own negotiation.
19274
19275 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19276
19277         * docs/design/part-gstbin.txt:
19278         * docs/design/part-gstpipeline.txt:
19279           Update design notes to reflect the movement of
19280           responsibility for bus handling from GstPipeline to
19281           GstBin
19282
19283 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19284
19285         * configure.ac:
19286           Remove unnecessary queue2/3/4 examples.
19287
19288 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19289
19290         * examples/Makefile.am:
19291         * examples/helloworld/helloworld.c: (event_loop), (main):
19292         * examples/queue/queue.c: (event_loop), (main):
19293         * examples/queue2/queue2.c: (main):
19294           Update a couple of the examples to work again.
19295
19296         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19297         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
19298          Spelling corrections and extra debug.
19299         
19300         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
19301         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
19302         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
19303         * gst/gstbin.h:
19304         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19305         (gst_pipeline_change_state):
19306         * gst/gstpipeline.h:
19307           Move the bus handler for children to the GstBin, and create a
19308           separate bus for receiving messages from children to the one the
19309           bus sends 'upwards' on.
19310
19311 2005-07-06  Wim Taymans  <wim@fluendo.com>
19312
19313         * gst/base/README:
19314         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19315         (gst_base_sink_handle_object), (gst_base_sink_loop),
19316         (gst_base_sink_change_state):
19317         * gst/base/gstbasesink.h:
19318         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19319         (gst_base_src_init), (gst_base_src_setcaps),
19320         (gst_base_src_getcaps), (gst_base_src_loop),
19321         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
19322         (gst_base_src_start), (gst_base_src_change_state):
19323         * gst/base/gstbasesrc.h:
19324         Make basesrc negotiate.
19325         Handle the case where preroll fails in basesink.
19326         Update README.
19327
19328 2005-07-06  Wim Taymans  <wim@fluendo.com>
19329
19330         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
19331         Implement the fixate function.
19332         Clean up acceptcaps.
19333
19334 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19335
19336         * docs/pwg/building-filterfactory.xml:
19337         * docs/pwg/pwg.xml:
19338           Remove never-written filter-factory chapter; I'll add the various
19339           base classes to part 4 ("other element types") later on.
19340
19341 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19342
19343         * docs/pwg/advanced-negotiation.xml:
19344         * docs/pwg/building-boiler.xml:
19345         * docs/pwg/building-pads.xml:
19346         * docs/pwg/pwg.xml:
19347         * examples/pwg/Makefile.am:
19348           Add a chapter on caps negotiation, simplify the original code
19349           samples a bit w.r.t. caps negotiation, add link to the advanced
19350           section. Add a bunch of examples showing different use cases of
19351           different types of caps negotiation. Upstream renegotiation isn't
19352           fully documented yet since nobody knows how that works.
19353
19354 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19355
19356         * check/gst/gstpad.c:
19357         * check/gstcheck.c:
19358         * gst/gstpad.c: (gst_pad_get_internal_links_default):
19359           if pad has no parent, return NULL as list of internal links
19360
19361 2005-07-05  Andy Wingo  <wingo@pobox.com>
19362
19363         * gst/elements/gstfilesrc.c:
19364         * gst/elements/gstfakesrc.c: 
19365         * gst/base/gstpushsrc.c:
19366         * gst/base/gstbasesrc.h: 
19367         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
19368         
19369 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
19370
19371         * Makefile.am:
19372           better report generation target (lcov needs a patch)
19373
19374 2005-07-05  Andy Wingo  <wingo@pobox.com>
19375
19376         * gst/elements, testsuite: Null if we got it...
19377
19378 2005-07-05  Wim Taymans  <wim@fluendo.com>
19379
19380         * configure.ac:
19381         * libs/gst/dataprotocol/Makefile.am:
19382         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
19383         * libs/gst/dataprotocol/dataprotocol.h:
19384         * pkgconfig/Makefile.am:
19385         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
19386         * pkgconfig/gstreamer-dataprotocol.pc.in:
19387         Ported dataprotol to 0.9. 
19388         Added pkgconfig files.
19389
19390 2005-07-05  Andy Wingo  <wingo@pobox.com>
19391
19392         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
19393         Default to returning TRUE for the case when tranform_caps returns
19394         a fixed caps, like for identity or volume.
19395
19396         * check/gst/gstbus.c (pound_bus_with_messages): 
19397         * check/gst/gstmessage.c (START_TEST): 
19398         * check/pipelines/simple_launch_lines.c (got_handoff): Application
19399         message API change.
19400
19401         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
19402         logic weaks here: always run transform_caps, trying passthrough
19403         operation only if the original caps intersects with the transform.
19404
19405         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
19406         source and sink caps.
19407
19408         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
19409         Intersect the peer caps with the pad template before going into
19410         transform_caps.
19411         (gst_base_transform_transform_caps): More debugging.
19412
19413         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
19414         src argument.
19415
19416 2005-07-04  Edward Hervey  <edward@fluendo.com>
19417
19418         * gst/gstutils.c:
19419         * gst/gstutils.h:
19420         (gst_pad_add_*_probe): now returns the signal id for better wrapping
19421         in bindings.
19422
19423 2005-07-04  Andy Wingo  <wingo@pobox.com>
19424
19425         * check/gst/gstpad.c: Only set explicit caps on pads.
19426
19427 2005-07-01  Andy Wingo  <wingo@pobox.com>
19428
19429         * tests/network-clock.scm: Commentary update.
19430
19431         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
19432         Didn't really make sense, not implementable with basetransform,
19433         etc.
19434         (gst_identity_transform): Unref inbuf via make_writable. Feeble
19435         attempt at implementing the sync property, needs an unlock method.
19436
19437         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
19438         New func, by default returns the same caps (the identity
19439         transformation).
19440         (gst_base_transform_getcaps): Uses transform_caps to return
19441         something sensible.
19442         (gst_base_transform_setcaps): Complicated logic to get caps on
19443         both pads, even if they are different, and to call set_caps once
19444         for every time both pads get their caps set.
19445         (gst_base_transform_handle_buffer): Give the ref to the transform
19446         function. Allows in-place modification of the buffer.
19447
19448         * gst/base/gstbasetransform.h (transform_caps): New class method.
19449         Given caps on one side, what can I do on the other.
19450         (set_caps): Take two caps, one for each side of the element.
19451
19452         * gst/gstpad.h:
19453         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
19454         caps in place. This is safe because we can check the mutability of
19455         the caps, and a good idea because fixate functions are just called
19456         as a matter of last resort. (Not actually implemented.)
19457         (gst_pad_set_caps): If the caps we're setting is actually the same
19458         as the existing pad caps, just update the pointer without calling
19459         setcaps. Assert that caps is either NULL or fixed, as per the
19460         docs.
19461
19462         * gst/gstghostpad.c: Update for fixate changes.
19463
19464 2005-07-02  Andy Wingo  <wingo@pobox.com>
19465
19466         * gst/gstcaps.c:
19467         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
19468         two refcounts makes it immutable, which is enough. Doc more.
19469
19470 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
19471
19472         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
19473           Put the mini_object into GValue as a mini_object,
19474           not a gpointer, since that's how we declared
19475           the signal.
19476
19477 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19478
19479         * examples/pwg/Makefile.am:
19480           Fix buildbot again.
19481
19482 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19483
19484         * docs/pwg/building-testapp.xml:
19485           Add extra check.
19486         * examples/pwg/Makefile.am:
19487           Fix buildbot.
19488
19489 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19490
19491         * configure.ac:
19492         * examples/Makefile.am:
19493         * examples/pwg/Makefile.am:
19494         * examples/pwg/extract.pl:
19495           Enable building the PWG examples.
19496         * docs/pwg/advanced-interfaces.xml:
19497           Add URI interface stub.
19498         * docs/pwg/advanced-types.xml:
19499         * docs/pwg/other-autoplugger.xml:
19500         * docs/pwg/appendix-porting.xml:
19501         * docs/pwg/pwg.xml:
19502           Add porting guide (mostly stubs), remove autoplugging (see ADM).
19503         * docs/pwg/building-boiler.xml:
19504         * docs/pwg/building-chainfn.xml:
19505         * docs/pwg/building-pads.xml:
19506         * docs/pwg/building-props.xml:
19507         * docs/pwg/building-state.xml:
19508         * docs/pwg/building-testapp.xml:
19509           Update the building-*.xml parts for 0.9 changes. All examples
19510           code blocks compile in examples/pwg/*.
19511
19512 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19513
19514         * docs/manual/advanced-autoplugging.xml:
19515         * docs/manual/appendix-checklist.xml:
19516         * docs/manual/appendix-integration.xml:
19517         * docs/manual/highlevel-components.xml:
19518           Fix playbin/decodebin examples, update docs a bit, mention bus
19519           instead of signals in various places, mention kmplayer and
19520           kaffeine since they have a working GStreamer backend in the KDE
19521           section.
19522
19523 2005-06-30  Wim Taymans  <wim@fluendo.com>
19524
19525         * CHANGES-0.9:
19526         * docs/design/draft-ghostpads.txt:
19527         * docs/design/draft-push-pull.txt:
19528         * docs/design/draft-query.txt:
19529         * docs/design/part-TODO.txt:
19530         * docs/design/part-query.txt:
19531         Added CHANGES-0.9 doc, updated status of other docs.
19532         
19533         * gst/gstquery.h:
19534         Remove "hmm" macro
19535
19536 2005-06-30  Wim Taymans  <wim@fluendo.com>
19537
19538         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19539         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19540         (gst_base_sink_change_state):
19541         * gst/base/gstbasesink.h:
19542         Some tweaks, only EOS and a buffer complete a preroll.
19543
19544 2005-06-30  Andy Wingo  <wingo@pobox.com>
19545
19546         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
19547         activate_push down to the internal pad as well.
19548
19549 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
19550
19551         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19552
19553         * gst/gsttaginterface.c:
19554           Some documentation fixes (#307394 and #307397).
19555
19556 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
19557
19558         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19559
19560         * gst/gstvalue.c: (gst_value_intersect_list):
19561           Fix memleak (#309125).
19562
19563 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19564
19565         * docs/manual/advanced-dataaccess.xml:
19566           Fix fakesrc example to compile; doesn't work, bug somewhere...?
19567         * docs/manual/basics-pads.xml:
19568           Add reference for filtered caps to above chapter.
19569
19570 2005-06-30  Wim Taymans  <wim@fluendo.com>
19571
19572         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
19573         (gst_bin_change_state):
19574         Probes are gone.
19575         Lame attempt at making the state change function a bit
19576         more readable.
19577
19578 2005-06-30  Wim Taymans  <wim@fluendo.com>
19579
19580         * docs/design/part-clocks.txt:
19581         * docs/design/part-element-sink.txt:
19582         * docs/design/part-events.txt:
19583         * docs/design/part-preroll.txt:
19584         * docs/design/part-states.txt:
19585         Some more tweeks and additions to the docs.
19586
19587 2005-06-30  Wim Taymans  <wim@fluendo.com>
19588
19589         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19590         (default_have_data), (gst_pad_class_init), (gst_pad_init),
19591         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19592         (gst_pad_check_pull_range), (gst_pad_get_range),
19593         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
19594         * gst/gstpad.h:
19595         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
19596         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19597         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19598         (gst_pad_remove_buffer_probe):
19599         Removed atomic operations, use existing LOCK.
19600         Move exception handling out of main code path.
19601
19602 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19603
19604         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19605         (silly_return_true_function), (gst_pad_class_init),
19606         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19607         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
19608         (gst_pad_send_event):
19609           Fix accumulator, add default value by using _emitv() instead
19610           of _emit() for signal emission.
19611
19612 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19613
19614         * docs/manual/advanced-dataaccess.xml:
19615         * examples/manual/Makefile.am:
19616           Add probe example.
19617         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
19618           Make work (??).
19619
19620 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
19621
19622         * gst/elements/gstfilesink.c: (gst_filesink_render):
19623           Simplify code so that we don't have to handle short
19624           writes and return GST_FLOW_ERROR if an error occured.
19625
19626 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19627
19628         * docs/gst/gstreamer-docs.sgml:
19629           Remove probes more.
19630
19631 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19632
19633         * docs/gst/gstreamer-sections.txt:
19634         * docs/gst/tmpl/gstpad.sgml:
19635         * docs/gst/tmpl/gstprobe.sgml:
19636         * gst/Makefile.am:
19637         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19638         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
19639         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
19640         (gst_pad_push_event), (gst_pad_send_event):
19641         * gst/gstpad.h:
19642         * gst/gstutils.c: (gst_pad_add_data_probe),
19643         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19644         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19645         (gst_pad_remove_buffer_probe):
19646         * gst/gstutils.h:
19647           Remove old probes, add new g-signal-based probes and some utility
19648           functions.
19649
19650 2005-06-29  Edward Hervey  <edward@fluendo.com>
19651
19652         * gst/gstelementfactory.c:
19653         * gst/gstutils.h:
19654         * gst/gstutils.c:
19655         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
19656         the definition to the header file.
19657
19658 2005-06-29  Andy Wingo  <wingo@pobox.com>
19659
19660         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
19661         plugins from the source directory.
19662
19663 2005-06-29  Wim Taymans  <wim@fluendo.com>
19664
19665         * docs/gst/tmpl/gstbuffer.sgml:
19666         * docs/gst/tmpl/gstclock.sgml:
19667         Some fixings for blantently wrong text.
19668
19669 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19670
19671         * check/Makefile.am:
19672         * gst/gst.c: (add_path_func), (init_pre):
19673         * gst/gstregistry.c: (gst_registry_add_path):
19674           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
19675           only scan the GST_PLUGIN_PATH locations, and not add
19676           system locations
19677
19678 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19679
19680         * docs/gst/gstreamer-sections.txt:
19681         * docs/gst/tmpl/gstbasesrc.sgml:
19682         * gst/gstelement.c:
19683         * gst/gstelement.h:
19684         * gst/gstevent.c:
19685         * gst/gstutils.c:
19686           doc fixes
19687
19688 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19689
19690         * docs/manual/advanced-autoplugging.xml:
19691           Fix autoplugging example.
19692
19693 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19694
19695         * docs/manual/advanced-autoplugging.xml:
19696         * docs/manual/mime-world.fig:
19697           Try to get autoplugging working, fix type detection. Fix text
19698           in hello-world image.
19699
19700 2005-06-29  Wim Taymans  <wim@fluendo.com>
19701
19702         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19703         (gst_base_sink_change_state):
19704         Small debug line.
19705
19706         * gst/gstclock.h:
19707         map SIGNAL and BROADCAST to the right function.
19708
19709         * gst/gstobject.h:
19710         Remove redundant braces.
19711
19712         * gst/gstpad.c: (gst_pad_set_caps):
19713         Don't call setcaps function when reseting caps to NULL.
19714
19715         * gst/gstsystemclock.c: (gst_system_clock_dispose),
19716         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
19717         (gst_system_clock_id_unschedule):
19718         Use BROADCAST as this is what we do.
19719
19720 2005-06-29  Wim Taymans  <wim@fluendo.com>
19721
19722         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19723         We are actually prerolling before commiting the state
19724         change. 
19725
19726 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19727
19728         * docs/manual/advanced-clocks.xml:
19729         * docs/manual/advanced-interfaces.xml:
19730         * docs/manual/advanced-metadata.xml:
19731         * docs/manual/advanced-position.xml:
19732         * docs/manual/advanced-schedulers.xml:
19733         * docs/manual/advanced-threads.xml:
19734         * docs/manual/appendix-porting.xml:
19735         * docs/manual/basics-bins.xml:
19736         * docs/manual/basics-bus.xml:
19737         * docs/manual/basics-elements.xml:
19738         * docs/manual/basics-helloworld.xml:
19739         * docs/manual/basics-pads.xml:
19740         * docs/manual/highlevel-components.xml:
19741         * docs/manual/manual.xml:
19742         * docs/manual/thread.fig:
19743           Update (until threads/scheduling) Application Development Manual;
19744           remove GstThread, add GstBus, add simple porting checklist, add
19745           documentation for tag writing, clocks, make all examples until this
19746           part compile and run.
19747         * examples/manual/Makefile.am:
19748           Update from changes to Application Development Manual; add bus
19749           example, remove thread example.
19750
19751 2005-06-28  Wim Taymans  <wim@fluendo.com>
19752
19753         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
19754         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
19755         (gst_bus_source_dispatch):
19756         Add debugging messages.
19757         Make internal methods static.
19758         Handle the case where the bus is flushed in the handler.
19759         
19760         * gst/gstelement.c: (gst_element_get_bus):
19761         Fix refcount in _get_bus();
19762
19763         * gst/gstpipeline.c: (gst_pipeline_change_state),
19764         (gst_pipeline_get_clock_func):
19765         Clock refcounting fixes.
19766         Handle the case where preroll timed out more gracefully.
19767         
19768         * gst/gstsystemclock.c: (gst_system_clock_dispose):
19769         Clean up the internal thread in dispose. This is needed
19770         for subclasses that actually get disposed.
19771         
19772         * gst/schedulers/threadscheduler.c:
19773         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19774         (gst_thread_scheduler_dispose):
19775         Free thread pool in dispose.
19776
19777 2005-06-28  Andy Wingo  <wingo@pobox.com>
19778
19779         * tests/network-clock-utils.scm (debug, print-event): New utils.
19780
19781         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
19782         (*packet-loss*): Unified loss probability.
19783         (network-time): Report out-of-band events.
19784
19785         * tests/plot-data: Add support for out-of-band events. Hack it
19786         into this script instead of passing it down the pipe; should fix
19787         this later.
19788
19789 2005-06-28  Wim Taymans  <wim@fluendo.com>
19790
19791         * docs/gst/gstreamer.types:
19792         * docs/gst/tmpl/gstbasesrc.sgml:
19793         * docs/gst/tmpl/gstpad.sgml:
19794         Docs fixes.
19795
19796 2005-06-28  Wim Taymans  <wim@fluendo.com>
19797
19798         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19799         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
19800         (gst_proxy_pad_do_fixatecaps):
19801         Correctly proxy the check_pull_range function.
19802
19803 2005-06-28  Andy Wingo  <wingo@pobox.com>
19804
19805         * tests/network-clock.scm: Removed need for slib.
19806         
19807 2005-06-28  Wim Taymans  <wim@fluendo.com>
19808
19809         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
19810         (gst_basesink_preroll_queue_flush):
19811         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
19812         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
19813         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19814         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
19815         (gst_proxy_pad_set_property):
19816         * gst/gstpad.c:
19817         * gst/gstpad.h:
19818         * gst/gstqueue.c: (gst_queue_init):
19819         The deprecated pad loop function is removed now.
19820
19821 2005-06-28  Andy Wingo  <wingo@pobox.com>
19822
19823         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
19824         New parameters, simulate network packet loss.
19825
19826         * tests/network-clock-utils.scm: Initialize the RNG.
19827
19828 2005-06-28  Wim Taymans  <wim@fluendo.com>
19829
19830         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
19831         (gst_basesink_event), (gst_basesink_deactivate):
19832         Flushing the preroll queue always needs to unlock the waiters.
19833
19834 2005-06-28  Edward Hervey  <edward@fluendo.com>
19835
19836         * gst/gstpipeline.c: (gst_pipeline_send_event): 
19837         Wheen a seek was successful on a pipeline, set the stream_time to the
19838         seek offset in order to have a synchronized stream_time.
19839
19840 2005-06-28  Wim Taymans  <wim@fluendo.com>
19841
19842         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19843         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
19844         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
19845         (gst_proxy_pad_do_fixatecaps):
19846         Call wrapper function instead of just calling the function
19847         pointers. This takes care of any locking and whatmore.
19848
19849 2005-06-28  Wim Taymans  <wim@fluendo.com>
19850
19851         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
19852         (gst_pad_pull_range):
19853         * gst/gstpad.h:
19854         CONNECTED -> LINKED.
19855
19856 2005-06-28  Andy Wingo  <wingo@pobox.com>
19857
19858         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
19859         source-munging commit!!!
19860
19861         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
19862         (gst_object_sink): Take gpointer arguments, not GstObject --
19863         avoids casts. Like GLib.
19864
19865         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
19866         activate.
19867
19868 2005-06-27  Andy Wingo  <wingo@pobox.com>
19869
19870         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
19871         remaining buffer.
19872
19873         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
19874         returns a sorted copy of the trace list.
19875         (gst_alloc_trace_print_live): New API, only prints traces with
19876         live objects. Sort the list.
19877         (gst_alloc_trace_print_all): Sort the list.
19878         (gst_alloc_trace_print): Align columns.
19879
19880         * gst/elements/gstttypefindelement.c:
19881         * gst/elements/gsttee.c:
19882         * gst/base/gstbasesrc.c:
19883         * gst/base/gstbasesink.c:
19884         * gst/base/gstbasetransform.c:
19885         * gst/gstqueue.c: Adapt for pad activation changes.
19886
19887         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
19888         sched.
19889         (gst_pipeline_dispose): Drop ref on sched.
19890
19891         * gst/gstpad.c (gst_pad_init): Set the default activate func.
19892         (gst_pad_activate_default): Push mode by default.
19893         (pre_activate_switch, post_activate_switch): New stubs, things to
19894         do before and after switching activation modes on pads.
19895         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
19896         the pad's activate function to choose which mode to activate.
19897         Shortcut on deactivation and call the right function directly.
19898         (gst_pad_activate_pull): New API, (de)activates a pad in pull
19899         mode.
19900         (gst_pad_activate_push): New API, same for push mode.
19901         (gst_pad_set_activate_function) 
19902         (gst_pad_set_activatepull_function) 
19903         (gst_pad_set_activatepush_function): Setters for new API.
19904
19905         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
19906         Trace all miniobjects.
19907         (gst_mini_object_make_writable): Unref the arg if we copy, like
19908         gst_caps_make_writable.
19909
19910         * gst/gstmessage.c (_gst_message_initialize): No trace init.
19911
19912         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
19913         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
19914         Adapt for new pad API.
19915
19916         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
19917
19918         * gst/gstelement.h:
19919         * gst/gstelement.c (gst_element_iterate_src_pads) 
19920         (gst_element_iterate_sink_pads): New API functions.
19921         
19922         * gst/gstelement.c (iterator_fold_with_resync): New utility,
19923         should fold into gstiterator.c in some form.
19924         (gst_element_pads_activate): Simplified via use of fold and
19925         delegation of decisions to gstpad->activate.
19926
19927         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
19928         help in debugging.
19929
19930         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
19931         class once in init, like gstmessage. Didn't run into this issue
19932         but it seems correct. Don't initialize a trace, gstminiobject does
19933         that.
19934
19935         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
19936         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
19937         to the bus.
19938         (assert_live_count): New util function, uses alloc traces to check
19939         cleanup.
19940
19941         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
19942         To be modified when unlink drops the internal pad.
19943
19944 2005-06-27  Wim Taymans  <wim@fluendo.com>
19945
19946         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
19947         (gst_bin_change_state):
19948         Cleanup the get_state() function a little, make sure it
19949         iterates the same set of elements.
19950         Added stub iterate_state_order().
19951
19952 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19953
19954         * docs/gst/gstreamer-docs.sgml:
19955         * docs/gst/gstreamer-sections.txt:
19956         * docs/gst/gstreamer.types:
19957         * docs/gst/tmpl/gstbasesink.sgml:
19958         * docs/gst/tmpl/gstbasesrc.sgml:
19959         * docs/gst/tmpl/gstbasetransform.sgml:
19960         * docs/gst/tmpl/gstelement.sgml:
19961         * docs/gst/tmpl/gstiterator.sgml:
19962         * gst/base/gstbasesrc.c:
19963         * gst/base/gstbasesrc.h:
19964         * gst/base/gstbasetransform.h:
19965         * gst/gstelement.c:
19966         * gst/gstiterator.h:
19967           adding basetransform and iterator docs
19968
19969 2005-06-27  Andy Wingo  <wingo@pobox.com>
19970
19971         * docs/design/part-activation.txt: Notes on how activation should
19972         work -- not quite implemented yet.
19973
19974 2005-06-25  Wim Taymans  <wim@fluendo.com>
19975
19976         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
19977         At least get the chain function correct, needs more
19978         fixing.
19979
19980 2005-06-25  Wim Taymans  <wim@fluendo.com>
19981
19982         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
19983         (gst_basesink_handle_object), (gst_basesink_event),
19984         (gst_basesink_do_sync), (gst_basesink_handle_event),
19985         (gst_basesink_change_state):
19986         * gst/gsttask.h:
19987         Right, two problems here: ghostpads don't take locks and
19988         glib _rec_mutex_lock_full() with depth==0 still locks.
19989         Catch illegal locking and g_warn them.
19990
19991 2005-06-25  Wim Taymans  <wim@fluendo.com>
19992
19993         * check/states/sinks.c: (START_TEST), (gst_object_suite):
19994         Have to check for completion now...
19995
19996 2005-06-25  Wim Taymans  <wim@fluendo.com>
19997
19998         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
19999         (gst_basesink_handle_object), (gst_basesink_event),
20000         (gst_basesink_do_sync), (gst_basesink_handle_event),
20001         (gst_basesink_change_state):
20002         * gst/gstpad.h:
20003         Unlock STREAM_LOCK whatever the recursion was.
20004
20005 2005-06-25  Wim Taymans  <wim@fluendo.com>
20006
20007         * gst/base/gstbasesink.c: (gst_basesink_set_property),
20008         (gst_basesink_preroll_queue_empty),
20009         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
20010         (gst_basesink_event), (gst_basesink_do_sync),
20011         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
20012         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
20013         (gst_basesink_change_state):
20014         Reworked the base sink, handle event and buffer serialisation
20015         correctly and removed possible deadlock.
20016         Handle EOS correctly.
20017
20018 2005-06-25  Wim Taymans  <wim@fluendo.com>
20019
20020         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
20021         (gst_pipeline_change_state):
20022         * tools/gst-launch.c: (check_intr), (event_loop), (main):
20023         Allow elements to post EOS in the state change function.
20024         Fix up -launch, make it exit the poll loop when the
20025         pipeline actually changed state.
20026         Fix up warning parsing in -launch.
20027
20028 2005-06-25  Wim Taymans  <wim@fluendo.com>
20029
20030         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
20031         (gst_tee_sink_activate):
20032         Core takes STREAM_LOCK for us now.
20033
20034 2005-06-25  Wim Taymans  <wim@fluendo.com>
20035
20036         * gst/gstelement.c: (gst_element_get_state_func),
20037         (gst_element_set_state):
20038         * gst/gstelement.h:
20039         * gst/gstmessage.c: (gst_message_parse_error),
20040         (gst_message_parse_warning):
20041         Keep track of current target state while performing a state
20042         change so that subclasses can do something interesting.
20043         Fix parsing of warning/error messages when GError is NULL.
20044
20045 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20046
20047         * docs/gst/Makefile.am:
20048         * docs/gst/gstreamer-docs.sgml:
20049         * docs/gst/gstreamer-sections.txt:
20050         * docs/gst/gstreamer.types:
20051         * docs/gst/tmpl/gstbasesink.sgml:
20052         * docs/gst/tmpl/gstbasesrc.sgml:
20053         * docs/gst/tmpl/gstbin.sgml:
20054         * docs/gst/tmpl/gstcompat.sgml:
20055         * docs/gst/tmpl/gstfakesink.sgml:
20056         * docs/gst/tmpl/gstfakesrc.sgml:
20057         * docs/gst/tmpl/gstfilesink.sgml:
20058         * docs/gst/tmpl/gstfilesrc.sgml:
20059         * docs/gst/tmpl/gstindex.sgml:
20060         * docs/manual/appendix-quotes.xml:
20061         * gst/base/gstbasesrc.h:
20062         * gst/elements/gstfakesrc.h:
20063         * gst/gstmessage.h:
20064           start pulling in base classes and elements in our docs
20065
20066 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
20067
20068         * docs/gst/Makefile.am:
20069         * docs/libs/Makefile.am:
20070           fixed make distcheck with gtk-doc 1.3
20071
20072 2005-06-23  Wim Taymans  <wim@fluendo.com>
20073
20074         * gst/gstelement.c: (gst_element_get_state_func),
20075         (gst_element_set_state), (gst_element_change_state):
20076         When the state did not change, also report NO_PREROLL
20077         when it matters.
20078
20079 2005-06-23  Wim Taymans  <wim@fluendo.com>
20080
20081         * gst/gstpad.c: (gst_pad_event_default):
20082         * gst/gstqueue.c: (gst_queue_loop):
20083         No unsafe task pausing please.
20084
20085 2005-06-23  Wim Taymans  <wim@fluendo.com>
20086
20087         * gst/schedulers/threadscheduler.c:
20088         (gst_thread_scheduler_task_start),
20089         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
20090         Ref the task before pushing it on the threadpool. This
20091         makes sure that we have a ref when the threadfunction is
20092         actually called.
20093
20094 2005-06-23  Andy Wingo  <wingo@pobox.com>
20095
20096         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
20097         offset is greater than the file's size.
20098
20099         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
20100         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
20101         * gst/gstobject.c (gst_object_class_init): Make the class lock
20102         recursive. Wim won't let me drop deep_notify. Decodebin works
20103         again, whoopdy doo.
20104
20105         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
20106         internal pad, and hacks accordingly. Doesn't do it on the target
20107         pad because we change its caps. Probably catches all cases of
20108         interest tho.
20109         (gst_ghost_pad_set_property): Connect to notify::caps as
20110         appropritate.
20111
20112         * tests/network-clock.scm (plot-simulation): Pipe data to the
20113         elite python skript.
20114
20115         * tests/network-clock-utils.scm (define-parameter): New macro,
20116         defines a parameter that can be set via the command line.
20117         (set-parameter!, parse-parameter-arguments): Command line args
20118         parser.
20119
20120         * tests/plot-data: Simple matplotlib-based plotter, takes input on
20121         stdin.
20122
20123 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
20124
20125         * gst/elements/gsttypefindelement.c:
20126         (gst_type_find_element_handle_event):
20127           Don't restart typefinding on a discont.
20128         * gst/gstelement.c: (gst_element_set_state):
20129           Debug spelling fix.
20130         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
20131           Allow changing mode of an active pad.
20132           Debug output fixes.
20133         * gst/registries/gstlibxmlregistry.c: (load_feature):
20134           Don't cast a static pad template to a normal pad template.
20135
20136 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20137
20138         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20139         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20140           remove gst_strtoll completely, since it didn't actually do
20141           anything more than what g_ascii_strtoull already does.
20142           check for range errors when deserializing
20143           do a cast for the unsigned cases; but further fixing needs
20144           a decision on what the interpretation of "(int)" and
20145           deserialization should be for values that fall outside the
20146           type's boundaries (ie, refuse, or interpret as casting)
20147
20148 2005-06-23  Wim Taymans  <wim@fluendo.com>
20149
20150         * check/Makefile.am:
20151         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
20152         * docs/design/part-live-source.txt:
20153         * docs/design/part-states.txt:
20154         * gst/base/gstbasesrc.c: (gst_basesrc_init),
20155         (gst_basesrc_set_live), (gst_basesrc_is_live),
20156         (gst_basesrc_get_range), (gst_basesrc_activate),
20157         (gst_basesrc_change_state):
20158         * gst/base/gstbasesrc.h:
20159         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20160         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
20161         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
20162         * gst/gstelement.c: (gst_element_get_state_func),
20163         (gst_element_set_state):
20164         * gst/gstelement.h:
20165         * gst/gsttypes.h:
20166         * tools/gst-launch.c: (event_loop), (main):
20167         Added support for live sources and other elements that
20168         cannot do preroll.
20169         Updated design docs, added live-source design doc.
20170         Implemented live source functionality in basesrc
20171         Fix error condition in _bin_get_state()
20172         Implement live source handling in -launch.
20173         Added check for live sources.
20174         Fixed case in GstBin where elements were changed state
20175         multiple times.
20176
20177
20178 2005-06-23  Andy Wingo  <wingo@pobox.com>
20179
20180         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
20181         borken refcounting.
20182
20183         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
20184         gst_caps_replace takes care of this for us.
20185
20186         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
20187         gst_pad_set_caps on the target, not just its setcaps() function.
20188
20189         * tests/network-clock.scm: 
20190         * tests/network-clock-utils.scm: A network clock simulator.
20191         Something of an algorithmic testbed before doing something in C.
20192
20193 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20194
20195         * check/Makefile.am:
20196         * check/gst/capslist.h:
20197           copy over from 0.8, and add two with bitmasks specified with
20198           (int) 0xFF...
20199         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20200           add test to parse everything from capslist.h
20201         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
20202         (main):
20203           add test for structure deserialization
20204         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20205           add tests for deserialization of strings to int types
20206         * gst/gststructure.c: (gst_structure_nth_field_name):
20207         * gst/gststructure.h:
20208           add a way to get the name of a field referenced by index
20209         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20210           instead of checking if the resulting long long lies between
20211           min and max, we check if the long long would fit into
20212           a number of bytes for the final type.
20213           This fixes cases where a string represents 2^32 - 1, which
20214           when cast to int would be the (valid) -1, but is bigger than
20215           G_MAXINT
20216
20217 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20218
20219         * gst/parse/grammar.y:
20220           add a log line for type deserialization
20221
20222 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20223
20224         * check/gst/gstvalue.c: (START_TEST):
20225         * gst/gstvalue.c: (gst_value_deserialize):
20226           return long long, not int, so gint64 deserialization actually
20227           works.  Is there any flag that makes the compiler check this ?
20228           Fixes #308559
20229
20230 2005-06-22  Wim Taymans  <wim@fluendo.com>
20231
20232         * gst/gstbuffer.h:
20233         Added convenience macros for setting buffers in GValue.
20234
20235 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20236
20237         * check/gst/.cvsignore:
20238         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20239           add a test deserializing int64, and comment part out because
20240           it fails, yay !
20241
20242 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20243
20244         * check/Makefile.am:
20245         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
20246         * testsuite/Makefile.am:
20247         * testsuite/caps/Makefile.am:
20248         * testsuite/caps/value_serialize.c:
20249         * testsuite/test_gst_init.c:
20250           move a value_serialize test over
20251
20252 2005-06-20  Wim Taymans  <wim@fluendo.com>
20253
20254         * gst/gstpad.c:
20255         Small doc updates.
20256         
20257         * gst/gstvalue.c: (gst_value_compare_buffer),
20258         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
20259         (gst_value_compare_flags), (gst_value_serialize_flags),
20260         (gst_value_deserialize_flags), (_gst_value_initialize):
20261         Fix serialisation of buffers, they are not boxed types anymore
20262
20263 2005-06-20  Wim Taymans  <wim@fluendo.com>
20264
20265         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20266         Testcase to show error in buffer-on-caps serialisation.
20267
20268 2005-06-20  Andy Wingo  <wingo@pobox.com>
20269
20270         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
20271         will be adding to later.
20272
20273         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
20274         if its socks fill with rocks.
20275         (gst_system_clock_obtain): Set the name on object construction.
20276         Avoid double-checked locking.
20277
20278 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
20279
20280         * gst/gsturi.c: (gst_element_make_from_uri):
20281           Fix potential endless loop.
20282
20283 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20284
20285         * check/Makefile.am:
20286           add gsttag
20287         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
20288         (main):
20289           move over from testsuite dir and clean up
20290         * configure.ac:
20291         * gst/gsttag.c:
20292         * testsuite/Makefile.am:
20293         * testsuite/tags/.cvsignore:
20294         * testsuite/tags/Makefile.am:
20295         * testsuite/tags/merge.c:
20296           remove testsuite/tags
20297
20298 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20299
20300         * docs/gst/gstreamer-sections.txt:
20301         * docs/gst/tmpl/gstenumtypes.sgml:
20302         * win32/gstenumtypes.c:
20303           clean up documentation build a little
20304
20305 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20306
20307         * check/gstcheck.h:
20308           add macros for checking refcounts on objects and caps
20309         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
20310           add some more unit tests
20311         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20312         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
20313           fix leaked refcounts (I hope :)) so unittest works
20314         * gst/gstpad.h:
20315           whitespace removal
20316
20317 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20318
20319         * configure.ac: back to HEAD
20320
20321 === release 0.9.1 ===
20322
20323 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20324
20325         * NEWS:
20326         * RELEASE:
20327           updated
20328
20329 2005-06-17  Andy Wingo  <wingo@pobox.com>
20330
20331         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
20332         assert; it's always possible that the pad gets deactivated in
20333         between the checks in gstpad.c and the implementation. Rely on
20334         finish_preroll() to return a FLUSHING or similar instead of on the
20335         assert.
20336         
20337         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
20338         clock and post an EOS message if we come out of finish_preroll in
20339         the playing state.
20340
20341 2005-06-16  David Schleef  <ds@schleef.org>
20342
20343         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20344         (gst_capsfilter_set_property): Allow NULL as possible value
20345         for filter_caps property, indicating GST_CAPS_ANY.
20346
20347 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20348
20349         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
20350           fix debug output
20351         * gst/schedulers/Makefile.am:
20352           use libgst prefix
20353         * gstreamer.spec.in:
20354           fix spec for it
20355
20356 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20357
20358         * gstreamer.spec.in:
20359           clean up
20360
20361 2005-06-08  Andy Wingo  <wingo@pobox.com>
20362
20363         * gst/gstutils.c: RPAD fixes all around.
20364         (gst_element_link_pads): Refcounting fixes.
20365
20366         * tools/gst-inspect.c:
20367         * tools/gst-xmlinspect.c:
20368         * parse/grammar.y:
20369         * gst/base/gsttypefindhelper.c:
20370         * gst/base/gstbasesink.c:
20371         * gst/gstqueue.c: RPAD fixes.
20372
20373         * gst/gstghostpad.h:
20374         * gst/gstghostpad.c: New ghost pad implementation as full proxy
20375         pads. The tricky thing is they provide both source and sink
20376         interfaces, since they proxy the internal pad for the external
20377         pad, and vice versa. Implement with lower-level ProxyPad objects,
20378         with the interior proxy pad as a child of the exterior ghost pad.
20379         Should write a doc on this.
20380         
20381         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
20382         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
20383         gst_object API.
20384         
20385         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
20386         pads are real pads. No ghost pads in this file. Not documenting
20387         the myriad s/RPAD/PAD/ and REALIZE fixes.
20388         (gst_pad_class_init): Add properties for "direction" and
20389         "template". Both are construct-only, so they can't change during
20390         the life of the pad. Fixes properly deriving from GstPad.
20391         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
20392         derived objects, just set properties when creating the objects via
20393         g_object_new.
20394         (gst_pad_get_parent): Implement as a function, return NULL if the
20395         parent is not an element.
20396         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
20397         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
20398         
20399         * gst/gstobject.c (gst_object_class_init): Make name a construct
20400         property. Don't set it in the object init.
20401
20402         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
20403         with UNKNOWN direction.
20404         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
20405         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
20406         (gst_element_remove_pad): Remove ghost-pad special cases.
20407         (gst_element_pads_activate): Remove rpad cruft.
20408
20409         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
20410         catch the pad's-parent-not-an-element case.
20411
20412         * gst/gst.h: Include gstghostpad.h.
20413
20414         * gst/gst.c (init_post): No more real, ghost pads.
20415
20416         * gst/Makefile.am: Add gstghostpad.[ch].
20417
20418         * check/Makefile.am:
20419         * check/gst/gstbin.c:
20420         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
20421         into a bin creates ghost pads, and that the refcounts are right.
20422         Partly moved from gstbin.c.
20423
20424 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20425
20426         * check/gst-libs/.cvsignore:
20427         * check/gst/.cvsignore:
20428         * check/pipelines/.cvsignore:
20429           ignore more
20430         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
20431         (START_TEST), (cleanup_suite), (main):
20432           add some tests related to cleanup after running pipelines
20433
20434 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20435
20436         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
20437           add a testsuite for GstBuffer
20438
20439 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20440
20441         * gst/gstminiobject.h:
20442           add defines for accessing the refcount
20443
20444 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
20445
20446         * Makefile.am: added support for html unit test coverage reports
20447
20448 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
20449
20450         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20451           Free existing caps if the capsfilter changes. Add a FIXME about
20452           setting those caps on the pads.
20453
20454         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
20455           Before adding a ghost pad to a parent bin, check that there isn't
20456           already one for the element on the bin. Prevents infinite recursion
20457           when using decodebin in parse pipelines. Andy says he'll rewrite the
20458           way this works anyway, so ignore the hack.
20459
20460 2005-06-02  Andy Wingo  <wingo@pobox.com>
20461
20462         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
20463         file size, pass it on to the type find helper.
20464
20465         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
20466         segment_start and segment_end properly according to the seek
20467         method. Segment_end is still a bit flaky because offset can be
20468         negative for CUR and END cases, but it takes -1 as an "unset"
20469         value.
20470
20471 2005-06-02  Wim Taymans  <wim@fluendo.com>
20472
20473         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
20474         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
20475         (gst_basesink_activate):
20476         * gst/base/gstbasesink.h:
20477         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20478         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20479         (gst_pad_query), (gst_pad_start_task):
20480         * gst/gstpad.h:
20481         * gst/gstqueue.c: (gst_queue_bufferalloc),
20482         (gst_queue_handle_sink_event), (gst_queue_chain):
20483         Bufferalloc: return GstFlowReturn to more accuratly report
20484         why allocation failed.
20485
20486 2005-06-02  Wim Taymans  <wim@fluendo.com>
20487
20488         * gst/gstpipeline.c: (gst_pipeline_send_event):
20489         Take snapshot of state without blocking.
20490
20491 2005-06-02  Wim Taymans  <wim@fluendo.com>
20492
20493         * docs/design/part-TODO.txt:
20494         * docs/design/part-caps.txt:
20495         * docs/design/part-clocks.txt:
20496         * docs/design/part-negotiation.txt:
20497         * docs/design/part-preroll.txt:
20498         Small doc updates 
20499
20500 2005-05-30  Wim Taymans  <wim@fluendo.com>
20501
20502         * gst/elements/gstidentity.c: (gst_identity_event),
20503         (gst_identity_transform), (gst_identity_get_property):
20504         Protect last_message property as it is accessed from
20505         multiple threads.
20506
20507 2005-05-30  Wim Taymans  <wim@fluendo.com>
20508
20509         * gst/gstelement.c: (gst_element_init),
20510         (gst_element_pads_activate), (gst_element_change_state):
20511         Slicker pad activation code.
20512
20513 2005-05-30  Wim Taymans  <wim@fluendo.com>
20514
20515         * gst/Makefile.am:
20516         * gst/gstelement.h:
20517         * gst/gstelementfactory.h:
20518         * gst/gsttypes.h:
20519         Move elementfactory methods to separate .h file.
20520
20521 2005-05-30  Wim Taymans  <wim@fluendo.com>
20522
20523         * docs/design/part-overview.txt:
20524         * gst/gstsystemclock.h:
20525         Small typo fixes, doc updates.
20526
20527 2005-05-30  Wim Taymans  <wim@fluendo.com>
20528
20529         * gst/gst.c: (gst_init_get_popt_table), (init_post),
20530         (init_popt_callback):
20531         Remove cpu-opt flag.
20532
20533 2005-05-30  Wim Taymans  <wim@fluendo.com>
20534
20535         * gst/gstbuffer.c: (gst_subbuffer_finalize),
20536         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
20537         * gst/gstbuffer.h:
20538         Avoid typechecking in places where not needed.
20539         Added accessor for malloc_data.
20540
20541 2005-05-30  Wim Taymans  <wim@fluendo.com>
20542
20543         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
20544         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
20545         (gst_pad_configure_sink), (gst_pad_configure_src),
20546         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
20547         (gst_pad_start_task):
20548         Propagate errors from _set_caps() in configure_src/sink
20549         functions instead of returning TRUE.
20550         FLUSH events can travel up and downstream
20551
20552
20553 2005-05-30  Wim Taymans  <wim@fluendo.com>
20554
20555         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20556         (gst_basesink_activate):
20557         Handle EOS in preroll.
20558
20559 2005-05-30  Wim Taymans  <wim@fluendo.com>
20560
20561         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20562         (gst_queue_loop), (gst_queue_handle_src_event):
20563         Remove old pieces of code
20564         Flushing the queue in an upstream event is a very bad idea.
20565
20566 2005-05-26  Andy Wingo  <wingo@pobox.com>
20567
20568         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
20569         gst_value_set_mini_object so as to add a ref on the object (which
20570         will be removed when the value is unset).
20571
20572         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
20573         arg type in ::handoff.
20574
20575         * gst/gstelement.c (gst_element_change_state): Also deactivate
20576         pads in READY->NULL, just in case the element didn't make it to
20577         PAUSED. Wingo tested, Wim approved.
20578
20579 2005-05-26  Wim Taymans  <wim@fluendo.com>
20580
20581         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20582         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20583         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
20584         A flushing pad cannot be used to alloc_buffer from.
20585
20586 2005-05-26  Wim Taymans  <wim@fluendo.com>
20587
20588         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
20589         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
20590         (gst_bus_source_dispatch), (gst_bus_source_finalize),
20591         (gst_bus_create_watch), (gst_bus_add_watch_full):
20592         * gst/gstbus.h:
20593         Implement a real GSource and use g_main_context_wakeup() to
20594         signal new messages instead of the socketpair.
20595
20596 2005-05-25  Wim Taymans  <wim@fluendo.com>
20597
20598         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
20599         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
20600         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20601         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20602         (gst_pad_send_event), (gst_pad_start_task):
20603         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
20604         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20605         (gst_queue_sink_activate), (gst_queue_src_activate),
20606         (gst_queue_change_state):
20607         * gst/gstqueue.h:
20608         Fix state changes for non sinks. We now change sinks, then elements
20609         with unconnected srcpads, then the rest.
20610         More efficient queue unlocking in flush and state changes.
20611         Set the pad activate mode even if it does not have an activate
20612         function.
20613
20614 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20615
20616         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
20617           Don't go in pull mode for non-seekable sources.
20618         * gst/elements/gsttypefindelement.h:
20619         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
20620         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
20621         (free_entry), (stop_typefinding),
20622         (gst_type_find_element_handle_event), (find_peek),
20623         (gst_type_find_element_chain), (do_pull_typefind),
20624         (gst_type_find_element_change_state):
20625           Allow typefinding (w/o seeking) in push-mode, simplified version
20626           of what was in 0.8.
20627         * gst/gstutils.c: (gst_buffer_join):
20628         * gst/gstutils.h:
20629           gst_buffer_join() from 0.8.
20630
20631 2005-05-25  Wim Taymans  <wim@fluendo.com>
20632
20633         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20634         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20635         (gst_pad_send_event), (gst_pad_start_task):
20636         Disable attempt at mode switching until it is figured out.
20637
20638 2005-05-25  Wim Taymans  <wim@fluendo.com>
20639
20640         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
20641         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20642         (gst_basesink_finish_preroll), (gst_basesink_chain),
20643         (gst_basesink_loop), (gst_basesink_activate),
20644         (gst_basesink_change_state):
20645         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
20646         (gst_basesrc_get_range), (gst_basesrc_loop),
20647         (gst_basesrc_activate):
20648         * gst/elements/gsttee.c: (gst_tee_sink_activate):
20649         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20650         (gst_real_pad_init), (gst_real_pad_set_property),
20651         (gst_real_pad_get_property), (gst_pad_set_active),
20652         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
20653         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
20654         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
20655         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
20656         (gst_pad_event_default_dispatch), (gst_pad_event_default),
20657         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
20658         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
20659         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20660         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
20661         (gst_pad_stop_task):
20662         * gst/gstpad.h:
20663         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20664         (gst_queue_loop), (gst_queue_src_activate):
20665         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
20666         (gst_task_get_state):
20667         * gst/gsttask.h:
20668         * gst/schedulers/threadscheduler.c:
20669         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
20670         Implement gst_pad_pause/start/stop_task(), take STREAM lock
20671         in task function.
20672         Remove ACTIVE pad flag, use FLUSHING everywhere
20673         Added _pad_chain(), _pad_get_range() to call chain/getrange 
20674         functions.
20675         Add locks around IS_FLUSHING when reading.
20676         Take STREAM lock in chain(), get_range() functions so plugins
20677         don't need to take it anymore.
20678         
20679
20680
20681 2005-05-25  Wim Taymans  <wim@fluendo.com>
20682
20683         * tools/gst-launch.c: (event_loop):
20684         Unref message after using its contents instead of
20685         before.
20686
20687 2005-05-24  Wim Taymans  <wim@fluendo.com>
20688
20689         * docs/design/draft-ghostpads.txt:
20690         * docs/design/draft-push-pull.txt:
20691         * docs/design/draft-query.txt:
20692         * docs/design/part-overview.txt:
20693         Docs updates, added general overview doc.
20694
20695 2005-05-21  David Schleef  <ds@schleef.org>
20696
20697         * docs/gst/tmpl/old/GstBin.sgml:
20698         * docs/gst/tmpl/old/GstBuffer.sgml:
20699         * docs/gst/tmpl/old/GstCaps.sgml:
20700         * docs/gst/tmpl/old/GstClock.sgml:
20701         * docs/gst/tmpl/old/GstCompat.sgml:
20702         * docs/gst/tmpl/old/GstData.sgml:
20703         * docs/gst/tmpl/old/GstElement.sgml:
20704         * docs/gst/tmpl/old/GstEvent.sgml:
20705         * docs/gst/tmpl/old/GstIndex.sgml:
20706         * docs/gst/tmpl/old/GstStructure.sgml:
20707         * docs/gst/tmpl/old/GstTag.sgml:
20708         * docs/gst/tmpl/old/cothreads.sgml:
20709         * docs/gst/tmpl/old/cothreads_compat.sgml:
20710         * docs/gst/tmpl/old/gettext.sgml:
20711         * docs/gst/tmpl/old/gobject2gtk.sgml:
20712         * docs/gst/tmpl/old/grammar.tab.sgml:
20713         * docs/gst/tmpl/old/gst-i18n-app.sgml:
20714         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
20715         * docs/gst/tmpl/old/gst_private.sgml:
20716         * docs/gst/tmpl/old/gstaggregator.sgml:
20717         * docs/gst/tmpl/old/gstarch.sgml:
20718         * docs/gst/tmpl/old/gstatomic_impl.sgml:
20719         * docs/gst/tmpl/old/gstbufferstore.sgml:
20720         * docs/gst/tmpl/old/gstdata_private.sgml:
20721         * docs/gst/tmpl/old/gstdisksink.sgml:
20722         * docs/gst/tmpl/old/gstdisksrc.sgml:
20723         * docs/gst/tmpl/old/gstelementfactory.sgml:
20724         * docs/gst/tmpl/old/gstextratypes.sgml:
20725         * docs/gst/tmpl/old/gstfakesink.sgml:
20726         * docs/gst/tmpl/old/gstfakesrc.sgml:
20727         * docs/gst/tmpl/old/gstfdsink.sgml:
20728         * docs/gst/tmpl/old/gstfdsrc.sgml:
20729         * docs/gst/tmpl/old/gstfilesink.sgml:
20730         * docs/gst/tmpl/old/gstfilesrc.sgml:
20731         * docs/gst/tmpl/old/gsthttpsrc.sgml:
20732         * docs/gst/tmpl/old/gstidentity.sgml:
20733         * docs/gst/tmpl/old/gstindexfactory.sgml:
20734         * docs/gst/tmpl/old/gstmarshal.sgml:
20735         * docs/gst/tmpl/old/gstmd5sink.sgml:
20736         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
20737         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
20738         * docs/gst/tmpl/old/gstpadtemplate.sgml:
20739         * docs/gst/tmpl/old/gstpipefilter.sgml:
20740         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
20741         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
20742         * docs/gst/tmpl/old/gstshaper.sgml:
20743         * docs/gst/tmpl/old/gstspider.sgml:
20744         * docs/gst/tmpl/old/gstspideridentity.sgml:
20745         * docs/gst/tmpl/old/gststatistics.sgml:
20746         * docs/gst/tmpl/old/gsttee.sgml:
20747         * docs/gst/tmpl/old/gsttimecache.sgml:
20748         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
20749         * docs/gst/tmpl/old/gstxmlregistry.sgml:
20750         * docs/gst/tmpl/old/gthread-cothreads.sgml:
20751         * docs/gst/tmpl/old/types.sgml:
20752           I didn't intend to add these or check them in.
20753
20754 2005-05-19  David Schleef  <ds@schleef.org>
20755
20756         * configure.ac: Use -no-common everywhere.  In a sane world, it
20757           would be the default in libtool, because without it, you can't
20758           build DLLs on Windows.
20759         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
20760         * docs/gst/gstreamer-sections.txt:
20761         * docs/gst/tmpl/gstcpu.sgml:
20762         * docs/gst/tmpl/gstdata.sgml:
20763         * docs/gst/tmpl/gstthread.sgml:
20764
20765 2005-05-19  David Schleef  <ds@schleef.org>
20766
20767         * gst/gstminiobject.c: (gst_value_set_mini_object),
20768         (gst_value_take_mini_object), (gst_value_get_mini_object):
20769         * gst/gstminiobject.h: Add GValue set/get functions.
20770
20771 2005-05-19  Wim Taymans  <wim@fluendo.com>
20772
20773         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
20774         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
20775         (gst_subbuffer_init), (gst_buffer_is_span_fast):
20776         * gst/gstbuffer.h:
20777         * gst/gstbus.c: (gst_bus_post):
20778         * gst/gstelement.c: (gst_element_get_random_pad):
20779         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
20780         Make subbufer unref the parent in finalize.
20781         some more debugging info.
20782
20783
20784 2005-05-19  Wim Taymans  <wim@fluendo.com>
20785
20786         * gst/base/gstbasesink.c: (gst_basesink_class_init),
20787         (gst_basesink_init), (gst_basesink_finalize),
20788         (gst_basesink_activate), (gst_basesink_change_state):
20789         Don't free preroll queue too early.
20790
20791 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20792
20793         * gst/Makefile.am:
20794         * gst/ROADMAP:
20795           Hi, I'm outdated. Please shoot me.
20796
20797 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20798
20799         * gst/gstpipeline.c: (gst_pipeline_send_event):
20800           Do not access variables after they have been deleted.
20801
20802 2005-05-19  Wim Taymans  <wim@fluendo.com>
20803
20804         * tools/gst-inspect.c: (print_plugin_features):
20805         A plugin feature does unfortunatly not use the
20806         object name yet...
20807
20808 2005-05-18  Wim Taymans  <wim@fluendo.com>
20809
20810         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
20811         Port _span() functions to new subbuffers.
20812
20813 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20814
20815         * gst/gstbin.c: (gst_bin_add_func):
20816           Fix clock settery in bins when adding kids after the clock has
20817           been selected.
20818
20819 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20820
20821         * gst/elements/gstidentity.c: (gst_identity_class_init):
20822           Workaround until signals support GstMiniObject.
20823
20824 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
20825
20826         * gst/gstbuffer.c:
20827         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
20828
20829 2005-05-18  Wim Taymans  <wim@fluendo.com>
20830
20831         * gst/base/Makefile.am:
20832         * gst/base/gstadapter.c: (gst_adapter_base_init),
20833         (gst_adapter_class_init), (gst_adapter_init),
20834         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
20835         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
20836         (gst_adapter_flush), (gst_adapter_available),
20837         (gst_adapter_available_fast):
20838         * gst/base/gstadapter.h:
20839         Ported and added adapter to the base classes.
20840
20841 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
20842
20843         * gst/gst.c:
20844         * gst/gstmessage.c:
20845           Make sure the class is reffed/unreffed once before threads can be
20846           used.  Fixes #304551.
20847
20848 2005-05-17  Wim Taymans  <wim@fluendo.com>
20849
20850         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
20851         (gst_basesink_chain_unlocked), (gst_basesink_activate):
20852         * gst/gstminiobject.c: (gst_mini_object_get_type),
20853         (gst_mini_object_free):
20854         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
20855         (gst_pad_push), (gst_pad_push_event):
20856         * gst/gstqueue.c: (gst_queue_change_state):
20857         Don't queue buffers in basesink when we are flushing.
20858         Unref buffer when flushing in basesink.
20859         Flush queue when going to READY
20860         Unref buffer when _push() returns an error.
20861         Don't free MiniObject instance when refcount is incremented
20862         in _finalize() so that we can recover objects.
20863
20864 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20865
20866         * docs/manual/advanced-schedulers.xml:
20867         * docs/manual/appendix-checklist.xml:
20868         * docs/pwg/advanced-clock.xml:
20869         * docs/pwg/advanced-interfaces.xml:
20870         * docs/pwg/advanced-request.xml:
20871         * docs/pwg/advanced-types.xml:
20872         * docs/pwg/intro-preface.xml:
20873         * examples/plugins/example.c: (gst_example_get_type),
20874         (gst_example_class_init), (gst_example_chain),
20875         (gst_example_set_property), (gst_example_get_property),
20876         (gst_example_change_state), (plugin_init):
20877         * examples/plugins/example.h:
20878           small doc fixes
20879
20880 2005-05-17  Wim Taymans  <wim@fluendo.com>
20881
20882         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
20883         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
20884         * gst/gstqueue.c: (gst_queue_change_state):
20885         Clear queue when going to READY.
20886         Remove IN_SETCAPS flag too.
20887
20888 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
20889
20890         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
20891           Remove implicit cast from gboolean to GstElementStateReturn;
20892           make sure we still return failure in paused => ready case if
20893           the parent class fails to change state and our own stop 
20894           vfunc succeeds.
20895
20896 2005-05-17  Wim Taymans  <wim@fluendo.com>
20897
20898         * tools/gst-launch.c: (event_loop):
20899         Message was unreffed too soon.
20900
20901 2005-05-16  Andy Wingo  <wingo@pobox.com>
20902
20903         * gst/gstbin.c (sink_iterator_filter): Err... um...
20904
20905         * check/gst/gstbin.c (test_ghost_pads): New test for the
20906         ghosting-if-elements-not-in-same-bin behavior.
20907
20908 2005-05-16  David Schleef  <ds@schleef.org>
20909
20910         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
20911         accessing refcount directly.
20912
20913 2005-05-15  David Schleef  <ds@schleef.org>
20914
20915         * check/Makefile.am: remove GstData checks
20916         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
20917         * gst/Makefile.am: add miniobject, remove data
20918         * gst/gst.h: add miniobject, remove data
20919         * gst/gstdata.c: remove
20920         * gst/gstdata.h: remove
20921         * gst/gstdata_private.h: remove
20922         * gst/gsttypes.h: remove GstEvent and GstMessage
20923         * gst/gstelement.c: (gst_element_post_message): fix for API changes
20924         * gst/gstmarshal.list: change BOXED -> OBJECT
20925
20926         Implement GstMiniObject.
20927         * gst/gstminiobject.c:
20928         * gst/gstminiobject.h:
20929
20930         Modify to be subclasses of GstMiniObject.
20931         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
20932         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
20933         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
20934         (gst_subbuffer_get_type), (gst_subbuffer_init),
20935         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
20936         (gst_buffer_span):
20937         * gst/gstbuffer.h:
20938         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
20939         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
20940         (_gst_event_copy), (gst_event_new):
20941         * gst/gstevent.h:
20942         * gst/gstmessage.c: (_gst_message_initialize),
20943         (gst_message_get_type), (gst_message_class_init),
20944         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
20945         (gst_message_new), (gst_message_new_error),
20946         (gst_message_new_warning), (gst_message_new_tag),
20947         (gst_message_new_state_changed), (gst_message_new_application):
20948         * gst/gstmessage.h:
20949         * gst/gstprobe.c: (gst_probe_perform),
20950         (gst_probe_dispatcher_dispatch):
20951         * gst/gstprobe.h:
20952         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
20953         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
20954         (_gst_query_copy), (gst_query_new):
20955
20956         Update elements for GstData -> GstMiniObject changes
20957         * gst/gstquery.h:
20958         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
20959         (gst_queue_chain), (gst_queue_loop):
20960         * gst/elements/gstbufferstore.c:
20961         (gst_buffer_store_add_buffer_func),
20962         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
20963         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
20964         (gst_fakesink_render):
20965         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
20966         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
20967         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
20968         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
20969         (gst_filesrc_create_read):
20970         * gst/elements/gstidentity.c: (gst_identity_class_init):
20971         * gst/elements/gsttypefindelement.c:
20972         (gst_type_find_element_src_event), (free_entry_buffers),
20973         (gst_type_find_element_handle_event):
20974         * libs/gst/dataprotocol/dataprotocol.c:
20975         (gst_dp_header_from_buffer):
20976         * libs/gst/dataprotocol/dataprotocol.h:
20977         * libs/gst/dataprotocol/dp-private.h:
20978
20979 2005-05-15  David Schleef  <ds@schleef.org>
20980
20981         * gst/elements/gstelements.c: Don't include headers that were
20982         just removed.
20983
20984 2005-05-15  David Schleef  <ds@schleef.org>
20985
20986         * gst/elements/Makefile.am: Remove some elements that don't
20987         need to be in the core (or even exist at all).
20988         * gst/elements/gstaggregator.c:
20989         * gst/elements/gstaggregator.h:
20990         * gst/elements/gstmd5sink.c:
20991         * gst/elements/gstmd5sink.h:
20992         * gst/elements/gstmultifilesrc.c:
20993         * gst/elements/gstmultifilesrc.h:
20994         * gst/elements/gstpipefilter.c:
20995         * gst/elements/gstpipefilter.h:
20996         * gst/elements/gstshaper.c:
20997         * gst/elements/gstshaper.h:
20998         * gst/elements/gststatistics.c:
20999         * gst/elements/gststatistics.h:
21000         * po/POTFILES.in: Remove above files.
21001
21002 2005-05-14  Andy Wingo  <wingo@pobox.com>
21003
21004         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
21005         so as to get the refs right.
21006         (sink_iterator_filter): New function, wraps bin_element_is_sink,
21007         unreffing objects that don't pass the filter.
21008
21009         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
21010         gst_element_set_bus.
21011         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
21012         normal cases, this will destroy the bus.
21013
21014         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
21015         object.
21016
21017         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
21018         has no sinks.
21019
21020 2005-05-13  Andy Wingo  <wingo@pobox.com>
21021
21022         * gst/gstutils.c (gst_element_link_pads): Instead of calling
21023         gst_pad_link, call pad_link_maybe_ghosting,
21024         (pad_link_maybe_ghosting): Links pads, making sure that the
21025         elements being linked are in the same bin.
21026         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
21027         Helpers for pad_link_maybe_ghosting.
21028
21029 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
21030
21031         * configure.ac:
21032           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
21033
21034 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
21035
21036         * docs/design/part-element-source.txt:
21037           Mention GstPushSrc
21038
21039 2005-05-12  Wim Taymans  <wim@fluendo.com>
21040
21041         * gst/base/gstbasesink.c: (gst_basesink_init),
21042         (gst_basesink_activate):
21043         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
21044         (gst_basesrc_is_seekable):
21045         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21046         (bin_element_is_sink), (gst_bin_change_state):
21047         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21048         * gst/gstelement.h:
21049         Identify sinks by their flag to avoid overly complicated
21050         checks (fow now).
21051         Do state changes even for elements not reachable from the
21052         sinks.
21053         BaseSink is a sink now :)
21054         Some more debugging info in the basesrc.
21055
21056
21057 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21058
21059         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
21060           Implement _query on a bin, similar to _send_event.
21061
21062 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
21063
21064         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
21065           Discont event offset format should be GST_FORMAT_BYTES,
21066           not GST_FORMAT_TIME.
21067
21068 2005-05-12  Wim Taymans  <wim@fluendo.com>
21069
21070         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
21071         Same fix as Ronald's but without the signal. 
21072
21073 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21074
21075         * gst/gstutils.c: (gst_element_query_position):
21076           No, an element is not a pad.
21077
21078 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21079
21080         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
21081         (gst_bin_get_state):
21082           If a child is removed from a bin while we remove the child from
21083           the bin and while we're retrieving its state, signal this to the
21084           get_state function so we abort the wait (instead of waiting for
21085           a timeout) and can immediately re-iterate over all other elements.
21086
21087 2005-05-12  Wim Taymans  <wim@fluendo.com>
21088
21089         * gst/base/Makefile.am:
21090         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
21091         (gst_basesrc_start):
21092         * gst/base/gstbasesrc.h:
21093         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
21094         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
21095         (gst_pushsrc_init), (gst_pushsrc_create):
21096         * gst/base/gstpushsrc.h:
21097         Added is_seekable to BaseSrc
21098         Added simple PushSrc.
21099
21100 2005-05-11  Wim Taymans  <wim@fluendo.com>
21101
21102         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21103         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21104         (gst_element_link_pads), (gst_element_query_position),
21105         (gst_element_query_convert), (intersect_caps_func),
21106         (gst_pad_query_position), (gst_pad_query_convert):
21107         Fix refcounting in utils function.
21108         No point in trying to activate a pad when it's added, it could
21109         be added from the state change function and then we deadlock, the
21110         element has to decide what to do.
21111
21112 2005-05-10  Andy Wingo  <wingo@pobox.com>
21113
21114         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
21115         *all* the arguments.
21116
21117         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
21118         stream lock if it's a FLUSH_DONE; normal flushes don't get the
21119         lock (according to the docs -- if this is wrong change the docs).
21120
21121         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
21122         flush messages in the NULL state.
21123
21124         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
21125         message immediately and return.
21126         (gst_bus_set_flushing): New function. If a bus is flushing, it
21127         flushes out any queued messages and immediately unrefs new
21128         messages. This is so when an element goes to NULL, all of the
21129         unhandled messages coming from it can be freed, and their
21130         references to the element dropped. In other words: message source
21131         ref considered harmful :P
21132
21133         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
21134         we're finished with it.
21135
21136         * gst/gstmessage.c (gst_message_new_state_changed): 
21137
21138 2005-05-10  Wim Taymans  <wim@fluendo.com>
21139
21140         * gst/gstvalue.c: (gst_value_compare_flags),
21141         (gst_value_serialize_flags), (gst_value_deserialize_flags),
21142         (_gst_value_initialize):
21143         Added flags serialize/deserialize/compare code.
21144
21145 2005-05-09  Andy Wingo  <wingo@pobox.com>
21146
21147         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
21148         Intersect the peer's caps with our caps.
21149
21150 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21151
21152         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21153         * gst/elements/gsttypefindelement.c: (find_peek):
21154           Handle negative offsets better. Fixes decodebin.
21155
21156 2005-05-09  Wim Taymans  <wim@fluendo.com>
21157
21158         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
21159         (gst_base_transform_event):
21160         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
21161         Implement accept_caps.
21162         Fix silly lock/unlock mismatch in base class.
21163
21164 2005-05-09  Wim Taymans  <wim@fluendo.com>
21165
21166         * docs/design/draft-push-pull.txt:
21167         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
21168         * gst/elements/gstfilesink.c: (gst_filesink_init),
21169         (gst_filesink_query):
21170         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21171         (gst_type_find_handle_src_query), (find_element_get_length):
21172         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
21173         * gst/gstelement.h:
21174         * gst/gstmessage.c:
21175         * gst/gstmessage.h:
21176         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
21177         (gst_real_pad_get_caps_unlocked),
21178         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
21179         (gst_pad_event_default_dispatch), (gst_pad_event_default),
21180         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
21181         (gst_real_pad_dispose), (gst_real_pad_finalize),
21182         (gst_pad_load_and_link), (gst_pad_save_thyself),
21183         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
21184         (gst_pad_check_pull_range), (gst_pad_pull_range),
21185         (gst_pad_template_get_type), (gst_pad_template_class_init),
21186         (gst_pad_template_init), (gst_pad_template_dispose),
21187         (name_is_valid), (gst_static_pad_template_get),
21188         (gst_pad_template_new), (gst_static_pad_template_get_caps),
21189         (gst_pad_template_get_caps), (gst_pad_set_element_private),
21190         (gst_pad_get_element_private), (gst_pad_start_task),
21191         (gst_pad_pause_task), (gst_pad_stop_task),
21192         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
21193         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
21194         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
21195         (gst_ghost_pad_new):
21196         * gst/gstpad.h:
21197         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
21198         (gst_query_new_position), (gst_query_set_position),
21199         (gst_query_parse_position), (gst_query_new_convert),
21200         (gst_query_set_convert), (gst_query_parse_convert):
21201         * gst/gstquery.h:
21202         * gst/gstqueryutils.c:
21203         * gst/gstqueryutils.h:
21204         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21205         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21206         (gst_queue_handle_src_query):
21207         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21208         (gst_element_query_position), (gst_element_query_convert),
21209         (intersect_caps_func), (gst_pad_query_position),
21210         (gst_pad_query_convert):
21211         * gst/gstutils.h:
21212         * tools/gst-inspect.c: (print_pad_info):
21213         * tools/gst-xmlinspect.c: (print_element_info):
21214         Remove old query functions. Ported old code.
21215         Added position/convert helper functions to gstutils.
21216         Reordered gstpad.c code, grouping relevant things.
21217         Remove gst_message_new(), always need to speficy a specific
21218         message.
21219
21220
21221 2005-05-09  Andy Wingo  <wingo@pobox.com>
21222
21223         * gst/gstiterator.h: Add some includes.
21224
21225         * gst/gstqueryutils.h: Include more headers.
21226
21227         * gst/gstpad.h:
21228         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
21229         some uses of gst_pad_query.
21230
21231         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
21232         NULL out parameters.
21233         (gst_query_new_position): New proc, allocates a new position
21234         query.
21235
21236         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
21237         gstqueryutils.c to the build.
21238
21239         * gst/gststructure.c (gst_structure_set_valist): Implement with
21240         the generic G_VALUE_COLLECT.
21241         
21242 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
21243
21244         * gst/Makefile.am: (gst_headers):
21245         Added gstqueryutils.h to the list of headers to install, that was
21246         a 'nachty' move wingo :)
21247
21248 2005-05-06  Andy Wingo  <wingo@pobox.com>
21249
21250         * gst/gstquery.h
21251         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
21252         GstData, init a memchunk.
21253         (standard_definitions): Add a few query types, deprecate a few.
21254         (gst_query_get_type): New proc.
21255         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
21256         implementation.
21257         (gst_query_new_application, gst_query_get_structure): New public
21258         procs.
21259
21260         * docs/design/draft-query.txt: Removed LINKS from the query types,
21261         because all the rest can be dispatched to other pads -- seemed
21262         ugly to have a query that couldn't be dispatched. internal_links
21263         is fine as a pad method.
21264
21265         * gst/gstpad.h: Add query2 as a pad method, add the new functions
21266         in gstpad.c, but maintain binary compatibility for the moment.
21267         Will fix before 0.9 is out.
21268
21269         * gst/gstqueryutils.c: 
21270         * gst/gstqueryutils.h: New files, implement 3 methods for each
21271         query type: parse_query, parse_response, and set. Probably need an
21272         allocator as well.
21273
21274         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
21275
21276         * gst/elements/gstfilesink.c (gst_filesink_query2):
21277         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
21278         query_types, and formats methods.
21279
21280         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
21281         (gst_pad_set_query2_function): New functions.
21282         (gst_real_pad_init): Set query2_default as the default query2
21283         function. Basically just dispatches to internally linked pads.
21284
21285         Needs review!
21286         
21287         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
21288         without using the atomic operations. Only one thread can possibly
21289         be accessing the data at this point. Changed so as to avoid
21290         gst_atomic operations.
21291
21292 2005-05-06  Wim Taymans  <wim@fluendo.com>
21293
21294         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
21295         Also set caps if we use the fallback buffer alloc.
21296
21297 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
21298
21299         * docs/gst/Makefile.am:
21300         * docs/gst/gstreamer-docs.sgml:
21301         * docs/gst/gstreamer-sections.txt:
21302         * docs/gst/tmpl/gstatomic.sgml:
21303         * docs/gst/tmpl/gstmemchunk.sgml:
21304         * testsuite/elements/struct_i386.h:
21305         * win32/GStreamer.vcproj:
21306         * win32/Makefile:
21307           Purge GstAtomic stuff from docs and win32 makefiles as well
21308
21309 2005-05-06  Wim Taymans  <wim@fluendo.com>
21310
21311         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
21312         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
21313         * gst/gstpad.c: (gst_pad_peer_get_caps):
21314         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21315         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21316         (gst_queue_src_activate), (gst_queue_change_state):
21317         * gst/gstqueue.h:
21318         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21319         (intersect_caps_func):
21320         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
21321         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
21322         Some fixes for the peer_get_caps() change.
21323
21324 2005-05-06  Wim Taymans  <wim@fluendo.com>
21325
21326         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21327         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
21328         (gst_basesink_activate):
21329         Actually do something with error codes returned from the push
21330         functions.
21331
21332 2005-05-06  Wim Taymans  <wim@fluendo.com>
21333
21334         * docs/design/part-element-sink.txt:
21335         * docs/design/part-element-source.txt:
21336         * gst/base/gstbasesink.c: (gst_basesink_class_init),
21337         (gst_basesink_event), (gst_basesink_activate):
21338         * gst/base/gstbasesink.h:
21339         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
21340         (gst_basesrc_activate):
21341         * gst/base/gstbasesrc.h:
21342         * gst/gstelement.c: (gst_element_pads_activate):
21343         Some more documentation.
21344         Fixed scheduling decision in _pads_activate().
21345
21346 2005-05-05  Andy Wingo  <wingo@pobox.com>
21347
21348         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
21349         the test suite.
21350
21351 2005-05-05  Wim Taymans  <wim@fluendo.com>
21352
21353         * gst/base/Makefile.am:
21354         * gst/base/gstbasesink.h:
21355         * gst/base/gstbasesrc.c: (gst_basesrc_init),
21356         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
21357         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
21358         (gst_collectpads_class_init), (gst_collectpads_init),
21359         (gst_collectpads_finalize), (gst_collectpads_new),
21360         (gst_collectpads_set_function), (gst_collectpads_add_pad),
21361         (find_pad), (gst_collectpads_remove_pad),
21362         (gst_collectpads_is_active), (gst_collectpads_collect),
21363         (gst_collectpads_collect_range), (gst_collectpads_start),
21364         (gst_collectpads_stop), (gst_collectpads_peek),
21365         (gst_collectpads_pop), (gst_collectpads_available),
21366         (gst_collectpads_read), (gst_collectpads_flush),
21367         (gst_collectpads_chain):
21368         * gst/base/gstcollectpads.h:
21369         * gst/elements/Makefile.am:
21370         * gst/elements/gstelements.c:
21371         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21372         (gst_fakesink_get_times), (gst_fakesink_event),
21373         (gst_fakesink_preroll), (gst_fakesink_render):
21374         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21375         (gst_filesink_init), (gst_filesink_set_location),
21376         (gst_filesink_open_file), (gst_filesink_close_file),
21377         (gst_filesink_pad_query), (gst_filesink_event),
21378         (gst_filesink_render), (gst_filesink_change_state):
21379         * gst/elements/gstfilesink.h:
21380         Added object to help in making collect pad based elements.
21381         Ported filesink.
21382         Make event function in sink baseclass return gboolean.
21383
21384 2005-05-05  Wim Taymans  <wim@fluendo.com>
21385
21386         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
21387         (gst_bin_get_by_name):
21388         * gst/gstbuffer.h:
21389         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
21390         (gst_clock_finalize):
21391         * gst/gstdata.c: (gst_data_replace):
21392         * gst/gstdata.h:
21393         * gst/gstelement.c: (gst_element_request_pad),
21394         (gst_element_pads_activate):
21395         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
21396         (gst_object_unref):
21397         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21398         (gst_pad_set_checkgetrange_function),
21399         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
21400         (gst_pad_check_pull_range), (gst_pad_pull_range),
21401         (gst_static_pad_template_get_caps), (gst_pad_start_task),
21402         (gst_pad_pause_task), (gst_pad_stop_task):
21403         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21404         (gst_element_request_pad), (gst_pad_proxy_getcaps):
21405         Fix name lookup in GstBin.
21406         Added _data_replace() function and _buffer_replace()
21407         Use finalize method to clean up clock.
21408         Fix refcounting on request pads.
21409         Fix pad schedule mode error.
21410         Some more object refcounting debug info,
21411
21412
21413 2005-05-04  Andy Wingo <wingo@pobox.com>
21414
21415         * check/Makefile.am:
21416         * docs/gst/tmpl/gstatomic.sgml:
21417         * docs/gst/tmpl/gstplugin.sgml:
21418         * gst/base/gstbasesink.c: (gst_basesink_activate):
21419         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
21420         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
21421         (gst_basesrc_query), (gst_basesrc_set_property),
21422         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
21423         (gst_basesrc_activate):
21424         * gst/base/gstbasesrc.h:
21425         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
21426         (gst_base_transform_src_activate):
21427         * gst/elements/gstelements.c:
21428         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21429         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21430         * gst/elements/gsttee.c: (gst_tee_sink_activate):
21431         * gst/elements/gsttypefindelement.c: (find_element_get_length),
21432         (gst_type_find_element_checkgetrange),
21433         (gst_type_find_element_activate):
21434         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
21435         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
21436         (gst_caps_load_thyself):
21437         * gst/gstelement.c: (gst_element_pads_activate),
21438         (gst_element_save_thyself), (gst_element_restore_thyself):
21439         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
21440         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
21441         * gst/gstpad.h:
21442         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
21443         (gst_xml_parse_file), (gst_xml_parse_memory),
21444         (gst_xml_get_element), (gst_xml_make_element):
21445         * gst/indexers/gstfileindex.c: (gst_file_index_load),
21446         (_file_index_id_save_xml), (gst_file_index_commit):
21447         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
21448         (read_enum), (load_pad_template), (load_feature), (load_plugin),
21449         (load_paths):
21450         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
21451         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
21452         * tools/gst-complete.c: (main):
21453         * tools/gst-compprep.c: (main):
21454         * tools/gst-inspect.c: (print_element_properties_info):
21455         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
21456         * tools/gst-xmlinspect.c: (print_element_properties):
21457         GCC 4 fixen.
21458         
21459 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21460
21461         * gst/gstplugin.c: (gst_plugin_check_module),
21462         (gst_plugin_check_file), (gst_plugin_load_file):
21463             apply patch from #172526 to make register work on MacOSX
21464
21465 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21466
21467         * docs/gst/tmpl/gstconfig.sgml:
21468         * gst/gstconfig.h.in:
21469           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
21470         * testsuite/debug/printf_extension.c: (main):
21471           Do not use GST_PTR_FORMAT on pointers to types with
21472           sizeof < sizeof(gpointer).  Fixes test on 64-bit
21473         * testsuite/elements/property.h:
21474           use correct printf format
21475
21476 2005-05-02  Wim Taymans  <wim@fluendo.com>
21477
21478         * docs/design/draft-push-pull.txt:
21479         * docs/design/draft-query.txt:
21480         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
21481         (gst_basesrc_start):
21482         Added draft for new query API.
21483         Added draft for better selecting scheduling methods.
21484         Make basesrc ignore length if the subclass does not support
21485         it.
21486
21487 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21488
21489         * gst/Makefile.am:
21490           possible fixes for automake-1.5 - _LIBADD is reserved
21491
21492 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21493
21494         * docs/faq/Makefile.am:
21495         * docs/manual/Makefile.am:
21496         * docs/manuals.mak:
21497         * docs/pwg/Makefile.am:
21498         * gst/Makefile.am:
21499           possible fixes for automake-1.5
21500
21501 2005-04-28  Wim Taymans  <wim@fluendo.com>
21502
21503         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21504         (gst_basesink_pad_getcaps), (gst_basesink_init),
21505         (gst_basesink_do_sync):
21506         * gst/gstclock.c: (gst_clock_entry_new):
21507         * gst/gstevent.c: (gst_event_discont_get_value):
21508         * gst/gstpipeline.c: (pipeline_bus_handler),
21509         (gst_pipeline_change_state):
21510         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
21511         Better debugging of clocking info.
21512         Allow NULL values when getting discont values.
21513
21514 2005-04-27  Wim Taymans  <wim@fluendo.com>
21515
21516         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
21517         * check/gst/gstpad.c: (gst_pad_suite):
21518         Increase timeout for checks.
21519
21520 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
21521
21522         * check/Makefile.am:
21523           fix the broken rule for cleanup.  Apparently this rule is
21524           only needed on FC2, so maybe this warrants further autotool
21525           inspection.
21526
21527 2005-04-26  Wim Taymans  <wim@fluendo.com>
21528
21529         * gst/gsttrashstack.h:
21530         Ooohh. a nasty one! After having a failed pop() from the stack,
21531         it's possible that the stack is empty. In that case, don't
21532         follow the NULL pointer.
21533
21534 2005-04-25  Wim Taymans  <wim@fluendo.com>
21535
21536         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21537         (gst_pad_set_checkgetrange_function),
21538         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
21539         (gst_pad_check_pull_range), (gst_pad_pull_range),
21540         (gst_static_pad_template_get_caps), (gst_pad_start_task),
21541         (gst_pad_pause_task), (gst_pad_stop_task):
21542         * gst/gstplugin.c: (gst_plugin_load):
21543         * gst/gstplugin.h:
21544         Remove gst_library_load as it does more harm than good with
21545         the new g_module flags.
21546         Revert bogus caps template check in pad linking, pad caps
21547         are important when linking not the template, which is more
21548         general than the current caps.
21549
21550 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21551
21552         * gst/autoplug/.cvsignore:
21553         * gst/autoplug/Makefile.am:
21554         * gst/autoplug/gstsearchfuncs.c:
21555         * gst/autoplug/gstsearchfuncs.h:
21556         * gst/autoplug/gstspider.c:
21557         * gst/autoplug/gstspider.h:
21558         * gst/autoplug/gstspideridentity.c:
21559         * gst/autoplug/gstspideridentity.h:
21560         * gst/autoplug/spidertest.c:
21561           Die, spider, die.
21562
21563 2005-04-25  Wim Taymans  <wim@fluendo.com>
21564
21565         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21566         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21567         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
21568         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
21569         * gst/gstpad.h:
21570         Added stubs for unimplemented functions. 
21571
21572 2005-04-24  David Schleef  <ds@schleef.org>
21573
21574         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
21575         please fix.
21576
21577 2005-04-24  David Schleef  <ds@schleef.org>
21578
21579         Convert everything from GstAtomicInt to g_atomic_int_*, and
21580         remove gstatomic.
21581         * gst/Makefile.am:
21582         * gst/gstatomic.c:
21583         * gst/gstatomic.h:
21584         * gst/gstatomic_impl.h:
21585         * gst/gstbuffer.c:
21586         * gst/gstcaps.c:
21587         * gst/gstcaps.h:
21588         * gst/gstclock.c:
21589         * gst/gstclock.h:
21590         * gst/gstdata.c:
21591         * gst/gstdata.h:
21592         * gst/gstdata_private.h:
21593         * gst/gstevent.c:
21594         * gst/gstinfo.c:
21595         * gst/gstinfo.h:
21596         * gst/gstmessage.c:
21597         * gst/gstobject.c:
21598         * gst/gstobject.h:
21599         * gst/gststructure.c:
21600         * gst/gststructure.h:
21601         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
21602         * gst/gstutils.h:
21603
21604 2005-04-24  David Schleef  <ds@schleef.org>
21605
21606         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
21607         make the regressions tests work.  Remove some code that is no
21608         longer true.
21609         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
21610         Disable warning for pads without templates.
21611
21612 2005-04-24  David Schleef  <ds@schleef.org>
21613
21614         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
21615         functions that handle filtered links.
21616         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
21617         removed functions.
21618         * gst/gstutils.c: Fix/remove utility functions that handle
21619         filtered caps.
21620         * gst/gstutils.h:
21621         * gst/gstvalue.c: Add serialization/deserialization of caps
21622         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
21623         requires fixing so that the filter caps notation creates
21624         a capsfilter element and sets the filter_caps property.  I
21625         think everyone probably wants to keep the shorthand notation.
21626         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
21627         * docs/gst/tmpl/gstpad.sgml:
21628
21629         * gst/elements/gstelements.c: Register capsfilter element.
21630         * gst/Makefile.am: fix spacing
21631         * docs/random/ds/0.9-suggested-changes: random
21632
21633 2005-04-23  David Schleef  <ds@schleef.org>
21634
21635         * gst/elements/Makefile.am:
21636         * gst/elements/gstcapsfilter.c: New element that acts like an
21637         identity, but filters caps.  Will eventually replace filtered
21638         caps in pad linking.
21639         * gst/gstutils.c: (gst_element_create_all_pads): New function
21640         to create all the ALWAYS pads that are registered with an
21641         element class.  This functionality should eventually be
21642         merged in with GstElement initialization.
21643         * gst/gstutils.h:
21644         * testsuite/trigger/README: part of trigger test code that should
21645         have been checked in a long time ago.
21646
21647 2005-04-23  David Schleef  <ds@schleef.org>
21648
21649         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
21650         needed with new versions of libtool (nobody will confirm this),
21651         and hard to carry around.
21652         * gst/autoplug/Makefile.am:
21653         * gst/base/Makefile.am:
21654         * gst/elements/Makefile.am:
21655         * gst/indexers/Makefile.am:
21656         * gst/schedulers/Makefile.am:
21657         * libs/gst/bytestream/Makefile.am:
21658         * libs/gst/control/Makefile.am:
21659         * libs/gst/dataprotocol/Makefile.am:
21660         * libs/gst/getbits/Makefile.am:
21661
21662 2005-04-21  Wim Taymans  <wim@fluendo.com>
21663
21664         * docs/design/draft-push-pull.txt:
21665         * docs/design/part-MT-refcounting.txt:
21666         * docs/design/part-TODO.txt:
21667         * docs/design/part-caps.txt:
21668         * docs/design/part-events.txt:
21669         * docs/design/part-gstbus.txt:
21670         * docs/design/part-gstpipeline.txt:
21671         * docs/design/part-messages.txt:
21672         * docs/design/part-push-pull.txt:
21673         * docs/design/part-query.txt:
21674         Some more docs.
21675
21676 2005-04-21  Wim Taymans  <wim@fluendo.com>
21677
21678         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
21679         (gst_message_new), (gst_message_new_error),
21680         (gst_message_new_warning), (gst_message_new_tag),
21681         (gst_message_new_state_changed), (gst_message_new_application),
21682         (gst_message_get_structure):
21683         * gst/gstmessage.h:
21684         * gst/gststructure.c: (gst_structure_set_parent_refcount),
21685         (gst_structure_copy_conditional):
21686         Use parent refcount in GstMessage to ensure GstStructure
21687         consistency.
21688         Cleaned up headers a bit.
21689         
21690
21691 2005-04-20  Wim Taymans  <wim@fluendo.com>
21692
21693         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21694         (gst_basesink_pad_getcaps), (gst_basesink_init),
21695         (gst_basesink_chain_unlocked):
21696         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
21697         (gst_type_find_helper):
21698         * gst/elements/gsttypefindelement.c:
21699         (gst_type_find_element_have_type), (gst_type_find_element_init),
21700         (stop_typefinding), (gst_type_find_element_handle_event),
21701         (find_suggest), (gst_type_find_element_chain),
21702         (gst_type_find_element_checkgetrange),
21703         (gst_type_find_element_getrange), (do_typefind),
21704         (gst_type_find_element_activate):
21705         * gst/gstbuffer.c: (_gst_buffer_sub_free),
21706         (gst_buffer_default_free), (gst_buffer_default_copy),
21707         (gst_buffer_set_caps):
21708         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
21709         (gst_caps_replace):
21710         * gst/gstmessage.c: (gst_message_new),
21711         (gst_message_new_state_changed):
21712         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21713         (gst_pad_set_checkgetrange_function),
21714         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
21715         (gst_pad_set_caps), (gst_pad_check_pull_range),
21716         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
21717         * gst/gstpad.h:
21718         * gst/gsttypefind.c: (gst_type_find_register):
21719         Make gst_caps_replace() work like other _replace() functions.
21720         Use _caps_replace() where possible.
21721         Make sure _message_new() initialises its field.
21722         Add gst_static_pad_template_get_caps()
21723
21724
21725 2005-04-18  Andy Wingo  <wingo@pobox.com>
21726
21727         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
21728         on the peer, not the pad. I think that was a typo. Pass an extra
21729         arg to see if random access is possible. Activate the pads as
21730         PULL_RANGE if possible.
21731
21732         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
21733
21734         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
21735         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
21736         to PROP_....
21737
21738 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21739
21740         * docs/faq/using.xml:
21741           Add note on gstreamer-properties (#154996).
21742
21743 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21744
21745         * docs/random/bbb/optional-properties:
21746           Some analysis on optional properties.
21747
21748 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21749
21750         * docs/gst/tmpl/gstelementfactory.sgml:
21751         * gst/gstelement.h:
21752         * gst/gstelementfactory.c: (gst_element_factory_init),
21753         (gst_element_factory_cleanup), (gst_element_register),
21754         (__gst_element_factory_add_static_pad_template),
21755         (gst_element_factory_get_static_pad_templates),
21756         (gst_element_factory_can_src_caps),
21757         (gst_element_factory_can_sink_caps):
21758         * gst/registries/Makefile.am:
21759         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
21760         (gst_xml_registry_class_init), (gst_xml_registry_init),
21761         (gst_xml_registry_new), (gst_xml_registry_set_property),
21762         (gst_xml_registry_get_property), (get_time), (make_dir),
21763         (gst_xml_registry_get_perms_func),
21764         (plugin_times_older_than_recurse), (plugin_times_older_than),
21765         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
21766         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
21767         (add_to_char_array), (read_string), (read_uint), (read_enum),
21768         (load_pad_template), (load_feature), (load_plugin), (load_paths),
21769         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
21770         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
21771         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
21772         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
21773         (gst_xml_registry_rebuild):
21774         * gst/registries/gstlibxmlregistry.h:
21775         * tools/gst-compprep.c: (main):
21776         * tools/gst-inspect.c: (print_pad_templates_info):
21777         * tools/gst-xmlinspect.c: (print_element_info):
21778           Use libxml2 for registry parsing, use staticpadtemplates in
21779           elementfactories. Makes gst_init() +/- 10x faster.
21780
21781 2005-04-12  Wim Taymans  <wim@fluendo.com>
21782
21783         * gst/base/Makefile.am:
21784         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21785         (gst_basesink_pad_getcaps), (gst_basesink_init),
21786         (gst_basesink_event), (gst_basesink_change_state):
21787         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21788         (gst_basesrc_init), (gst_basesrc_query),
21789         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21790         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21791         (gst_basesrc_check_get_range), (gst_basesrc_loop),
21792         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21793         (gst_basesrc_stop), (gst_basesrc_activate),
21794         (gst_basesrc_change_state):
21795         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21796         (helper_find_suggest), (gst_type_find_helper):
21797         * gst/base/gsttypefindhelper.h:
21798         * gst/elements/Makefile.am:
21799         * gst/elements/gstelements.c:
21800         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21801         (gst_fakesink_get_times), (gst_fakesink_event),
21802         (gst_fakesink_preroll), (gst_fakesink_render):
21803         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21804         (gst_fakesrc_init), (gst_fakesrc_event_handler),
21805         (gst_fakesrc_get_property), (gst_fakesrc_create),
21806         (gst_fakesrc_start), (gst_fakesrc_stop):
21807         * gst/elements/gstfakesrc.h:
21808         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
21809         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21810         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21811         (gst_filesrc_create_read), (gst_filesrc_create),
21812         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
21813         (gst_filesrc_start):
21814         * gst/elements/gsttypefindelement.c:
21815         (gst_type_find_element_have_type), (gst_type_find_element_init),
21816         (start_typefinding), (stop_typefinding), (push_buffer_store),
21817         (gst_type_find_element_handle_event),
21818         (gst_type_find_element_chain),
21819         (gst_type_find_element_checkgetrange),
21820         (gst_type_find_element_getrange), (do_typefind),
21821         (gst_type_find_element_activate),
21822         (gst_type_find_element_change_state):
21823         * gst/elements/gsttypefindelement.h:
21824         * gst/gstpipeline.c: (pipeline_bus_handler):
21825         Added typefind helper.
21826         Small preroll fix in the base sink.
21827         Disable typefind code in basesrc.
21828         Crude port of typefindelement.
21829         Fakesrc cleanups.
21830
21831
21832 2005-04-11  Wim Taymans  <wim@fluendo.com>
21833
21834         * check/gst/gstbus.c: (gstbus_suite):
21835         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
21836         * check/gstcheck.h:
21837           Fix up the timeout so that the test does not fail.
21838
21839 2005-04-06  Wim Taymans  <wim@fluendo.com>
21840
21841         * gst/base/README:
21842         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21843         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
21844         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21845         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21846         (gst_basesrc_check_get_range), (gst_basesrc_loop),
21847         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21848         (gst_basesrc_stop), (gst_basesrc_activate),
21849         (gst_basesrc_change_state), (basesrc_find_peek),
21850         (basesrc_find_suggest), (gst_basesrc_type_find):
21851         * gst/base/gstbasesrc.h:
21852         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
21853         (gst_filesrc_class_init), (gst_filesrc_init),
21854         (gst_filesrc_finalize), (gst_filesrc_set_location),
21855         (gst_filesrc_set_property), (gst_filesrc_get_property),
21856         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21857         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21858         (gst_filesrc_create_read), (gst_filesrc_create),
21859         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
21860         * gst/elements/gstfilesrc.h:
21861         * gst/gstelement.c: (gst_element_get_state_func),
21862         (gst_element_lost_state), (gst_element_pads_activate):
21863         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21864         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21865         (gst_pad_pull_range):
21866         * gst/gstpad.h:
21867         More work on the generic source base class, implement seeking,
21868         query.
21869         Make filesrc extend the base source class.
21870         Added gst_pad_set_checkgetrange_function to GstPad.
21871
21872 2005-04-06  Andy Wingo  <wingo@pobox.com>
21873
21874         * pkgconfig/gstreamer-base.pc.in:
21875         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
21876
21877         * pkgconfig/Makefile.am:
21878         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
21879
21880 2005-04-04  Wim Taymans  <wim@fluendo.com>
21881
21882         * gst/base/Makefile.am:
21883         * gst/base/README:
21884         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21885         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
21886         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
21887         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
21888         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21889         (gst_basesrc_base_init), (gst_basesrc_class_init),
21890         (gst_basesrc_init), (gst_basesrc_get_formats),
21891         (gst_basesrc_get_query_types), (gst_basesrc_query),
21892         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
21893         (gst_basesrc_set_property), (gst_basesrc_get_property),
21894         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
21895         (gst_basesrc_loop), (gst_basesrc_activate),
21896         (gst_basesrc_change_state):
21897         * gst/base/gstbasesrc.h:
21898         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
21899         (gst_fakesrc_class_init), (gst_fakesrc_init),
21900         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
21901         (gst_fakesrc_get_property), (gst_fakesrc_create):
21902         * gst/elements/gstfakesrc.h:
21903         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
21904         (gst_filesrc_open_file), (gst_filesrc_loop),
21905         (gst_filesrc_activate), (filesrc_find_peek),
21906         (gst_filesrc_type_find):
21907         Made base source class, make fakesrc extend it.
21908         Add comments to basesink class.
21909         Some filesrc cleanup.
21910
21911 2005-03-31  David Schleef  <ds@schleef.org>
21912
21913         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
21914         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
21915         expected to link against libgstreamer.
21916         * gst/base/Makefile.am: link against libgstreamer
21917         * gst/elements/Makefile.am: same
21918
21919 2005-03-31  Andy Wingo  <wingo@pobox.com>
21920
21921         * tests/instantiate/Makefile.am:
21922         * tests/instantiate/caps.c: Add test to test speed of caps copy
21923         and free.
21924
21925         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
21926         GMemChunk to be fair.
21927
21928         * gst/gsttrashstack.h: Remove warning about using the fallback
21929         trash stack implementation, it's still faster than malloc.
21930
21931 2005-03-30  Andy Wingo  <wingo@pobox.com>
21932
21933         * tests/complexity.c: Add a copyright.
21934
21935 2005-03-31  Wim Taymans  <wim@fluendo.com>
21936
21937         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
21938         (gst_base_transform_class_init), (gst_base_transform_init),
21939         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
21940         (gst_base_transform_get_property),
21941         (gst_base_transform_sink_activate),
21942         (gst_base_transform_src_activate),
21943         (gst_base_transform_change_state):
21944         * gst/base/gstbasetransform.h:
21945         * gst/elements/gstidentity.c: (gst_identity_class_init),
21946         (gst_identity_event), (gst_identity_check_perfect),
21947         (gst_identity_transform), (gst_identity_start),
21948         (gst_identity_stop):
21949         Added start/stop methods to transform base class so subclasses 
21950         don't need to deal with state changes even.
21951
21952 2005-03-31  Wim Taymans  <wim@fluendo.com>
21953
21954         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
21955         (gst_event_new_discontinuous), (gst_event_discont_get_value):
21956         * gst/gstevent.h:
21957         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21958         (gst_pad_pull_range):
21959         Added rate to the discont event to prepare for variable speed
21960         and reverse playback.
21961
21962 2005-03-29  David Schleef  <ds@schleef.org>
21963
21964         * configure.ac:
21965         * testsuite/trigger/Makefile.am:
21966         * testsuite/trigger/trigger.c: A little example program to show
21967         how trigger-based elements can work.
21968
21969 2005-03-29  Wim Taymans  <wim@fluendo.com>
21970
21971         * gst/base/Makefile.am:
21972         * gst/base/README:
21973         * gst/base/gstbasesink.c: (gst_basesink_get_type),
21974         (gst_basesink_base_init), (gst_basesink_class_init),
21975         (gst_basesink_pad_getcaps), (gst_basesink_init),
21976         (gst_basesink_activate), (gst_basesink_change_state):
21977         * gst/base/gstbasesink.h:
21978         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
21979         (gst_base_transform_base_init), (gst_base_transform_finalize),
21980         (gst_base_transform_class_init), (gst_base_transform_init),
21981         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
21982         (gst_base_transform_event), (gst_base_transform_getrange),
21983         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
21984         (gst_base_transform_set_property),
21985         (gst_base_transform_get_property),
21986         (gst_base_transform_sink_activate),
21987         (gst_base_transform_src_activate),
21988         (gst_base_transform_change_state):
21989         * gst/base/gstbasetransform.h:
21990         * gst/elements/gstidentity.c: (gst_identity_finalize),
21991         (gst_identity_class_init), (gst_identity_init),
21992         (gst_identity_event), (gst_identity_check_perfect),
21993         (gst_identity_transform), (gst_identity_set_property),
21994         (gst_identity_get_property), (gst_identity_change_state):
21995         * gst/elements/gstidentity.h:
21996         * gst/gstelement.c: (gst_element_get_state_func),
21997         (gst_element_lost_state), (gst_element_pads_activate):
21998         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21999         (gst_pad_check_pull_range), (gst_pad_pull_range):
22000         * gst/gstpad.h:
22001         Simplify pad activation.
22002         Added function to check if pull_range can be performed.
22003         Error out when pulling inactive or flushing pads.
22004         Removed const from refcounted types as it does not make sense.
22005         Simplify pad templates in basesink
22006         Added base class for simple 1-to-1 transforms.
22007         Make identity subclass the base transform.
22008
22009 2005-03-29  Andy Wingo  <wingo@pobox.com>
22010
22011         * docs/libs/gstreamer-libs-overrides.txt: 
22012         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
22013         really don't understand what's going on, but like whatever. I want
22014         green buildbot!
22015
22016         * docs/gst/Makefile.am:
22017         * docs/libs/Makefile.am: Dist the overrides files.
22018
22019         * check/Makefile.am (clean-local): Remove .libs directories.
22020
22021         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
22022         elements to EXTRA_DIST, so po/ files are happy.
22023
22024         * po/POTFILES.in: Er, remove it here.
22025
22026         * po/POTFILES: Remove gstspider.c.
22027
22028         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
22029
22030         * docs/libs/gstreamer-libs-docs.sgml: 
22031         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
22032         bytestream.
22033
22034         * tests/complexity.c (main): Set the length of the preroll queue
22035         on the sinks to prevent a lockup.
22036
22037         * libs/gst/dataprotocol/Makefile.am: 
22038         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
22039         the same as the one in check/gst-libs/gdp.c.
22040
22041         * po/, docs/gst/: Commit automatic changes to docs and po files.
22042
22043         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
22044         the versioned libgstbase.
22045
22046         * check/Makefile.am: Depend on an unversioned gst-register, seems
22047         to make autoconf happier.
22048
22049         * gst/base/Makefile.am: Make libgstbase a versioned lib.
22050
22051 2005-03-28  Wim Taymans  <wim@fluendo.com>
22052
22053         * configure.ac:
22054         * docs/design/part-gstelement.txt:
22055         * docs/design/part-negotiation.txt:
22056         * docs/design/part-preroll.txt:
22057         * docs/design/part-scheduling.txt:
22058         * docs/design/part-states.txt:
22059         * gst/Makefile.am:
22060         * gst/base/Makefile.am:
22061         * gst/base/README:
22062         * gst/base/gstbasesink.c: (gst_basesink_get_template),
22063         (gst_basesink_base_init), (gst_basesink_class_init),
22064         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22065         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22066         (gst_basesink_set_pad_functions),
22067         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
22068         (gst_basesink_set_property), (gst_basesink_get_property),
22069         (gst_base_sink_get_template), (gst_base_sink_get_caps),
22070         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
22071         (gst_basesink_preroll_queue_push),
22072         (gst_basesink_preroll_queue_empty),
22073         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
22074         (gst_basesink_event), (gst_basesink_get_times),
22075         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
22076         (gst_basesink_chain_unlocked), (gst_basesink_chain),
22077         (gst_basesink_loop), (gst_basesink_activate),
22078         (gst_basesink_change_state):
22079         * gst/base/gstbasesink.h:
22080         * gst/elements/Makefile.am:
22081         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
22082         (gst_fakesink_class_init), (gst_fakesink_init),
22083         (gst_fakesink_set_property), (gst_fakesink_get_property),
22084         (gst_fakesink_get_times), (gst_fakesink_event),
22085         (gst_fakesink_preroll), (gst_fakesink_render),
22086         (gst_fakesink_change_state):
22087         * gst/elements/gstfakesink.h:
22088         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22089         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
22090         * gst/gstelement.c: (gst_element_add_pad),
22091         (gst_element_get_state_func), (gst_element_abort_state),
22092         (gst_element_commit_state), (gst_element_lost_state),
22093         (gst_element_set_state), (gst_element_pads_activate):
22094         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
22095         * gst/gstpipeline.c: (gst_pipeline_send_event),
22096         (gst_pipeline_change_state):
22097         Added state change code.
22098         Added/updated docs.
22099         Added sink base class, make fakesink extend the base class.
22100         Small cleanups in GstPipeline.
22101
22102 2005-03-26  David Schleef  <ds@schleef.org>
22103
22104         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
22105         is broken and should be implemented in a different library.
22106         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
22107         * gst/gst.h: remove gstcpu.h
22108         * gst/gstcpu.c: remove
22109         * gst/gstcpu.h: remove
22110         * gst/Makefile.am.future: Remove this file.  It's ancient.
22111
22112 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22113
22114         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22115         (gst_bin_send_event):
22116           Add default event/set_manager handlers. The set_manager handler
22117           takes care that the manager is distributed over kids that were
22118           already in the bin before the manager was set. The event handler
22119           is a utility virtual function that sends the event over all sinks,
22120           so that gst_element_send_event (bin, event); has the expected
22121           behaviour.
22122         * gst/gstpad.c: (gst_pad_event_default):
22123           Re-install default event handling for discontinuities, so that
22124           seeking works without requiring hacks in applications or extra
22125           code in sinks.
22126         * gst/gstpipeline.c: (gst_pipeline_class_init),
22127         (gst_pipeline_send_event):
22128           Half hack, half utility: set a pipeline to PAUSED for seek events,
22129           since that is the only way we can guarantee a/v sync. Means that
22130           you can do gst_element_seek (pipeline, method, pos); on a pipeline
22131           and it "just works".
22132
22133 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22134
22135         * gst/gstpipeline.c: (gst_pipeline_use_clock):
22136           Lock/unlock mismatch.
22137
22138 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22139
22140         * docs/faq/gst-uninstalled:
22141           add gst-plugins-base
22142         * docs/gst/Makefile.am:
22143           don't error out until docs are fixed
22144         * docs/gst/gstreamer.types:
22145           remove thread
22146
22147 2005-03-22  Wim Taymans  <wim@fluendo.com>
22148
22149         * check/Makefile.am:
22150         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
22151         * gst/gststructure.c: (gst_structure_set_valist),
22152         (gst_structure_copy_conditional):
22153         Activated more tests.
22154         Added message test.
22155         Added G_TYPE_POINTER to GstStructure.
22156         
22157
22158 2005-03-22  Wim Taymans  <wim@fluendo.com>
22159
22160         * docs/design/part-TODO.txt:
22161         * docs/design/part-events.txt:
22162         * docs/design/part-gstbin.txt:
22163         * docs/design/part-gstbus.txt:
22164         * docs/design/part-gstpipeline.txt:
22165         * docs/design/part-messages.txt:
22166         * gst/gstbus.c:
22167         * gst/gstmessage.c:
22168         Docs updates
22169
22170 2005-03-21  Wim Taymans  <wim@fluendo.com>
22171
22172         * gst/gstbus.c: (gst_bus_post):
22173         Fix copy-and-paste error.
22174
22175 2005-03-21  Wim Taymans  <wim@fluendo.com>
22176
22177         * check/Makefile.am:
22178         * gst/Makefile.am:
22179         * gst/elements/Makefile.am:
22180         * gst/elements/gstelements.c:
22181         * gst/elements/gstfakesink.c: (gst_fakesink_init),
22182         (gst_fakesink_event), (gst_fakesink_chain):
22183         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22184         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
22185         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
22186         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
22187         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22188         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
22189         (gst_fakesrc_loop), (gst_fakesrc_activate),
22190         (gst_fakesrc_change_state):
22191         * gst/elements/gstfakesrc.h:
22192         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
22193         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
22194         (gst_filesrc_open_file), (gst_filesrc_loop),
22195         (gst_filesrc_activate), (gst_filesrc_change_state),
22196         (filesrc_find_peek), (filesrc_find_suggest),
22197         (gst_filesrc_type_find):
22198         * gst/elements/gstidentity.c: (gst_identity_finalize),
22199         (gst_identity_class_init), (gst_identity_init),
22200         (gst_identity_proxy_getcaps), (identity_queue_push),
22201         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
22202         (gst_identity_getrange), (gst_identity_chain),
22203         (gst_identity_sink_loop), (gst_identity_src_loop),
22204         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
22205         (gst_identity_set_property), (gst_identity_get_property),
22206         (gst_identity_change_state):
22207         * gst/elements/gstidentity.h:
22208         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
22209         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
22210         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
22211         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
22212         (gst_tee_sink_activate):
22213         * gst/elements/gsttee.h:
22214         * gst/gst.c: (gst_register_core_elements), (init_post):
22215         * gst/gst.h:
22216         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
22217         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
22218         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
22219         (gst_bin_change_state):
22220         * gst/gstbin.h:
22221         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
22222         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
22223         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
22224         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
22225         (gst_bus_set_sync_handler), (gst_bus_create_watch),
22226         (bus_watch_callback), (bus_watch_destroy),
22227         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
22228         (poll_timeout), (gst_bus_poll):
22229         * gst/gstbus.h:
22230         * gst/gstcaps.h:
22231         * gst/gstdata.h:
22232         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22233         (gst_element_post_message), (gst_element_message_full),
22234         (gst_element_get_state_func), (gst_element_get_state),
22235         (gst_element_abort_state), (gst_element_commit_state),
22236         (gst_element_lost_state), (gst_element_set_state),
22237         (gst_element_pads_activate), (gst_element_change_state),
22238         (gst_element_dispose), (gst_element_set_manager_func),
22239         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
22240         (gst_element_set_manager), (gst_element_get_manager),
22241         (gst_element_set_bus), (gst_element_get_bus),
22242         (gst_element_set_scheduler), (gst_element_get_scheduler):
22243         * gst/gstelement.h:
22244         * gst/gstevent.c: (gst_event_new_segment_seek),
22245         (gst_event_new_flush):
22246         * gst/gstevent.h:
22247         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
22248         (_gst_message_free), (gst_message_get_type), (gst_message_new),
22249         (gst_message_new_eos), (gst_message_new_error),
22250         (gst_message_new_warning), (gst_message_new_tag),
22251         (gst_message_new_state_changed), (gst_message_new_application),
22252         (gst_message_get_structure), (gst_message_parse_tag),
22253         (gst_message_parse_state_changed), (gst_message_parse_error),
22254         (gst_message_parse_warning):
22255         * gst/gstmessage.h:
22256         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
22257         (gst_real_pad_set_property), (gst_pad_set_active),
22258         (gst_pad_is_active), (gst_pad_set_blocked_async),
22259         (gst_pad_set_blocked), (gst_pad_is_blocked),
22260         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
22261         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
22262         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
22263         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
22264         (gst_pad_link_filtered), (gst_pad_relink_filtered),
22265         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
22266         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
22267         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
22268         (gst_pad_set_caps), (gst_pad_configure_sink),
22269         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
22270         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
22271         (gst_real_pad_dispose), (gst_real_pad_finalize),
22272         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
22273         (gst_pad_event_default_dispatch), (gst_pad_event_default),
22274         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
22275         * gst/gstpad.h:
22276         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
22277         (pipeline_bus_handler), (gst_pipeline_change_state),
22278         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
22279         * gst/gstpipeline.h:
22280         * gst/gstprobe.h:
22281         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22282         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
22283         (gst_queue_link_src), (gst_queue_bufferalloc),
22284         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
22285         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
22286         (gst_queue_loop), (gst_queue_handle_src_event),
22287         (gst_queue_handle_src_query), (gst_queue_src_activate),
22288         (gst_queue_change_state):
22289         * gst/gstqueue.h:
22290         * gst/gstscheduler.c: (gst_scheduler_init),
22291         (gst_scheduler_dispose), (gst_scheduler_create_task),
22292         (gst_scheduler_factory_create):
22293         * gst/gstscheduler.h:
22294         * gst/gststructure.c: (gst_structure_get_type),
22295         (gst_structure_copy_conditional):
22296         * gst/gststructure.h:
22297         * gst/gsttaginterface.h:
22298         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22299         (gst_task_init), (gst_task_dispose), (gst_task_create),
22300         (gst_task_get_state), (gst_task_start), (gst_task_stop),
22301         (gst_task_pause):
22302         * gst/gsttask.h:
22303         * gst/gstthread.c:
22304         * gst/gstthread.h:
22305         * gst/gsttypes.h:
22306         * gst/schedulers/Makefile.am:
22307         * gst/schedulers/cothreads_compat.h:
22308         * gst/schedulers/entryscheduler.c:
22309         * gst/schedulers/faircothreads.c:
22310         * gst/schedulers/faircothreads.h:
22311         * gst/schedulers/fairscheduler.c:
22312         * gst/schedulers/gstbasicscheduler.c:
22313         * gst/schedulers/gstoptimalscheduler.c:
22314         * gst/schedulers/gthread-cothreads.h:
22315         * gst/schedulers/threadscheduler.c:
22316         (gst_thread_scheduler_task_get_type),
22317         (gst_thread_scheduler_task_class_init),
22318         (gst_thread_scheduler_task_init),
22319         (gst_thread_scheduler_task_start),
22320         (gst_thread_scheduler_task_stop),
22321         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
22322         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22323         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
22324         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
22325         (plugin_init):
22326         * libs/gst/Makefile.am:
22327         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
22328         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
22329         (gst_file_pad_parent_set):
22330         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22331         (gst_dp_event_from_packet):
22332         * tests/complexity.c: (main):
22333         * tests/mass_elements.c: (main):
22334         * testsuite/states/locked.c: (message_received), (main):
22335         * testsuite/states/parent.c: (main):
22336         * tools/gst-inspect.c: (print_element_flag_info),
22337         (print_implementation_info), (print_pad_info):
22338         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
22339         (main):
22340         * tools/gst-md5sum.c: (event_loop), (main):
22341         * tools/gst-typefind.c: (main):
22342         * tools/gst-xmlinspect.c: (print_element_info):
22343         Next big merge.
22344         Added GstBus for mainloop integration.
22345         Added GstMessage for sending notifications on the bus.
22346         Added GstTask as an abstraction for pipeline entry points.
22347         Removed GstThread.
22348         Removed Schedulers.
22349         Simplified GstQueue for multithreaded core.
22350         Made _link threadsafe, removed old capsnego.
22351         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
22352         Added pad blocking functions.
22353         Reworked scheduling functions in GstPad to prepare for
22354         scheduling updates soon.
22355         Moved events out of data stream.
22356         Simplified GstEvent types.
22357         Added return values to push/pull.
22358         Removed clocking from GstElement.
22359         Added prototypes for state change function for next merge.
22360         Removed iterate from bins and state change management.
22361         Fixed some elements, disabled others for now.
22362         Fixed -inspect and -launch.
22363         Added check for GstBus.
22364
22365 2005-03-10  Wim Taymans  <wim@fluendo.com>
22366
22367         * docs/design/part-MT-refcounting.txt:
22368         * docs/design/part-clocks.txt:
22369         * docs/design/part-gstelement.txt:
22370         * docs/design/part-gstobject.txt:
22371         * docs/design/part-standards.txt:
22372         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22373         (gst_bin_remove_func), (gst_bin_remove):
22374         * gst/gstbin.h:
22375         * gst/gstbuffer.c:
22376         * gst/gstcaps.h:
22377         * testsuite/clock/clock1.c: (main):
22378         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
22379         (main):
22380         * testsuite/dlopen/loadgst.c: (do_test):
22381         * testsuite/refcounting/bin.c: (add_remove_test1),
22382         (add_remove_test2), (main):
22383         * testsuite/refcounting/element.c: (main):
22384         * testsuite/refcounting/element_pad.c: (main):
22385         * testsuite/refcounting/pad.c: (main):
22386         * tools/gst-launch.c: (sigint_handler_sighandler):
22387         * tools/gst-typefind.c: (main):
22388         Doc updates.
22389         Added doc about clock.
22390         removed gst_bin_iterate_recurse_up(), marked methods
22391         for removal.
22392         Fix more testsuites.
22393
22394 2005-03-09  Wim Taymans  <wim@fluendo.com>
22395
22396         * gst/gstpad.c: (gst_pad_get_direction),
22397         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
22398         (gst_pad_collect_valist):
22399         * testsuite/bins/interface.c: (main):
22400         * testsuite/caps/audioscale.c: (test_caps):
22401         * testsuite/caps/caps.c: (test1), (test2), (test3):
22402         * testsuite/caps/deserialize.c: (main):
22403         * testsuite/caps/enumcaps.c: (main):
22404         * testsuite/caps/filtercaps.c: (main):
22405         * testsuite/caps/intersect2.c: (main):
22406         * testsuite/caps/random.c: (main):
22407         * testsuite/caps/renegotiate.c: (my_fixate), (main):
22408         * testsuite/caps/sets.c: (check_caps):
22409         * testsuite/caps/simplify.c: (check_caps), (main):
22410         * testsuite/caps/subtract.c: (check_caps):
22411         Fix _pad_get_direction wrt ghostpads.
22412         Fix caps testsuite.
22413
22414 2005-03-09  Wim Taymans  <wim@fluendo.com>
22415
22416         * check/Makefile.am:
22417         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
22418         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
22419         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
22420         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
22421         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
22422         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
22423         (gst_bin_remove), (gst_bin_iterate_recurse_up),
22424         (bin_element_is_sink), (gst_bin_iterate_sinks),
22425         (gst_bin_iterate_all_by_interface):
22426         * gst/gstbin.h:
22427         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
22428         (gst_element_change_state), (gst_element_dispose),
22429         (gst_element_finalize), (gst_element_set_loop_function):
22430         * gst/gstelement.h:
22431         * gst/gstiterator.c: (find_custom_fold_func):
22432         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22433         (gst_pad_collectv), (gst_pad_collect_valist),
22434         (gst_pad_template_new):
22435         * gst/gstpipeline.c: (gst_pipeline_class_init),
22436         (gst_pipeline_dispose), (gst_pipeline_set_property),
22437         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
22438         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
22439         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
22440         * gst/gstutils.h:
22441         * gst/schedulers/entryscheduler.c:
22442         * gst/schedulers/gstbasicscheduler.c:
22443         (gst_basic_scheduler_cothreaded_chain),
22444         (gst_basic_scheduler_chain_add_element):
22445         * testsuite/bins/interface.c: (main):
22446         Added GstBin test.
22447         Added GstSystemClock test.
22448         Implemented clock distribution code in GstBin.
22449         Implemented iterate sinks method for future use.
22450         Rearranged gstelement.h
22451         Fix GstIterator comparison bug.
22452         Moved some code to GstPipeline, mostly clocking related.
22453
22454 2005-03-09  Wim Taymans  <wim@fluendo.com>
22455
22456         * configure.ac:
22457         * gst/gst_private.h:
22458         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22459         (gst_bin_remove_func), (gst_bin_remove),
22460         (gst_bin_get_by_name_recurse_up):
22461         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
22462         (gst_clock_id_compare_func), (gst_clock_id_wait),
22463         (gst_clock_id_wait_async), (gst_clock_init),
22464         (gst_clock_adjust_unlocked), (gst_clock_get_time):
22465         * gst/gstelement.h:
22466         * gst/gstinfo.c: (_gst_debug_init):
22467         * gst/gstobject.h:
22468         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22469         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
22470         * gst/gstpad.h:
22471         Bump version number, we're now 0.9.0
22472         Add future debugging category.
22473         Fix NULL _unref() in _get_by_name_recurse_up
22474         Rearrange gstpad.h.
22475         Update some docs.
22476
22477 2005-03-08  Wim Taymans  <wim@fluendo.com>
22478
22479         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
22480         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
22481         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22482         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
22483         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
22484         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
22485         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
22486         * gst/elements/gstidentity.c: (gst_identity_class_init):
22487         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
22488         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
22489         * gst/elements/gstshaper.c: (gst_shaper_class_init):
22490         * gst/elements/gststatistics.c: (gst_statistics_class_init):
22491         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
22492         (gst_tee_link):
22493         * gst/gstelement.c: (gst_element_class_init),
22494         (gst_element_base_class_init), (gst_element_init),
22495         (gst_element_get_random_pad), (gst_element_wait_state_change),
22496         (gst_element_change_state), (gst_element_dispose),
22497         (gst_element_finalize), (gst_element_set_loop_function):
22498         * gst/gstelement.h:
22499         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
22500         * gst/gstthread.c: (gst_thread_class_init),
22501         (gst_thread_release_children_locks), (gst_thread_change_state):
22502         * gst/schedulers/gstbasicscheduler.c:
22503         (gst_basic_scheduler_loopfunc_wrapper),
22504         (gst_basic_scheduler_chain_wrapper),
22505         (gst_basic_scheduler_src_wrapper),
22506         (gst_basic_scheduler_remove_element):
22507         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
22508         Remove threadsafe properties. Fix elements because GObject
22509         complains when installing a property before declaring a
22510         set/get_property handler.
22511         Rearrange gstelement.h file, use STATE macros for state locks.
22512         Free mutexes in the finalize method instead of dispose.
22513
22514 2005-03-08  Wim Taymans  <wim@fluendo.com>
22515
22516         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22517         * gst/gstthread.c: (gst_thread_release_children_locks):
22518         Added parentage check.
22519         Fix build og GstThread again.
22520
22521 2005-03-08  Wim Taymans  <wim@fluendo.com>
22522
22523         * docs/design/part-MT-refcounting.txt:
22524         * docs/design/part-conventions.txt:
22525         * docs/design/part-gstobject.txt:
22526         * docs/design/part-relations.txt:
22527         * docs/design/part-standards.txt:
22528         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22529         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
22530         (gst_bin_get_by_name), (gst_bin_get_by_interface),
22531         (gst_bin_iterate_all_by_interface):
22532         * gst/gstbuffer.h:
22533         * gst/gstclock.h:
22534         * gst/gstelement.c: (gst_element_class_init),
22535         (gst_element_change_state), (gst_element_set_loop_function):
22536         * gst/gstelement.h:
22537         * gst/gstiterator.c:
22538         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
22539         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
22540         (gst_object_dispatch_properties_changed), (gst_object_set_name),
22541         (gst_object_set_parent), (gst_object_unparent),
22542         (gst_object_check_uniqueness):
22543         * gst/gstobject.h:
22544         Docs updates, clean up some headers.
22545
22546 2005-03-07  Wim Taymans  <wim@fluendo.com>
22547
22548         * check/.cvsignore:
22549         * check/Makefile.am:
22550         * check/gst-libs/.cvsignore:
22551         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
22552         * check/gst/.cvsignore:
22553         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
22554         (START_TEST), (gstbus_suite), (main):
22555         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
22556         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
22557         (gst_data_suite), (main):
22558         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
22559         (add_fold_func), (gstiterator_suite), (main):
22560         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
22561         (thread_name_object), (thread_name_object_default),
22562         (gst_object_name_compare), (gst_object_suite), (main):
22563         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
22564         (gst_pad_suite), (main):
22565         * check/gstcheck.c: (gst_check_log_message_func),
22566         (gst_check_log_critical_func), (gst_check_init):
22567         * check/gstcheck.h:
22568         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
22569         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
22570         Added checks.
22571
22572 2005-03-07  Wim Taymans  <wim@fluendo.com>
22573
22574         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22575         (gst_list_iterator_next), (gst_list_iterator_resync),
22576         (gst_list_iterator_free), (gst_iterator_new_list),
22577         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
22578         (gst_iterator_free), (gst_iterator_push), (filter_next),
22579         (filter_resync), (filter_uninit), (filter_free),
22580         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
22581         (gst_iterator_foreach), (find_custom_fold_func),
22582         (gst_iterator_find_custom):
22583         * gst/gstiterator.h:
22584         Added missing files.
22585
22586 2005-03-07  Wim Taymans  <wim@fluendo.com>
22587
22588         * Makefile.am:
22589         * configure.ac:
22590         * docs/design/part-MT-refcounting.txt:
22591         * docs/design/part-conventions.txt:
22592         * docs/design/part-gstobject.txt:
22593         * docs/design/part-relations.txt:
22594         * examples/mixer/mixer.c: (main):
22595         * examples/thread/thread.c: (eos), (main):
22596         * gst/Makefile.am:
22597         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
22598         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
22599         (gst_spider_plug_from_srcpad):
22600         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
22601         (gst_spider_identity_change_state),
22602         (gst_spider_identity_sink_loop_type_finding):
22603         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
22604         * gst/elements/gstidentity.c: (gst_identity_init):
22605         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
22606         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
22607         * gst/elements/gsttypefindelement.c: (free_entry):
22608         * gst/gst.c:
22609         * gst/gst.h:
22610         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
22611         (gst_bin_set_clock_func), (gst_bin_auto_clock),
22612         (gst_bin_set_index), (gst_bin_set_element_sched),
22613         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
22614         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
22615         (gst_bin_iterate_elements), (iterate_child_recurse),
22616         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
22617         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
22618         (compare_interface), (gst_bin_get_by_interface),
22619         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
22620         * gst/gstbin.h:
22621         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
22622         (gst_buffer_default_free), (gst_buffer_default_copy),
22623         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
22624         (gst_buffer_create_sub):
22625         * gst/gstbuffer.h:
22626         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
22627         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
22628         (gst_caps_unref), (gst_static_caps_get),
22629         (gst_caps_remove_and_get_structure), (gst_caps_append),
22630         (gst_caps_append_structure), (gst_caps_remove_structure),
22631         (gst_caps_copy_nth), (gst_caps_set_simple),
22632         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
22633         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
22634         (gst_caps_structure_intersect_field), (gst_caps_intersect),
22635         (gst_caps_structure_subtract_field), (gst_caps_subtract),
22636         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
22637         (gst_caps_structure_figure_out_union),
22638         (gst_caps_switch_structures), (gst_caps_do_simplify),
22639         (gst_caps_replace), (gst_caps_from_string),
22640         (gst_caps_copy_conditional):
22641         * gst/gstcaps.h:
22642         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
22643         (_gst_clock_id_free), (gst_clock_id_unref),
22644         (gst_clock_id_compare_func), (gst_clock_id_wait),
22645         (gst_clock_id_wait_async), (gst_clock_class_init),
22646         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
22647         (gst_clock_get_time), (gst_clock_set_time_adjust),
22648         (gst_clock_set_property), (gst_clock_get_property):
22649         * gst/gstclock.h:
22650         * gst/gstcompat.h:
22651         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
22652         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
22653         * gst/gstdata.h:
22654         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22655         (gst_element_requires_clock), (gst_element_provides_clock),
22656         (gst_element_set_clock), (gst_element_clock_wait),
22657         (gst_element_wait), (gst_element_set_time_delay),
22658         (gst_element_is_indexable), (gst_element_add_pad),
22659         (gst_element_add_ghost_pad), (gst_element_remove_pad),
22660         (pad_compare_name), (gst_element_get_static_pad),
22661         (gst_element_request_pad), (gst_element_get_request_pad),
22662         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
22663         (gst_element_class_get_pad_template_list),
22664         (gst_element_class_get_pad_template), (gst_element_error_func),
22665         (gst_element_get_random_pad), (gst_element_get_event_masks),
22666         (gst_element_send_event), (gst_element_seek),
22667         (gst_element_get_query_types), (gst_element_query),
22668         (gst_element_get_formats), (gst_element_convert),
22669         (gst_element_is_locked_state), (gst_element_set_locked_state),
22670         (gst_element_sync_state_with_parent), (gst_element_change_state),
22671         (gst_element_finalize), (gst_element_yield),
22672         (gst_element_interrupt), (gst_element_set_scheduler),
22673         (gst_element_get_scheduler), (gst_element_set_loop_function):
22674         * gst/gstelement.h:
22675         * gst/gstevent.h:
22676         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
22677         (gst_format_get_by_nick), (gst_format_get_details),
22678         (gst_format_iterate_definitions):
22679         * gst/gstformat.h:
22680         * gst/gstindex.c: (gst_index_gtype_resolver):
22681         * gst/gstinfo.c:
22682         * gst/gstinfo.h:
22683         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
22684         (gst_mem_chunk_free):
22685         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22686         (gst_object_ref), (gst_object_unref), (gst_object_sink),
22687         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
22688         (gst_object_dispatch_properties_changed),
22689         (gst_object_set_name_default), (gst_object_set_name),
22690         (gst_object_get_name), (gst_object_set_name_prefix),
22691         (gst_object_get_name_prefix), (gst_object_set_parent),
22692         (gst_object_get_parent), (gst_object_unparent),
22693         (gst_object_check_uniqueness), (gst_object_save_thyself),
22694         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
22695         (gst_object_set_property), (gst_object_get_property),
22696         (gst_object_get_path_string):
22697         * gst/gstobject.h:
22698         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22699         (gst_real_pad_init), (gst_real_pad_get_property),
22700         (gst_pad_custom_new), (gst_pad_get_direction),
22701         (gst_pad_set_active), (gst_pad_is_active),
22702         (gst_pad_set_event_function), (gst_pad_is_linked),
22703         (gst_pad_link_free), (gst_pad_link_intersect),
22704         (gst_pad_link_fixate), (gst_pad_set_caps),
22705         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
22706         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
22707         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
22708         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
22709         (gst_pad_get_caps), (gst_pad_peer_get_caps),
22710         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
22711         (gst_pad_realize), (gst_pad_get_allowed_caps),
22712         (gst_real_pad_dispose), (gst_real_pad_finalize),
22713         (gst_pad_collectv), (gst_pad_collect_valist),
22714         (gst_pad_template_dispose), (gst_pad_template_new),
22715         (gst_pad_get_internal_links):
22716         * gst/gstpad.h:
22717         * gst/gstpipeline.c: (gst_pipeline_dispose),
22718         (gst_pipeline_change_state):
22719         * gst/gstpipeline.h:
22720         * gst/gstplugin.c:
22721         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
22722         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
22723         * gst/gstpluginfeature.h:
22724         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
22725         * gst/gstquery.c: (_gst_query_type_initialize),
22726         (gst_query_type_register), (gst_query_type_get_by_nick),
22727         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
22728         * gst/gstquery.h:
22729         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
22730         * gst/gstscheduler.c: (gst_scheduler_add_element),
22731         (gst_scheduler_factory_create):
22732         * gst/gststructure.c: (gst_structure_set_parent_refcount),
22733         (gst_structure_free), (gst_structure_set_name),
22734         (gst_structure_id_set_value), (gst_structure_set_value),
22735         (gst_structure_set_valist), (gst_structure_remove_field),
22736         (gst_structure_remove_fields),
22737         (gst_structure_remove_fields_valist),
22738         (gst_structure_remove_all_fields), (gst_structure_foreach),
22739         (gst_structure_map_in_place),
22740         (gst_caps_structure_fixate_field_nearest_int),
22741         (gst_caps_structure_fixate_field_nearest_double):
22742         * gst/gststructure.h:
22743         * gst/gstsystemclock.c: (gst_system_clock_class_init),
22744         (gst_system_clock_init), (gst_system_clock_dispose),
22745         (gst_system_clock_async_thread),
22746         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
22747         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
22748         * gst/gstsystemclock.h:
22749         * gst/gsttag.c: (gst_tag_list_add_value_internal),
22750         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
22751         * gst/gsttaginterface.c:
22752         * gst/gstthread.c: (gst_thread_dispose),
22753         (gst_thread_release_children_locks), (gst_thread_change_state),
22754         (gst_thread_main_loop):
22755         * gst/gsttrashstack.h:
22756         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
22757         * gst/gsttypes.h:
22758         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22759         (gst_element_request_pad), (gst_element_get_pad_from_template),
22760         (gst_element_request_compatible_pad),
22761         (gst_element_get_compatible_pad_filtered),
22762         (gst_element_get_compatible_pad), (gst_element_state_get_name),
22763         (gst_element_link_pads_filtered), (gst_element_link_filtered),
22764         (gst_element_link_many), (gst_element_link),
22765         (gst_element_link_pads), (gst_element_unlink_pads),
22766         (gst_element_unlink_many), (gst_element_unlink),
22767         (gst_pad_can_link_filtered), (gst_pad_can_link),
22768         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
22769         (gst_object_default_error), (gst_bin_add_many),
22770         (gst_bin_remove_many), (gst_element_populate_std_props),
22771         (gst_element_class_install_std_props), (gst_buffer_merge),
22772         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
22773         (link_fold_func), (gst_pad_proxy_setcaps):
22774         * gst/gstutils.h:
22775         * gst/gstvalue.c: (gst_value_deserialize_string):
22776         * gst/parse/grammar.y:
22777         * gst/schedulers/gstbasicscheduler.c:
22778         (gst_basic_scheduler_cothreaded_chain),
22779         (gst_basic_scheduler_chain_recursive_add),
22780         (gst_basic_scheduler_pad_link):
22781         * gst/schedulers/gstoptimalscheduler.c:
22782         (get_group_schedule_function),
22783         (gst_opt_scheduler_state_transition),
22784         (gst_opt_scheduler_add_element), (element_get_reachables_func):
22785         * libs/gst/bytestream/bytestream.c:
22786         * libs/gst/dataprotocol/dataprotocol.c:
22787         (gst_dp_header_from_buffer):
22788         * po/nb.po:
22789         * po/ru.po:
22790         * tests/threadstate/threadstate2.c: (eos):
22791         * tools/gst-compprep.c: (main):
22792         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
22793         (print_pad_info), (print_children_info):
22794         * tools/gst-launch.c: (idle_func), (main):
22795         * tools/gst-md5sum.c: (idle_func), (main):
22796         * tools/gst-xmlinspect.c: (print_element_info):
22797         First THREADED backport attempt, focusing on adding locks and
22798         making sure the API is threadsafe. Needs more work. More docs
22799         follow this week.
22800
22801 2005-02-24  Andy Wingo  <wingo@pobox.com>
22802
22803         * tests/bench-complexity.scm:
22804         * tests/complexity.gnuplot: New files, good for running complexity
22805         benchmarks.
22806
22807         * tests/Makefile.am:
22808         * tests/complexity.c: New test, sets up N elements, at each level
22809         teeing into M streams per element. Eeeenteresting.
22810
22811         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
22812         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
22813         running bench-mass_elements.scm.
22814
22815         * tests/bench-mass_elements.scm: New script, runs mass_elements
22816         for various numbers of identities, outputting the results to a
22817         file. Requires guile 1.6. Just for testing.
22818
22819 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22820
22821         * gst/schedulers/fairscheduler.c:
22822           compile with debug disabled
22823
22824 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22825
22826         * configure.ac:
22827           hunting season on 0.9 is now OPEN