gst/gstsystemclock.c: Fix anoying regression that survived a few releases. When addin...
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-03-22  Wim Taymans  <wim@fluendo.com>
2
3         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
4         (gst_system_clock_id_wait_jitter),
5         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
6         Fix anoying regression that survived a few releases. When adding an
7         async entry while blocking on a sync entry, the sync entry will unblock
8         but still be busy, so it should continue to wait instead of returning
9         _BUSY to the app.
10         Add some comments here and there.
11
12         * tests/check/gst/gstsystemclock.c: (mixed_thread),
13         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
14         Add testcase for this.
15
16 2007-03-22  Wim Taymans  <wim@fluendo.com>
17
18         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
19         Handle errors from the clock sync better, only UNSCHEDULED indicates a
20         WRONG_STATE and can silently pause the task. All other cases should
21         error out.
22
23 2007-03-22  Wim Taymans  <wim@fluendo.com>
24
25         Patch by: <syrjala at sci dot fi>
26
27         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
28         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
29         Improve debugging.
30
31 2007-03-21  Michael Smith  <msmith@fluendo.com>
32
33         * docs/pwg/advanced-types.xml:
34           Fix some errors in the typefinding docs pointed out on irc.
35
36 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
37
38         * libs/gst/base/gstbasesrc.c:
39         Clarify FIXME comment in the face of having added unlock_stop()
40
41 2007-03-21  Wim Taymans  <wim@fluendo.com>
42
43         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
44         Prepare for release where we warn against possible app breakage in the
45         case of live pipelines along with an env var to enable/disable live
46         preroll mode (GST_COMPAT=[no-]live-preroll).
47
48 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
49
50         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
51         So we should use correct constants for checking for None offset.
52
53 2007-03-20  Wim Taymans  <wim@fluendo.com>
54
55         * docs/design/part-block.txt:
56         Mention the fact that the newly switched element should be set to at
57         least PAUSED.
58
59 2007-03-20  Wim Taymans  <wim@fluendo.com>
60
61         * gst/gst.c:
62         Fix compilation with registry disabled as spotted by Saur.
63
64 2007-03-20  Wim Taymans  <wim@fluendo.com>
65
66         Patch by: Olivier Crete <tester at tester dot ca>
67
68         * gst/gstelement.c: (gst_element_sync_state_with_parent):
69         Look at the pending state too when syncing the element state to the
70         parent. Fixes #420133.
71
72 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
73
74         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
75         (gst_base_sink_change_state):
76         * libs/gst/base/gstbasesink.h:
77         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
78         (gst_base_src_default_event), (gst_base_src_unlock_stop),
79         (gst_base_src_deactivate):
80         * libs/gst/base/gstbasesrc.h:
81         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
82         for sub-classes to correctly clear any state they set trying to
83         unlock, such as clearing out unlock commands from a command fd.
84
85         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
86         (gst_fd_sink_render), (gst_fd_sink_unlock),
87         (gst_fd_sink_unlock_stop):
88         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
89         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
90         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
91
92         Implement unlock_stop in fdsrc and fdsink.
93         Implement seeking in fdsrc when a seekable fd is passed, as in
94         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
95
96 2007-03-19  Wim Taymans  <wim@fluendo.com>
97
98         Patch by: Evan Nemerson <evan at coeus dash group dot com>
99
100         * gst/gstelement.c: (gst_element_class_init):
101         Fix pad-added and pad-removed signal signatures so that the pad type is
102         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
103
104 2007-03-19  Wim Taymans  <wim@fluendo.com>
105
106         * docs/gst/gstreamer-sections.txt:
107         Add new element field and method.
108
109         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
110         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
111         (gst_bin_recalc_state), (gst_bin_get_state_func),
112         (gst_bin_element_set_state), (gst_bin_change_state_func),
113         (gst_bin_continue_func), (bin_bus_handler),
114         (bin_push_state_continue), (bin_handle_async_start),
115         (bin_handle_async_done), (gst_bin_handle_message_func):
116         Make async state changes a bit smarter by using new ASYNC_START and
117         ASYNC_DONE messages. This reduces the number of times we run the state
118         recalculation thread.
119         Don't change state of element with a pending ASYNC_START message.
120         Deprecate STATE_DIRTY messages.
121         
122         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
123         (gst_element_get_state_func), (gst_element_continue_state),
124         (gst_element_lost_state), (gst_element_set_state_func),
125         (gst_element_change_state):
126         * gst/gstelement.h:
127         Keep the state that was last set by the app in a new element field.
128         Don't allow state changes when handling an element event.
129         Post ASYNC_START and ASYNC_DONE messages.
130         Change lost_state so that we go to PAUSED and wait for the parent to set
131         us to PLAYING again (so latency calculation can be performed)
132         Export gst_element_change_state() method so that subclasses can use it.
133         API: gst_element_change_state()
134         API: GST_STATE_TARGET
135
136         * gst/gstpipeline.c: (gst_pipeline_class_init),
137         (reset_stream_time), (gst_pipeline_change_state),
138         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
139         Using the new ASYNC_START message we can reset the base_time when
140         needed. This can then be used to implement base_time redistribution in
141         flushing seeks so that we can remove the explicit seek handling.
142         Perform latency query and configuration when going to PLAYING.
143
144         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
145         (gst_base_sink_query), (gst_base_sink_change_state):
146         Post new ASYNC_START/ASYNC_DONE messages.
147
148         * tests/check/generic/sinks.c: (GST_START_TEST):
149         Fix test because the bin will not set the async element to PLAYING right
150         away.
151
152         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
153         Make the message check a little stronger.
154         Handle ASYNC messages.
155
156         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
157         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
158         Expect ASYNC_DONE messages.
159
160 2007-03-19  Wim Taymans  <wim@fluendo.com>
161
162         * docs/gst/gstreamer-sections.txt:
163         * gst/gstmessage.c: (gst_message_new_async_start),
164         (gst_message_new_async_done), (gst_message_parse_info),
165         (gst_message_parse_async_start):
166         * gst/gstmessage.h:
167         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
168         support.
169
170 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
171
172         * tools/gst-inspect.c:
173         (print_plugin_automatic_install_info_codecs):
174           Now that we don't check for the 'Codec' keyword any longer in the
175           klass, we shouldn't spew a warning if the klass isn't a decoder or
176           encoder (since it might be a Source/Network, for example).
177
178 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
179
180         * tools/gst-inspect.c:
181         (print_plugin_automatic_install_info_codecs):
182           Don't require decoder/demuxer/depayloader elements or
183           encoder/muxer/paylader elements to have 'Codec' as part of their
184           factory class string when introspecting a plugin's capabilities.
185           draft-klass.txt mentions that it might be removed in future, and
186           flump3dec doesn't have it as part of its class string, so chances
187           are others might also not have it.
188
189 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
190
191         * po/af.po:
192         * po/az.po:
193         * po/bg.po:
194         * po/ca.po:
195         * po/cs.po:
196         * po/de.po:
197         * po/en_GB.po:
198         * po/fr.po:
199         * po/it.po:
200         * po/nb.po:
201         * po/nl.po:
202         * po/ru.po:
203         * po/sq.po:
204         * po/sr.po:
205         * po/sv.po:
206         * po/tr.po:
207         * po/uk.po:
208         * po/vi.po:
209         * po/zh_CN.po:
210         * po/zh_TW.po:
211           Update translations from translation project
212
213 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
214
215         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
216         (gst_child_proxy_set_property):
217           Invert precondition check to be alike the ones in the mimiced gobject
218           api.
219
220 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
221
222         * docs/design/draft-tagreading.txt:
223         * docs/random/ensonic/audiobaseclasses.txt:
224           Do some Architect work.
225
226         * gst/gstobject.c: (gst_object_set_name):
227           Add a WARNING.
228
229         * gst/gstpad.c:
230           Add docs that point from gst_pad_get_range to gst_pad_pull_range
231
232 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
233
234         * gst/gstsystemclock.c: (gst_system_clock_init),
235         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
236         Defer starting the async system clock thread until the first async
237         wait is scheduled. Fixes #414986.
238
239 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
240
241         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
242         (gst_single_queue_free):
243           Fix small leak (free GstSingleQueue structure too, not only contents).
244
245 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
246
247         * gst/gstbin.c:(gst_bin_add):
248         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
249         * win32/common/libgstbase.def:
250         * win32/common/libgstreamer.def:
251         Add new exported functions.
252
253 2007-03-09  Wim Taymans  <wim@fluendo.com>
254
255         * docs/plugins/gstreamer-plugins-sections.txt:
256         Fix GstTee docs.
257
258 2007-03-09  Wim Taymans  <wim@fluendo.com>
259
260         * docs/gst/gstreamer-sections.txt:
261         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
262         * gst/gstbuffer.h:
263         Add metadata copy functions. Fixes #393099.
264
265         * gst/gstutils.c: (gst_buffer_stamp):
266         * libs/gst/base/gstbasetransform.c:
267         (gst_base_transform_prepare_output_buffer):
268         Use new metadata copy functions.
269
270 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
271
272         * plugins/elements/gstidentity.c: (gst_identity_class_init),
273         (gst_identity_init), (gst_identity_check_perfect),
274         (gst_identity_check_imperfect_timestamp),
275         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
276         (gst_identity_set_property), (gst_identity_get_property):
277         * plugins/elements/gstidentity.h:
278         Separate out check-imperfect-timestamp and check-imperfect-offset.
279         Put back check-perfect as it was to keep compatibility.
280
281 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
282
283         * gst/gstelement.c: (gst_element_dispose):
284         There's no need to warn if VOID_PENDING is not NONE here, as
285         long as the state is NULL it's ok, and that's checked immediately
286         above.
287
288 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
289
290         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
291         Fix check for perfect stream to ignore buffers with -1 
292         offsets/offset ends when checking data contiguity.
293
294 2007-03-08  Wim Taymans  <wim@fluendo.com>
295
296         * tools/gst-launch.c: (event_loop):
297         Print INFO messages.
298
299 2007-03-08  Wim Taymans  <wim@fluendo.com>
300
301         * libs/gst/base/gstbasetransform.c:
302         (gst_base_transform_sink_eventfunc),
303         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
304         (gst_base_transform_activate):
305         * libs/gst/base/gstbasetransform.h:
306         Add support for dropping buffers with custom GstFlowReturn.
307         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
308         buffers or dropped buffers.
309
310         * docs/libs/gstreamer-libs-sections.txt:
311         docs for new custom return code.
312
313         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
314         Use drop support in base class to implement drop-probability.
315
316 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
317
318         * gst/gst.c: (load_plugin_func):
319         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
320         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
321         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
322           Remove newlines at end of debug log strings.
323
324 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
325
326         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
327         Only post bus message at max, once per buffer received.
328
329 2007-03-07  Wim Taymans  <wim@fluendo.com>
330
331         * docs/design/Makefile.am:
332         * docs/design/part-synchronisation.txt:
333         Add doc about synchronisation
334
335         * docs/design/draft-latency.txt:
336         * docs/design/part-TODO.txt:
337         * docs/design/part-clocks.txt:
338         * docs/design/part-events.txt:
339         * docs/design/part-gstbus.txt:
340         * docs/design/part-gstpipeline.txt:
341         * docs/design/part-live-source.txt:
342         * docs/design/part-messages.txt:
343         * docs/design/part-overview.txt:
344         * docs/design/part-streams.txt:
345         * docs/design/part-trickmodes.txt:
346         Documentation updates.
347
348 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
349
350         * gstreamer.doap:
351         Update the doap file.
352
353 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
354
355         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
356         Rename non-perfect to imperfect for Mike and for the sanctity of the
357         language.
358         Also make sure bus message gets emitted for data-incontiguities.
359
360 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
361
362         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
363         (gst_identity_start):
364         * plugins/elements/gstidentity.h:
365         Emit bus message if check-perfect is true and we encounter a
366         non-perfect stream between 2 consecutive buffers.
367         Fixes #415394.
368
369 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
370
371         * configure.ac:
372         Back to CVS
373
374 === release 0.10.12 ===
375
376 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
377
378         * configure.ac:
379           releasing 0.10.12, "Inevitable Demise"
380
381 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
382
383         * configure.ac:
384          Version 0.10.11.2 (0.10.12 pre-release)
385          Bump libtool versioning.
386
387 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
388
389         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
390           Log flow-names and not numbers.
391
392 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
393
394         * configure.ac:
395           Convert to new AG_GST style.
396
397 2007-02-28  Wim Taymans  <wim@fluendo.com>
398
399         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
400         Don't unref query twice.
401
402 2007-02-28  Wim Taymans  <wim@fluendo.com>
403
404         * gst/gstvalue.c: (gst_value_transform_object_string),
405         (_gst_value_initialize):
406         Implement GstObject -> string transform so we print object names
407         when serializing GValues containing GstObjects.
408
409 2007-02-28  Wim Taymans  <wim@fluendo.com>
410
411         * docs/gst/gstreamer-sections.txt:
412         Add new stuff to docs.
413
414 2007-02-28  Wim Taymans  <wim@fluendo.com>
415
416         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
417         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
418         (gst_base_sink_change_state):
419         Improve latency query code.
420         Don't leak latency events.
421
422         * tests/check/gst/gstbin.c: (GST_START_TEST):
423         Improve debugging.
424
425 2007-02-28  Wim Taymans  <wim@fluendo.com>
426
427         * gst/gstelement.c: (gst_element_message_full),
428         (gst_element_get_state_func):
429         * gst/gstelement.h:
430         Improve docs a little. Added Since: for new macro.
431
432         * gst/gstobject.c: (gst_object_sink):
433         * gst/gstpipeline.c: (gst_pipeline_change_state),
434         (gst_pipeline_set_new_stream_time):
435         * gst/gstpipeline.h:
436         Improve debugging and docs.
437
438         * gst/gstutils.c: (gst_element_state_change_return_get_name):
439         Improve debugging.
440
441 2007-02-28  Wim Taymans  <wim@fluendo.com>
442
443         * gst/gstelement.c: (gst_element_message_full),
444         (gst_element_set_locked_state), (gst_element_get_state_func),
445         (gst_element_change_state):
446         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
447         Documentation updates.
448         Small code cleanups.
449
450         * gst/gstmessage.c: (gst_message_new_info),
451         (gst_message_parse_info):
452         * gst/gstmessage.h:
453         API: gst_message_new_info()
454         API: gst_message_parse_info()
455         Add INFO message create and parse code.
456
457 2007-02-28  Wim Taymans  <wim@fluendo.com>
458
459         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
460         (bin_query_latency_done):
461         Also report the live parameter of a latency query.
462
463 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
464
465         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
466           Copy the current generic/states example from -base and adapt so
467           we can use the exact same code everywhere.
468           Check a STATES_IGNORE_ELEMENTS env var which can be used
469           to ignore certain element factories for this test, which is
470           what is being done in -base
471         * tests/check/Makefile.am:
472           Mention this environment variable.
473
474 2007-02-27  Wim Taymans  <wim@fluendo.com>
475
476         * docs/gst/gstreamer-sections.txt:
477         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
478         (gst_bus_timed_pop), (gst_bus_pop):
479         * gst/gstbus.h:
480         API: gst_bus_timed_pop()
481         Implement gst_bus_timed_pop() to do a blocking timed wait for a
482         message to arrive on the bus.
483
484         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
485         (gst_bus_suite):
486         Two unit tests for new _timed_pop() function.
487
488 2007-02-23  Wim Taymans  <wim@fluendo.com>
489
490         * gst/gstpipeline.c: (gst_pipeline_change_state),
491         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
492         Don't ref a NULL clock in _provide_clock_func().
493         Don't allow an INVALID delay.
494         Don't try to calculate base_time with an invalid start_time.
495         Also distribute and notify a NULL clock when it was selected.
496
497         * tools/gst-launch.c: (event_loop):
498         Don't crash when a NULL clock was selected in the pipeline.
499
500 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
501
502         * docs/design/Makefile.am:
503         * docs/design/draft-missing-plugins.txt:
504         * docs/random/draft-missing-plugins.txt:
505           Some small updates: update plugin system identifier prefix
506           ('gstreamer.net' to 'gstreamer'), mention our new install
507           API in libgstbaseutils rather than libgimme-codec, add
508           reference to the online docs.
509
510 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
511
512         * win32/common/config.h:
513           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
514           use moap cl ci to only check in what is mentioned in the ChangeLog.
515
516 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
517
518         * docs/gst/gstreamer-sections.txt:
519         * gst/gstelement.h:
520           Fix up documentation to link to the correct GstGError section.
521           Add GST_ELEMENT_INFO macro since someone else added a Info message.
522
523 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
524
525         * tools/gst-launch.c: (event_loop):
526           Make sure that we actually show the important message part of a
527           warning message.
528           No need to check if the gerror is not NULL to free; first of all
529           g_free accepts NULL; and second the default error handler would
530           segfault if gerror was NULL.
531
532 2007-02-21  Wim Taymans  <wim@fluendo.com>
533
534         * docs/gst/gstreamer-sections.txt:
535         Removed docs as well.
536
537 2007-02-21  Wim Taymans  <wim@fluendo.com>
538
539         * gst/gstmessage.c: (gst_message_parse_duration):
540         * gst/gstmessage.h:
541         Remove new messages for release.
542
543 2007-02-20  Wim Taymans  <wim@fluendo.com>
544
545         * docs/design/part-gstghostpad.txt:
546         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
547         (gst_ghost_pad_new_full):
548         Make the ghostpad a parent of the internal pad again for better backward
549         compatibility. Don't write code that relies on this however.
550
551         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
552         (gst_pad_link_check_hierarchy):
553         Require that parents should be GstElements in the hierarchy check.
554
555 2007-02-20  Wim Taymans  <wim@fluendo.com>
556
557         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
558         (gst_bin_change_state_func), (bin_query_min_max_init),
559         (bin_query_latency_fold), (bin_query_latency_done),
560         (gst_bin_query):
561         Improve debug info.
562         Implement latency query.
563
564 2007-02-20  Wim Taymans  <wim@fluendo.com>
565
566         * docs/design/part-gstghostpad.txt:
567         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
568         (gst_ghost_pad_internal_do_activate_push),
569         (gst_ghost_pad_internal_do_activate_pull),
570         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
571         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
572         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
573         Do not set the internal pad as a parent anymore so we can avoid
574         hierarchy linking errors when the ghostpad has no parent yet. This also
575         fixes failed activation because of unlinked internal pads, which in
576         turn fixes the impossible case where you have to activate a pad before
577         you can add it to a running element.
578         Also fix the docs.
579
580         * gst/gstpad.c: (pre_activate), (post_activate),
581         (gst_pad_set_active), (gst_pad_activate_pull),
582         (gst_pad_activate_push), (gst_pad_check_pull_range):
583         Add some more debug info.
584         Mark activation mode in pre_activate so that we don't try to activate in
585         endless loops. Fixes #385084.
586
587 2007-02-19  Wim Taymans  <wim@fluendo.com>
588
589         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
590         (gst_base_transform_check_get_range):
591         Implement a checkgetrange function instead of relying on the default
592         core behaviour that assumes we can operate in pull mode if we have a
593         getrange function. First step at fixing #385084.
594
595 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
596
597         * gst/gstchildproxy.h:
598         * libs/gst/base/gstbasesink.h:
599         * libs/gst/base/gstbasesrc.h:
600         * libs/gst/base/gstbasetransform.h:
601         More docs coverage and some ChangeLog surgery (add missing names)
602
603 2007-02-15  Wim Taymans  <wim@fluendo.com>
604
605         * docs/design/part-TODO.txt:
606         * docs/design/part-activation.txt:
607         * docs/design/part-block.txt:
608         * docs/design/part-buffering.txt:
609         * docs/design/part-clocks.txt:
610         * docs/design/part-element-source.txt:
611         * docs/design/part-events.txt:
612         * docs/design/part-gstbin.txt:
613         * docs/design/part-gstbus.txt:
614         * docs/design/part-gstpipeline.txt:
615         * docs/design/part-live-source.txt:
616         * docs/design/part-messages.txt:
617         * docs/design/part-overview.txt:
618         * docs/design/part-qos.txt:
619         * docs/design/part-query.txt:
620         * docs/design/part-states.txt:
621         * docs/design/part-trickmodes.txt:
622         Some doc updates. Start renaming from stream_time to running_time where
623         it was used wrongly.
624
625 2007-02-15  Wim Taymans  <wim@fluendo.com>
626
627         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
628         Answer LATENCY query.
629
630 2007-02-15  Wim Taymans  <wim@fluendo.com>
631
632         * tests/check/gst/gstevent.c: (event_probe), (test_event),
633         (GST_START_TEST):
634         Improve debugging.
635
636 2007-02-15  Wim Taymans  <wim@fluendo.com>
637
638         * gst/gstpad.c: (gst_pad_get_internal_links_default),
639         (gst_pad_dispatcher):
640         Improve debugging of default pad dispatcher and query functions.
641
642 2007-02-15  Wim Taymans  <wim@fluendo.com>
643
644         * docs/gst/gstreamer-sections.txt:
645         Remove old unused method.
646
647 2007-02-13  Wim Taymans  <wim@fluendo.com>
648
649         * tests/check/gst/gstsegment.c: (GST_START_TEST):
650         Fix check
651
652 2007-02-13  Wim Taymans  <wim@fluendo.com>
653
654         * docs/design/part-seeking.txt:
655         Some small update.
656
657         * gst/gstsegment.c: (gst_segment_set_seek):
658         Revert old bogus change that should make seeking work again.
659
660 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
661
662         * docs/random/ensonic/dynlink.txt:
663         * docs/random/ensonic/interfaces.txt:
664         * docs/random/ensonic/receipies.txt:
665           Possible dynamic reconnection api, plus some type fixes the other two
666           docs.
667
668 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
669
670         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
671         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
672         Also check for an absolute path following file:// in the filesrc
673         element. Remove redundant check and call g_path_is_absolute() on the
674         unescaped location.
675
676 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
677
678         * docs/design/draft-klass.txt:
679           Add existing category analysis.
680           
681         * gst/gstcaps.c:
682           Fix doc example, framerate is a fraction.
683
684 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
685
686         * configure.ac:
687         * docs/gst/Makefile.am:
688         * docs/libs/Makefile.am:
689         * docs/plugins/Makefile.am:
690           Add crossreferences to glib/gobject docs.
691
692 2007-02-12  Wim Taymans  <wim@fluendo.com>
693
694         * docs/design/draft-latency.txt:
695         Small update.
696
697         * docs/libs/gstreamer-libs-sections.txt:
698         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
699         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
700         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
701         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
702         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
703         (gst_base_sink_get_position), (gst_base_sink_query),
704         (gst_base_sink_change_state):
705         * libs/gst/base/gstbasesink.h:
706         API: gst_base_sink_query_latency() to let subclasses query the upstream
707         latency.
708         API: gst_base_sink_get_latency() to let subclasses query the configured
709         latency in the sink.
710         Implement query and set latency.
711         Update some docs.
712         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
713         don't continue preroll when we are flushing. Fixes #405284.
714
715         * tests/check/pipelines/stress.c: (change_state_timeout),
716         (quit_timeout), (GST_START_TEST), (stress_suite):
717         Test for #405284.
718
719 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
720
721         Patch by: René Stadler <mail at renestadler de>
722
723         * docs/gst/gstreamer-sections.txt:
724         * gst/gsttaglist.c: (_gst_tag_initialize):
725         * gst/gsttaglist.h:
726           API: add GST_TAG_REFERENCE_LEVEL (#403597).
727
728 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
729
730         * docs/libs/Makefile.am:
731           Fix path to core docs.
732
733         * gst/gstbin.c: (gst_bin_get_by_interface),
734         (gst_bin_iterate_all_by_interface):
735           Refix docs by also renaming 'interface' to 'iface' in implementation.
736
737         * docs/gst/gstreamer-sections.txt:
738         * gst/gstcaps.c:
739         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
740         * gst/gstchildproxy.h:
741         * gst/gstelementfactory.c:
742         * gst/gstpadtemplate.h:
743         * libs/gst/controller/gstcontroller.c:
744         (gst_controlled_property_new):
745           Document more.
746
747 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
748
749         * gst/gstbin.h:(gst_bin_get_by_interface),
750         (gst_bin_iterate_all_by_interface):
751         Replace interface parameter name by iface as interface is 
752         a reserved keyword in Visual Studio for C++ projects so it removes
753         a build error for application developpers using VS.
754         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
755         Fix a bug on Windows in uri format check. Now the prefix checked
756         is file:// and next we check if the path after file:// is absolute.
757         * win32/common/libgstbase.def:
758         * win32/common/libgstdataprotocol.def:
759         * win32/common/libgstgstreamer.def:
760         Add new exported functions.
761
762 2007-02-09  Andy Wingo  <wingo@pobox.com>
763
764         * tests/check/pipelines/simple-launch-lines.c
765         (simple_launch_lines_suite, test_tee): Disable tee test until I
766         have time to fix it :-(
767
768         * tests/check/Makefile.am (noinst_HEADERS): 
769         * tests/check/libs/libsabi.c: 
770         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
771         * tests/check/gst/gstabi.c: 
772         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
773
774         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
775         tests for push and pull tee behavior.
776
777         * plugins/elements/gsttee.h: 
778         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
779         mark as deprecated as well as unimplemented. It was a crack idea.
780         Add support for tee operating in pull mode, off by default.
781
782         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
783         normal-case logs down to LOG, raise errors to WARNING.
784         (gst_registry_xml_read_cache): Don't log before calling a function
785         that logs.
786
787         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
788         exit (registry finalize).
789         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
790         DEBUG log when we emit signals that people don't even have the
791         chance to connect to.
792         (gst_registry_scan_path_level): Less logging in the normal case.
793
794 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
795
796         Patch by: Michal Benes <michal dot benes at itonis dot tv>
797
798         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
799         Correctly generate EOS for non-seekable files. We don't have a total
800         length for them and would get an unexpected end of file if we only
801         special-cased for regular files. (Fixes: #404569)
802
803 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
804
805         * tests/check/elements/filesrc.c: (GST_START_TEST),
806         (filesrc_suite):
807         Add unit test for the GstURIHandler interface in filesrc. This also
808         tests the newly added file://localhost/foo/bar support.
809
810 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
811
812         * gst/gstelementfactory.h:
813           The klass string is not a hierarchy. Add reference to the design doc
814           for more information and common types.
815
816 2007-02-02  Wim Taymans  <wim@fluendo.com>
817
818         * gst/gstquery.c: (gst_query_new_latency):
819         Remove old structure field.
820
821 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
822
823         * tools/gst-launch.1.in:
824           Give example for network streaming (#351998)
825
826 2007-02-02  Wim Taymans  <wim@fluendo.com>
827
828         * docs/gst/gstreamer-sections.txt:
829         Add docs for new methods.
830
831         * gst/gstevent.c: (gst_event_new_latency),
832         (gst_event_parse_latency):
833         * gst/gstevent.h:
834         Add new LATENCY event to configure latency in a pipeline.
835         API: gst_event_new_latency
836         API: gst_event_parse_latency
837
838         * gst/gstmessage.c: (gst_message_new_buffering),
839         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
840         (gst_message_new_latency), (gst_message_parse_buffering),
841         (gst_message_parse_lost_preroll):
842         * gst/gstmessage.h:
843         Added messages used in draft-latency.
844         API: gst_message_new_lost_preroll
845         API: gst_message_parse_lost_preroll
846         API: gst_message_new_prerolled
847         API: gst_message_new_latency
848
849         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
850         (gst_query_parse_latency):
851         * gst/gstquery.h:
852         Implemented new latency query as in design doc.
853         API: gst_query_new_latency
854         API: gst_query_set_latency
855         API: gst_query_parse_latency
856
857 2007-02-02  Wim Taymans  <wim@fluendo.com>
858
859         * docs/design/draft-latency.txt:
860         Slight redesign to allow for dynamic latency adjustments.
861
862         * docs/design/part-negotiation.txt:
863         Fix some typos.
864
865 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
866
867         reviewed by: Wim Taymans <wim@fluendo.com>
868
869         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
870         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
871         Allow file://localhost/foo/bar URLs and correctly fail for every other
872         hostname that one sets. This was gnomevfssrc is linked for those if
873         installed as it can handle it (#403172)
874
875 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
876
877         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
878
879         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
880         (unref_data), (gst_collect_pads_add_pad_full):
881         * libs/gst/base/gstcollectpads.h:
882         Don't put the previously added destroy notify in the GstCollectData
883         struct as all it's padding is already used and we don't want to break
884         ABI. Instead put in the pad's GObject data for now. This should be
885         cleaned up for 0.11 (#402393).
886
887 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
888
889         reviewed by: Wim Taymans <wim@fluendo.com>
890
891         * docs/libs/gstreamer-libs-sections.txt:
892         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
893         (unref_data), (gst_collect_pads_add_pad),
894         (gst_collect_pads_add_pad_full):
895         * libs/gst/base/gstcollectpads.h:
896         API: Add function to specify a destroy notification for custom
897         GstCollectData when adding new pads in GstCollectPads (#402393).
898
899 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
900
901         * po/sv.po:
902           Update Swedish translation (#378255).
903
904 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
905
906         * docs/design/draft-klass.txt:
907           Fix the previous change, this is a list of categories and not a hierarchy.
908
909 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
910
911         * docs/design/draft-klass.txt:
912           Add info about how to get a list of used classes.
913
914 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
915
916         * plugins/elements/gsttypefindelement.c:
917         (gst_type_find_element_chain_do_typefinding),
918         (gst_type_find_element_change_state):
919           Don't leak found caps in chain function (no idea why that never
920           showed up as a leak anywhere).
921
922 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
923
924         * gst/gstplugin.h:
925           Fix and expand GstPluginDesc API docs.
926
927 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
928
929         * gst/gstcaps.c:
930         * gst/gstelementfactory.c:
931         * gst/gstpadtemplate.h:
932           api doc fixes
933
934         * libs/gst/controller/gstcontroller.c:
935         (gst_controlled_property_new):
936         * tests/examples/controller/audio-example.c:
937           comment fixes
938
939 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
940
941         * configure.ac:
942           comment about refining the xml deps
943
944         * docs/manuals.mak:
945           comments about moving away from jade for docs
946         
947         * gst/gst.c:
948           recommit the ifdefs to use the binary registry
949         
950         * gst/gstbin.c: (gst_bin_change_state_func):
951           this break is obsolete
952
953         * gst/gstelementfactory.h:
954           better GST_ELEMENT_DETAILS docs, add comment about translation
955
956         * gst/gstinfo.h:
957           remove eol slash
958
959         * gst/gstobject.c: (gst_signal_object_get_type):
960           add G_UNLIKELY as usual
961
962         * gst/gstpad.c: (gst_pad_event_default):
963           add fall trhu comment
964
965         * gst/gstregistrybinary.c: (gst_registry_binary_write),
966         (gst_registry_binary_initialize_magic),
967         (gst_registry_binary_save_string),
968         (gst_registry_binary_save_pad_template),
969         (gst_registry_binary_save_feature),
970         (gst_registry_binary_save_plugin),
971         (gst_registry_binary_write_cache),
972         (gst_registry_binary_check_magic),
973         (gst_registry_binary_load_pad_template),
974         (gst_registry_binary_load_feature),
975         (gst_registry_binary_load_plugin),
976         (gst_registry_binary_read_cache):
977           comment typo and formatting
978
979         * gst/gstutils.c: (gst_element_state_get_name),
980         (gst_element_state_change_return_get_name):
981           remove obsolete breaks
982
983         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
984           add FIXME 0.11 and remove cpp comment
985
986 2007-01-29  Edward Hervey  <edward@fluendo.com>
987
988         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
989         Fix print statement in an even more portable way.
990
991 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
992
993         * docs/gst/gstreamer-sections.txt:
994         * gst/gstutils.h:
995           API: add GST_ROUND_DOWN_* macros (#401781).
996
997 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
998
999         * docs/gst/gstreamer.types.in:
1000         * gst/gstregistry.c: (gst_registry_class_init):
1001           Document registry signals and make gtk-doc pick them up (#401381).
1002
1003 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
1004
1005         * docs/pwg/building-testapp.xml:
1006           Add some audioconverts and audioresample to the pipeline, and some
1007           more comments and error handling.
1008
1009 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
1010
1011         * docs/manual/manual.xml:
1012         * docs/pwg/pwg.xml:
1013           Fix typo (#400987).
1014
1015 2007-01-26  Wim Taymans  <wim@fluendo.com>
1016
1017         * gst/gstcaps.c: (gst_static_caps_get):
1018         Init caps flags too.
1019
1020 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
1021
1022         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
1023
1024         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1025         If not using mmap'ed files try to seek to the end instead of the
1026         start to determine whether we can seek at all. This fixes the case
1027         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
1028         seeks for everything afterwards fail. Fixes #400656
1029
1030 2007-01-25  Wim Taymans  <wim@fluendo.com>
1031
1032         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
1033         Add some refcount debugging.
1034         Make gst_static_caps_get threadsafe, which is needed when autoplugging
1035         in multiple streaming threads.
1036
1037 2007-01-25  Wim Taymans  <wim@fluendo.com>
1038
1039         Patch by: David Schleef <ds at schleef dot org>
1040
1041         * docs/libs/gstreamer-libs-sections.txt:
1042         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
1043         * libs/gst/base/gstadapter.h:
1044         API: gst_adapter_copy() that can reduce the amount of memcpy when
1045         getting data from the adapter. Fixes #388201.
1046
1047 2007-01-25  Edward Hervey  <edward@fluendo.com>
1048
1049         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1050         In print statements, "%x" is for guint. Fixes build on macosx.
1051
1052 2007-01-24  Edward Hervey  <edward@fluendo.com>
1053
1054         * plugins/elements/gstmultiqueue.c:
1055         (gst_multi_queue_loop):
1056         Small fix.
1057         (single_queue_overrun_cb), (single_queue_underrun_cb),
1058         (single_queue_check_full), (gst_single_queue_new):
1059         Implement single queue growth system.
1060         This uses the extra-size properties, and will grow single queues by
1061         that much if one goes full whereas there are others empty. This is
1062         called extra-mode in the code.
1063         When a single queue's levels go back below the initial max-size
1064         limits, it is no longer in extra-mode. This is to ensure we don't
1065         consume too much memory.
1066         Fixes #399875
1067
1068 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
1069
1070         * gst/gst.c: (gst_init_get_option_group):
1071           Make warning about late g_thread_init() calls a bit more explicit,
1072           so that it's more obvious to application developers what they need
1073           to do if a user files a bug against their application.
1074
1075 2007-01-22  Edward Hervey  <edward@fluendo.com>
1076
1077         * plugins/elements/gstmultiqueue.c:
1078         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
1079         Remove previous hack of unsetting the flushing flag for the source pad
1080         instead of activating it. Instead, fix the source pad activate function
1081         so that it no longer depends on having a parent set or not.
1082
1083 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
1084
1085         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
1086
1087         * docs/manual/basics-bus.xml:
1088           Fix example code, gst_element_unref() doesn't exist any longer.
1089
1090 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
1091
1092         Patch by: Mark Nauwelaerts <manauw at skynet be>
1093
1094         * gst/gstpad.c:
1095           Fix two docs typoes (#399094).
1096
1097 2007-01-19  Edward Hervey  <edward@fluendo.com>
1098
1099         * docs/faq/gst-uninstalled:
1100         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
1101         depending on libgstbaseutils can work in uninstalled environment.
1102
1103 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
1104
1105         * gst/gsttaglist.h:
1106         * gst/gsttagsetter.c:
1107         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
1108         statement for new tag.
1109
1110 2007-01-17  Edward Hervey  <edward@fluendo.com>
1111
1112         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
1113         When dynamically creating single queues, activate sinkpad before adding
1114         it.
1115         We should be doing the same thing for the source pad, but we can't
1116         since it would call a method which needs the parent to be set in order
1117         to work propertly. Instead of activating the source pad, we just unset
1118         the flushing flag, which is the minimal requirement for adding a pad
1119         to an element in a state greater than READY.
1120
1121 2007-01-17  Edward Hervey  <edward@fluendo.com>
1122
1123         * docs/faq/gst-uninstalled:
1124         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
1125         Mac OS X.
1126
1127 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
1128
1129         * tests/check/gst/gstabi.c:
1130         * tests/check/gst/struct_hppa.h:
1131         * tests/check/libs/libsabi.c:
1132         * tests/check/libs/struct_hppa.h:
1133           Add ABI structs for HPPA (see #393796).
1134
1135 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
1136
1137         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1138           Actually write ABI structs to the file specified in the GST_ABI
1139           environment variable, as the message we print claims we would.
1140
1141 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1142
1143         * tests/check/gst/gsttask.c:
1144           Fix header comment.
1145
1146 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1147
1148         * gst/gsttaglist.c: (_gst_tag_initialize):
1149           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
1150           previous two entries.
1151
1152 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1153
1154         * docs/gst/gstreamer-sections.txt:
1155         * gst/gsttaglist.c: (_gst_tag_initialize):
1156         * gst/gsttaglist.h:
1157           Add tag support for beat-per-minute.
1158
1159 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
1160
1161         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1162         (gst_registry_binary_initialize_magic),
1163         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
1164         (gst_registry_binary_save_pad_template),
1165         (gst_registry_binary_save_feature),
1166         (gst_registry_binary_save_plugin),
1167         (gst_registry_binary_write_cache),
1168         (gst_registry_binary_check_magic),
1169         (gst_registry_binary_load_pad_template),
1170         (gst_registry_binary_load_feature),
1171         (gst_registry_binary_load_plugin),
1172         (gst_registry_binary_read_cache):
1173         * gst/gstregistrybinary.h:
1174           Use glib types, cleanup comments, impement interfaces and uri-types.
1175
1176 2007-01-13  Andy Wingo  <wingo@pobox.com>
1177
1178         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
1179         getrange() to return buffers with other caps, while we fix
1180         demuxers and typefind, or otherwise change part-negotiation.txt.
1181
1182 2007-01-12  Andy Wingo  <wingo@pobox.com>
1183
1184         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
1185         Factor start/stop into this private function instead of partially
1186         in activate functions and partially in the change_state function.
1187         Fixes setup before the element has changed from READY->PAUSED, as
1188         is the case in pull-mode pipelines.
1189         (gst_base_transform_sink_activate_push)
1190         (gst_base_transform_src_activate_pull): Refactor to use
1191         gst_base_transform_activate().
1192         (gst_base_transform_change_state): Removed, not needed any more.
1193
1194         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1195         Truncate before fixating.
1196         
1197         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1198         Don't set_caps() if the result of fixating is ANY, as it's not
1199         supported, and not necessary in the case of a link with no
1200         template caps on either side. Fixes tests/check/libs/basesrc in
1201         some pull-mode tests.
1202
1203         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
1204         (gst_base_transform_init, gst_base_transform_sink_activate_push)
1205         (gst_base_transform_src_activate_pull): 
1206         Track the activation mode.
1207         (gst_base_transform_setcaps): In pull mode, when activating the
1208         src pad, after activating the sink pad, activate the sink pad's
1209         peer, as discussed in part-negotiation.txt.
1210
1211         * libs/gst/base/gstbasesrc.h: 
1212         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
1213         vmethod, as in basesink.
1214
1215         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
1216
1217         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
1218         mode, first proxy the setcaps to the peer pad.
1219         (gst_base_sink_pad_fixate): Add a fixate function that calls the
1220         new fixate vmethod.
1221         (gst_base_sink_default_activate_pull): Rename from
1222         gst_base_sink_activate_pull.
1223         (gst_base_sink_negotiate_pull): New function, performs negotiation
1224         in pull mode before calling ::activate_pull().
1225         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
1226         vmethod instead of the default implementation. I have no idea how
1227         this worked before. Negotiate before calling activate_pull.
1228
1229         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
1230         sink pads in pull mode. In addition to being correct, fixes
1231         filesrc ! decodebin ! identity ! fakesink.
1232         (gst_pad_get_range, gst_pad_pull_range): Don't call
1233         gst_pad_set_caps() if the caps changes; instead error out with
1234         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
1235
1236 2007-01-12  Andy Wingo  <wingo@pobox.com>
1237
1238         * docs/design/part-negotiation.txt: Update with more policy.
1239
1240 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1241
1242         * libs/gst/check/gstbufferstraw.h:
1243         * libs/gst/check/gstcheck.h:
1244           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
1245           belongs.
1246
1247 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1248
1249         * tests/check/Makefile.am:
1250         * tests/check/gst/.cvsignore:
1251         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
1252         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
1253         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
1254         (GST_START_TEST), (gst_tag_setter_suite):
1255           Add minimal unit test for beforementioned GstTagSetter bug.
1256
1257 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
1258
1259         Patch by: René Stadler <mail at renestadler dot de>
1260
1261         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1262           gst_tag_list_merge() returns a new list, so it's not the best idea
1263           to ingore its return value. Effectively meant that tags could only
1264           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
1265           Also add function guard to require a non-NULL taglist as input (has
1266           always been so due to gst_tag_list_copy(), just making it explicit).
1267
1268 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1269
1270         * docs/random/draft-missing-plugins.txt:
1271           Some additions: mention new API that is supposed to be used at the
1272           various stages; short blob about new gst-inspect introspection
1273           option; mention potential future problem with plugins that have
1274           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
1275
1276 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1277
1278         * tools/gst-inspect.c:
1279         (print_plugin_automatic_install_info_codecs),
1280         (print_plugin_automatic_install_info_protocols),
1281         (print_plugin_automatic_install_info), (main):
1282         Add --print-plugin-auto-install-info option to gst-inspect, so we can
1283         introspect plugin files and get machine-parsable output that corresponds
1284         to the last bit of the missing-plugin installer string (small gotcha:
1285         doesn't take into account ranks).
1286
1287 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
1288
1289         * configure.ac:
1290         * docs/gst/gstreamer-sections.txt:
1291         * gst/Makefile.am:
1292         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
1293         (gst_registry_lookup_locked):
1294         * gst/gstregistry.h:
1295         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1296         (gst_registry_binary_initialize_magic),
1297         (gst_registry_binary_save_string),
1298         (gst_registry_binary_save_pad_template),
1299         (gst_registry_binary_save_feature),
1300         (gst_registry_binary_save_plugin),
1301         (gst_registry_binary_write_cache),
1302         (gst_registry_binary_check_magic),
1303         (gst_registry_binary_load_pad_template),
1304         (gst_registry_binary_load_feature),
1305         (gst_registry_binary_load_plugin),
1306         (gst_registry_binary_read_cache):
1307         * gst/gstregistrybinary.h:
1308         * gst/gstregistryxml.c: (load_feature),
1309         (gst_registry_xml_read_cache):
1310           commit binary registry (disabled by default, see #359653)
1311
1312 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1313
1314         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
1315           Fix 'make check' too.
1316
1317 2007-01-10  Andy Wingo  <wingo@pobox.com>
1318
1319         * docs/design/part-negotiation.txt: Fix a typo, add a couple
1320         notes.
1321         
1322         * docs/design/part-negotiation.txt: Update with, um, one way that
1323         pull-mode negotiation might work?
1324
1325         * gst/gstpad.h: 
1326         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
1327         that the pad must be a src pad; makes sense to call it the other
1328         way in pull mode, and the logic is symmetric anyway.
1329
1330 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
1331
1332         * plugins/elements/gstfilesink.c:
1333           Include <stdio.h> for fseeko().
1334
1335 2007-01-10  Wim Taymans  <wim@fluendo.com>
1336
1337         * gst/gstevent.c:
1338         * gst/gstevent.h:
1339         Reserve LATENCY event.
1340
1341 2007-01-09  Wim Taymans  <wim@fluendo.com>
1342
1343         * docs/design/draft-latency.txt:
1344         Updates.
1345
1346 2007-01-09  Wim Taymans  <wim@fluendo.com>
1347
1348         * docs/design/draft-latency.txt:
1349         Updates.
1350
1351         * gst/gstelement.h:
1352         * gst/gststructure.c:
1353         * gst/gsttrace.c:
1354         Small typo fixes.
1355
1356 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1357
1358         * tests/check/.cvsignore:
1359           Ignore test-registry.xml as well.
1360
1361 2007-01-09  Wim Taymans  <wim@fluendo.com>
1362
1363         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
1364         unref data at the end when we are done with the pad.
1365
1366 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
1367
1368         * docs/gst/gstreamer-sections.txt:
1369         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
1370         (init_post), (gst_deinit), (gst_update_registry):
1371         * gst/gst.h:
1372           API: add gst_update_registry() (#391296).
1373
1374         * tests/check/Makefile.am:
1375         * tests/check/gst/gstregistry.c:
1376         * tests/check/gst/.cvsignore:
1377           Simple unit test for the above.
1378
1379 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
1380
1381         * gst/gstregistry.c: (gst_registry_scan_path_level):
1382           Plugin extension on HP-UX is .sl, add that to the list of approved
1383           plugin extensions (see #393796).
1384
1385         * tests/check/gst/gstpad.c: (GST_START_TEST):
1386           ulong => gulong. Fixes compilation with HP-UX compiler.
1387
1388         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1389           Fix compilation if valgrind headers are not available.
1390
1391 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
1392
1393         * win32/common/libgstreamer.def: 
1394           Add new exported function.
1395         * win32/vs6/libgstbase.dsp: 
1396           Add gstdataqueue.c to the build.
1397         * win32/vs6/libgstcoreelements.dsp:
1398           Add gstmultiqueue.c to the build.
1399         
1400 2007-01-06  Andy Wingo  <wingo@pobox.com>
1401
1402         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
1403         activate_pull(), providing for a way to specialize the process of
1404         spawning a thread to pull on the sink pad. There is a default
1405         implementation.
1406
1407         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
1408         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
1409         (gst_base_sink_init): Renamed pad activation functions (inserting
1410         "_pad" in their names). Refactor to use the new activate_pull
1411         vmethod, as appropriate.
1412         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
1413         default activate_pull function to start a task pulling from the
1414         sink pad, as before.
1415
1416         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
1417         on the pads if necessary, as in push()/chain(). Update docs.
1418         Shouldn't affect existing pull() usage as it is currently only
1419         being used on buffers without caps.
1420
1421 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1422
1423         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1424         (init_pre):
1425           Call g_thread_init() first thing in gst_init() / gst_check_init().
1426           When initialisation is done via gst_init_get_option_group() and
1427           GOption parsing, issue a warning if the GLib thread system has not
1428           been initialised yet by the time gst_init_get_option_group() is
1429           called, as it's quite likely other GLib functions such as
1430           g_option_context_new() have been called already then, and
1431           g_thread_init() must be called before any other GLib function. The
1432           application in question must be fixed in that case, since memory
1433           corruption might happen otherwise.
1434           We issue the warning because even if the GLib folks decide to work
1435           around the problem on their end in future, this is still an issue
1436           with all GLib versions >= 2.10.0, so we should warn until we depend
1437           on a GLib version we know to be safe.
1438           Update documentation as well.
1439           Closes bug #391278.
1440
1441 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1442
1443         * tools/gst-inspect.c: (main):
1444         * tools/gst-launch.c: (main):
1445         * tools/gst-typefind.c: (main):
1446         * tools/gst-xmlinspect.c: (main):
1447           Call g_thread_init() really really early, before any other GLib
1448           function (see #342564 and recent discussion on gtk-devel-list).
1449
1450 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1451
1452         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
1453
1454         * gst/gst_private.h:
1455         * gst/gstconfig.h.in:
1456         * gst/gstinfo.h:
1457           On win32, all the __declspec stuff for symbol exporting is
1458           apparently only needed with MSVC, but doesn't work with MingW.
1459           Fixes compilation with MingW and #391909.
1460
1461 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1462
1463         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
1464           Change some GST_ERROR_OBJECT that aren't really errors to
1465           GST_WARNING_OBJECT in order to reduce terminal spam.
1466
1467 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
1468
1469         * tests/check/Makefile.am:
1470           disable test again, as there seem to be still race problems
1471
1472 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
1473
1474         * tests/check/Makefile.am:
1475         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1476         (GST_START_TEST), (queue_suite):
1477           enable queue test again, add tests for the leaky behaviour
1478
1479 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
1480
1481         * configure.ac:
1482         * tests/examples/Makefile.am:
1483           Compile adapter test/example only if the required headers are
1484           available (fixes #391915).
1485
1486 2007-01-01  David Schleef  <ds@schleef.org>
1487
1488         * gst/gstplugin.c:
1489           Restore the previous signal handler for SIGSEGV instead of
1490           setting to default, since we may have stolen it away from
1491           someone.  (i.e., Mono)
1492
1493 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
1494
1495         * docs/random/draft-missing-plugins.txt:
1496           Some small additions and clarifications.
1497
1498 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
1499
1500         * gst/gstregistryxml.c: (gst_registry_save_escaped):
1501           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
1502           since that can lead to random memory corruptions and crashes
1503           (may or may not be related to #383244, #386711, and #386711).
1504
1505 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1506
1507         * tests/check/.cvsignore:
1508         * tests/check/Makefile.am:
1509           sync .cvsignome and CLEANFILES
1510
1511 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1512
1513         * tests/check/Makefile.am:
1514           fix distcheck
1515
1516 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1517
1518         * docs/design/part-states.txt:
1519           two tiny additional comments
1520         
1521         * gst/gststructure.c:
1522           doc fixing
1523
1524         * tests/check/Makefile.am:
1525         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1526         (GST_START_TEST):
1527           disable test for now, unless it gets fixed
1528
1529 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1530
1531         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1532         (GST_START_TEST):
1533           fix race in underrun test
1534
1535 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1536
1537         * tests/check/elements/.cvsignore:
1538           ignore more
1539
1540         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1541         (GST_START_TEST):
1542           try to narrow test failure
1543
1544 2006-12-21  David Schleef  <ds@schleef.org>
1545
1546         * plugins/elements/gstfakesrc.c:
1547           Use g_random_int_range(), since it produces better random
1548           numbers in a range than almost-correct floating point code.
1549
1550 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
1551
1552         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1553         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1554         (gst_check_teardown_sink_pad):
1555           do not automatically (de)activate pads
1556
1557         * tests/check/Makefile.am:
1558         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1559         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
1560           add new, yet simple tests for queue
1561
1562         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
1563         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
1564         * tests/check/elements/filesrc.c: (cleanup_filesrc),
1565         (GST_START_TEST):
1566         * tests/check/elements/identity.c: (cleanup_identity):
1567           consistent pad (de)activation
1568
1569 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
1570
1571         Patch by: Sebastian Dröge  <slomo ubuntu com>
1572
1573         * libs/gst/base/gstcollectpads.c:
1574           Fix two doc typos (#387866).
1575
1576 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
1577
1578         * docs/manual/advanced-dparams.xml:
1579           Fix typo (g_object_control_properties() doesn't exist).
1580
1581 2006-12-19  Edward Hervey  <edward@fluendo.com>
1582
1583         * gst/gstsegment.c: (gst_segment_set_seek):
1584         Fine tune the cases where the segment start/stop values are really
1585         updated.
1586         * tests/check/gst/gstsegment.c: (GST_START_TEST):
1587         Add tests for the return values of gst_segment_set_seek().
1588
1589 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
1590
1591         * gst/gst.c:
1592           Docs typo fix.
1593
1594         * plugins/elements/gstqueue.c: (gst_queue_class_init),
1595         (gst_queue_init):
1596           Fix incorrect documentation and flesh it out a bit more.
1597           Set default values for the max properties on the GParamSpec as well,
1598           so it shows up correctly in gst-inspect.
1599
1600 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
1601
1602         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1603           Correct docs of queue, add more detail and crosslink it more.
1604
1605 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
1606
1607         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1608           Print additional debug info when the stream isn't perfectly
1609           timestamped; don't try to use invalid durations.
1610
1611 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
1612
1613         * docs/design/Makefile.am:
1614           Dist new design docs.
1615
1616 2006-12-16  Wim Taymans  <wim@fluendo.com>
1617
1618         Patch by: Sjoerd Simons <sjoerd at luon dot net>
1619
1620         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
1621         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
1622         (gst_collect_pads_stop), (gst_collect_pads_event),
1623         (gst_collect_pads_chain):
1624         * libs/gst/base/gstcollectpads.h:
1625         Add refcounting to the collectpads data so we can track when it's safe
1626         to free the data. Fixes #383382.
1627
1628 2006-12-15  Wim Taymans  <wim@fluendo.com>
1629
1630         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1631         (gst_collect_pads_remove_pad):
1632         Automatically activate/deactivate pads when they are added to a
1633         started/stoped collectpads.
1634
1635 2006-12-15  Wim Taymans  <wim@fluendo.com>
1636
1637         * gst/gstelement.c: (gst_element_add_pad):
1638         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
1639         * gst/gstpad.c: (gst_pad_init):
1640         Set pads to FLUSHING when they are created. Check, warn and fix when a
1641         demuxer adds an inactive pad to itself when running. Fixes #339326.
1642
1643 2006-12-15  Wim Taymans  <wim@fluendo.com>
1644
1645         * gst/gstelement.c: (gst_element_class_init),
1646         (gst_element_default_send_event), (gst_element_send_event),
1647         (gst_element_default_query), (gst_element_query):
1648         Expose default element send_event and query handling as vmethods that
1649         subclasses can chain up to.
1650
1651 2006-12-15  Wim Taymans  <wim@fluendo.com>
1652
1653         * gst/gstelement.c: (gst_element_set_state_func):
1654         Small documentation fixes.
1655
1656 2006-12-15  Wim Taymans  <wim@fluendo.com>
1657
1658         * docs/design/draft-latency.txt:
1659         Checked in draft for handling latency in pipelines.
1660
1661 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1662
1663         * Makefile.am:
1664         * gstreamer.doap:
1665         * gstreamer.spec.in:
1666           adding .doap file
1667
1668 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
1669
1670         * gst/gst.c: (init_pre), (init_post):
1671           init_pre() and init_post() might be called via our GOptionGroup or
1672           from gst_init(), and we should skip both of them if we've already
1673           been initialised, otherwise we will init some things twice or add
1674           two default log functions.
1675
1676 2006-12-13  Edward Hervey  <edward@fluendo.com>
1677
1678         * docs/manual/basics-bus.xml:
1679         No, gst_main_loop does not exist. Its g_main_loop.
1680         Discovered by somebody who abused the copy-paste technique of coding :)
1681
1682 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
1683
1684         * gst/gstghostpad.c:
1685           Log ghostpad debug stuff to the GST_PADS category as well rather
1686           than just to the default category.
1687
1688 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
1689
1690         * configure.ac:
1691         * gst/gst.c: (init_pre):
1692           Add some basic system details such as OS and architecture
1693           to the debug output if possible, courtesy of uname().
1694
1695 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
1696
1697         * docs/gst/running.xml:
1698           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
1699           environment variables.
1700
1701 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
1702
1703         * tests/check/gst/gstbin.c: (GST_START_TEST):
1704         It is acceptable to have a refcount of 2 or 3 at this point in the
1705         test, because the pipeline might be just posting its state_change
1706         message. The next line then waits for that message to appear using
1707         bus_poll, so that should be fine too.
1708
1709 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
1710
1711         * gst/gst.c: (ensure_current_registry_forking):
1712         Ignore EINTR when reading from the child registry pipe.
1713         Explicitly ignore the return value from close, since it makes no
1714         difference.
1715
1716         * gst/gstminiobject.c: (gst_mini_object_ref),
1717         (gst_mini_object_unref):
1718         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
1719
1720         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
1721         When removing cached plugins, remove their features too, so they're
1722         not visible after they've disappeared.
1723
1724         * gst/gstutils.c: (prepare_link_maybe_ghosting):
1725         In the unlikely case that we are linking pads with no parents, don't
1726         crash trying to get the non-existent parent bin.
1727
1728         * gst/parse/grammar.y:
1729         Output debug in the PIPELINE category
1730
1731 2005-03-08  Wim Taymans  <wim@fluendo.com>
1732
1733         Patch by: René Stadler <mail at renestadler dot de>
1734
1735         * gst/gstclock.c: (gst_clock_new_periodic_id):
1736         Reject invalid clock times for interval of periodic ids.
1737         Fixes ##383506.
1738
1739 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
1740
1741         * gst/gstelementfactory.c: (gst_element_factory_create):
1742         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1743         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
1744         * tools/gst-inspect.c: (print_element_info):
1745         Fix refcounting of gst_plugin_feature_load to match the docs. 
1746         Fixes: #380129
1747
1748 2006-12-07  Wim Taymans  <wim@fluendo.com>
1749
1750         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
1751         (gst_base_sink_get_position):
1752         Improve debugging of events.
1753
1754 2006-12-07  Wim Taymans  <wim@fluendo.com>
1755
1756         Patch by: René Stadler <mail at renestadler dot de>
1757
1758         * gst/gstclock.c: (gst_clock_id_wait):
1759         Make period ids add the interval to the origial requested time instead
1760         of the possibly updated time which can be wrong when there are multiple
1761         waiters for the same id. Fixes #382592.
1762
1763         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
1764         (gst_system_clock_id_wait_jitter_unlocked),
1765         (gst_system_clock_id_wait_jitter):
1766         Fix restart in the async notify thread when an async entry is added to
1767         the front of the list. Fixes #381492. 
1768
1769         * tests/check/gst/gstsystemclock.c: (store_callback),
1770         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
1771         Added test for multiple async waits.
1772         Added test for async wait order.
1773
1774 2006-12-07  Wim Taymans  <wim@fluendo.com>
1775
1776         * gst/gstbin.c: (gst_bin_query):
1777         Add some more docs about the POSITION query.
1778
1779 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
1780
1781         * configure.ac:
1782         Bump version nano - back to CVS.
1783
1784 === release 0.10.11 ===
1785
1786 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
1787
1788         * configure.ac:
1789           releasing 0.10.11, "Love never runs on time"
1790
1791 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
1792
1793         * win32/common/libgstbase.def:
1794         * win32/common/libgstreamer.def:
1795         * win32/vs8/libgstbase.vcproj:
1796         * win32/vs8/libgstcoreelements.vcproj:
1797         * win32/vs8/libgstreamer.vcproj:
1798         Fix compilation on win32 under VS8
1799         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
1800         Partially fixes #381175
1801
1802 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
1803
1804         * gst/gstvalue.c: (gst_value_compare_fraction):
1805         If someone is foolish enough to compare 2 fractions with denominator =
1806         0, return UNORDERED rather than aborting.
1807
1808 2006-11-28  Edward Hervey  <edward@fluendo.com>
1809
1810         * libs/gst/base/Makefile.am:
1811         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
1812         (gst_data_queue_base_init), (gst_data_queue_class_init),
1813         (gst_data_queue_init), (gst_data_queue_new),
1814         (gst_data_queue_cleanup), (gst_data_queue_finalize),
1815         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
1816         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
1817         (gst_data_queue_is_empty), (gst_data_queue_is_full),
1818         (gst_data_queue_set_flushing), (gst_data_queue_push),
1819         (gst_data_queue_pop), (gst_data_queue_drop_head),
1820         (gst_data_queue_set_property), (gst_data_queue_get_property):
1821         * libs/gst/base/gstdataqueue.h:
1822         New GstDataQueue object for threadsafe queueing. Most useful for
1823         elements that need some queueing functionnality.
1824         * docs/libs/gstreamer-libs-docs.sgml:
1825         * docs/libs/gstreamer-libs-sections.txt:
1826         Insert documentation for GstDataQueue
1827         * plugins/elements/Makefile.am:
1828         * plugins/elements/gstelements.c:
1829         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
1830         (gst_multi_queue_class_init), (gst_multi_queue_init),
1831         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
1832         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
1833         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
1834         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
1835         (gst_multi_queue_loop), (gst_multi_queue_chain),
1836         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1837         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
1838         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
1839         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
1840         (wake_up_next_non_linked), (compute_next_non_linked),
1841         (single_queue_overrun_cb), (single_queue_underrun_cb),
1842         (single_queue_check_full), (gst_single_queue_new):
1843         * plugins/elements/gstmultiqueue.h:
1844         New multiqueue element, using GstDataQueue. Used for queuing multiple
1845         streams.
1846         Closes #344639 and #347785
1847
1848 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
1849
1850         * docs/pwg/advanced-types.xml:
1851           add more missing type details
1852
1853         * tools/gst-run.c: (main):
1854           remove unused variable
1855
1856 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
1857
1858         * docs/libs/Makefile.am:
1859         * docs/libs/gstreamer-libs.types:
1860           add types of base classes to enable gobject specific stuff in the docs
1861
1862         * docs/random/ensonic/embedded.txt:
1863           more ideas about isolating platform specific things
1864
1865 2006-11-20  Wim Taymans  <wim@fluendo.com>
1866
1867         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
1868
1869         * libs/gst/check/gstcheck.h:
1870         Fix compilation and running against 0.9.4. Fixes #377332.
1871
1872 2006-11-20  Wim Taymans  <wim@fluendo.com>
1873
1874         * gst/gstsegment.c: (gst_segment_set_seek),
1875         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
1876         (gst_segment_to_running_time):
1877         Fix boundary checking in to_running_time() and to_stream_time().
1878         Fixes #377183.
1879
1880         * tests/check/gst/gstsegment.c: (GST_START_TEST):
1881         stream and running time can now be calculated for the complete
1882         clipped segment.
1883
1884 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
1885
1886         * gst/gstpad.c: (gst_pad_push_event):
1887           Can't access event structure after giving away ownership of
1888           the event.
1889
1890 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
1891
1892         * docs/random/ensonic/embedded.txt:
1893         * docs/random/ensonic/profiling.txt:
1894         * docs/random/ensonic/receipies.txt:
1895           more thinking
1896
1897 2006-11-13  Wim Taymans  <wim@fluendo.com>
1898
1899         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
1900
1901         * gst/gstpad.c:
1902         Fix documentation for gst_pad_dispatcher. Fixes #374475.
1903
1904 2006-11-13  Wim Taymans  <wim@fluendo.com>
1905
1906         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
1907
1908         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1909         Store new length in segment duration so we don't keep on calling the
1910         potentially expensize get_size() call. Fixes #370865.
1911
1912 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
1913
1914         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
1915
1916         * win32/common/libgstreamer.def:
1917           Add two missing symbols (#366492).
1918
1919 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
1920
1921         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
1922         (gst_adapter_take_buffer):
1923         Fix format string to use all its arguments.
1924         Remove useless >= check on a guint
1925
1926 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
1927
1928         * tests/examples/adapter/.cvsignore:
1929         Ignore build file as commanded by the build-bot
1930
1931 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
1932
1933         * tests/examples/adapter/Makefile.am:
1934         * tests/examples/adapter/adapter_test.c: (run_test_take),
1935         (run_test_take_buffer), (run_tests), (main):
1936
1937         Add new files from the previous commit
1938
1939 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
1940
1941         * Makefile.am:
1942         * configure.ac:
1943         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
1944         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
1945         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
1946         * libs/gst/base/gstadapter.h:
1947         * tests/check/libs/adapter.c: (create_and_fill_adapter),
1948         (GST_START_TEST), (gst_adapter_suite):
1949         * tests/examples/Makefile.am:
1950         Do some optimisation work in GstAdapter to avoid copies in more cases.
1951         It could still do slightly better by merging buffers when
1952         gst_buffer_is_span_fast is true, but is already faster. 
1953
1954         Also, avoid traversing a single-linked list to append each incoming 
1955         buffer inside the adapter.
1956
1957         Add simple test app that times the adapter behaviour in different
1958         situations, and extend the unit test to check that bytes enter and
1959         exit the adapter in their original order.
1960
1961 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
1962
1963         * docs/random/draft-missing-plugins.txt:
1964           Update: use element message instead of adding a new message
1965           type to the core; don't provide GStreamer API to initiate the
1966           plugin download, just provide API to compose the strings needed
1967           and let an external libgimmestuff handle the rest.
1968
1969 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
1970
1971         * tools/gst-inspect.c: (print_element_properties_info):
1972         Print a string instead of 'unknown type' for GValueArray properties
1973
1974 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
1975
1976         * docs/random/draft-missing-plugins.txt:
1977         More small fixes.
1978
1979 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
1980
1981         * tests/examples/typefind/typefind.c: (type_found), (main):
1982           Make typefind element example work again (#371894); add a
1983           license header.
1984
1985 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
1986
1987         * docs/random/draft-missing-plugins.txt:
1988           Commit initial draft about how to deal with missing plugins,
1989           needs work (API too).
1990
1991 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
1992
1993         * docs/pwg/advanced-types.xml:
1994           documents the new caps elements (see #363118)
1995
1996 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
1997
1998         * gst/gstplugin.c: (gst_plugin_load_file):
1999         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
2000         (gst_file_src_map_region), (gst_file_src_start):
2001         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
2002         (gst_file_index_commit):
2003           Use g_strerror() instead of strerror() - we want UTF-8.
2004
2005 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2006
2007         Patch by: Peter Kjellerstedt <pkj at axis com>
2008
2009         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2010           Another printf fix (#371493).
2011
2012 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2013
2014         * tests/check/gst/gsttag.c:
2015           relicence (okay with author=company)
2016
2017 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2018
2019         * gst/gstpad.c: (gst_pad_event_default_dispatch),
2020         (gst_pad_push_event):
2021           Enhance debug and improve docs
2022         
2023         * gst/gsturi.c:
2024           Fix docs
2025
2026 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2027
2028         * docs/random/ensonic/distributed.txt:
2029         * docs/random/ensonic/profiling.txt:
2030           more ideas
2031
2032 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
2033
2034         * docs/gst/gstreamer-sections.txt:
2035           add new API and fix the build
2036           
2037         * gst/gstbin.c: (gst_bin_recalc_state):
2038         * gst/gstelement.c: (gst_element_message_full),
2039         (gst_element_get_state_func), (gst_element_set_state_func):
2040           use new API and improve logging
2041         
2042         * gst/gstutils.c: (gst_element_state_change_return_get_name):
2043         * gst/gstutils.h:
2044           API: add function to get StateChangereturn names to improve logs 
2045
2046 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
2047
2048         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2049           I'm considering shooting the next person to put strerror stuff
2050           in the translateable part of the message.
2051
2052 2006-11-03  Wim Taymans  <wim@fluendo.com>
2053
2054         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2055         Get the type and printf conversion specifiers right.
2056
2057 2006-11-03  Wim Taymans  <wim@fluendo.com>
2058
2059         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2060
2061         * gst/gstpad.c: (gst_pad_init), (pre_activate),
2062         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
2063         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
2064         Some small cleanups. Improve debugging.
2065         * gst/gstpad.h:
2066         Signal all waiting threads with a broadcast instead of just one.
2067         Fixes #369942.
2068
2069 2006-11-03  Wim Taymans  <wim@fluendo.com>
2070
2071         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2072         (gst_fd_src_create):
2073         Add some debugging. 
2074         Only update fd when it's different from the old.
2075
2076 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2077
2078         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
2079           Printf fixes for PPC/OSX, take two (#369366).
2080
2081 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2082
2083         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
2084
2085         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2086         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2087         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2088           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
2089           don't cast to long long for portability reasons, but use
2090           GLib's types instead.
2091
2092 2006-10-30  Michael Smith  <msmith@fluendo.com>
2093
2094         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2095           Get the arguments to lseek() the right way around.
2096           Fixes 367677.
2097
2098 2006-10-30  Wim Taymans  <wim@fluendo.com>
2099
2100         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
2101
2102         * gst/gstinfo.h:
2103         _declspec should be __declspec (two underscores, not one). Fixes 366572.
2104
2105 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
2106
2107         Patch by: Kjartan Maraas  <kmaraas at gnome org>
2108
2109         * docs/design/part-MT-refcounting.txt:
2110         * docs/random/wtay/capsnego2-docs:
2111         * gst/gstclock.c:
2112         * gst/gstxml.c:
2113           Typo fixes (#366212).
2114
2115 2006-10-28  Wim Taymans  <wim@fluendo.com>
2116
2117         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2118
2119         * gst/gst.c:
2120         * win32/common/libgstbase.def:
2121         * win32/common/libgstreamer.def:
2122         * win32/vs8/libgstbase.vcproj:
2123         * win32/vs8/libgstcontroller.vcproj:
2124         Add needed entries in .def files.
2125         Use HAVE_UNISTD_H.
2126         Rearrange def files in vs8 solutions. Fixes #366286.
2127
2128 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
2129
2130         * win32/common/gstconfig.h:
2131           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
2132           hand-made win32 gstconfig.h. Fixes #366321.
2133
2134 2006-10-27  Wim Taymans  <wim@fluendo.com>
2135
2136         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
2137         (gst_ghost_pad_new_full):
2138         Make acceptcaps return TRUE when we don't have a target, just like
2139         setcaps does.
2140
2141 2006-10-27  Wim Taymans  <wim@fluendo.com>
2142
2143         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2144         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
2145
2146 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
2147
2148         * gst/gststructure.c: (gst_structure_id_set_value):
2149           If someone tries to set a non-UTF8 string field on a structure,
2150           don't just print a warning, but also ignore the request and do
2151           not change/add that field to the structure.
2152
2153         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2154           Test for the above.
2155
2156 2006-10-25  David Schleef  <ds@schleef.org>
2157
2158         * gst/gstinfo.c:
2159           g_hash_table_insert() needs a cast to a non-const pointer duh.
2160
2161 2006-10-25  David Schleef  <ds@schleef.org>
2162
2163         * gst/gstinfo.c:
2164         * gst/gstinfo.h:
2165           Change name parameter of _gst_debug_register_funcptr to const
2166           to reflect the constness of its use in the function as well
2167           as to quiet a gcc warning.
2168
2169 2006-10-25  Edward Hervey  <edward@fluendo.com>
2170
2171         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2172         Don't push the buffer if it's empty.
2173         Closes #363095
2174
2175 2006-10-24  Wim Taymans  <wim@fluendo.com>
2176
2177         * gst/gstevent.h:
2178         Add small comment.
2179
2180         * libs/gst/base/gstbasetransform.c:
2181         (gst_base_transform_sink_eventfunc):
2182         Debug segment values *after* updating them as this is more
2183         interesting.
2184
2185 2006-10-23  Wim Taymans  <wim@fluendo.com>
2186
2187         * docs/design/part-events.txt:
2188         Update some docs.
2189
2190         * docs/design/part-block.txt:
2191         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2192         (gst_pad_push_event):
2193         Revert BLOCKING patch, it tries to be smart without really having a
2194         clear idea what or how. So, now we discard all FLUSHING events again on
2195         a blocking pad. Should fix gnonlin again.
2196
2197 2006-10-23  Wim Taymans  <wim@fluendo.com>
2198
2199         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2200
2201         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2202         (gst_base_src_start), (gst_base_src_activate_push):
2203         Make sure size is always initialized. Fixes #364388.
2204
2205 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
2206
2207         * docs/random/ensonic/distributed.txt:
2208           add some ideas about doing distributed processing
2209
2210         * docs/random/ensonic/profiling.txt:
2211           get_rusage look promising
2212
2213 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
2214
2215         * docs/manual/basics-helloworld.xml:
2216           Add a cast in example to fix compile warning
2217
2218 2006-10-18  Wim Taymans  <wim@fluendo.com>
2219
2220         * gst/gstsegment.c: (gst_segment_set_last_stop),
2221         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2222         Relax arg checking again, -1 is allowed.
2223
2224 2006-10-18  Wim Taymans  <wim@fluendo.com>
2225
2226         * gst/gstsegment.c: (gst_segment_set_last_stop),
2227         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2228         _set_last_stop() must be with a value != -1
2229         A _TYPE_SET to -1 means seek to 0.
2230         Calc last_stop correctly for negative rates.
2231         Make sure we work with positive durations when updating a segment.
2232
2233 2006-10-18  Wim Taymans  <wim@fluendo.com>
2234
2235         * docs/design/part-live-source.txt:
2236         * gst/gstclock.h:
2237         Small docs fixes.
2238
2239 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
2240
2241         * gst/gstbuffer.h:
2242           Add an explicit cast to GstBuffer** to keep old code that added an
2243           explicit cast to GstMiniObject** for gst_mini_object_replace()
2244           compiling without warning.
2245
2246 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
2247
2248         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
2249           check for validity of dates
2250
2251 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2252
2253         * docs/gst/gstreamer-sections.txt:
2254           Forgot this one, makes gtk-doc shut up.
2255
2256 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2257
2258         Patch by: Peter Kjellerstedt <pkj at axis com>
2259
2260         * gst/gstobject.h:
2261           Don't define xmlNodePtr to gpointer if the core was built with
2262           --disable-loadsave and --disable-registry, this will break
2263           applications that want to use libxml2 but are buildling against a
2264           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
2265           instead so we don't have to mess with the libxml2 namespace
2266           (#361675).
2267
2268 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
2269
2270         * gst/gstbuffer.h:
2271           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
2272           type-punned pointer warnings.
2273
2274 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2275
2276         * gst/gstelement.h:
2277           Add casts to the correct return type to state <=> state transition
2278           macros.
2279
2280 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
2281
2282         * docs/design/part-live-source.txt:
2283           describe howto handle latency
2284         
2285         * docs/random/ensonic/profiling.txt:
2286           more ideas
2287
2288         * tools/gst-plot-timeline.py:
2289           fix log parsing for solaris, remove unused function
2290
2291 2006-10-16  Wim Taymans  <wim@fluendo.com>
2292
2293         * docs/design/part-trickmodes.txt:
2294         * gst/gstevent.c:
2295         Update some docs regarding reverse playback.
2296
2297 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2298
2299         Patch by: Marcus Granado  <mrc dot gran at gmail com>
2300
2301         * win32/vs8/grammar.vcproj:
2302           Error out with a warning if glib-genmarshal.exe is not in path,
2303           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
2304
2305 2006-10-13  Wim Taymans  <wim@fluendo.com>
2306
2307         * gst/gstsegment.c: (gst_segment_set_seek):
2308         When seeking to stop -1, set last_stop (current position) to the
2309         duration of the segment.
2310
2311 2006-10-13  Wim Taymans  <wim@fluendo.com>
2312
2313         * gst/gstelement.h:
2314         Clarify _NO_PREROLL a bit more.
2315
2316         * gst/gstevent.c:
2317         Fix docs.
2318
2319         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
2320         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
2321         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
2322         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
2323         due to wrong locking order. Fixes #361769.
2324         Remove some redundant/misplaced checks in pad_block.
2325
2326         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2327         For negative rates, count backwards from the duration.
2328
2329 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2330
2331         * gst/gsterror.c: (_gst_library_errors_init):
2332           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
2333           up with something better).
2334
2335 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
2336
2337         * win32/vs6/libgstreamer.dsp:
2338         * win32/vs7/libgstreamer.vcproj:
2339         * win32/vs8/libgstreamer.vcproj:
2340           Don't reference glib-compat.c which is currently not used and not
2341           disted; add gstquark.c which was recently added. Fixes #361730.
2342
2343 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
2344
2345         * win32/common/libgstbase.def:
2346         * win32/common/libgstcontroller.def:
2347         * win32/common/libgstreamer.def:
2348           Add gst_caps_merge() and a bunch of other recently-added functions.
2349           Fixes #361732.
2350
2351 2006-10-11  Wim Taymans  <wim@fluendo.com>
2352
2353         * docs/plugins/gstreamer-plugins.args:
2354         * docs/plugins/inspect/plugin-coreelements.xml:
2355         * docs/plugins/inspect/plugin-coreindexers.xml:
2356         Update element args.
2357
2358         * gst/gstsystemclock.c:
2359         Small comment update.
2360
2361         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
2362         (gst_tee_request_new_pad), (gst_tee_release_pad),
2363         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
2364         (gst_tee_sink_activate_pull):
2365         * plugins/elements/gsttee.h:
2366         Some tee loving:
2367         Add default property defines.
2368         Implement release pad function.
2369         Give properties better blubs etc.
2370         Activate pads before adding them to a running tee.
2371         Do simple buffer_alloc on the first requested pad.
2372         Post error when activation fails.
2373
2374 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
2375
2376         * gst/gst.c: (ensure_current_registry_forking):
2377           Check return value of write() to make compiler happy.
2378
2379 2006-10-11  Wim Taymans  <wim@fluendo.com>
2380
2381         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2382
2383         * plugins/elements/gstqueue.c: (gst_queue_chain):
2384         Recheck queue filledness after signalling the overrun when we're about
2385         to leak downstream because we released the lock when emitting the signal
2386         and the queue could be empty again. Fixes #352345.
2387
2388 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
2389
2390         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2391           Fix refcounting here too, just like we did for _new_valist() a few
2392           days ago (#357180) (thanks to René Stadler). Also remove all those
2393           'Since: 0.9' from the gtk-doc blobs.
2394
2395         * tests/check/libs/controller.c: (controller_refcount_new_list),
2396         (gst_controller_suite):
2397           Unit test for the above.
2398
2399 2006-10-10  Wim Taymans  <wim@fluendo.com>
2400
2401         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
2402
2403         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2404         (gst_pad_save_thyself):
2405         Update some docs.
2406         Write pad direction in XML output. Fixes #345496.
2407
2408 2006-10-10  Wim Taymans  <wim@fluendo.com>
2409
2410         Patch by: René Stadler <mail at renestadler dot de>
2411
2412         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2413         (gst_controller_new_list), (_gst_controller_dispose),
2414         (_gst_controller_finalize), (_gst_controller_class_init):
2415         Take ref to controlled object so that it cannot disappear. 
2416         Fixes #357432.
2417
2418 2006-10-10  Wim Taymans  <wim@fluendo.com>
2419
2420         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2421         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2422         (gst_check_teardown_sink_pad):
2423         Activate/deactivate pads in setup/teardown respectively.
2424
2425 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2426
2427         Patch by: Josep Torre Valles <josep@fluendo.com>
2428
2429         * gst/Makefile.am:
2430         Cast values when making gstenumtypes.h.  This pacifies Forte
2431         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
2432         in the enumeration.
2433
2434 2006-10-09  Wim Taymans  <wim@fluendo.com>
2435
2436         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
2437         Rename some more @cur to @start to fix docs. 
2438
2439         * gst/gstsegment.c: (gst_segment_set_seek):
2440         Fix typo.
2441         time and start must always stay in sync as defined in design doc.
2442
2443         * gst/gsttaglist.c: (gst_tag_list_is_empty):
2444         Rename param to fix docs.
2445
2446         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2447         Check that start and time are in sync.
2448
2449         * tests/check/pipelines/parse-launch.c:
2450         (gst_parse_test_element_change_state):
2451         Activate pad before adding to the element.
2452
2453 2006-10-09  Wim Taymans  <wim@fluendo.com>
2454
2455         * docs/design/part-qos.txt:
2456         Fix typo.
2457
2458         * gst/gstevent.c:
2459         * gst/gstevent.h:
2460         Update seek event docs regarding negative rates.
2461         Rename @cur to @start. 
2462
2463         * gst/gstsegment.c: (gst_segment_set_seek):
2464         * gst/gstsegment.h:
2465         Update set_seek docs regarding negative rates.
2466         Correctly update last_stop to @stop when dealing with negative
2467         rates.
2468         Rename @cur to @start. 
2469
2470         * tests/check/gst/gstpad.c: (GST_START_TEST):
2471         Activate pads before trying to use them.
2472
2473         * tests/check/gst/gstsegment.c: (GST_START_TEST),
2474         (gst_segment_suite):
2475         Add simple check for segments and negative rates.
2476
2477 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2478
2479         * gst/gsttaglist.c: (gst_tag_list_is_empty):
2480         * gst/gsttaglist.h:
2481         * docs/gst/gstreamer-sections.txt:
2482           API: add gst_tag_list_is_empty() (#360467).
2483
2484         * tests/check/gst/gsttag.c: (GST_START_TEST):
2485           And a test case.
2486
2487 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2488
2489         * gst/gstmessage.h:
2490         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
2491         a value that doesn't fit on enumeration.
2492
2493 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2494
2495         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2496         Remove local debugging system and use Gstreamer's instead.
2497
2498 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2499
2500         Patch by: Josep Torre Valles <josep@fluendo.com>
2501
2502         * common/m4/gst-error.m4:
2503         Disable warning of statement not reached on Forte.
2504         * gst/gstmessage.h:
2505         Fix warning on Forte (value doesn't fit on enumeration).
2506         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
2507         Fix warning on Forte (value doesn't fit on enumeration).
2508         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2509         DEBUG macro says it takes minimum of 2 args and so Forte
2510         complains about the use with just 1 arg.
2511         * plugins/elements/gstfdsink.c:
2512         * plugins/elements/gstfdsrc.c:
2513         * plugins/elements/gstfilesink.c:
2514         * plugins/elements/gstfilesrc.c:
2515         Use correct return type for the uri handler implementations.
2516
2517         All these fix warnings in Forte.  Fixes bug #360860.
2518
2519 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2520
2521         * gst/gstelement.h:
2522           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
2523           format string, so don't use G_GNUC_PRINTF for those versions.
2524
2525 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
2526
2527         * gst/gsttaglist.c: (gst_is_tag_list):
2528         * gst/gsttaglist.h:
2529           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
2530
2531         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2532           Small test for the above.
2533
2534 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
2535
2536         * gst/gsttaglist.h:
2537           Less tabs, more spaces.
2538
2539 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
2540
2541         * gst/gstinfo.h:
2542           Those two function declarations do actually belong there, revert
2543           commit from yesterday that turned them intro macros.
2544
2545 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2546
2547         Patch by: Josep Torre Valles <josep@fluendo.com>
2548
2549         * gst/gst.c: (gst_init_get_option_group):
2550         Fix empty declaration and type mismatch.
2551         * gst/gstbin.c: (gst_bin_change_state_func):
2552         Fix type mismatch.
2553         * gst/gstelement.c: (gst_element_continue_state),
2554         (gst_element_set_state_func), (gst_element_change_state),
2555         (gst_element_change_state_func):
2556         Fix type mismatches.
2557         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
2558         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
2559         Cast as appropriate.
2560         * gst/gstobject.c: (gst_class_signal_connect):
2561         Cast as appropriate.  The function pointer parameter really
2562         has the wrong type but would break API if we change it.
2563         * gst/gstquery.c:
2564         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
2565         order of including string.h.
2566         * gst/gstutils.c: (gst_element_state_get_name):
2567         Remove unreachable line.
2568         * gst/gstxml.c: (gst_xml_parse_doc):
2569         Fix type mismatch.
2570         All these caught by Forte.
2571
2572 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2573
2574         Patch by: Josep Torre Valles <josep@fluendo.com>
2575
2576         * common/m4/gst-error.m4:
2577         Fixed bug #360151.
2578         We need to disable warnings on Forte for empty declarations
2579         due to gst-indent adding ;s to lines that just use macros
2580         where the macro actually doesn't need a ; at end to end
2581         statement.
2582
2583 2006-10-06  Wim Taymans  <wim@fluendo.com>
2584
2585         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2586         (gst_file_sink_close_file), (gst_file_sink_event),
2587         (gst_file_sink_render):
2588         Add some FIXME for the NEWSEGMENT handling.
2589
2590 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2591
2592         * gst/parse/grammar.y:
2593         Remove static function gst_parse_element_lock as all it does
2594         is return.  Looks like cruft from 0.8.
2595
2596 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2597
2598         Patch by: Josep Torre Valles <josep@fluendo.com>
2599
2600         * common/m4/gst-error.m4:
2601         * configure.ac:
2602         * libs/gst/net/Makefile.am:
2603         Fix a compilation issue with Forte on Solaris.  inet_aton is in
2604         libresolv.
2605
2606 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
2607
2608         * gst/gstpad.c: (pre_activate):
2609         * gst/gstregistry.c: (gst_registry_scan_path_level):
2610         * gst/gstregistryxml.c: (load_plugin):
2611         * libs/gst/controller/gstcontroller.c:
2612         (gst_controlled_property_set_interpolation_mode):
2613         * libs/gst/dataprotocol/dataprotocol.c:
2614         (gst_dp_packet_from_event_1_0):
2615         * libs/gst/net/gstnetclientclock.c:
2616         (gst_net_client_clock_observe_times):
2617         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2618           Printf fixes.
2619
2620 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
2621
2622         * configure.ac:
2623         * docs/gst/gstreamer-sections.txt:
2624         * gst/gstconfig.h.in:
2625         * gst/gstelement.h:
2626         * gst/gstinfo.h:
2627           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
2628           whether we can use G_GNUC_PRINTF in other header files and at
2629           least check the printf format/arguments of debug messages and
2630           GST_ELEMENT_ERROR messages when the printf extension is not
2631           being used.
2632           Replace more tabs with spaces in gstinfo.h and remove two spurious
2633           function declarations in GST_DISABLE_DEBUG part with macros.
2634
2635 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
2636
2637         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
2638           More docs for the sync-message signal (mention that it is not
2639           emitted by default); log message structures of messages posted on
2640           the bus as well.
2641
2642 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
2643
2644         * gst/gst.c: (ensure_current_registry_forking):
2645         Use a pipe pair to receive status results from the forked child, and
2646         ignore the result from waitpid. Fixes #355499
2647
2648 2006-10-02  Wim Taymans  <wim@fluendo.com>
2649
2650         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
2651         (gst_ghost_pad_suite):
2652         Fix leak in check.
2653
2654 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
2655
2656         * gst/gstpad.c:
2657           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
2658
2659 2006-10-02  Edward Hervey  <edward@fluendo.com>
2660
2661         * docs/design/part-block.txt:
2662         Further explain the use of flushing on blocked pads.
2663         * docs/gst/gstreamer-sections.txt:
2664         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2665         (gst_pad_push_event):
2666         * gst/gstpad.h:
2667         Added new GstPadFlag : GST_PAD_BLOCKING.
2668         Adds the notion of pads really blocking, which enables to properly
2669         handle FLUSH_START/FLUSH_STOP events on blocked pads.
2670         Fixes #358999
2671         API: gst_pad_is_blocking()
2672         API: GST_PAD_IS_BLOCKING() macro
2673         API: GST_PAD_BLOCKING GstPadFlag
2674         
2675 2006-10-02  Wim Taymans  <wim@fluendo.com>
2676
2677         Patch by: mrcgran <mrc.gran at gmail dot com>
2678
2679         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
2680         Filter the proxied caps against the padtemplate if we have one.
2681
2682         * gst/gstquery.c: (gst_query_new_segment):
2683         Add include for gstinfo.h so that compilation with
2684         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
2685
2686 2006-10-02  Wim Taymans  <wim@fluendo.com>
2687
2688         Patch by: Alessandro Decina  <alessandro at nnva org>
2689
2690         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
2691         (gst_file_sink_set_location), (gst_file_sink_open_file),
2692         (gst_file_sink_close_file), (gst_file_sink_event),
2693         (gst_file_sink_render):
2694         Set file to NULL when closing filesink so that we can set a new filename
2695         in READY. Fixes #358613.
2696
2697 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
2698
2699         Patch by: Alessandro Decina  <alessandro at nnva org>
2700
2701         * gst/gstevent.c: (_gst_event_copy):
2702           Fix gst_mini_object_make_writable() and gst_event_copy() for events
2703           with event structures by setting the parent refcount address of the
2704           copied structure to the address of the refcount member of the newly
2705           copied event rather than the address of the refcount member of the
2706           original event. Fixes #358737.
2707
2708         * tests/check/gst/gstevent.c: (GST_START_TEST):
2709           Unit test for the above.
2710
2711 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
2712
2713         * docs/design/Makefile.am:
2714           Dist some more files.
2715
2716 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
2717
2718         * tests/check/libs/controller.c: (GST_START_TEST),
2719         (gst_controller_suite):
2720           Add test for the previous fix; add some more tests
2721           for correct refcounting behaviour; fix a few leaks
2722           in test cases; call gst_controller_init() at start
2723           of all tests.
2724
2725 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
2726
2727         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2728         (gst_controller_set_from_list):
2729           Don't g_return_val_if_fail() on timed values with invalid timestamps
2730           inside a critical section without unlocking the mutex. Spotted by
2731           René Stadler. (#357617)
2732           Also, fix up refcounting properly: when returning an existing
2733           controller, we should increase the reference only once and not
2734           once per property and when trying to control a property again
2735           we should also increase the refcount.
2736
2737 2006-09-29  Wim Taymans  <wim@fluendo.com>
2738
2739         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2740         * libs/gst/net/gstnettimeprovider.c:
2741         (gst_net_time_provider_thread):
2742         Stop reading commands when EOF as well.
2743
2744         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2745         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2746         * plugins/elements/gstidentity.c: (gst_identity_class_init):
2747         Unify description of the dump property.
2748
2749 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
2750
2751         * tests/examples/manual/.cvsignore:
2752         OK, so it's actually cvsignore that needs changing. Stop laughing.
2753
2754 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
2755
2756         * tests/examples/manual/Makefile.am:
2757         Gah, declare vars *before* using them
2758
2759 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
2760
2761         * gst/gst.c: (init_pre), (scan_and_update_registry),
2762         (ensure_current_registry_nonforking),
2763         (ensure_current_registry_forking), (ensure_current_registry),
2764         (init_post), (gst_debug_help), (gst_deinit):
2765         * gst/gst_private.h:
2766         * gst/gstregistry.c: (gst_registry_finalize),
2767         (gst_registry_remove_features_for_plugin_unlocked),
2768         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
2769         (gst_registry_scan_path),
2770         (_priv_gst_registry_remove_cache_plugins),
2771         (_priv_gst_registry_cleanup):
2772         * gst/gstregistry.h:
2773         Re-commit the registry changes, along with an extra fix:
2774           When a cached plugin is encountered at a different file path,
2775           update the stored path in the registry cache so that the parent
2776           process knows where it actually is now when it re-reads the registry
2777           cache. Fixes the thing that broke distcheck with the previous commit.
2778
2779         * tests/check/Makefile.am:
2780         Clean up files named 'core' too when running make clean.
2781
2782         * tests/examples/manual/Makefile.am:
2783         Set up a registry path for running these tests, and clean it properly
2784         for distcheck.
2785
2786 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
2787
2788         * configure.ac:
2789         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
2790         want gmodule-no-export-2.0.pc instead so that we don't drag in
2791         --export-dynamic on every project that links to GStreamer.
2792
2793         Also, make our export regex only match the start of symbols, rather 
2794         than any symbol that contains '_gst' somewhere.
2795
2796         * libs/gst/check/Makefile.am:
2797         The libgstcheck we build does however need export-dynamic, as it
2798         produces some symbols that don't match our _gst... style regex.
2799         Fixes: #318031
2800
2801 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
2802
2803         * gst/gst.c: (init_pre), (scan_and_update_registry),
2804         (ensure_current_registry_nonforking),
2805         (ensure_current_registry_forking), (ensure_current_registry),
2806         (init_post), (gst_debug_help), (gst_deinit):
2807         * gst/gst_private.h:
2808         * gst/gstregistry.c: (gst_registry_finalize),
2809         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
2810         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
2811         (_gst_registry_cleanup):
2812         * gst/gstregistry.h:
2813           Revert previous change until I figure out why it breaks distcheck.
2814
2815 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
2816
2817         * gst/gst.c: (init_pre), (scan_and_update_registry),
2818         (ensure_current_registry_nonforking),
2819         (ensure_current_registry_forking), (ensure_current_registry),
2820         (init_post), (gst_debug_help), (gst_deinit):
2821
2822           Make init_pre and init_post take the full complement of GOptionFunc
2823           args so they can return useful GErrors. Make the registry updating
2824           functions do so.
2825
2826           Call _priv_gst_registry_remove_cache_plugins after scanning files to
2827           ensure that the registry we're about to write out doesn't contain
2828           stale information about old-deleted plugin files.
2829
2830           Make _priv_gst_registry_remove_cache_plugins return a boolean so
2831           that deletion of plugin files is considered a registry change.
2832
2833         * gst/gst_private.h:
2834         * gst/gstregistry.c: (gst_registry_finalize),
2835         (gst_registry_remove_features_for_plugin_unlocked),
2836         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
2837         (gst_registry_scan_path),
2838         (_priv_gst_registry_remove_cache_plugins),
2839         (_priv_gst_registry_cleanup):
2840         * gst/gstregistry.h:
2841         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
2842         by adding _priv prefix, so that they won't appear in the global
2843         symbol table. They still do atm though because of #318031. Move the
2844         prototypes to gst_private.h
2845
2846         When removing a plugin, remove all features for that plugin too. 
2847         Fixes #340878.
2848
2849 2006-09-27  Wim Taymans  <wim@fluendo.com>
2850
2851         * docs/random/moving-plugins:
2852         Make it clear that the "compiled-in descriptions" really mean
2853         the element details.
2854
2855         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2856         (gst_base_sink_wait_preroll):
2857         Update docs.
2858
2859         * docs/libs/gstreamer-libs-sections.txt:
2860         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2861         (gst_base_src_get_range), (gst_base_src_activate_push):
2862         * libs/gst/base/gstbasesrc.h:
2863         Added function to block while waiting for PLAYING, this function
2864         is used by live sources that block on the clock.
2865         API: gst_base_src_wait_playing()
2866
2867 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
2868
2869         Patch by: Peter Kjellerstedt <pkj at axis com>
2870
2871         * Makefile.am:
2872           gst-element-check.m4 is generated and should therefore be
2873           copied from the build dir rather than the source dir (#357593).
2874           'make distcheck' hasn't noticed this because we were disting
2875           the file as well, so stop doing that.
2876
2877 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
2878
2879         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2880           Add some tests for gst_caps_intersect().
2881
2882         * tools/gst-launch.c: (event_loop):
2883           Print all buffering percentages we get, even the 100% one.
2884
2885 2006-09-26  Wim Taymans  <wim@fluendo.com>
2886
2887         * tools/gst-inspect.c: (print_element_properties_info),
2888         (print_signal_info):
2889         Fix printing of flags to match the look of enums.
2890
2891 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
2892
2893         * gst/gstelementfactory.c:
2894           Fix typo in docs blurb.
2895
2896 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
2897
2898         * gst/gsturi.c: (search_by_entry):
2899           Don't assert/crash here if a uri handler doesn't return any
2900           supported protocols. The list of protocols could be generated
2901           dynamically at runtime or at plugin registration, and an error
2902           in the underlying library shouldn't be fatal (#353301).
2903
2904 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
2905
2906         * gst/gstinfo.c:
2907           Fix warning if HAVE_PRINTF_EXTENSION is undefined
2908           (spotted by Peter Kjellerstedt).
2909
2910 2006-09-23  Wim Taymans  <wim@fluendo.com>
2911
2912         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
2913
2914         * libs/gst/base/gstbasesrc.c:
2915         (gst_base_src_default_check_get_range), (gst_base_src_start),
2916         (gst_base_src_activate_push), (gst_base_src_activate_pull),
2917         (gst_base_src_change_state):
2918         Match _start/_stop calls in the activate functions. Remove redundant
2919         _stop call from the state change function. Fixes #356910.
2920         Turn failure DEBUG into ERROR. 
2921
2922 2006-09-22  Wim Taymans  <wim@fluendo.com>
2923
2924         * docs/design/part-buffering.txt:
2925         * gst/gstmessage.c: (gst_message_new_buffering),
2926         (gst_message_parse_buffering):
2927         Update docs about buffering.
2928
2929         * docs/design/part-trickmodes.txt:
2930         Fix typo.
2931
2932 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
2933
2934         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2935         (gst_controller_new_list):
2936           Ref instances when returning them again (fixes #357180)
2937
2938 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
2939
2940         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
2941           Don't forget to release proxy lock when there's an error.
2942
2943 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
2944
2945         * gst/gstcaps.h:
2946           Add extra initialisers for Caps things, to fix some plugin warnings
2947           when using -Wextra
2948
2949 2006-09-18  Wim Taymans  <wim@fluendo.com>
2950
2951         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
2952           Also set template on the internal pad so that a getcaps from the 
2953           target pad returns the template caps.
2954
2955 2006-09-18  Wim Taymans  <wim@fluendo.com>
2956
2957         * gst/gstelement.c: (gst_element_post_message),
2958         (gst_element_dispose):
2959         Use _DEBUG_OBJECT some more.
2960
2961         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2962         Avoid typechecks.
2963
2964         * tools/gst-launch.c: (main):
2965         If the toplevel element is not a GstPipeline, it must be put in a
2966         pipeline so that a bus and clock is selected.
2967
2968 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
2969
2970         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2971           JITTER, RATE, and LATENCY query should be handled by the
2972           default case and not by the CONVERT query code.
2973
2974 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
2975
2976         * gst/gstformat.c: (gst_format_register):
2977           Fix locking order (must take lock before using n_values).
2978
2979         * gst/gstvalue.c: (gst_value_serialize_enum),
2980         (gst_value_deserialize_enum_iter_cmp),
2981         (gst_value_deserialize_enum):
2982           Fix serialisation/deserialisation of custom registered GstFormats.
2983
2984         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2985           Unit test for custom format serialisation/deserialisation.
2986
2987 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
2988
2989         * docs/pwg/building-boiler.xml:
2990         * plugins/elements/gstcapsfilter.c:
2991         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
2992         section.
2993
2994 2006-09-16  Edward Hervey  <edward@fluendo.com>
2995
2996         * libs/gst/base/gstbasetransform.c:
2997         (gst_base_transform_buffer_alloc):
2998         Check if requested caps are the same as the sinks caps IF
2999         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
3000         is FALSE.
3001         This fixes the renegotiation issues stated in #352827.
3002
3003 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3004
3005         * configure.ac:
3006         * docs/manual/advanced-autoplugging.xml:
3007         * tests/examples/Makefile.am:
3008         * tests/examples/manual/.cvsignore:
3009         * tests/examples/manual/Makefile.am:
3010         * tests/examples/manual/extract.pl:
3011           Extract the manual examples again like we used to do.
3012           Fix one of them.
3013
3014 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3015
3016         * win32/common/config.h:
3017           update for version
3018
3019 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
3020
3021         * gst/gsterror.c:
3022           Documents how to receive errors.
3023
3024 2006-09-15  Wim Taymans  <wim@fluendo.com>
3025
3026         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
3027         (event_loop), (main):
3028         Added some comments here and there.
3029         Post an application message when an interrupt is caught instead of doing
3030         an uncontrolled state change.
3031         Clean up the event loop.
3032         Handle buffering messages, pause/resume the pipeline.
3033         Make shutdown because of an interrupt more reliable.
3034
3035 2006-09-15  Wim Taymans  <wim@fluendo.com>
3036
3037         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3038         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
3039         (gst_base_sink_preroll_object):
3040         Make sure that our internal state is correct when we commit our state
3041         asynchronously. This solves a race where a state change to PLAYING
3042         could cause the sink to remain blocked in preroll in some situations.
3043
3044 2006-09-15  Wim Taymans  <wim@fluendo.com>
3045
3046         * tools/gst-inspect.c: (print_element_properties_info),
3047         (print_signal_info):
3048         List flags as hex so it's easier to deal with.
3049
3050 2006-09-15  Wim Taymans  <wim@fluendo.com>
3051
3052         * docs/libs/gstreamer-libs-sections.txt:
3053         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
3054         (gst_base_sink_do_sync):
3055         * libs/gst/base/gstbasesink.h:
3056         Expose logic to wait for preroll so that subclasses such as audiosink
3057         can also use this method.
3058         API: gst_base_sink_wait_preroll()
3059
3060 2006-09-15  Wim Taymans  <wim@fluendo.com>
3061
3062         * gst/gstobject.c: (gst_object_set_parent):
3063         * gst/gstpipeline.c: (do_pipeline_seek):
3064         Small cleanups in docs and code.
3065
3066         * gst/gstsegment.c: (gst_segment_clip):
3067         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3068         if stop == start and start is in the segment, no clipping should be
3069         done. Also add a test for this.
3070
3071 2006-09-15  Wim Taymans  <wim@fluendo.com>
3072
3073         * docs/design/part-buffering.txt:
3074         * docs/gst/gstreamer-sections.txt:
3075         * gst/gstmessage.c: (gst_message_new_buffering),
3076         (gst_message_parse_buffering):
3077         * gst/gstmessage.h:
3078         Added methods to create and parse BUFFERING messages.
3079         Added preliminary docs about buffering.
3080         API: gst_message_new_buffering
3081         API: gst_message_parse_buffering
3082
3083 2006-09-06  Wim Taymans  <wim@fluendo.com>
3084
3085         * gst/gstbin.c:
3086         Update documentation.
3087
3088         * gst/gstelement.c: (gst_element_class_init),
3089         (gst_element_release_request_pad), (gst_element_set_clock),
3090         (gst_element_get_index), (gst_element_add_pad),
3091         (gst_element_remove_pad), (gst_element_get_random_pad),
3092         (gst_element_send_event), (gst_element_get_query_types),
3093         (gst_element_query), (gst_element_post_message),
3094         (gst_element_message_full), (gst_element_continue_state),
3095         (gst_element_lost_state), (gst_element_save_thyself),
3096         (gst_element_restore_thyself):
3097         Documentation updates.
3098         Rename last bit of the new-pad -> pad-added signal rename.
3099         Fix the case where an element query would only work if the source
3100         pad was linked.
3101         Avoid some useless type checking in message handling.
3102
3103         * gst/gstevent.c:
3104         * gst/gstevent.h:
3105         * gst/gstutils.c:
3106         Documentation updates.
3107
3108 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3109
3110         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3111           add an INFO line for when we actually update the fd
3112
3113 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3114
3115         * configure.ac:
3116           back to TRUNK
3117
3118 === release 0.10.10 ===
3119
3120 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
3121
3122         * configure.ac:
3123           releasing 0.10.10, "Pais"
3124
3125 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
3126
3127         * docs/manual/advanced-position.xml:
3128           Fix typo in sample code.
3129
3130 2006-09-05  Wim Taymans  <wim@fluendo.com>
3131
3132         * libs/gst/net/gstnetclientclock.c: (inet_aton),
3133         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3134         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
3135         * libs/gst/net/gstnetclientclock.h:
3136         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3137         * libs/gst/net/gstnettimepacket.h:
3138         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
3139         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
3140         (gst_net_time_provider_thread), (gst_net_time_provider_new):
3141         * libs/gst/net/gstnettimeprovider.h:
3142         Make stuff compile on windows. Fixes #345295.
3143
3144 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
3145
3146         * gst/gst.c: (ensure_current_registry_forking):
3147           Print better details when child was terminated by signal.
3148
3149 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
3150
3151         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
3152           Print a warning rather than g_assert() if a plugin feature
3153           is a URI handler but returns no protocols (#353976).
3154
3155 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
3156
3157         * docs/random/moving-plugins:
3158         Fix two typos.         
3159
3160 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
3161
3162         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
3163           Fix locking order, handle NULL function values properly.
3164
3165         * gst/gstinfo.h:
3166           Fix docs.
3167
3168         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3169           Initialise variable before using it and fix debug statement to
3170           print the address of the function rather than the address of the
3171           variable on the stack holding the address of the function.
3172
3173 2006-09-01  Wim Taymans  <wim@fluendo.com>
3174
3175         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
3176         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
3177         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
3178         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
3179         (gst_ghost_pad_parent_unset),
3180         (gst_ghost_pad_internal_do_activate_push),
3181         (gst_ghost_pad_internal_do_activate_pull),
3182         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3183         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3184         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
3185         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
3186         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
3187         (gst_ghost_pad_new_no_target_from_template),
3188         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3189         More cleanups.
3190         Avoid needless typechecking in macros.
3191         Since the internal pad is always present and never changes, there is
3192         no need to locking or ref when retrieving it.
3193         Improve debugging a bit.
3194         Handle link errors when setting the target. Fixes #341029.
3195
3196 2006-09-01  Wim Taymans  <wim@fluendo.com>
3197
3198         * docs/libs/gstreamer-libs-sections.txt:
3199         * docs/plugins/gstreamer-plugins-sections.txt:
3200         Fix docs some more.
3201
3202         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3203         (gst_collect_pads_event):
3204         * libs/gst/base/gstcollectpads.h:
3205         Documentation updates.
3206         Free queued buffer when removing a pad.
3207
3208 2006-08-31  Michael Smith  <msmith@fluendo.com>
3209
3210         * gst/gstutils.c: (gst_element_link_pads),
3211         (gst_element_link_pads_filtered):
3212           Ensure that we set a capsfilter to NULL if we failed to link it
3213           when doing filtered linking, to avoid criticals.
3214
3215           No need to check for unreffing srcpad, which is explicly NULLed
3216           above (a trivial code cleanup).
3217
3218 2006-08-31  Wim Taymans  <wim@fluendo.com>
3219
3220         * docs/design/part-gstghostpad.txt:
3221         Update ascii art in documentation.
3222
3223         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
3224         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
3225         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
3226         (gst_ghost_pad_internal_do_activate_push),
3227         (gst_ghost_pad_internal_do_activate_pull),
3228         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3229         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3230         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
3231         (gst_ghost_pad_set_target):
3232         Small cleanups and leak fixes.
3233         Remove some checks now that the internal pad is never NULL.
3234         Fix the case where linking pads without a target would create nasty
3235         criticals. Fixes #341029.
3236         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
3237         value of _set_target().
3238
3239         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3240         (gst_ghost_pad_suite):
3241         Some more tests for creating and linking untargeted ghostpads.
3242
3243 2006-08-31  Edward Hervey  <edward@fluendo.com>
3244
3245         * docs/gst/gstreamer-sections.txt:
3246         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
3247         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
3248         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
3249         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
3250         (gst_ghost_pad_new_from_template),
3251         (gst_ghost_pad_new_no_target_from_template):
3252         * gst/gstghostpad.h:
3253         Refactored *_new() functions.
3254         Templates are now used as a g_object_new() parameter.
3255         Use template in _do_getcaps() if we don't have a target.
3256         Small documentation cleanups.
3257         Added two new constructors:
3258         gst_ghost_pad_new_from_template()
3259         gst_ghost_pad_new_no_target_from_template()
3260         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3261         (gst_ghost_pad_suite):
3262         Added tests for new ghostpad instanciation functions.
3263
3264         API additions: gst_ghost_pad_new_from_template,
3265         gst_ghost_pad_new_no_target_from_template
3266
3267 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
3268
3269         * docs/random/ensonic/profiling.txt:
3270           Ideas about qos profiling.
3271
3272 2006-08-29  Wim Taymans  <wim@fluendo.com>
3273
3274         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
3275         Code cleanups.
3276         Fix memleak.
3277
3278 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
3279
3280         * gst/gstxml.c:
3281           Improve and detypofy docs.
3282
3283         * tests/check/Makefile.am:
3284         * tests/check/gst/.cvsignore:
3285         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
3286           Add a basic test suite for GstXML.
3287
3288 2006-08-29  Wim Taymans  <wim@fluendo.com>
3289
3290         * gst/gstelement.c: (activate_pads), (clear_caps),
3291         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
3292         Clear the pad caps when the element shut down all of the pads and
3293         is not streaming data that could modify the caps. 
3294         Fixes #352958.
3295
3296 2006-08-28  Michael Smith  <msmith@fluendo.com>
3297
3298         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3299           Revert previous change; I misunderstood single-segment mode.
3300
3301 2006-08-28  Michael Smith  <msmith@fluendo.com>
3302
3303         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3304           Unset DISCONT on buffers when using single-segment mode.
3305
3306 2006-08-28  Wim Taymans  <wim@fluendo.com>
3307
3308         * gst/gstcaps.c: (gst_caps_merge_structure):
3309         * gst/gstcaps.h:
3310         Fix docs and indentation again.
3311
3312         * tests/check/gst/gstquery.c: (GST_START_TEST):
3313         Fix leak in tests and add some more tests.
3314
3315 2006-08-28  Edward Hervey  <edward@fluendo.com>
3316
3317         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3318         Inform GstSegment of the last stop position in order for the current
3319         segment to have a proper duration if it doesn't have a specific stop
3320         position from which a duration could be calculated.
3321         This bug was noticeable when a non-flushing, non-update new segment was
3322         followed by another segment (all buffers from the new segment were being
3323         dropped).
3324
3325 2006-08-28  Wim Taymans  <wim@fluendo.com>
3326
3327         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3328         Small comment update.
3329
3330         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3331         (gst_identity_transform_ip):
3332         Drop-probability is broken, mention this in the code with a 
3333         FIXME and also in the property description.
3334         Make silent also be silent about the drop messages.
3335
3336 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
3337
3338         * docs/manual/appendix-win32.xml:
3339           Remove mention of popt, we don't depend on that any
3340           longer (#353136). Add some comments pointing out that
3341           this section is slightly outdated.
3342
3343 2006-08-28  Wim Taymans  <wim@fluendo.com>
3344
3345         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3346
3347         * gst/gstquery.c: (gst_query_new_segment):
3348         * tests/check/gst/gstquery.c: (GST_START_TEST):
3349         Initialize variables when creating a new segment query.
3350         Fixes #353121.
3351
3352 2006-08-28  Wim Taymans  <wim@fluendo.com>
3353
3354         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3355
3356         * gst/gstelement.c: (gst_element_get_bus):
3357         * tests/check/gst/gstelement.c: (GST_START_TEST):
3358         Check for NULL before _reffing the bus. Fixes #353122.
3359
3360 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
3361
3362         * docs/manual/basics-bus.xml:
3363           Docs update: fix wrong callback return value explanation; add
3364           some lines about the implicit relationship between main loop
3365           and main context; remove duplicate main loop variable declaration.
3366
3367 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
3368
3369         * tests/check/gst/gstcaps.c: (GST_START_TEST):
3370           Don't leak caps in unit test; add a few more simple
3371           checks. 
3372
3373 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
3374
3375         * docs/gst/gstreamer-sections.txt:
3376         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
3377         (gst_caps_structure_is_subset), (gst_caps_merge),
3378         (gst_caps_merge_structure):
3379         * gst/gstcaps.h:
3380         * libs/gst/base/gstbasetransform.c:
3381         (gst_base_transform_transform_caps):
3382         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3383           implement caps merging (fixes #352580)
3384
3385 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
3386
3387         * tools/Makefile.am:
3388         * tools/gst-plot-timeline.py:
3389           add debug-log plotting developer tool (#340674)
3390
3391 2006-08-23  Wim Taymans  <wim@fluendo.com>
3392
3393         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
3394         (gst_pad_stop_task):
3395         Improve debugging for task functions.
3396
3397         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
3398         (gst_task_start), (gst_task_pause), (gst_task_join):
3399         Make sure that the task function started and finished after a 
3400         join(). 
3401         Don't try to push the task function on the threadpool multiple
3402         times.
3403         Improve the g_warning message with some useful suggestions
3404         about how to fix the problem. 
3405
3406 2006-08-23  Wim Taymans  <wim@fluendo.com>
3407
3408         * gst/gstutils.c: (gst_pad_proxy_getcaps):
3409         Handle RESYNC correctly in _proxy_getcaps.
3410
3411 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
3412
3413         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
3414         (gst_xml_parse_memory), (gst_xml_get_element):
3415           Chain up to parent class in dispose function and also
3416           unref the elements in the toplevel_elements GList.
3417           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
3418           Always return a reference in gst_xml_get_element() rather
3419           than only sometimes.
3420
3421         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
3422           Don't leak GstXml object.
3423
3424 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
3425
3426         * docs/gst/gstreamer-sections.txt:
3427         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
3428         (gst_caps_merge):
3429         * gst/gstcaps.h:
3430         * libs/gst/base/gstbasetransform.c:
3431         (gst_base_transform_transform_caps):
3432           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
3433           in a better way
3434
3435 2006-08-21  Edward Hervey  <edward@fluendo.com>
3436
3437         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
3438         Implement GObject::dispose virtual method in GstXML so we can free the
3439         top_elements GList.
3440
3441 2006-08-21  Wim Taymans  <wim@fluendo.com>
3442
3443         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
3444         (gst_buffer_create_sub):
3445         Copy duration/offset_end/caps when creating a subbuffer of the
3446         complete parent.
3447         Make the subbuffer read-only when we make the metadata writable for
3448         now. Fixes #351768.
3449
3450         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3451         Added check for metadata copy when creating subbuffers.
3452
3453 2006-08-21  Edward Hervey  <edward@fluendo.com>
3454
3455         * libs/gst/base/gstbasetransform.c:
3456         (gst_base_transform_buffer_alloc):
3457         Only call downstream buffer_alloc if transform element is passthrough
3458         or always_in_place. Closes #350449.
3459
3460 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3461
3462         * ChangeLog:
3463           ChangeLog surgery to add comments to previous changes
3464
3465 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3466
3467         * gst/gst.c:
3468           Add comments
3469
3470         * gst/gstpad.c: (gst_pad_set_active):
3471           Be more verbose in the log
3472
3473         * libs/gst/base/gstbasetransform.c:
3474         (gst_base_transform_transform_caps):
3475           Simplify caps to get rid of duplicates, fixes #345444
3476
3477 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3478
3479         * gst/gstvalue.c:
3480         * gst/gstvalue.h:
3481           Use these optimizations only internally.
3482
3483 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
3484
3485         * gst/gstvalue.c: (gst_value_compare_list),
3486         (gst_value_compare_fraction_range),
3487         (gst_value_intersect_fraction_fraction_range),
3488         (gst_value_intersect_fraction_range_fraction_range),
3489         (gst_value_subtract_fraction_fraction_range),
3490         (gst_value_subtract_fraction_range_fraction_range),
3491         (gst_value_get_compare_func), (gst_value_compare),
3492         (gst_value_compare_with_func):
3493         * gst/gstvalue.h:
3494           Saves the expensive lookup of the compare function in many cases
3495          (#345444)
3496
3497 2006-08-18  Edward Hervey  <edward@fluendo.com>
3498
3499         * tests/check/gst/gstinfo.c: (gst_info_suite):
3500         Disable test that require gstdebug if it wasn't built in core.
3501
3502 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
3503
3504         * docs/random/ensonic/logging.txt:
3505           update ideas
3506           
3507         * gst/gstinfo.c: (gst_debug_log_default):
3508           reorder fields, save some columns, add optional color codes for log
3509           levels
3510
3511 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
3512
3513         * docs/random/ensonic/logging.txt:
3514           add ideas about making the logs a bit more useful
3515
3516 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
3517
3518         * docs/pwg/advanced-events.xml:
3519         * docs/pwg/titlepage.xml:
3520           Update for 0.10 API (#340627). Add myself
3521           to authors list.
3522
3523 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
3524
3525         * docs/libs/gstreamer-libs-docs.sgml:
3526         * docs/libs/gstreamer-libs-sections.txt:
3527         * libs/gst/check/gstbufferstraw.c:
3528           Make gstcheck stuff show up in docs (still needs to
3529           be documented properly though).
3530
3531 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
3532
3533         * docs/gst/gstreamer-sections.txt:
3534         * gst/Makefile.am:
3535         * gst/gst.c: (init_post):
3536         * gst/gst_private.h:
3537         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3538         * gst/gstquark.h:
3539         * gst/gstquery.c: (gst_query_new_position),
3540         (gst_query_set_position), (gst_query_parse_position),
3541         (gst_query_new_duration), (gst_query_set_duration),
3542         (gst_query_parse_duration), (gst_query_new_convert),
3543         (gst_query_set_convert), (gst_query_parse_convert),
3544         (gst_query_new_segment), (gst_query_set_segment),
3545         (gst_query_parse_segment), (gst_query_new_seeking),
3546         (gst_query_set_seeking), (gst_query_parse_seeking):
3547         Add internal helpers for pre-registering quarks from static strings
3548         and using the quark values directly instead of looking them up when
3549         creating and parsing queries. Can be used for event construction too.
3550         Closes #350432.
3551
3552 2006-08-16  Wim Taymans  <wim@fluendo.com>
3553
3554         * gst/gstbin.c:
3555         Fix bogus docs.
3556
3557 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3558
3559         * gst/gstutils.c: (gst_util_set_value_from_string):
3560           Fix memleak (#351502).
3561
3562         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3563           Add unit test for most of gst_util_set_value_from_string()
3564           (not that one would want to encourage use of this function).
3565
3566 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3567
3568         * libs/gst/check/gstcheck.h:
3569           Use const gchar * variables in fail_unless_equals_string
3570           macro to avoid compiler warnings (and don't use tabs for
3571           indenting).
3572
3573 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3574
3575         * tools/gst-launch.c: (print_tag):
3576           More space on the left for the tag names, to cater
3577           for the 'extended comment' tag (not touching the
3578           string for the first line since it's translated).
3579
3580 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
3581
3582         * libs/gst/check/gstcheck.h:
3583           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
3584           print something when they fail.
3585
3586 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
3587
3588         * docs/gst/gstreamer-sections.txt:
3589         * gst/gsttaglist.c: (_gst_tag_initialize):
3590         * gst/gsttaglist.h:
3591           API: add GST_TAG_EXTENDED_COMMENT (#350935).
3592           Also change merge function for GST_TAG_COMMENT to
3593           use_first.
3594
3595 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
3596
3597         * gst/gstinfo.c: (gst_debug_print_object):
3598           Make GST_PTR_FORMAT print messages as well.
3599
3600         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
3601         (GST_START_TEST), (gst_info_suite):
3602           More tests.
3603
3604 2006-08-14  Edward Hervey  <edward@fluendo.com>
3605
3606         * gst/gstelementfactory.c: (gst_element_register):
3607         If the GstElementClass doesn't have a GstElementDetails with all fields
3608         filled up correctly (longname, description AND author), then error out
3609         nicely instead of crashing.
3610
3611 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
3612
3613         * gst/gststructure.c:
3614           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
3615
3616         * gst/gstvalue.h:
3617           Expand on the difference between arrays and lists as we use them.
3618           
3619 2006-08-14  Wim Taymans  <wim@fluendo.com>
3620
3621         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3622         If the parent state change function failed, don't assume we can safely
3623         stop the source, this will be done when the pads are deactivated.
3624
3625 2006-08-14  Wim Taymans  <wim@fluendo.com>
3626
3627         * gst/gstbuffer.c:
3628         * gst/gsttask.c: (gst_task_join):
3629         Small doc updates.
3630
3631         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3632         (gst_pad_stop_task):
3633         When pad (de)activation failed for some reason, restore the old
3634         activation mode and set the pad to flushing instead of assuming the
3635         pad is deactivated.
3636         If the _task_join() failed, reinstall the task on the pad so that it can
3637         be stopped later and return an error.
3638
3639 2006-08-11  Andy Wingo  <wingo@pobox.com>
3640
3641         * configure.ac:
3642         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
3643         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
3644         is only for users of API that don't want to see deprecated
3645         functions in the headers; people that want to compile out
3646         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
3647         CFLAGS. Fixes the build of multifdsink, or will soon..
3648
3649 2006-08-11  Wim Taymans  <wim@fluendo.com>
3650
3651         * docs/gst/gstreamer-sections.txt:
3652         Add GstClockClass vmethod docs.
3653
3654         * gst/gstcaps.h:
3655         Mark #endif with comment for associated #if
3656
3657         * gst/gstclock.c: (gst_clock_id_wait):
3658         * gst/gstclock.h:
3659         Add vmethod wait_jitter to avoid an unneeded _get_time() for
3660         most clock implementations.
3661         Document vmethods.
3662         Flesh out docs about resolution methods.
3663         API: GstClockClass::wait_jitter
3664
3665         * gst/gstsystemclock.c: (gst_system_clock_class_init),
3666         (gst_system_clock_async_thread),
3667         (gst_system_clock_id_wait_jitter_unlocked),
3668         (gst_system_clock_id_wait_jitter):
3669         Use base class wait_jitter variant for improved performance
3670         due to less clock polling.
3671
3672 2006-08-11  Edward Hervey  <edward@fluendo.com>
3673
3674         * gst/gst.c: (gst_init_check), (init_post):
3675         Set gst as being initialized before scanning/updating the registry,
3676         since there might be my python plugin loader that calls gst_init() and
3677         we don't want to loop back in.
3678         Closes #350879
3679
3680 2006-08-11  Wim Taymans  <wim@fluendo.com>
3681
3682         * docs/design/part-qos.txt:
3683         Bring docs in line with the code. Mostly the sign of the jitter was
3684         wrong in the docs. Fixes #349943.
3685
3686         * gst/gstclock.c:
3687         Fix the docs for the jitter.
3688
3689         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
3690         (gst_event_parse_tag), (gst_event_new_buffer_size),
3691         (gst_event_parse_buffer_size), (gst_event_parse_qos),
3692         (gst_event_new_seek), (gst_event_parse_seek),
3693         (gst_event_new_navigation):
3694         Make sure the GstStructure has no parent when creating custom
3695         events.
3696         Add some more argument checking so that we avoid 0.0 rates.
3697         Flesh out the docs for the QoS event some more.
3698
3699 2006-08-11  Wim Taymans  <wim@fluendo.com>
3700
3701         * docs/gst/gstreamer-sections.txt:
3702         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3703         (ensure_current_registry_forking), (ensure_current_registry),
3704         (parse_one_option), (parse_goption_arg), (gst_deinit),
3705         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
3706         * gst/gst.h:
3707         Doc updates.
3708         Added API and command line option to disable registry forking in
3709         addition to the environment variable.
3710         Constify some static arrays.
3711         Added some more debug.
3712         Don't deinit twice.
3713         API: gst_registry_fork_is_enabled()
3714         API: gst_registry_fork_set_enabled()
3715         API: --gst-disable-registry-fork command line option
3716         Fixes #348918.
3717
3718 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
3719
3720         * gst/gst.c: (gst_init):
3721           Fix typo in error message.
3722
3723 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
3724
3725         * libs/gst/controller/gstcontroller.h:
3726           fix ABI size-correction
3727
3728         * tests/check/libs/gdp.c: (gst_dp_suite):
3729           make tests that use deprecated API conditional
3730
3731 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
3732
3733         * docs/libs/gstreamer-libs-sections.txt:
3734         * libs/gst/controller/gstcontroller.c:
3735         (_gst_controller_get_property), (_gst_controller_set_property),
3736         (_gst_controller_init), (_gst_controller_class_init):
3737         * libs/gst/controller/gstcontroller.h:
3738         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
3739         (gst_object_set_control_rate):
3740           API: add gst_object_{s,g}et_control_rate(), add private data section,
3741           fix docs
3742
3743         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
3744         * libs/gst/dataprotocol/dataprotocol.h:
3745           add deprecation guards to make gtk-doc happy and allow disabling cruft
3746
3747 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
3748
3749         * tests/check/Makefile.am:
3750         * tests/check/gst/.cvsignore:
3751           Let's enable the new unit test as well.
3752
3753 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
3754
3755         * configure.ac:
3756         * docs/gst/gstreamer-sections.txt:
3757         * gst/gstconfig.h.in:
3758         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
3759         (_gst_info_printf_extension_ptr),
3760         (_gst_info_printf_extension_segment):
3761           API: add GST_SEGMENT_FORMAT, which is a printf extension we
3762           register that lets us easily dump GstSegments into debug
3763           logs (#350419).
3764
3765         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
3766         (info_segment_format_printf_extension), (gst_info_suite):
3767           Add simple unit test that logs a bunch of different segments (not
3768           valgrinded at the moment because of leaks in
3769           gst_debug_add_log_function).
3770
3771 2006-08-09  Edward Hervey  <edward@fluendo.com>
3772
3773         * libs/gst/base/gstbasetransform.c:
3774         (gst_base_transform_buffer_alloc):
3775         Even if we can't figure out the proper format to request downstream,
3776         call buffer_alloc() downstream with the input parameters without setting
3777         the caps on the srcpad. This will force negotiation in the chain
3778         function.
3779         Closes #350449
3780
3781 2006-08-08  Edward Hervey  <edward@fluendo.com>
3782
3783         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
3784         Unlinking from a pad without a target is now a perfectly valid case
3785         which should NOT raise an assertion.
3786         This case would happen if a linked ghostpad its target set to NULL after
3787         it was previously linked.
3788
3789 2006-08-08  Edward Hervey  <edward@fluendo.com>
3790
3791         * tests/check/libs/gdp.c:
3792         Also comment out the test (see below).
3793
3794 2006-08-08  Edward Hervey  <edward@fluendo.com>
3795
3796         * tests/check/libs/gdp.c: (gst_dp_suite):
3797         Use the architecture information from config.h and not gcc macros
3798         in order to properly disable a test that fails on PPC64.
3799
3800 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
3801
3802         * gst/gstelement.c: (gst_element_remove_pad):
3803           Don't crash printing the warning if the pad has no parent.
3804
3805 2006-08-02  Wim Taymans  <wim@fluendo.com>
3806
3807         * libs/gst/dataprotocol/dataprotocol.c:
3808         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
3809         (gst_dp_crc), (gst_dp_header_payload_length),
3810         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
3811         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
3812         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
3813         (gst_dp_event_from_packet), (gst_dp_validate_header),
3814         (gst_dp_validate_payload):
3815         Make debug category static
3816         Constify the crc table.
3817         Do some more arg checking in public functions.
3818         Fix some docs and do some small cleanups.
3819
3820         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
3821         Add some more checks to see if GDP deals with bogus input.
3822
3823 2006-07-31  Wim Taymans  <wim@fluendo.com>
3824
3825         * gst/gstvalue.c: (gst_value_compare_list):
3826         Fix GstValueList comparison code. Fixes #347293.
3827
3828         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3829         Check to test GstValueList comparison.
3830
3831 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
3832
3833         * gst/gstelementfactory.c: (gst_element_factory_create):
3834         Remove unnecessary ref/unref pair
3835
3836         * gst/parse/grammar.y:
3837         Make sure to free the parse buffer on all code paths.
3838         Move a g_free up to the error handler where it's easier to see.
3839
3840         * tests/check/gst/gstevent.c: (test_event):
3841         Extending timeout for downstream travelling events to 10 seconds to
3842         hopefully avoid intermittent failure on the buildbots.
3843
3844         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
3845         Don't manually set the state of the src element - it will happen as a
3846         natural consequence of the pipeline changing state, and that way it
3847         will do it in the right order too.
3848
3849 2006-07-31  Wim Taymans  <wim@fluendo.com>
3850
3851         * libs/gst/base/gstbasetransform.c:
3852         (gst_base_transform_buffer_alloc):
3853         Use OBJECT_LOCK and refcounting to get the pad caps in the
3854         buffer_alloc function because the caps could change while we are
3855         busy with them. Fixes #349105
3856
3857 2006-07-31  Wim Taymans  <wim@fluendo.com>
3858
3859         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
3860         Protect _PAD_CAPS with OBJECT_LOCK.
3861
3862 2006-07-31  Wim Taymans  <wim@fluendo.com>
3863
3864         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
3865         (gst_pad_get_property), (gst_pad_activate_pull),
3866         (gst_pad_activate_push), (gst_pad_set_blocked_async),
3867         (gst_pad_set_activate_function),
3868         (gst_pad_set_activatepull_function),
3869         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
3870         (gst_pad_set_getrange_function),
3871         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
3872         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
3873         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
3874         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
3875         (gst_pad_set_acceptcaps_function),
3876         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
3877         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
3878         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
3879         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
3880         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
3881         (gst_pad_configure_sink), (gst_pad_configure_src),
3882         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
3883         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
3884         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
3885         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
3886         (gst_pad_send_event):
3887         Use _DEBUG_OBJECT when it makes sense.
3888         Protect GST_PAD_CAPS with the OBJECT_LOCK.
3889         Small cleanups and code reflows.
3890         Avoid caps refcounting in _accept_caps.
3891         Refactor alloc_buffer so that the code performed on the peer is in a
3892         separate function. Also if the pad does not implement a buffer alloc
3893         function, we should still check if the pad is flushing before falling
3894         back to the default allocator.
3895
3896 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
3897
3898         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3899         Make all uses of identity and fakesink have silent=true to avoid
3900         serialising every passing data structure, which is breaking tests
3901         on FC4 for some unknown reason.
3902
3903 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
3904
3905         * gst/parse/Makefile.am:
3906         * gst/parse/grammar.y:
3907         * gst/parse/parse.l:
3908           Reverted previous patch as it required to bump the flex dependency to
3909           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
3910
3911 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
3912
3913         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
3914
3915         * gst/parse/Makefile.am:
3916         * gst/parse/grammar.y:
3917         * gst/parse/parse.l:
3918           push & pop the state of the lexer for reentrant use case
3919           Fixes #349180
3920
3921 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
3922
3923         * libs/gst/base/gstbasesrc.h:
3924           Note in the docs that the ::newsegment vfunc is not actually used by
3925           GstBaseSrc.
3926
3927 2006-07-28  Wim Taymans  <wim@fluendo.com>
3928
3929         * libs/gst/base/gstcollectpads.c:
3930         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
3931         (gst_collect_pads_clear), (gst_collect_pads_flush),
3932         (gst_collect_pads_event), (gst_collect_pads_chain):
3933         When flushing a pad, also clear the queued buffer so that we don't
3934         accidentally use it when we shouldn't.
3935         Fix leaks by inreffing incomming buffer.
3936         Flush out queued buffers in case of errors.
3937         Fixes #347452.
3938
3939 2006-07-28  Wim Taymans  <wim@fluendo.com>
3940
3941         * docs/random/phonon-gst:
3942         Random notes about a Phonon backend.
3943
3944 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
3945
3946         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
3947         Extra debug output
3948         * tests/check/libs/gdp.c: (gst_dp_suite):
3949         Take a whack at fixing the ppc compile using a different define to
3950         disable the broken test.
3951
3952         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3953         Remove excess g_print()
3954
3955 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
3956
3957         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
3958         Oops, meant to uncomment this line too to dampen the noise a bit.
3959
3960 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
3961
3962         * gst/parse/grammar.y:
3963         * gst/parse/parse.l:
3964         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
3965         (GST_START_TEST), (parse_suite):
3966         Fix some of the leaks exposed by extending the parse-launch testsuite,
3967         and move the 3 I can't figure out into a separate test that won't run
3968         the pipelines unless the appropriate line is uncommented.
3969
3970 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
3971
3972         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3973           Requesting 0 bytes before the end of the file should result in
3974           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
3975           unit test.
3976
3977 2006-07-27  Wim Taymans  <wim@fluendo.com>
3978
3979         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
3980         Fix useless assert, a uint is always positive.
3981
3982         * gst/gststructure.c: (gst_structure_nth_field_name),
3983         (gst_structure_foreach), (gst_structure_map_in_place):
3984         Check input arguments for public functions to avoid obvious crashes.
3985
3986         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
3987         * plugins/elements/gstfakesink.h:
3988         Do less useless typechecking.
3989
3990 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
3991
3992         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3993           Do not use mmap() by default since there are a number of error
3994           conditions that we would like to handle in a non-fatal way that
3995           will result in a SIGBUS if we use mmap(). Examples: external
3996           devices (USB harddrive, portable music player) being unplugged
3997           while in use; file on mounted CD/DVD that can't be read because
3998           the medium is partly damaged. Fixes #348455 and #348475.
3999
4000 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
4001
4002         * gst/gstquery.h:
4003         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
4004         rates are a gdouble
4005
4006 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
4007
4008         * gst/gstregistry.c:
4009           Move big documentation comment into class section header, so that it
4010           appears in the API docs.
4011
4012 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4013
4014         * docs/gst/gstreamer-sections.txt:
4015         Oops. Commit the docs additions too for new API.
4016         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
4017
4018 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4019
4020         * gst/gststructure.c: (gst_structure_id_set),
4021         (gst_structure_id_set_valist):
4022         * gst/gststructure.h:
4023         Add API for setting values into structures without performing
4024         a quark lookup, if the appropriate quark is already known.
4025
4026         API: gst_structure_id_set
4027         API: gst_structure_id_set_valist
4028
4029         * gst/parse/grammar.y:
4030         * gst/parse/parse.l:
4031         Remove some dead code shown by the coverage information.
4032         Don't throw a critical g_warning when encountering a syntax error,
4033         just warn and let the normal error path handle it.
4034
4035         * plugins/elements/gstelements.c:
4036         Bump the rank of filesink up to PRIMARY so that it is preferred over
4037         gnomevfssink for file:// sink uri's
4038
4039         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4040         (GST_START_TEST), (run_delayed_test),
4041         (gst_parse_test_element_base_init),
4042         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
4043         (gst_parse_test_element_change_state),
4044         (gst_register_parse_element), (parse_suite):
4045         Beef up the tests for parse syntax to check that more error cases
4046         fail as they are supposed to. Increases the test coverage a bit.
4047
4048 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
4049
4050         * docs/manual/basics-elements.xml:
4051           Fix gst_element_link() example.
4052
4053         * gst/gstutils.c:
4054           Mention in API docs that one should usually gst_bin_add()
4055           elements to a bin or pipeline before doing the linking.
4056           
4057 2006-07-26  Wim Taymans  <wim@fluendo.com>
4058
4059         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4060         (gst_subbuffer_get_type), (gst_buffer_create_sub):
4061         Avoid function call for known types by keeping the buffer and
4062         subbuffer GType global.
4063
4064         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4065         Random silly optimisations in read() path.
4066
4067 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4068
4069         * tools/gst-launch.c: (main):
4070           If the top-level of the parse is a normal bin, it doesn't do the
4071           right logic to run as a top-level element, so place it inside a
4072           pipeline.
4073
4074 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
4075
4076         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
4077           Remove superfluous g_object_notify() calls, GObject does
4078           that for us automatically.
4079
4080 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
4081
4082         * gst/gstinfo.h:
4083           on Win32, use dllspec to export the debug category symbols
4084
4085 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
4086
4087         * gst/gsttaglist.c: (_gst_tag_initialize):
4088           Allow more than one GST_TAG_IMAGE per taglist.
4089
4090 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4091
4092         * gst/gstminiobject.c:
4093           update docs
4094         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
4095         (gst_fd_src_create):
4096           log recurring events at LOG level
4097           add more debug for when the fd gets set
4098
4099 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
4100
4101         * gst/gstparse.c: (gst_parse_launch):
4102           Also remove reentrance checks if flex is MT safe (#348179)
4103          Fix my empty ChangeLog entry below
4104
4105 2006-07-21  Andy Wingo  <wingo@pobox.com>
4106
4107         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
4108
4109         * libs/gst/check/Makefile.am
4110         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
4111         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
4112         * libs/gst/check/gstbufferstraw.h:
4113         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
4114         functions, thus proving I am still a GStreamer haxor. OK I wrote
4115         them a long time ago, but anyways.
4116
4117 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
4118
4119         * configure.ac:
4120         * gst/gstparse.c: (gst_parse_launch):
4121           Check for flex version and omit mutex if we have a MT save flex
4122           (fixes #348179)
4123
4124 2006-07-21  Wim Taymans  <wim@fluendo.com>
4125
4126         * gst/gstparse.c: (gst_parse_launch):
4127         Protect recursive calls to _parse with a recursive mutex
4128         and busy flag.
4129
4130 2006-07-21  Wim Taymans  <wim@fluendo.com>
4131
4132         * tests/check/gst/gstpad.c: (GST_START_TEST):
4133         Fix leak in test.
4134
4135 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
4136
4137         * gst/gstparse.c: (gst_parse_launch):
4138           Do not hang on recursive usage of gst_parse_launch()
4139
4140 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
4141
4142         * gst/gsttaglist.c:
4143           Add some more docs, comments and FIXME 0.11s here and there
4144           and also fix some typos.
4145
4146 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
4147
4148         * gst/gstsegment.h:
4149           Convert tabs to spaces for better readability. 
4150
4151 2006-07-20  Edward Hervey  <edward@fluendo.com>
4152
4153         * tests/check/libs/gdp.c: (gst_dp_suite):
4154         the test_buffer test fails at line 140 on ppc64 at the following
4155         check:
4156         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
4157                 GST_BUFFER_FLAG_IN_CAPS),
4158                 "GST_BUFFER_IN_CAPS flag should have been copied !");
4159         See bug #348114 for more details.
4160
4161 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
4162
4163         * docs/pwg/advanced-scheduling.xml:
4164         * gst/gstpad.c:
4165           Fix typos (#348000).
4166
4167 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
4168
4169         * docs/pwg/intro-basics.xml:
4170           Fix wrong links (#347927).
4171
4172 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
4173
4174         * gst/gstregistry.h:
4175         * gst/gstregistryxml.c: (load_feature),
4176         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
4177         * win32/common/config.h:
4178           make --disable-index work (#342564)
4179
4180 2006-07-18  Wim Taymans  <wim@fluendo.com>
4181
4182         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4183
4184         * gst/Makefile.am:
4185         * gst/gsttrace.h:
4186         The attached patch adds two missing defines to gsttrace.h when tracing
4187         is disabled.  It also corrects one existing define.
4188         Fixes #347756.
4189
4190 2006-07-17  Wim Taymans  <wim@fluendo.com>
4191
4192         * docs/gst/gstreamer-sections.txt:
4193         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
4194         * gst/gst.h:
4195         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
4196         Add two functions to check and change the SIGSEGV behaviour
4197         when loading plugins.
4198         Don't mess with the SIGSEGV handler when we were told not to.
4199         Fixes #347794.
4200         API: gst_segtrap_is_enabled
4201         API: gst_segtrap_set_enabled
4202
4203 2006-07-14  Wim Taymans  <wim@fluendo.com>
4204
4205         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4206         * tests/check/elements/filesrc.c: (GST_START_TEST):
4207         Revert fix for regression in #347408 after release.
4208
4209 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
4210
4211         Patch by: Antoine Tremblay <hexa00 at gmail com>
4212
4213         * gst/gstutils.c: (gst_element_unlink):
4214           Free iterator when done (#347311).
4215
4216         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4217           And add a test case for this.
4218
4219 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
4220
4221         * configure.ac:
4222         Bump nano back to CVS
4223
4224 === release 0.10.9 ===
4225
4226 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
4227
4228         * configure.ac:
4229           releasing 0.10.9, "On the road again"
4230
4231 2006-07-13  Wim Taymans  <wim@fluendo.com>
4232
4233         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4234         * tests/check/elements/filesrc.c: (GST_START_TEST):
4235         Revert pull-0 fix for release. Disable check. Fixes #347408.
4236
4237 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4238
4239         * libs/gst/dataprotocol/dataprotocol.c:
4240         (gst_dp_event_from_packet_1_0):
4241           Fixes #347337: failure to deserialize event packets with
4242           empty payload (only event type)
4243
4244 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4245
4246         * gst/Makefile.am:
4247           do not install a .c file in the header directory
4248
4249 2006-07-13  Edward Hervey  <edward@fluendo.com>
4250
4251         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
4252         GhostPad no longer implicitely use the padtemplates of the targets.
4253         Fixes #347384
4254
4255 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
4256
4257         * gst/gstvalue.c: (gst_value_compare_list),
4258         (gst_value_compare_array), (_gst_value_initialize):
4259         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4260         Make GstValueArray comparison be order dependent as designed.
4261         Add checks for value lists and value array comparisons.
4262         Fixes #347221
4263
4264 2006-07-11  Edward Hervey  <edward@fluendo.com>
4265
4266         * gst/gstbin.c: (activate_pads),
4267         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
4268         (gst_bin_change_state_func):
4269         (de)activate src pads before calling state_change on the childs.
4270         This is to avoid the case where a src ghostpad is blocked (holding the
4271         stream lock), which would block the deactivation of the ghostpad's
4272         target pad.
4273         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
4274         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
4275         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
4276         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4277         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4278         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4279         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4280         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
4281         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
4282         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4283         (gst_ghost_pad_class_init),
4284         (gst_ghost_pad_internal_do_activate_push),
4285         (gst_ghost_pad_internal_do_activate_pull),
4286         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4287         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4288         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
4289         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
4290         GhostPads now create their internal GstProxyPad at creation (and not
4291         when they're linked, as it was being done previously).
4292         The internal and target pads are linked straight away.
4293         The data will also travel through the other pad in order to make
4294         pad blocking and probes non-hackish (the probe/block now really happens
4295         on the GhostPad and not on the target).
4296         * gst/gstpad.c: (gst_pad_set_blocked_async),
4297         (gst_pad_link_prepare), (gst_pad_push_event):
4298         Remove previous ghostpad cruft.
4299         * gst/gstutils.c: (gst_pad_add_data_probe),
4300         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4301         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4302         (gst_pad_remove_buffer_probe):
4303         Remove previous ghost pad cruft.
4304         Added more detailed debug statements.
4305         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4306         Fix the testsuite for refcounting changes.
4307         The comments about who has references were correct, but the refcount
4308         being checked wasn't the same (!?!).
4309
4310         Fixes #341029
4311
4312 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
4313
4314         * docs/gst/gstreamer-sections.txt:
4315         * gst/gstconfig.h.in:
4316         More docs for configuration options, add docs to gtk-doc.
4317
4318 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
4319
4320         * gst/Makefile.am:
4321         * gst/gstconfig.h.in:
4322         * win32/common/config.h:
4323         Fix build when disabling tracing (fixes #344016). Also start to document
4324         the defines that disable the sub-systems.
4325
4326 2006-07-10  Edward Hervey  <edward@fluendo.com>
4327
4328         * gst/gst.c: (ensure_current_registry_forking):
4329         let's make valgrind happy...
4330
4331 2006-07-09  Wim Taymans  <wim@fluendo.com>
4332
4333         * gst/gstelement.c: (activate_pads),
4334         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4335         Better pad activation code: Reset the collect value too on resync.
4336         Add some comments.
4337
4338 2006-07-09  Wim Taymans  <wim@fluendo.com>
4339
4340         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
4341         (gst_pad_activate_push):
4342         Use some more macros where it makes sense.
4343         Allow pad mode switching instead of asserting. When a pad
4344         is activated in one mode and we activate it in another, 
4345         deactivate it first before activating it in a different mode.
4346         Fixes #329198.
4347
4348 2006-07-08  Andy Wingo  <wingo@pobox.com>
4349
4350         * tools/gst-launch.c (main): Handle err == NULL.
4351
4352         * gst/gst.c (init_post, ensure_current_registry)
4353         (ensure_current_registry_forking)
4354         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
4355         factoring out the registry scanning into separate functions. Don't
4356         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
4357         Better environment var name/interface suggestions accepted.
4358
4359 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4360
4361         * gst/gstobject.c: (gst_object_set_name_default),
4362         (gst_object_set_name):
4363           Random micro-optimisation: don't use a hash table
4364           with strings as keys and the usual strdup/strcmp
4365           involved, but rather just use the GQuark of the
4366           type name as key, since it needs to be looked up
4367           anyway to get the type name string.
4368
4369         * tests/check/gst/gstobject.c: (GST_START_TEST):
4370           Fix various leaks.
4371
4372 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4373
4374         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
4375         (gst_bin_iterate_all_by_interface):
4376           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
4377           GTypes are gulongs and thus the top 4 bytes might be cut
4378           off on some platforms when doing GPOINTER_TO_INT, leading
4379           to invalid GTypes and bad things happening (see RH bug #179654).
4380           Also add a check to make sure the type passed in is really
4381           an interface type.
4382
4383 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4384
4385         * .cvsignore:
4386           Ignore more.
4387
4388 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
4389
4390         * Makefile.am:
4391         * configure.ac:
4392         * gst-element-check.m4:
4393         * gst-element-check.m4.in:
4394           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
4395           instead of the unversioned gst-inspect (#324176, #168659).
4396
4397 2006-07-06  Wim Taymans  <wim@fluendo.com>
4398
4399         * gst/gstmessage.h:
4400         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
4401         warnings.
4402
4403 2006-07-06  Wim Taymans  <wim@fluendo.com>
4404
4405         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4406         (gst_base_src_wait), (gst_base_src_update_length),
4407         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
4408         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
4409         (gst_base_src_loop), (gst_base_src_start),
4410         (gst_base_src_activate_pull):
4411         Update docs.
4412         blocksize == 0 now means the default blocksize when working in push
4413         based mode.
4414         Remove some pointless asserts in _wait function.
4415         Fix offset/length calculations and EOS handling. We can now pull 0
4416         bytes as well, which is allowed.
4417         use _check_get_range() to decide if we can operate in _pull based
4418         mode.
4419         Fix refcounting leak when check_get_range function was not 
4420         implemented.
4421         API GstBaseSrc::blocksize range can be 0 too now (default)
4422
4423         * tests/check/elements/filesrc.c: (GST_START_TEST),
4424         (filesrc_suite):
4425         Added check to test _get_range() behaviour.
4426
4427 2006-07-06  Wim Taymans  <wim@fluendo.com>
4428
4429         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
4430         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
4431         (gst_pad_pull_range):
4432         * gst/gstpad.h:
4433         Lots of comments and docs added to the pad functions.
4434         Flesh out the expected behaviour of the get_range() functions.
4435
4436 2006-07-06  Wim Taymans  <wim@fluendo.com>
4437
4438         * gst/gstbus.h:
4439         * gst/gstclock.h:
4440         * gst/gstevent.h:
4441         * gst/gstiterator.h:
4442         * gst/gstpad.h:
4443         * gst/gstplugin.h:
4444         * gst/gsttask.h:
4445         Remove comma at end of enumerator list. 
4446
4447 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
4448
4449         * win32/common/libgstbase.def:
4450         * win32/common/libgstdataprotocol.def:
4451         * win32/common/libsgtreamer.def:
4452         Add new exported functions.
4453
4454 2006-07-05  Wim Taymans  <wim@fluendo.com>
4455
4456         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
4457         Add some more docs here and there.
4458
4459 2006-07-05  Wim Taymans  <wim@fluendo.com>
4460
4461         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
4462         (gst_base_sink_loop), (gst_base_sink_get_position):
4463         When operating in pull mode update the offset so that we
4464         read sequentially.
4465
4466 2006-07-05  Wim Taymans  <wim@fluendo.com>
4467
4468         * gst/gstregistryxml.c: (read_string):
4469         Avoid strdup. (will happen in libxml, but hey!)
4470
4471         * gst/gsturi.c:
4472         Add some more docs.
4473
4474 2006-07-05  Wim Taymans  <wim@fluendo.com>
4475
4476         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
4477         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4478         (gst_buffer_suite):
4479         No point in checking if the size of the subbuffer > 0, the
4480         code handles it correclty as demonstrated by unit test.
4481         Also add a unit test for the zero sized _new_and_alloc and
4482         _copy. Fixes #346663.
4483
4484 2006-07-05  Wim Taymans  <wim@fluendo.com>
4485
4486         * libs/gst/base/gstbasetransform.c:
4487         (gst_base_transform_prepare_output_buffer),
4488         (gst_base_transform_buffer_alloc),
4489         (gst_base_transform_handle_buffer):
4490         Make sure the buffer we pass to transform_ip has a refcount of
4491         1 and thus is writable. Fixes #343196
4492
4493 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
4494
4495         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4496         (gst_file_src_init), (gst_file_src_set_property),
4497         (gst_file_src_get_property), (gst_file_src_map_region):
4498         * plugins/elements/gstfilesrc.h:
4499         Add "sequential" property, off by default, to use madvise and hint
4500         to the kernel that sequential access is desired.
4501         Touch all retrieved pages by default to ensure they are pulled
4502         into memory. (Closes #345720)
4503
4504 2006-07-03  Wim Taymans  <wim@fluendo.com>
4505
4506         * docs/design/part-block.txt:
4507         * docs/design/part-dynamic.txt:
4508         Small docs updates.
4509
4510 2006-07-03  Wim Taymans  <wim@fluendo.com>
4511
4512         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
4513         (gst_caps_unref), (gst_static_caps_get),
4514         (gst_caps_append_structure):
4515         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4516         Use GSlice when the glib we build against is >= 2.10
4517
4518 2006-07-03  Wim Taymans  <wim@fluendo.com>
4519
4520         * gst/gstelement.c: (gst_element_pads_activate):
4521         Small cleanup in pad activation code.
4522
4523 2006-07-03  Wim Taymans  <wim@fluendo.com>
4524
4525         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4526
4527         * gst/gst-i18n-app.h:
4528         * gst/gst-i18n-lib.h:
4529         * tools/gst-inspect.c: (print_signal_info):
4530         The attached patch will make the inclusion of gettext.h unconditional in
4531         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
4532         libintl.h in tools/gst-inspect.c.
4533         This allows use of --disable-nls again and fixes #344642.
4534
4535 2006-07-03  Edward Hervey  <edward@fluendo.com>
4536
4537         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
4538         Implement pad blocking on events according to part-block.txt.
4539         More comments on behaviour.
4540         * tests/check/gst/gstevent.c: (test_event):
4541         Send event to peer pad of blocked pad (else it will block).
4542
4543 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4544
4545         * libs/gst/check/gstcheck.c: (gst_check_message_error),
4546         (gst_check_run_suite):
4547           if we get the wrong message, give us the types as string
4548         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4549           Fix a translatable
4550         * tests/check/elements/filesrc.c: (GST_START_TEST):
4551           add a test for trying to open a non-existing file
4552
4553 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4554
4555         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4556           add a test for adding self
4557
4558 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4559
4560         * libs/gst/check/gstcheck.h:
4561           add some assert_ as alias for fail_unless_*
4562         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
4563           increase test coverage
4564
4565 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4566
4567         * Makefile.am:
4568           include lcov.mak for lcov coverage generation
4569         * tools/Makefile.am:
4570           add to CLEANFILES
4571
4572 2006-07-02  Edward Hervey  <edward@fluendo.com>
4573
4574         * tests/check/elements/.cvsignore:
4575         moaping
4576
4577 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4578
4579         * configure.ac:
4580           don't set CFLAGS and friends for gcov, done from GST_GCOV now
4581         * tests/check/Makefile.am:
4582           clean up gcov files
4583
4584 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4585
4586         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
4587           remove gst_caps_simplify; it was not declared and not used
4588           and deprecated in 0.8
4589
4590 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4591
4592         * docs/faq/gst-uninstalled:
4593           don't put empty paths on PYTHONPATH
4594         * docs/gst/gstreamer-sections.txt:
4595           remove some symbols that are not there
4596
4597 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4598
4599         * gst/gstcaps.c: (gst_caps_compare_structures):
4600           whitespace fixes
4601         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4602         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4603           add more tests
4604
4605 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4606
4607         * libs/gst/dataprotocol/Makefile.am:
4608           build dataprotocol test by linking to the lib, instead of
4609           compiling the source, so we get coverage
4610         * tests/check/Makefile.am:
4611         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
4612         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
4613           add a test for filesrc
4614
4615 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4616
4617         * tests/check/gst/gststructure.c: (GST_START_TEST),
4618         (gst_structure_suite):
4619           Push coverage from 59.04% to 70.00%
4620
4621 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4622
4623         * tests/check/Makefile.am:
4624           gst-inspect every element; this makes sure that we also get
4625           coverage on element's get/set functions
4626
4627 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4628
4629         * configure.ac:
4630           set CFLAGS and friends to -O0 if gcov is being used
4631           add GCOV LIBS
4632         * gst/Makefile.am:
4633         * libs/gst/base/Makefile.am:
4634         * libs/gst/check/Makefile.am:
4635         * libs/gst/controller/Makefile.am:
4636         * libs/gst/dataprotocol/Makefile.am:
4637         * libs/gst/net/Makefile.am:
4638         * plugins/elements/Makefile.am:
4639         * plugins/indexers/Makefile.am:
4640           add makefile rules to generate gcov data and clean up
4641         * tests/check/Makefile.am:
4642           add a coverage target that generates an html overview
4643           of coverage data
4644
4645 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4646
4647         * tests/check/elements/fakesink.c:
4648         * tests/check/elements/fakesrc.c:
4649         * tests/check/elements/fdsrc.c:
4650         * tests/check/elements/identity.c:
4651         * tests/check/generic/sinks.c: (gst_sinks_suite):
4652         * tests/check/generic/states.c:
4653         * tests/check/gst/gst.c:
4654         * tests/check/gst/gstabi.c:
4655         * tests/check/gst/gstbin.c:
4656         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
4657         * tests/check/gst/gstbus.c: (gst_bus_suite):
4658         * tests/check/gst/gstcaps.c: (GST_START_TEST):
4659         * tests/check/gst/gstelement.c:
4660         * tests/check/gst/gstevent.c: (gst_event_suite):
4661         * tests/check/gst/gstghostpad.c:
4662         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
4663         * tests/check/gst/gstmessage.c: (gst_message_suite):
4664         * tests/check/gst/gstminiobject.c:
4665         * tests/check/gst/gstobject.c:
4666         * tests/check/gst/gstpad.c:
4667         * tests/check/gst/gstpipeline.c:
4668         * tests/check/gst/gstplugin.c:
4669         * tests/check/gst/gstquery.c: (gst_query_suite):
4670         * tests/check/gst/gstsegment.c: (gst_segment_suite):
4671         * tests/check/gst/gststructure.c:
4672         * tests/check/gst/gstsystemclock.c:
4673         * tests/check/gst/gsttag.c:
4674         * tests/check/gst/gsttask.c: (gst_task_suite):
4675         * tests/check/gst/gstutils.c:
4676         * tests/check/gst/gstvalue.c:
4677         * tests/check/libs/adapter.c:
4678         * tests/check/libs/basesrc.c:
4679         * tests/check/libs/collectpads.c:
4680         * tests/check/libs/controller.c:
4681         * tests/check/libs/gdp.c: (gst_dp_suite):
4682         * tests/check/libs/gstnetclientclock.c:
4683         * tests/check/libs/gstnettimeprovider.c:
4684         * tests/check/libs/libsabi.c: (libsabi_suite):
4685         * tests/check/libs/typefindhelper.c:
4686         * tests/check/pipelines/cleanup.c:
4687         * tests/check/pipelines/parse-launch.c:
4688         * tests/check/pipelines/simple-launch-lines.c:
4689         * tests/check/pipelines/stress.c: (stress_suite):
4690           use the new macro
4691
4692 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4693
4694         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
4695         * libs/gst/check/gstcheck.h:
4696           create a macro and function so that the simple unit test
4697           case can be just one macro to create main()
4698
4699 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
4700
4701         * gst/gstbin.c: (gst_bin_restore_thyself):
4702         * gst/gstxml.c: (gst_xml_make_element):
4703           Fix deserialisation from XML. Set parent manually
4704           instead of using gst_bin_add(), since gst_bin_add()
4705           will unlink all pads of the element being added.
4706           Fixes #341667.
4707
4708 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
4709
4710         Patch by: Peter Kjellerstedt <pkj at axis com>
4711
4712         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
4713           Fix missing g_strdup() and double free when using the
4714           --gst-plugin-load command line option (#346097).
4715
4716 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
4717
4718         * gst/gstinfo.c:
4719           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
4720
4721         * libs/gst/net/gstnetclientclock.c:
4722         * libs/gst/net/gstnettimeprovider.c:
4723           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
4724
4725 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
4726
4727         * docs/manual/advanced-dataaccess.xml:
4728           Fix buffer probe example compilation in
4729           ADM (#345708).
4730         
4731 2006-06-22  Edward Hervey  <edward@fluendo.com>
4732
4733         * gst/gstelement.c: (gst_element_pads_activate):
4734         We need to deactivate src pads first and then sink pads.
4735         The reason is the src pads might be blocking while holding the streaming
4736         lock, so we need to deactivate them first so that deactivating the sink
4737         pads doesn't block (since it will require the streaming lock).
4738
4739 2006-06-22  Wim Taymans  <wim@fluendo.com>
4740
4741         * libs/gst/base/gstbasetransform.c:
4742         (gst_base_transform_buffer_alloc):
4743         Forgot to remove two unneeded unrefs.
4744         Simplify a check _is_equal allready checks the obvious case.
4745
4746 2006-06-22  Wim Taymans  <wim@fluendo.com>
4747
4748         * docs/design/part-block.txt:
4749         Some docs about what pad_block should do.
4750
4751 2006-06-22  Wim Taymans  <wim@fluendo.com>
4752
4753         * gst/gstcaps.c: (gst_caps_replace):
4754         Fix crasher when passed NULL. Doc clarification.
4755         Optimize for the trivial case.
4756
4757         * gst/gstpipeline.c: (gst_pipeline_change_state):
4758         Small cleanups.
4759
4760         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4761         Small documentation cleanup.
4762
4763         * libs/gst/base/gstbasetransform.c:
4764         (gst_base_transform_buffer_alloc):
4765         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
4766         is what we need and it avoids a whole lot of redundant 
4767         refcount operations.
4768
4769 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
4770
4771         Patch by: Philip Jägenstedt  <philip at lysator liu se>
4772
4773         * docs/manual/advanced-dataaccess.xml:
4774           Fix 'Embedding static elements' section to use
4775           GST_PLUGIN_DEFINE_STATIC (#345607).
4776
4777 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
4778
4779         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
4780           Attempt to 'fix' spuriously failing test case: it seems like the
4781           timeout of half a second is simply too small when the system is under
4782           load otherwise, and the timeout doesn't really seem to serve any
4783           particular purpose here. Give the pipeline a few seconds to preroll
4784           first, and then give it another half a second to go from PAUSED to
4785           PLAYING and marshal the message into the main thread.
4786
4787 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
4788
4789         * tools/gst-feedback-m.m:
4790           Don't only use unversioned tools, try versioned tools as well
4791           (#345086).
4792
4793 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
4794
4795         * gst/gstbus.c: (gst_bus_class_init):
4796           Fix some typos, make docs more explicit.
4797
4798 2006-06-20  Wim Taymans  <wim@fluendo.com>
4799
4800         * tests/check/gst/gstghostpad.c: (block_callback),
4801         (GST_START_TEST), (gst_ghost_pad_suite):
4802         Added some more ghostpad tests, mainly blocking
4803         and probes.
4804
4805 2006-06-16  Wim Taymans  <wim@fluendo.com>
4806
4807         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4808         (gst_file_sink_close_file), (gst_file_sink_do_seek),
4809         (gst_file_sink_event), (gst_file_sink_render):
4810         * plugins/elements/gstfilesink.h:
4811         Check if we can seek in the file instead of assuming
4812         we always can. Post an error when we are asked to seek in a
4813         non-seekable file (like a fifo). Fixes #343312.
4814         Some cleanups.
4815
4816 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
4817
4818         * tools/gst-launch.1.in:
4819           Un-garble (fourcc) bit in filtered caps section.
4820
4821 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
4822
4823         * docs/manual/advanced-autoplugging.xml:
4824         * docs/manual/basics-helloworld.xml:
4825         * docs/manual/highlevel-components.xml:
4826           Don't leak bus reference in sample code.
4827
4828 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
4829
4830         * autogen.sh:
4831           Add default for new --enable-plugin-docs switch.
4832
4833         * configure.ac:
4834           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
4835           Fixes #344039.
4836
4837         * docs/Makefile.am:
4838           Use new ENABLE_PLUGIN_DOCS conditional.
4839
4840 2006-06-14  Wim Taymans  <wim@fluendo.com>
4841
4842         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
4843         Make it clear with a FIXME and a real define what the #if 0
4844         previously disabled.
4845
4846 2006-06-14  Wim Taymans  <wim@fluendo.com>
4847
4848         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4849         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
4850         * libs/gst/base/gstbasetransform.c:
4851         (gst_base_transform_sink_eventfunc):
4852         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
4853         Don't randomly and silently reset a segment when the format 
4854         changes as this is a bug somewhere upstream. Fixes #330379.
4855
4856 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
4857
4858         Patch by: Wouter Paesen  <wouter at kangaroot net>
4859
4860         * libs/gst/controller/gstcontroller.c:
4861         (gst_controlled_property_new):
4862           Fix controlling of float properties (#344849).
4863
4864         * tests/check/libs/controller.c:
4865         (gst_test_mono_source_get_property),
4866         (gst_test_mono_source_set_property),
4867         (gst_test_mono_source_class_init), (GST_START_TEST):
4868           While we're at it, add some float stuff to unit test.
4869
4870 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4871
4872         * docs/README:
4873         * docs/images/gdp-header.svg:
4874           add a gdp image
4875         * docs/libs/Makefile.am:
4876         * docs/libs/gdp-header.png:
4877         * libs/gst/dataprotocol/dataprotocol.c:
4878           add it to the API docs
4879         * docs/manual/intro-motivation.xml:
4880           fix typo
4881
4882 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
4883
4884         * gst/gst.c: (scan_and_update_registry), (init_post):
4885           If the fork()'ed child process can't write the updated registry cache
4886           file to disk for some reason, make it exit with a failure exit code,
4887           so that the parent can then re-scan the plugins itself and update the
4888           registry structures in memory and work with that (rather than failing
4889           when creating elements because seemingly no plugins are available).
4890           Refactor registry scanning code into separate function for this and
4891           also separate fork() and non-fork() code paths. Fixes #344748.
4892
4893 2006-06-13  Wim Taymans  <wim@fluendo.com>
4894
4895         * docs/manual/advanced-dataaccess.xml:
4896         Fix wrong PluginDesc. Fixes #344755.
4897
4898 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
4899
4900         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
4901           Fix silly bug that prevented us from creating
4902           ~/.gstreamer-0.10 and writing the registry in one
4903           go (the first call to g_mkstemp() would overwrite the
4904           placeholder in the template string, so the second call
4905           to g_mkstemp() after creating the missing directory
4906           would then error out with 'invalid argument').
4907
4908 2006-06-13  Edward Hervey  <edward@fluendo.com>
4909
4910         * gst/gst.c: (init_post):
4911         Free string.
4912
4913 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4914
4915         * gst/glib-compat-private.h:
4916         * gst/glib-compat.c:
4917         * gst/glib-compat.h:
4918         * gst/gstvalue.c: (gst_value_serialize_flags):
4919           remove GLib 2.6 compatibility code
4920
4921 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
4922
4923         * gst/parse/Makefile.am:
4924           Fix build with 'make -j N' even more (#340016).
4925
4926 2006-06-12  Wim Taymans  <wim@fluendo.com>
4927
4928         * docs/gst/gstreamer-sections.txt:
4929         Fix docs.
4930
4931 2006-06-12  Wim Taymans  <wim@fluendo.com>
4932
4933         * gst/gstsegment.c: (gst_segment_set_duration),
4934         (gst_segment_set_last_stop), (gst_segment_set_seek),
4935         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
4936         (gst_segment_to_running_time), (gst_segment_clip):
4937         Use G_UNLIKELY to help the compiler a bit.
4938
4939 2006-06-12  Wim Taymans  <wim@fluendo.com>
4940
4941         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
4942
4943         * gst/gstevent.c: (gst_event_get_type):
4944         * gst/gstmessage.c:
4945         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
4946         (gst_pad_push):
4947         constify quark registration strings. Fixes #344115
4948         Avoid unneeded type checking is _pad_push() by internally
4949         calling gst_pad_chain_unchecked().
4950
4951 2006-06-12  Wim Taymans  <wim@fluendo.com>
4952
4953         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
4954         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
4955         (gst_subbuffer_finalize), (gst_buffer_create_sub),
4956         (gst_buffer_is_span_fast), (gst_buffer_span):
4957         Init _type for consistency.
4958         Use _FLAGS macro to avoid type check.
4959         Avoid unneeded type checks in subbufer code.
4960
4961 2006-06-12  Wim Taymans  <wim@fluendo.com>
4962
4963         * gst/gst.c: (gst_debug_help):
4964         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
4965         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
4966         (gst_plugin_feature_list_free):
4967         * gst/gstregistry.c: (gst_registry_add_plugin),
4968         (gst_registry_add_feature), (gst_registry_plugin_filter),
4969         (gst_registry_feature_filter), (gst_registry_find_plugin),
4970         (gst_registry_find_feature), (gst_registry_get_plugin_list),
4971         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
4972         * gst/gstregistryxml.c: (load_feature),
4973         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
4974         * gst/gstminiobject.c: (gst_mini_object_unref),
4975         (gst_mini_object_replace), (gst_value_mini_object_free),
4976         (gst_value_mini_object_copy):
4977         Use _CAST macros to avoid unneeded type checking.
4978         Added some more G_UNLIKELY.
4979
4980 2006-06-12  Wim Taymans  <wim@fluendo.com>
4981
4982         * gst/gstbuffer.h:
4983         Avoid unneeded type checking.
4984         API: GST_BUFFER_IS_DISCONT
4985
4986         * gst/gstminiobject.h:
4987         Avoid type check in flag accessor.
4988
4989         * gst/gstelementfactory.h:
4990         * gst/gstplugin.h:
4991         * gst/gstpluginfeature.h:
4992         Add _CAST macros.
4993         API: GST_ELEMENT_FACTORY_CAST
4994         API: GST_PLUGIN_CAST
4995         API: GST_PLUGIN_FEATURE_CAST
4996
4997 2006-06-12  Wim Taymans  <wim@fluendo.com>
4998
4999         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
5000         (gst_object_unref):
5001         Add G_UNLIKELY in type registration.
5002         Avoid type check in _ref/_unref since that is also
5003         done in glib.
5004
5005 2006-06-12  Wim Taymans  <wim@fluendo.com>
5006
5007         * gst/gsterror.c: (gst_g_error_get_type):
5008         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5009         (gst_static_pad_template_get_type):
5010         * gst/gsttaglist.c: (gst_tag_list_get_type):
5011         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
5012         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
5013         * gst/gsturi.c: (gst_uri_handler_get_type):
5014         * gst/gstvalue.c: (gst_date_get_type):
5015         * gst/gstxml.c: (gst_xml_get_type):
5016         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5017         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5018         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
5019         Add G_UNLIKELY in type registration.
5020
5021 2006-06-12  Wim Taymans  <wim@fluendo.com>
5022
5023         * tools/gst-inspect.c: (print_signal_info):
5024         Properly print enum values.
5025
5026 2006-06-12  Wim Taymans  <wim@fluendo.com>
5027
5028         * gst/gstinfo.c: (gst_debug_set_active),
5029         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
5030         * gst/gstinfo.h:
5031         Add some G_[UN]LIKELY.
5032         Maintain __gst_debug_min to avoid formatting the arguments of
5033         debug messages that will be dropped anyway to avoid a lot of 
5034         overhead from the debugging system.
5035
5036 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5037
5038         * po/POTFILES.in:
5039         * po/POTFILES.skip:
5040           add missing files containing translatable strings, tell intltool about
5041           one exception
5042
5043 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5044
5045         * tests/check/libs/.cvsignore:
5046         add test-binary to ignore list
5047
5048 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
5049
5050         * docs/libs/gstreamer-libs-docs.sgml:
5051         reorder (put dp into a chapter) and indent
5052
5053 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5054
5055         * configure.ac:
5056           back to HEAD
5057
5058 === release 0.10.8 ===
5059
5060 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
5061
5062         * configure.ac:
5063           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
5064
5065 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5066
5067         * gst/gst.c: (init_post):
5068           move pid declaration to declaration block
5069
5070 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5071
5072         * gst/gst.c: (init_post):
5073           use _exit() instead of exit() in our forked child; this ensures
5074           that none of the registered exit handlers from whatever is using
5075           GStreamer get executed.  This fixes gnome-mixer-applet failing
5076           to load, because ORBit would shut down.
5077           Spotted by: Edward Hervey  <edward@fluendo.com>
5078           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
5079           Fixes #344474
5080
5081 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5082
5083         * configure.ac:
5084           back to TRUNK
5085
5086 === release 0.10.7 ===
5087
5088 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
5089
5090         * configure.ac:
5091           releasing 0.10.7, "Soepeke, ik zie ou"
5092
5093 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
5094
5095         * configure.ac:
5096         * po/af.po:
5097         * po/az.po:
5098         * po/bg.po:
5099         * po/ca.po:
5100         * po/cs.po:
5101         * po/de.po:
5102         * po/en_GB.po:
5103         * po/fr.po:
5104         * po/it.po:
5105         * po/nb.po:
5106         * po/nl.po:
5107         * po/ru.po:
5108         * po/sq.po:
5109         * po/sr.po:
5110         * po/sv.po:
5111         * po/tr.po:
5112         * po/uk.po:
5113         * po/vi.po:
5114         * po/zh_CN.po:
5115         * po/zh_TW.po:
5116         * win32/common/config.h:
5117           0.10.6.2 prerelease
5118
5119 2006-06-07  Wim Taymans  <wim@fluendo.com>
5120
5121         * gst/gstindex.c: (gst_index_gtype_resolver):
5122         * tools/gst-xmlinspect.c: (print_plugin_info):
5123         Fix leak spotted by coverity checker. Fixes #343827
5124         Fix another other leak found by paolo borelli.
5125
5126 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5127
5128         * libs/gst/dataprotocol/dataprotocol.c:
5129         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5130         (gst_dp_version_get_type), (gst_dp_init),
5131         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
5132         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
5133         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
5134         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
5135         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
5136         (gst_dp_packetizer_free):
5137         * libs/gst/dataprotocol/dataprotocol.h:
5138           API: add a GstDPPacketizer object, and create/free functions
5139           API: add GstDPVersion enum
5140           Add 1.0 event function that uses the string serialization
5141           Serialize more useful buffer flags
5142           Fixes #343988
5143
5144 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5145
5146         * tests/check/Makefile.am:
5147         * tests/check/gst/gstabi.c:
5148         * tests/check/gst/struct_ppc64.h:
5149         * tests/check/libs/libsabi.c:
5150         * tests/check/libs/struct_ppc64.h:
5151           add ppc64 structure sizes
5152
5153 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5154
5155         * tests/check/Makefile.am:
5156         * tests/check/gst/gstabi.c:
5157         * tests/check/gst/struct_x86_64.h:
5158         * tests/check/libs/libsabi.c:
5159         * tests/check/libs/struct_x86_64.h:
5160           generate and add structure size lists for x86_64
5161
5162 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5163
5164         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5165         * libs/gst/check/gstcheck.h:
5166           factor out the method from tests that checks size of structures,
5167           and add code to generate the header containing these sizes
5168         * tests/check/gst/gstabi.c: (GST_START_TEST):
5169         * tests/check/gst/struct_i386.h:
5170         * tests/check/libs/libsabi.c: (GST_START_TEST):
5171         * tests/check/libs/struct_i386.h:
5172           use it
5173
5174 2006-06-06  Michael Smith  <msmith@fluendo.com>
5175
5176         * gst/gstsegment.h:
5177           Don't use c++-style comments, fixes #343929
5178
5179 2006-06-05  Edward Hervey  <edward@fluendo.com>
5180
5181         * gst/gst.c:
5182         plugin_paths is not used if we build without registry support.
5183
5184         * gst/gstsegment.c: (gst_segment_copy): 
5185         _copy() was always returning NULL...
5186
5187 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5188
5189         * libs/gst/dataprotocol/dataprotocol.c:
5190         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5191         (gst_dp_packet_from_event):
5192           factor out CRC code
5193
5194 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5195
5196         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
5197           make sure we unset caps
5198
5199 2006-06-02  Michael Smith  <msmith@fluendo.com>
5200
5201         * libs/gst/check/gstcheck.c: (gst_check_init),
5202         (gst_check_chain_func):
5203         * libs/gst/check/gstcheck.h:
5204           Add a cond/mutex to the check support lib, signal this whenever we
5205           add to the buffers list. This will allow tests to not busy-wait on
5206           the buffer-list.
5207
5208 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5209
5210         * libs/gst/dataprotocol/dataprotocol.c:
5211         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5212         (gst_dp_packet_from_event):
5213           factor out some common header init code
5214
5215 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5216
5217         * docs/libs/gstreamer-libs-sections.txt:
5218         * docs/libs/tmpl/gstdataprotocol.sgml:
5219         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
5220         * libs/gst/dataprotocol/dataprotocol.h:
5221           API: make gst_dp_crc() public
5222
5223 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
5224
5225         * plugins/indexers/gstindexers.c: (plugin_init):
5226         conditionally register fileindexer (fixes #343598)
5227
5228 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
5229
5230         * gst/gsttagsetter.h:
5231         Can't cast ifaces to a class
5232
5233         * libs/gst/net/gstnetclientclock.h:
5234         * libs/gst/net/gstnettimeprovider.h:
5235         * plugins/elements/gstfakesink.h:
5236         * plugins/elements/gstfakesrc.h:
5237         * plugins/elements/gstfdsink.h:
5238         * plugins/elements/gstfdsrc.h:
5239         * plugins/elements/gstfilesink.h:
5240         * plugins/elements/gstfilesrc.h:
5241         * plugins/elements/gstidentity.h:
5242         * plugins/elements/gstqueue.h:
5243         * plugins/elements/gsttee.h:
5244         * plugins/indexers/gstfileindex.c:
5245         * plugins/indexers/gstmemindex.c:
5246         * tests/old/examples/plugins/example.h:
5247         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
5248
5249 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5250
5251         * libs/gst/dataprotocol/dataprotocol.c:
5252         (gst_dp_header_from_buffer):
5253           make sure we zero the whole ABI-compatible area
5254
5255 2006-06-01  Wim Taymans  <wim@fluendo.com>
5256
5257         Patch by: Alessandro Decina <alessandro at nnva dot org>
5258
5259         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
5260         Make sure the EOS flag is cleared from pads after a flush
5261         or stop. Fixes #343538.
5262
5263         * tests/check/libs/collectpads.c: (GST_START_TEST),
5264         (gst_collect_pads_suite):
5265         Added test for collectpads reusage after EOS.
5266
5267 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
5268
5269         * gst/gst.c:
5270          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
5271         * win32/common/libgstbase.def:
5272          export gst_collect_pads_set_flushing
5273         * win32/common/libgstreamer.def:
5274          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
5275          gst_value_fraction_multiply
5276         * win32/vs6/gst_inspect.dsp:
5277          add a link to intl.lib
5278
5279 2006-05-30  Wim Taymans  <wim@fluendo.com>
5280
5281         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5282         (gst_collect_pads_chain):
5283         Handle the case where a pad is removed from the collection
5284         that could cause the other pads to become collectable.
5285
5286 2006-05-30  Wim Taymans  <wim@fluendo.com>
5287
5288         * gst/gstelement.c:
5289         Clarify the use of _release_request_pad() and
5290         _get_request_pad() a bit better.
5291
5292         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
5293         (gst_adapter_take_buffer):
5294         Fix some doc and comment typos.
5295
5296 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5297
5298         * docs/gst/gstreamer-sections.txt:
5299         * docs/libs/gstreamer-libs-sections.txt:
5300           add declared symbols
5301
5302 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
5303
5304         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5305         Add debug that can be enabled using a #define at the top of the file,
5306         for dumping stats about how late/early we were when waking up from
5307         waiting on the clock.
5308
5309 2006-05-30  Wim Taymans  <wim@fluendo.com>
5310
5311         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
5312         When rebuilding the pad list, don't leak the previous list.
5313
5314 2006-05-30  Wim Taymans  <wim@fluendo.com>
5315
5316         Patch by: Lutz Mueller <lutz at topfrose dot de>
5317
5318         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5319         (gst_base_src_get_query_types), (gst_base_src_update_length):
5320         Publish supported query types.
5321         Update last_stop field in get_range mode so the position
5322         query works. Fixes #342321.
5323
5324 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
5325
5326         * docs/gst/gstreamer-sections.txt:
5327         * gst/gsttaglist.c: (_gst_tag_initialize):
5328         * gst/gsttaglist.h:
5329           API: add GST_TAG_PREVIEW_IMAGE (#343341).
5330
5331 2006-05-30  Wim Taymans  <wim@fluendo.com>
5332
5333         Patch by: Alessandro Decina <alessandro at nnva dot org>
5334
5335         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5336         Unlock mutex when removing an unknown pad.
5337         Fixes #343334.
5338
5339         * tests/check/Makefile.am:
5340         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
5341         (push_event), (setup), (teardown), (GST_START_TEST),
5342         (gst_collect_pads_suite), (main):
5343         Added collecpads check, disabled for now as check crashes for
5344         some reason.
5345
5346 2006-05-29  Wim Taymans  <wim@fluendo.com>
5347
5348         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
5349         Don't leak pads lists.
5350
5351 2006-05-29  Wim Taymans  <wim@fluendo.com>
5352
5353         * docs/libs/gstreamer-libs-sections.txt:
5354         * libs/gst/base/gstcollectpads.c:
5355         (gst_collect_pads_set_flushing_unlocked),
5356         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5357         (gst_collect_pads_stop):
5358         * libs/gst/base/gstcollectpads.h:
5359         API: gst_collect_pads_set_flushing()
5360         Added api to set the pads to flushing, useful for seeking
5361         code in elements using collectpads.
5362         Clear segment when receiving a flush.
5363
5364 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
5365
5366         * gst/gst.c: (add_path_func), (init_post):
5367           Don't scan registry paths passed via --gst-plugin-path immediately
5368           (will crash, because absolutely nothing is set up and no types are
5369           registered etc.); do this later in init_post(). Fixes #343057.
5370
5371 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5372
5373         * gst/gst.c: (init_post):
5374           if we have fork, fork while reading/rebuilding the registry
5375           so the parent doesn't take the hit of having all plugins loaded
5376           in memory.  Fixes #342777.
5377         * configure.ac:
5378           Check if we have fork()
5379         * win32/common/config.h.in:
5380           no fork() on win32
5381
5382 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
5383
5384         * plugins/elements/gstelements.c:
5385         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5386         (gst_file_src_init), (gst_file_src_set_property),
5387         (gst_file_src_get_property), (gst_file_src_start):
5388         * plugins/elements/gstfilesrc.h:
5389           API: GstFileSrc::use-mmap
5390
5391         Add a use-mmap property to enable easier testing of all code paths.
5392         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
5393         in the absence of gnomevfssrc. (Closes #340501)
5394
5395 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5396
5397         * tools/gst-inspect.c:
5398         Add missing include, removes warning of ngettext not being defined on
5399         some arches.
5400
5401 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
5402
5403         * gst/gstvalue.c: (gst_value_deserialize_fraction):
5404         Handle NULL input and output pointers silently as a failed conversion,
5405         rather than g_warnings.
5406
5407 2006-05-25  Wim Taymans  <wim@fluendo.com>
5408
5409         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
5410         Initialize variable before using. Fixes #342820.
5411
5412 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
5413
5414         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
5415           Fix off-by-one bug that would only allow peeks of N-1 bytes
5416           from the start even if the buffer to typefind on contains
5417           in fact N bytes of data (makes vorbis typefinding from a
5418           vorbis identification header buffer work).
5419
5420         * tests/check/Makefile.am:
5421         * tests/check/libs/.cvsignore:
5422         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
5423         (gst_typefindhelper_suite), (main), (foobar_typefind),
5424         (plugin_init):
5425           Add very basic unit test for gst_type_find_helper_for_buffer()
5426           that checks for the problem fixed above.
5427
5428 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5429
5430         * tools/gst-inspect.c: (print_interfaces),
5431         (print_element_properties_info), (print_element_list), (main):
5432           add more translatable strings
5433
5434 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
5435
5436         Patch by: Julien Moutte  <julien at moutte net>
5437
5438         * docs/gst/gstreamer-sections.txt:
5439           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
5440           
5441         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5442         (gst_fake_sink_preroll):
5443         * plugins/elements/gstfakesink.h:
5444           API: Add new GstFakeSink::preroll-handoff signal (#337100).
5445
5446 2006-05-23  Wim Taymans  <wim@fluendo.com>
5447
5448         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
5449         * gst/gstpad.h:
5450         Added _CUSTOM error and success GstFlowReturn that can be
5451         used be elements internally. 
5452         Added macro to check for SUCCESS flowreturns.
5453         API: GST_FLOW_CUSTOM_SUCCESS
5454         API: GST_FLOW_CUSTOM_ERROR
5455         API: GST_FLOW_IS_SUCCESS
5456
5457         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5458         Added check for GstFlowReturn sanity.
5459
5460 2006-05-23  Wim Taymans  <wim@fluendo.com>
5461
5462         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5463
5464         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5465         (gst_collect_pads_event):
5466         clear/reset segment info in FLUSH_STOP.
5467         Fixes #336929.
5468
5469 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
5470
5471         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
5472         (gst_collect_pads_check_collected):
5473         Flush queued buffer on _stop(), fixes playing again (#342454)
5474
5475 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5476
5477         * tests/check/gst/gststructure.c: (GST_START_TEST),
5478         (gst_structure_suite):
5479           add a test for a complete structure
5480
5481 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
5482
5483         * docs/faq/developing.xml:
5484         * docs/faq/faq.xml:
5485         * docs/faq/troubleshooting.xml:
5486         * docs/faq/using.xml:
5487           Some minor FAQ updates that won't change the fact that
5488           our FAQ is badly structured, full of information hardly
5489           anyone new to GStreamer needs to know and lacking lots
5490           of information people constantly ask for.
5491           
5492 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
5493
5494         * gst/gstpad.c: (gst_pad_set_caps):
5495           Short-circuit gst_pad_set_caps if setting the existing
5496           caps pointer again, and avoid printing debug and 
5497           reffing/unreffing the caps.
5498
5499         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5500           There's actually no need to set the caps before pushing -
5501           the acceptcaps method will handle it anyway.
5502
5503 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
5504
5505         * docs/gst/gstreamer-sections.txt:
5506         * win32/common/libgstreamer.def:
5507         * gst/gstutils.c: (gst_element_seek_simple):
5508         * gst/gstutils.h:
5509           API: add gst_element_seek_simple() (#342238).
5510
5511 2006-05-18  Edward Hervey  <edward@fluendo.com>
5512
5513         * gst/gsttypefind.c: (gst_type_find_get_type):
5514         * gst/gsttypefind.h:
5515         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
5516         registered for GstTypeFind pointers. This allows wrapping the structure
5517         in bindings (i.e. gst-python).
5518
5519 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
5520
5521         * gst/gsttagsetter.c:
5522           Docs additions and fixes (see #339918).
5523
5524 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
5525
5526         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5527         The caps intersection algorithm can produce multiple copies of the
5528         caps. Until that is fixed, we need to simplify the result to be
5529         sure whether the allowed caps are fixed or not.
5530
5531         * plugins/elements/gstqueue.c: (gst_queue_init),
5532         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
5533         (gst_queue_push_one):
5534         Proxied buffer alloc should not set the caps on the source pad.
5535         When pushing buffers, we always accept the caps change that triggers.
5536         This prevents negotiation errors caused by caps changing mid-stream 
5537         and then being refused on our source pad (because upstream is now
5538         refusing those caps).
5539
5540 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
5541
5542         * tests/examples/helloworld/helloworld.c: (main):
5543           Must plug audioconvert and audioresample between decoder
5544           and audio sink.
5545
5546 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
5547
5548         * gst/gstregistryxml.c: (read_string), (load_pad_template),
5549         (load_feature), (load_plugin):
5550         Allow empty strings for some of the plugin fields so we don't 
5551         drop valid plugin entries that were written out correctly
5552         (Fixes #341479)
5553
5554 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
5555         
5556         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5557           Use g_remove and g_rename instead of remove and rename that don't 
5558           handle utf8 characters. rename was failing for users who had specific
5559           characters in their name then the registry was built at each 
5560           gstreamer init.
5561         * win32/vs6/gst_inspect.dsp:
5562         * win32/vs6/gst_launch.dsp:
5563         * win32/vs6/libgstbase.dsp:
5564         * win32/vs6/libgstcoreelements.dsp:
5565         * win32/vs6/libgstreamer.dsp:
5566           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
5567           build of libgstreamer and clean unused libraries in projects link 
5568           settings.
5569
5570 2006-05-17  Edward Hervey  <edward@fluendo.com>
5571
5572         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5573         The queue is not responsible for pushing an EOS when receiving a fatal
5574         flow error. It's up to the real element driving the pipeline to do that.
5575
5576 2006-05-16  Edward Hervey  <edward@fluendo.com>
5577
5578         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5579         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
5580         buffer returned a fatal error. It should just send an EOS and stop
5581         its task.
5582         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
5583         when pushing buffers on the queue and will be able to handle the event.
5584
5585 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
5586
5587         * docs/manual/basics-bins.xml:
5588         * docs/manual/basics-init.xml:
5589           Fix typos and minor errors in sample code (#341856).
5590
5591 2006-05-16  Wim Taymans  <wim@fluendo.com>
5592
5593         * docs/design/part-qos.txt:
5594         Fix indexes in formulas to make more sense.
5595
5596 2006-05-15  Wim Taymans  <wim@fluendo.com>
5597
5598         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5599         Don't report POSITION based on clock time if sync is
5600         disabled in a sink.
5601
5602 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
5603
5604         * gst/gstobject.h:
5605           Add cast to make compiler happy - refcount variable was a gint
5606           in GstObject but is a guint in GObject and g_atomic_int_get()
5607           wants a gint *.
5608
5609 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5610
5611         * gst/parse/Makefile.am:
5612           chain commands using &&, which also makes parallel make work
5613
5614 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
5615
5616         * docs/gst/gstreamer-sections.txt:
5617         * gst/gstevent.c:
5618         * gst/gstevent.h:
5619         * gst/gstmessage.h:
5620           Minor docs fixes.
5621
5622 === release 0.10.6 ===
5623
5624 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
5625
5626         * configure.ac:
5627           releasing 0.10.6, "Take the cannoli"
5628
5629 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
5630
5631         * tools/gst-launch.c: (print_tag):
5632           Fix use of uninitialized variable in the hypothetical
5633           case that some broken plugin creates a GST_TAG_IMAGE
5634           tag containing a NULL buffer (#341667).
5635
5636 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
5637
5638         * tools/gst-launch.c: (print_tag):
5639           Print something more intelligible for image tags when
5640           using the -t switch (#341556).
5641
5642 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5643
5644         * Makefile.am:
5645           updates for win32
5646         * configure.ac:
5647           define GST_MAJORMINOR so we have it available in win32/common/config.h
5648           Possibly remove it from our Makefile.am files later
5649         * win32/common/config.h:
5650         * win32/common/config.h.in:
5651           added GST_MAJORMINOR
5652         * win32/common/gstenumtypes.c: (register_gst_resource_error):
5653         * win32/common/gstversion.h:
5654           updated
5655
5656 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
5657
5658         * win32/MANIFEST:
5659           Update win32 files listing.
5660         * win32/common/gstversion.h:
5661           Add GST_MAJORMINOR definition.
5662         * win32/common/libgstreamer.def:
5663           Add new exported functions.
5664           
5665 2006-05-12  Michael Smith  <msmith@fluendo.com>
5666
5667         * gst/gstplugin.c: (gst_plugin_load_file):
5668           If an so file has no plugin entry point, unload the module.
5669
5670 2006-05-11  Wim Taymans  <wim@fluendo.com>
5671
5672         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
5673         (gst_queue_set_property):
5674         Don't forget to signal the _chain or _loop function 
5675         when the queue size or thresholds change since that might
5676         cause them to make progres again.
5677
5678 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
5679
5680         * gst/gstclock.c: (gst_clock_class_init):
5681         * gst/gstindex.c: (gst_index_class_init):
5682         * gst/gstobject.c: (gst_object_class_init):
5683         * gst/gstpad.c: (gst_pad_class_init):
5684         * gst/gstpipeline.c: (gst_pipeline_class_init):
5685         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
5686         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
5687         * libs/gst/base/gstbasetransform.c:
5688         (gst_base_transform_class_init):
5689         * libs/gst/net/gstnetclientclock.c:
5690         (gst_net_client_clock_class_init):
5691         * libs/gst/net/gstnettimeprovider.c:
5692         (gst_net_time_provider_class_init):
5693         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
5694         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
5695         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
5696         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
5697         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
5698         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5699         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
5700         * plugins/elements/gstidentity.c: (gst_identity_class_init):
5701         * plugins/elements/gsttee.c: (gst_tee_class_init):
5702         * tests/old/examples/plugins/example.c: (gst_example_class_init):
5703         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
5704           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
5705
5706 2006-05-11  Wim Taymans  <wim@fluendo.com>
5707
5708         * gst/gstbuffer.c: (_gst_buffer_initialize):
5709         Register subbufer along with the buffer type so that
5710         it does not accidentally gets registered from N
5711         different streaming threads in a non threadsafe way.
5712
5713 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
5714
5715         * gst/gstbuffer.h:
5716         * gst/gstevent.h:
5717         * gst/gstmessage.h:
5718           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
5719           gst_event_ref() and gst_message_ref() functions again
5720           (ugly hack, please do fix if there's a better way besides
5721           overrides.txt, which doesn't seem to work).
5722
5723 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5724
5725         * libs/gst/check/gstcheck.h:
5726           add an assert for setting state to avoid lots of repetitive code
5727           in the future
5728
5729 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5730
5731         * gst/gstvalue.c: (gst_value_serialize_flags):
5732           fix a leak if no flags are set
5733         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5734           fix leak in tests
5735
5736 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
5737
5738         * docs/manual/basics-pads.xml:
5739           Expand a bit on caps and filtered links and update
5740           examples that were still using the no longer existing
5741           gst_pad_link_filtered() (#338206).
5742
5743 2006-05-10  Wim Taymans  <wim@fluendo.com>
5744
5745         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5746         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5747         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5748         (gst_collect_pads_stop):
5749         * libs/gst/base/gstcollectpads.h:
5750         No need to call _stop in _finalize.
5751         Iterate the main pad list in _finalize.
5752         Added some more debug.
5753         Free lists and data in the right order.
5754         Also free data whem doing _remove_pad when stopped for
5755         backward compatibility protect ::started with PAD_LOCK as
5756         well.
5757
5758 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5759
5760         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
5761         (gst_structure_parse_value):
5762           add some comments
5763           rename a method so that it actually says what it does better
5764
5765 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
5766
5767         * gst/gstevent.c: (_gst_event_initialize):
5768         * gst/gstformat.c: (_gst_format_initialize):
5769           make sure some essential types used by events are registered
5770           as part of gst_init()
5771         * gst/gstvalue.c: (gst_value_serialize_flags):
5772           if no flags are set, serialize them to a value that represents NONE
5773           so that deserializing them works
5774         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5775           add tests for serialization and deserialization of flags
5776
5777 2006-05-10  Wim Taymans  <wim@fluendo.com>
5778
5779         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
5780         (gst_collect_pads_collect_range), (gst_collect_pads_available),
5781         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
5782         (gst_collect_pads_event), (gst_collect_pads_chain):
5783         Update docs.
5784         Better debug info.
5785         Catch and return errors from the collect function
5786         Refuse data on eos pads.
5787
5788 2006-05-10  Edward Hervey  <edward@fluendo.com>
5789
5790         * gst/gstinterface.h:
5791         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
5792         GInterface type checking.
5793         They were previously using non-defined macros.
5794
5795 2006-05-09  Wim Taymans  <wim@fluendo.com>
5796
5797         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
5798         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
5799         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
5800         (gst_collect_pads_start), (gst_collect_pads_stop),
5801         (gst_collect_pads_peek), (gst_collect_pads_pop),
5802         (gst_collect_pads_available), (gst_collect_pads_read),
5803         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
5804         (gst_collect_pads_is_collected), (gst_collect_pads_event),
5805         (gst_collect_pads_chain):
5806         * libs/gst/base/gstcollectpads.h:
5807         Clean up the mess that is collectpads, add comments and
5808         FIXMEs where needed.
5809         Maintain a separate pad list so we can add pads while
5810         collecting the other ones. For this we need a new separate 
5811         lock (see comics).
5812         Fix memory leak in finalize.
5813         Refactor some weird code to set/unset pad flushing flags, mark
5814         with comments.
5815         Don't crash in _available, _read, _flush when we're EOS.
5816
5817         * tests/check/libs/.cvsignore:
5818         Ignore adapter check binary.
5819
5820 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
5821
5822         * gst/gstindex.c: (gst_index_resolver_get_type):
5823         * plugins/elements/gstfakesink.c:
5824         (gst_fake_sink_state_error_get_type):
5825         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
5826         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
5827         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5828           Const-ify GEnumValue arrays.
5829
5830 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
5831
5832         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5833           Add test case for flags + gst_buffer_make_metadata_writable().
5834
5835 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
5836
5837         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
5838           gst_buffer_make_metadata_writable() should maintain the
5839           buffer flags (those that make sense at least) (see #340859).
5840
5841 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
5842
5843         * tools/gst-inspect.c:
5844         * tools/gst-launch.c:
5845         * tools/gst-typefind.c:
5846         * tools/gst-xmlinspect.c:
5847         * tools/tools.h:
5848           Fix up includes: need to include stdlib.h in tools.h for exit().
5849
5850 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
5851
5852         * gst/gsttaglist.c: (_gst_tag_initialize):
5853         * gst/gsttaglist.h:
5854           API: add GST_TAG_IMAGE tag (#340721).
5855
5856 2006-05-08  Wim Taymans  <wim@fluendo.com>
5857
5858         * gst/gstquery.c:
5859         Added some docs for the segment query.
5860
5861 2006-05-08  Wim Taymans  <wim@fluendo.com>
5862
5863         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5864         (gst_base_src_loop), (gst_base_src_change_state):
5865         Always push non-flushing serialized events in the streaming 
5866         thread.
5867
5868 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
5869
5870         * gst/gsterror.c: (_gst_stream_errors_init):
5871           Add a missing error string.
5872
5873 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
5874
5875         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
5876         Add applied_rate to the debug
5877
5878         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
5879         Copy applied_rate into the outgoing NEWSEGMENT event
5880
5881 2006-05-08  Wim Taymans  <wim@fluendo.com>
5882
5883         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
5884
5885         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
5886         (gst_base_sink_change_state):
5887         call ::unlock before taking the PREROLL_LOCK so we can safely
5888         handle elements that lock in ::render.
5889         Fixes #340174.
5890
5891 2006-05-08  Edward Hervey  <edward@fluendo.com>
5892
5893         * autogen.sh: (CONFIGURE_DEF_OPT): 
5894         Darwin's libtoolize is in fact called glibtoolize.
5895         Adding glibtoolize to the list of accepted names for libtoolize.
5896
5897 2006-05-08  Wim Taymans  <wim@fluendo.com>
5898
5899         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5900         Unify error handling, don't post an error message
5901         when a push() returns EOS but perform our normal EOS
5902         handling code. Fixes #340772.
5903
5904 2006-05-08  Wim Taymans  <wim@fluendo.com>
5905
5906         * docs/design/part-overview.txt:
5907         Make upsteam/downstream concepts more clear.
5908         Give an example of serialized/non-serialized events.
5909
5910         * docs/design/part-events.txt:
5911         * docs/design/part-streams.txt:
5912         Mention applied_rate.
5913
5914         * docs/design/part-trickmodes.txt:
5915         Mention applied rate, flesh out some more use cases.
5916
5917         * gst/gstevent.c: (gst_event_new_new_segment),
5918         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
5919         (gst_event_parse_new_segment_full), (gst_event_new_tag),
5920         (gst_event_parse_tag), (gst_event_new_buffer_size),
5921         (gst_event_parse_buffer_size), (gst_event_new_qos),
5922         (gst_event_parse_qos), (gst_event_parse_seek),
5923         (gst_event_new_navigation):
5924         * gst/gstevent.h:
5925         Add applied_rate field to NEWSEGMENT event.
5926         API: gst_event_new_new_segment_full()
5927         API: gst_event_parse_new_segment_full()
5928
5929         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
5930         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
5931         (gst_segment_to_stream_time), (gst_segment_to_running_time):
5932         * gst/gstsegment.h:
5933         Add applied_rate to GstSegment structure.
5934         Make calculation of stream_time and running_time more correct
5935         wrt rate/applied_rate.
5936         Add some more docs.
5937         API: GstSegment::applied_rate field
5938         API: gst_segment_set_newsegment_full();
5939
5940         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5941         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
5942         * libs/gst/base/gstbasetransform.c:
5943         (gst_base_transform_sink_eventfunc),
5944         (gst_base_transform_handle_buffer):
5945         Parse and use applied_rate in the GstSegment field.
5946
5947         * tests/check/gst/gstevent.c: (GST_START_TEST):
5948         Add check for applied_rate field.
5949
5950         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5951         (gstsegments_suite):
5952         Add more checks for various GstSegment operations.
5953
5954 2006-05-08  Wim Taymans  <wim@fluendo.com>
5955
5956         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5957         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
5958         (gst_base_sink_get_position), (gst_base_sink_change_state):
5959         Store the sync time of the buffer end position separatly in a
5960         new variable eos_rtime so we can properly sync the EOS event.
5961         Fixes #340697.
5962         Fix the docs for gst_base_sink_set_qos_enabled().
5963         Don't set segment start to invalid value when we receive a 
5964         non TIME newsegment.
5965         get closer to handling position reporting for negative rates 
5966         correctly.
5967
5968 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
5969
5970         * gst/gstcaps.c:
5971         Docs about how to print caps for debug purposes.
5972
5973         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
5974         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
5975
5976 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
5977
5978         * gst/gstelement.c:
5979           use full enum names and preprend a '%' in docs strings to make recent 
5980           gtk-doc turn that into a link
5981
5982 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
5983
5984         * docs/manual/basics-bins.xml:
5985         * docs/manual/basics-bus.xml:
5986         * docs/manual/basics-pads.xml:
5987           Some typo fixes, some additions, some clarifications. 
5988
5989 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
5990
5991         * tools/gst-inspect.c: (main):
5992         * tools/gst-launch.c: (main):
5993         * tools/gst-run.c: (main):
5994         * tools/gst-typefind.c: (main):
5995         * tools/gst-xmlinspect.c: (main):
5996           Use the string passed to g_option_context_new() for
5997           what it's intended for - the program name is already
5998           printed elsewhere.
5999
6000 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6001
6002         * tools/Makefile.am:
6003         * tools/gst-inspect.c: (main):
6004         * tools/gst-launch.c: (main):
6005         * tools/gst-xmlinspect.c: (main):
6006         * tools/tools.h:
6007           Add back --version command line option (#340460).
6008
6009         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
6010           Add --version option and use GOption for argument parsing; refactor a
6011           bit; accept directories as arguments and recurse into them; lastly,
6012           print a decent error message when things go wrong.
6013
6014 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6015
6016         * docs/manual/basics-bins.xml:
6017         Don't mention GstThread (#340611)
6018         * docs/manual/basics-elements.xml:
6019         Update link to GObject tutorial (#340607)
6020         
6021 2006-05-05  Wim Taymans  <wim@fluendo.com>
6022
6023         * gst/gstbuffer.h:
6024         * gst/gstminiobject.c:
6025         Add note about refcounting and miniobject/buffer writeability
6026         to docs. Fixes #340604
6027
6028         * gst/gstelementfactory.h:
6029         Added some explanation about @klass.
6030
6031 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6032
6033         * docs/manual/intro-motivation.xml:
6034         * docs/manual/manual.xml:
6035         Avoid CORBA & Bonobo references (#340598)
6036
6037 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6038
6039         * docs/manual/basics-bus.xml:
6040         * docs/manual/basics-pads.xml:
6041         Fix up some inaccuracies and omissions (#340609)
6042         
6043 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
6044
6045         * gst/gstghostpad.c:
6046           Small typo in docs (#340625)
6047
6048 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6049
6050         * gst/parse/Makefile.am:
6051           Make 'make -j' proof (see #340698).
6052
6053 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
6054
6055         * configure.ac:
6056           Require GLib-2.8 here as well.
6057
6058 2006-05-05  Wim Taymans  <wim@fluendo.com>
6059
6060         * gst/glib-compat.c:
6061         * gst/gst.c: (init_pre):
6062         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6063         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
6064         (gst_object_dispatch_properties_changed):
6065         * gst/gstobject.h:
6066         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6067         * gst/gststructure.c: (gst_structure_set_valist):
6068         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6069         Remove pre glib2.8 compatibility, fixes #340508
6070
6071 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6072
6073         * gst/gsttaglist.h:
6074           Mention type of tags in doc blurbs.
6075
6076 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
6077
6078         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6079         (gst_pad_configure_src), (gst_pad_push):
6080         Restore acceptcaps checking behaviour now that good plugins have
6081         been released.
6082
6083 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6084
6085         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
6086
6087         * gst/gst.c:
6088         * gst/gstbus.c:
6089         * gst/gstclock.c:
6090         * gst/gstevent.c:
6091         * gst/gstformat.c:
6092         * gst/gstmessage.c:
6093         * gst/gstparse.c:
6094         * gst/gstquery.c:
6095         * gst/gstutils.c:
6096         * gst/parse/Makefile.am:
6097         * libs/gst/base/gstadapter.c:
6098         * libs/gst/base/gstbasesrc.c:
6099         * libs/gst/base/gstpushsrc.c:
6100         * libs/gst/base/gsttypefindhelper.c:
6101         * plugins/elements/gstfakesrc.c:
6102         * plugins/elements/gstidentity.c:
6103           Make sure gstprivate.h and/or config.h are
6104           always included first, otherwise some of our
6105           defines (like _FILE_OFFSET_BITS) might be
6106           redefined in the system headers. Fixes build
6107           on opensolaris (#340016).
6108
6109 2006-05-04  Wim Taymans  <wim@fluendo.com>
6110
6111         * docs/libs/gstreamer-libs-sections.txt:
6112         API: addition: gst_adapter_take_buffer()
6113         
6114         * libs/gst/base/gstadapter.c: (gst_adapter_push),
6115         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
6116         (gst_adapter_available_fast):
6117         * libs/gst/base/gstadapter.h:
6118         Prepare for optimizing the hell out of this hugely inefficient
6119         piece of code. 
6120         Added gst_adapter_take_buffer() so we can at least start thinking
6121         about subbuffering and merging.
6122         Added some comments.
6123
6124         * tests/check/Makefile.am:
6125         * tests/check/libs/adapter.c: (GST_START_TEST),
6126         (gst_adapter_suite), (main):
6127         Added GstAdapter check.
6128
6129 2006-05-04  Wim Taymans  <wim@fluendo.com>
6130
6131         * docs/design/part-overview.txt:
6132         Fix some typos, add blurb about buffer flags.
6133
6134 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6135
6136         * docs/libs/gstreamer-libs-sections.txt:
6137           make sure GstBaseTransformClass shows up in the docs
6138         * libs/gst/base/gstbasetransform.c:
6139         * libs/gst/base/gstbasetransform.h:
6140           move docs so gtk-doc picks it up now
6141
6142 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
6143
6144         * docs/libs/gstreamer-libs-sections.txt:
6145           add missing symbols to docs
6146
6147 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
6148
6149         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6150           back out the newsegment handling change, see #340060 for ongoing
6151           discussion
6152
6153 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
6154
6155         * tools/gst-run.c: (get_candidates), (main):
6156           Fix wrong g_file_test() usage (see glib docs for why it doesn't
6157           work); fix typo in error message. Fixes #340079.
6158
6159 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6160
6161         * common/Makefile.am:
6162         * docs/Makefile.am:
6163         * docs/faq/Makefile.am:
6164         * docs/gst/Makefile.am:
6165         * docs/libs/Makefile.am:
6166         * docs/manual/Makefile.am:
6167         * docs/plugins/Makefile.am:
6168         * docs/pwg/Makefile.am:
6169         * docs/slides/Makefile.am:
6170         * docs/upload.mak:
6171         * common/upload.mak:
6172           move upload.mak to common
6173
6174 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6175
6176         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6177           add more asserts on refcounts
6178           do more cleanup at end of tests
6179           fix test leaks showing in FC5
6180
6181 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
6182
6183         * plugins/elements/gsttypefindelement.c:
6184         (gst_type_find_element_handle_event):
6185         reverted wrong change and reflowed code to avoid others falling into
6186         this trap
6187
6188 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6189
6190         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6191           fix changelog entry about last collectpads change,
6192           add notes about proper fix
6193
6194 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6195
6196         * gst/gst.c:
6197         * gst/gstregistry.c: (gst_registry_scan_path_level),
6198         (gst_registry_scan_path):
6199         * gst/gstregistry.h:
6200           only write out registry if it has changed, fixes #338339
6201
6202 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6203
6204         * gst/gstbin.c:
6205         * gst/gstpipeline.c:
6206         * plugins/elements/gstcapsfilter.c:
6207         * plugins/elements/gstfakesink.c:
6208         * plugins/elements/gstfakesrc.c:
6209         * plugins/elements/gstfdsink.c:
6210         * plugins/elements/gstfdsrc.c:
6211         * plugins/elements/gstfilesink.c:
6212         * plugins/elements/gstfilesrc.c:
6213         * plugins/elements/gstidentity.c:
6214         * plugins/elements/gstqueue.c:
6215         * plugins/elements/gsttee.c:
6216         * plugins/elements/gsttypefindelement.c:
6217         (gst_type_find_element_handle_event):
6218           make GstElementDetails const
6219
6220 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6221
6222         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6223         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6224         (gst_collect_pads_is_collected), (gst_collect_pads_event):
6225           more detailed debug and formatting cleanup,
6226           forward newsegments to src-pad (so that e.g. adder not eats them)
6227
6228 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6229
6230         * gst/gstutils.c: (gst_element_link_pads):
6231           cleanup double code
6232
6233 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
6234
6235         * libs/gst/controller/gstcontroller.c:
6236         (gst_controller_sync_values):
6237           some little tuning
6238         * tests/check/libs/controller.c: (GST_START_TEST),
6239         (gst_controller_suite):
6240           a new test for live value handling
6241
6242 2006-04-28  Wim Taymans  <wim@fluendo.com>
6243
6244         * gst/gstutils.c: (push_and_ref):
6245         Added some more docs.
6246         Fix refcount issue whith gst_element_found_tags() helper 
6247         function. Fixes #338335
6248
6249         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6250         Added testsuite for gst_element_found_tags().
6251
6252 2006-04-28  Michael Smith  <msmith@fluendo.com>
6253
6254         * gst/gstvalue.c: (gst_value_serialize_flags):
6255           Avoid NULL dereference when trying to serialize flags containing
6256           invalid values.
6257
6258 2006-04-28  Michael Smith  <msmith@fluendo.com>
6259
6260         * plugins/elements/gsttypefindelement.c:
6261         (gst_type_find_element_handle_event):
6262           If we get EOS before any data is accumulated, don't use
6263           uninitialised local variables.
6264
6265 2006-04-28  Michael Smith  <msmith@fluendo.com>
6266
6267         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6268         (gst_dp_event_from_packet):
6269           Fixes in reading/writing events over GDP (not currently used?) - 
6270           dereferencing NULL events for unknown/invalid event types, memory
6271           leak, and change g_warning to GST_WARNING.
6272
6273 2006-04-28  Wim Taymans  <wim@fluendo.com>
6274
6275         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
6276         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6277         (gst_base_sink_get_position), (gst_base_sink_change_state):
6278         When frame dropping is enabled, we should not ignore frames
6279         without a duration.
6280         Update some documentation.
6281
6282 2006-04-28  Wim Taymans  <wim@fluendo.com>
6283
6284         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6285         (gst_base_src_send_event), (gst_base_src_change_state):
6286         Documentation updates.
6287
6288 2006-04-28  Wim Taymans  <wim@fluendo.com>
6289
6290         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
6291         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
6292         handle EAGAIN, EINTR and short writes correctly. Also clean
6293         up some error cases, avoid a deadlock on bad file descriptors and
6294         use GST_DEBUG_OBJECT.
6295         Fixes #339843
6296
6297 2006-04-28  Wim Taymans  <wim@fluendo.com>
6298
6299         * gst/gstvalue.c: (gst_value_serialize_buffer),
6300         (gst_value_deserialize_buffer):
6301         Don't try to serialize a GValue with a NULL buffer. 
6302         Fixes #339821.
6303
6304         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6305         Added check for serialisation of NULL buffers.
6306
6307 2006-04-28  Wim Taymans  <wim@fluendo.com>
6308
6309         * gst/gstminiobject.c: (gst_value_take_mini_object):
6310         Taking a NULL miniobject is valid, fix the case where
6311         we try to unref the NULL miniobject.
6312
6313 2006-04-28  Wim Taymans  <wim@fluendo.com>
6314
6315         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6316
6317         * gst/gstbin.c: (gst_bin_handle_message_func):
6318         Update docs.
6319         Don't leak bin refcount when a state recalc is
6320         in progress and we delay another one #339808.
6321
6322 2006-04-28  Wim Taymans  <wim@fluendo.com>
6323
6324         * docs/design/part-TODO.txt:
6325         Mention QoS as an ongoing work item.
6326
6327         * docs/design/part-buffering.txt:
6328         New doc about buffering that needs to be fleshed out
6329         at some point.
6330
6331         * docs/design/part-qos.txt:
6332         More QoS policy for decoders/demuxers/transforms
6333
6334         * docs/design/part-trickmodes.txt:
6335         Small update.
6336
6337 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6338
6339         * configure.ac:
6340           back to HEAD
6341
6342 === release 0.10.5 ===
6343
6344 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
6345
6346         * configure.ac:
6347           releasing 0.10.5, "Fogo"
6348
6349 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6350
6351         patch by: Wim Taymans
6352
6353         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6354         (gst_pad_configure_src), (gst_pad_push):
6355         * gst/gstpipeline.c: (gst_pipeline_init):
6356           Fix internal data flow errors.  Fixes #338711.
6357
6358 2006-04-12  Wim Taymans  <wim@fluendo.com>
6359
6360         * tests/check/gst/gstelement.c: (GST_START_TEST):
6361         Don't leak the factory.
6362
6363 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6364
6365         * configure.ac:
6366         * win32/common/config.h:
6367           prerelease
6368
6369 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
6370
6371         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6372         (gst_controller_unset_all):
6373           Free allocated GstTimedValues when freeing list nodes.
6374           Should fix leaks 'make check-valgrind' complains about.
6375
6376         * win32/common/libgstcontroller.def:
6377           Add gst_controller_unset_all.
6378
6379 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
6380
6381         * docs/libs/gstreamer-libs-sections.txt:
6382         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6383         (gst_controller_unset_all):
6384         * libs/gst/controller/gstcontroller.h:
6385         API: Added new method gst_controller_unset_all()
6386         fixed gst_controller_unset()
6387         * tests/check/libs/controller.c: (GST_START_TEST),
6388         (gst_controller_suite):
6389         Added two testcases for new and fixed method
6390
6391 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
6392
6393         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6394           MSG_DONTWAIT is not defined on Cygwin, so work
6395           around that (fixes #317048).
6396           
6397 2006-04-11  Wim Taymans  <wim@fluendo.com>
6398
6399         * gst/gstelementfactory.c: (gst_element_register),
6400         (gst_element_factory_create), (gst_element_factory_make):
6401         Some cleanups.
6402         Fixed a FIXME.
6403         Updated docs (Fixes #131079)
6404
6405         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6406         Small cleanups.
6407
6408         * tests/check/gst/gstelement.c: (GST_START_TEST),
6409         (gst_element_suite):
6410         Added testcase for elementfactory class field.
6411
6412 2006-04-10  Wim Taymans  <wim@fluendo.com>
6413
6414         * gst/gstsegment.c:
6415         Added some more docs.
6416
6417         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
6418         (gst_base_sink_reset_qos):
6419         Calculate more accurate rate values.
6420
6421 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
6422
6423         * gst/gst_private.h:
6424           add a new #ifdef to use __declspec(dllimport) only for
6425           other modules and not for gstreamer core
6426         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
6427           use gst_guint64_to_gdouble for conversion
6428         * win32/common/libgstreamer.def:
6429           add new exported functions
6430         * win32/vs6/gst_inspect.dsp:
6431         * win32/vs6/gst_launch.dsp:
6432         * win32/vs6/libgstbase.dsp:
6433         * win32/vs6/libgstcontroller.dsp:
6434         * win32/vs6/libgstcoreelements.dsp:
6435         * win32/vs6/libgstdataprotocol.dsp:
6436         * win32/vs6/libgstnet.dsp:
6437           update project files
6438
6439 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
6440
6441         * gst/gstbuffer.c: (gst_subbuffer_class_init):
6442         * gst/gstclock.c: (gst_clock_class_init):
6443         * gst/gstelement.c: (gst_element_class_init):
6444         * gst/gstindex.c: (gst_index_class_init):
6445         * gst/gstindexfactory.c: (gst_index_factory_class_init):
6446         * gst/gstobject.c: (gst_object_class_init),
6447         (gst_signal_object_class_init):
6448         * gst/gstpad.c: (gst_pad_class_init):
6449         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
6450         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
6451         * gst/gstregistry.c: (gst_registry_class_init):
6452         * gst/gstsystemclock.c: (gst_system_clock_class_init):
6453         * gst/gsttask.c: (gst_task_class_init):
6454         * gst/gstxml.c: (gst_xml_class_init):
6455         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6456         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6457         (gst_base_src_loop):
6458         * libs/gst/controller/gstcontroller.c:/
6459         (_gst_controller_class_init):
6460         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6461         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
6462         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
6463         * tests/old/examples/plugins/example.c: (gst_example_class_init):
6464         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6465         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
6466
6467 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
6468
6469         * gst/gstpad.c: (gst_pad_link):
6470           Must set peer pads before calling the link function, otherwise
6471           a task started from a link function might get a flow-not-linked
6472           result when trying to push because the other thread where the
6473           linking happens hasn't had a chance to set the peers yet. This
6474           might happen for example when a queue gets linked to a downstream
6475           element, as queue starts a streaming task when its source pad
6476           gets linked. Happens in real life when playing back flac/musepack
6477           files in playbin (#332390).
6478           
6479 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
6480
6481         * gst/gstindex.h:
6482         * gst/gstxml.h:
6483         * libs/gst/base/gstadapter.h:
6484         * libs/gst/base/gstbasesink.h:
6485         * libs/gst/base/gstbasesrc.h:
6486         * libs/gst/base/gstbasetransform.h:
6487         * libs/gst/base/gstcollectpads.h:
6488         * libs/gst/base/gstpushsrc.h:
6489         Fix broken GObject macros
6490
6491 2006-04-07  Wim Taymans  <wim@fluendo.com>
6492
6493         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6494         Initialize start and stop times, thanks valgrind.
6495
6496 2006-04-07  Wim Taymans  <wim@fluendo.com>
6497
6498         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6499         Be a bit nicer to badly behaving upstream elements that expect
6500         us to deal with non TIME segments and timestamps (such as fakesrc
6501         in the testsuite).
6502
6503 2006-04-07  Wim Taymans  <wim@fluendo.com>
6504
6505         * gst/gstbus.c:
6506         Small documentation clarification about the signal watch.
6507
6508         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6509         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6510         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6511         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6512         (gst_base_sink_get_position_last),
6513         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
6514         Convert and store timestamps in stream time and running time, the
6515         raw timestamps are not useful, also document this better.
6516         Use different window sizes for good and bad QoS observations so
6517         we react to badness a little quicker.
6518         Keep track of the amount of rendered and dropped buffers.
6519         Send QoS timestamps in running time.
6520
6521         * libs/gst/base/gstbasetransform.c:
6522         (gst_base_transform_sink_eventfunc),
6523         (gst_base_transform_handle_buffer):
6524         Compare QoS timestamps against running time.
6525
6526 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
6527
6528         * gst/gstpad.c:
6529           Typo fixes in docs.
6530
6531 2006-04-06  Michael Smith  <msmith@fluendo.com>
6532
6533         * gst/gstpad.c: (gst_pad_set_property):
6534           Use g_value_get_object() instead of g_value_dup_gst_object(),
6535           to avoid double-reffing the pad template (which we then sink,
6536           so this worked previously if (and only if) the pad template
6537           was floating.
6538
6539         * gst/gstpadtemplate.c: (gst_pad_template_init),
6540         (gst_pad_template_pad_created):
6541           Never return floating references to pad templates, create
6542           them as initially-sunken.
6543
6544           Document an extra function (and make this stop sinking our
6545           pad template, since that is now guaranteed to do nothing,
6546           since we created it sunken).
6547
6548         * gst/gstghostpad.c:
6549           Fix docs typo.
6550
6551 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
6552
6553         * gst/gstinfo.c: (__gst_in_valgrind):
6554           Add some newlines.
6555
6556         * plugins/elements/gsttypefindelement.c:
6557         (gst_type_find_element_chain):
6558           Don't leak buffer caps.
6559
6560 2006-04-06  Michael Smith  <msmith@fluendo.com>
6561
6562         * gst/parse/grammar.y:
6563           Fix a leak in parse-launch for any source-or-sink named element 
6564           references used.
6565
6566         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6567           Unref the pipeline if it exists after we've failed parsing.
6568
6569 2006-04-05  Michael Smith  <msmith@fluendo.com>
6570
6571         * gst/gstpipeline.c: (gst_pipeline_init):
6572           When we create a pipeline bus, initially create it in flushing mode.
6573           Fixes leaks in at least one test, and makes a new pipeline work the
6574           same as one that has gone to READY and then back to NULL.
6575
6576         * gst/gstelement.c:
6577           Typo fix in docs.
6578
6579 2006-04-05  Michael Smith  <msmith@fluendo.com>
6580
6581         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6582           Unref a pad we reffed.
6583         * tests/check/gst/gstutils.c: (GST_START_TEST):
6584           Unref bins
6585
6586 2006-04-05  Michael Smith  <msmith@fluendo.com>
6587
6588         * gst/gstquery.c: (gst_query_set_formats),
6589         (gst_query_set_formatsv):
6590           Fix leaking GValues in queries, as shown by valgrind/testsuite.
6591
6592 2006-04-05  Michael Smith  <msmith@fluendo.com>
6593
6594         * tests/check/generic/sinks.c: (GST_START_TEST):
6595           Fix a variety of memleaks in sinks check, which are only sometimes 
6596           shown by running the tests under valgrind (weird?).
6597
6598 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
6599
6600         * docs/version.entities.in:
6601           Fix the substituted entity name after thomas' changes on the
6602           weekend.
6603
6604 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6605
6606         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
6607         VALGRIND_PRINTF
6608         
6609 2006-04-05  Andy Wingo  <wingo@pobox.com>
6610
6611         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
6612
6613         * libs/gst/base/gstbasetransform.c
6614         (gst_base_transform_sink_eventfunc): When resetting our segment on
6615         FLUSH_STOP, also update the flag saying we haven't seen a
6616         newsegment.
6617
6618 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
6619
6620         Patch by: Paolo Borelli  <pborelli at katamail dot com>
6621
6622         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6623         (gst_plugin_check_license):
6624           minor clean-ups: G_DEFINE_TYPE already takes care of the
6625           parent_class stuff, no need to do it twice. Mark array of
6626           license strings as constant. (#337103)
6627           
6628 2006-04-04  Michael Smith  <msmith@fluendo.com>
6629
6630         * tools/gst-inspect.c: (print_element_list):
6631           Free the right plugin list; fixes a memory leak.
6632
6633 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
6634
6635         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
6636
6637         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
6638           Don't error out on empty buffers (#336945).
6639           
6640 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
6641
6642         * docs/libs/gstreamer-libs-sections.txt:
6643         * gst/gsttaglist.c:
6644         * libs/gst/base/gstbasesink.c:
6645         * libs/gst/base/gstbasesink.h:
6646         * libs/gst/base/gstbasesrc.c:
6647         * libs/gst/base/gstbasesrc.h:
6648           Documentation updates. Make BaseSink and BaseSrc docs contain the
6649           class structure so that people can actually see the prototypes for
6650           virtual functions they're supposed to be overriding.
6651
6652 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
6653
6654         * plugins/elements/gsttypefindelement.c:
6655         (gst_type_find_element_chain):
6656           More debug info; when skipping typefinding, send cached
6657           events in all cases.
6658
6659 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6660
6661         * configure.ac:
6662           use new AS_VERSION and AS_NANO macros
6663         * gst/gst-i18n-lib.h:
6664         * gst/gst.c:
6665         * gst/gsterror.c:
6666         * gst/gstversion.h.in:
6667         * win32/common/config.h:
6668         * win32/common/config.h.in:
6669           update accordingly
6670
6671 2006-03-31  Michael Smith  <msmith@fluendo.com>
6672
6673         * plugins/elements/gsttypefindelement.c:
6674         (gst_type_find_element_chain):
6675           Do not typefind content if the buffers already have caps.
6676           Neccesary for icydemux (#333657), and the right thing to do anyway.
6677
6678 2006-03-30  Wim Taymans  <wim@fluendo.com>
6679
6680         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6681         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
6682         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
6683         (gst_base_sink_record_qos_observation),
6684         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6685         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
6686         (gst_base_sink_change_state):
6687         More QoS measurements as described in the design doc.
6688         Get rid of ringbuffer with observations, running average is
6689         more simple and equally good.
6690         Calculates valid proportion now.
6691         Added beginning of flood measurement.
6692
6693 2006-03-29  Wim Taymans  <wim@fluendo.com>
6694
6695         * docs/design/part-qos.txt:
6696         * gst/gstclock.c:
6697         Small documentation updates and additions.
6698
6699 2006-03-29  Wim Taymans  <wim@fluendo.com>
6700
6701         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
6702         (gst_base_src_send_event), (gst_base_src_loop),
6703         (gst_base_src_change_state):
6704         Perform the EOS logic when we reach the segment stop position.
6705         Fix compilation on gcc4.1
6706
6707 2006-03-29  Wim Taymans  <wim@fluendo.com>
6708
6709         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
6710
6711         * plugins/elements/gstqueue.c: (gst_queue_init),
6712         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
6713         (gst_queue_set_property):
6714         * plugins/elements/gstqueue.h:
6715         In queue, when EOS is received, if minimum threshold > max_size -
6716         current_level, there is chance that queue blocks forever in conditional
6717         item del wait. This is because the queue is not emptied completely due
6718         to minimum threshold.  Here is another approach. Instead of setting
6719         cur_levels to max in EOS, just zero all minimum threshold levels. This
6720         should make sure that queue gives out all data. When going to READY
6721         (stop) state, just reset the original minimum threshold levels.
6722         Fixes #336336.
6723
6724 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
6725
6726         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
6727         (gst_type_find_element_handle_event),
6728         (gst_type_find_element_send_cached_events),
6729         (gst_type_find_element_change_state):
6730         * plugins/elements/gsttypefindelement.h:
6731           When typefinding is done in push mode, we should cache
6732           events we receive during typefinding instead of just
6733           dropping them (e.g. newsegment, custom events from
6734           dvdreadsrc etc.) and then send them out once we've
6735           determined the type of the stream (and decodebin
6736           has had a chance to plug in a decoder/demuxer).
6737           
6738 2006-03-27  Wim Taymans  <wim@fluendo.com>
6739
6740         * docs/design/part-qos.txt:
6741         First QoS ideas.
6742
6743 2006-03-27  Wim Taymans  <wim@fluendo.com>
6744
6745         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
6746
6747         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
6748         (gst_base_src_send_event), (gst_base_src_change_state):
6749         Handle element seek correctly when we are streaming.
6750         Fixes #326998.
6751
6752 2006-03-24  Michael Smith  <msmith@fluendo.com>
6753
6754         * docs/faq/gst-uninstalled:
6755           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
6756           allow you to correctly run intalled applications built against old 
6757           core, using plugins that require updated core (e.g. running
6758           installed totem against a full uninstalled gstreamer stack)
6759
6760 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
6761
6762         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
6763         more debug details
6764
6765 2006-03-24  Wim Taymans  <wim@fluendo.com>
6766
6767         * docs/gst/gstreamer-sections.txt:
6768         Rearrange the order of the methods so that related methods
6769         are grouped together in sections.
6770
6771 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
6772
6773         * gst/gstelement.c:
6774           Little clarification in the docs
6775
6776 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
6777
6778         * docs/README:
6779         formatting fix
6780         * plugins/elements/gstidentity.c:
6781         * plugins/elements/gstqueue.c:
6782         * plugins/elements/gsttee.c:
6783         * plugins/elements/gsttypefindelement.c:
6784         GST_ELEMENT_DETAILS formatting
6785
6786 2006-03-24  Wim Taymans  <wim@fluendo.com>
6787
6788         * libs/gst/base/gstbasesink.h:
6789         Only add fields, not insert or we break ABI.
6790
6791 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
6792
6793         * win32/common/libgstbase.def:
6794         * win32/common/libgstreamer.def:
6795           Update, add recently added functions.
6796
6797 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
6798
6799         * docs/gst/gstreamer-sections.txt:
6800         * gst/gstutils.c: (gst_pad_query_peer_position),
6801         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
6802         * gst/gstutils.h:
6803           API: add some new utility functions:
6804            - gst_pad_query_peer_position()
6805            - gst_pad_query_peer_duration()
6806            - gst_pad_query_peer_convert()
6807           
6808 2006-03-23  Wim Taymans  <wim@fluendo.com>
6809
6810         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6811         (gst_base_sink_init), (gst_base_sink_finalize),
6812         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
6813         (gst_base_sink_set_property), (gst_base_sink_get_property),
6814         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
6815         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6816         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
6817         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6818         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
6819         (gst_base_sink_preroll_object), (gst_base_sink_event),
6820         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
6821         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6822         (gst_base_sink_query), (gst_base_sink_change_state):
6823         Decouple max-lateness and the fact that QoS messages are generated
6824         with a new property (qos).
6825         added API: GstBaseSink::async_play()
6826         Add vmethod so subclasses can be notified of ASYNC playing
6827         state changes.
6828         Collect timestamp start and stop to report better current
6829         position in EOS/PLAYING/PAUSED/READY/NULL.
6830         Refactor QoS/frame dropping and other measurements.
6831         API: GstBaseSrc::qos
6832         Fixes #326311
6833
6834         * libs/gst/base/gstbasesink.h:
6835         Added Private struct.
6836         API: gst_base_sink_set_qos_enabled()
6837         API: gst_base_sink_is_qos_enabled()
6838
6839 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
6840
6841         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6842           If compiling against GLib-2.8 or newer, try to read the
6843           registry file using GMappedFile first before falling back
6844           to fopen() + fread() (#332151).
6845
6846 2006-03-22  Wim Taymans  <wim@fluendo.com>
6847
6848         * gst/gstinfo.c: (gst_debug_set_active),
6849         (gst_debug_category_set_threshold):
6850         Disable debugging unless explicitly activated.
6851         Fixes #335480.
6852
6853 2006-03-22  Wim Taymans  <wim@fluendo.com>
6854
6855         * gst/gstelement.c: (gst_element_set_locked_state),
6856         (gst_element_dispose):
6857         Cleanup the error case.
6858
6859         * gst/gstobject.c: (gst_object_dispose):
6860         print a critical when some object was disposed with
6861         a parent, also revive the object since it might
6862         crash the parent.
6863
6864 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
6865
6866         * tools/gst-launch.1.in:
6867           Fix another typo.
6868
6869 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6870
6871         * configure.ac:
6872         * tests/check/Makefile.am:
6873           disable some tests when we don't have a registry
6874         * tests/check/gst/gstutils.c: (gst_utils_suite):
6875           don't build the part that needs parsing
6876
6877 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6878
6879         * gst/Makefile.am
6880         * tests/examples/Makefile.am:
6881           fix --disable-parse build
6882
6883 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
6884
6885         * tools/gst-feedback.1.in:
6886           Fix typo: s/feeback/feedback/ (#133494).
6887
6888 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
6889
6890         * tools/Makefile.am:
6891         * tools/gst-launch.1.in:
6892           Add FILES section and correct entry about GST_REGISTRY_PATH
6893           environment variable (#133495; #133494).
6894
6895 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
6896
6897         * tools/Makefile.am:
6898         * tools/gst-md5sum.1.in:
6899         * tools/gst-md5sum.c:
6900           Remove gst-md5sum and man page (the md5sink element
6901           required was removed ages ago)
6902
6903 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
6904
6905         * gst/gststructure.c: (gst_structure_id_set_value):
6906           Make sure that string fields in structures/taglists
6907           contain valid UTF-8 - we don't want to pass rubbish to
6908           applications because of a buggy plugin (cp. #334167).
6909
6910 2006-03-21  Edward Hervey  <edward@fluendo.com>
6911
6912         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
6913         (gst_bin_handle_message_func):
6914         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
6915         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
6916         (gst_element_set_bus_func):
6917         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
6918         * gst/gstminiobject.c: (gst_value_set_mini_object),
6919         (gst_value_take_mini_object):
6920         * gst/gstpad.c: (gst_pad_set_pad_template):
6921         * gst/gstpipeline.c: (gst_pipeline_dispose),
6922         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
6923         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
6924         (gst_collect_pads_chain):
6925         * libs/gst/net/gstnettimeprovider.c:
6926         (gst_net_time_provider_set_property):
6927         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
6928         It's in fact all issues with gst_*object_replace().
6929
6930 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
6931
6932         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
6933         
6934         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6935         * pkgconfig/gstreamer-check.pc.in:
6936           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
6937
6938 2006-03-21  Edward Hervey  <edward@fluendo.com>
6939
6940         * gst/gstbuffer.h:
6941         * gst/gstevent.h:
6942         * gst/gstmessage.h:
6943         gst_[buffer|event|message]_ref() macros are replaced by a static
6944         inline functions because gcc-4.1 will about if the return value
6945         isn't used.
6946         * tests/check/gst/gstevent.c: (event_probe):
6947         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
6948
6949 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
6950
6951         * gst/gstutils.h:
6952         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
6953         the type' case. (Closes: #335195 for now). In the future, when we
6954         depend on GLib 2.10, we could also intern the type name using
6955         g_intern_static_string()
6956
6957 2006-03-20  Wim Taymans  <wim@fluendo.com>
6958
6959         * gst/gstbin.c: (gst_bin_handle_message_func),
6960         (bin_query_max_init), (bin_query_position_fold),
6961         (bin_query_position_done), (gst_bin_query):
6962         Position query should also take max of all streams.
6963
6964 2006-03-20  Wim Taymans  <wim@fluendo.com>
6965
6966         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6967         (gst_fake_src_finalize):
6968         Fix leaks in fakesrc.
6969
6970         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6971         Fix leaks in the testcase.
6972
6973 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
6974
6975         * gst/gst_private.h:
6976           add win32 specific import decoration(__declspec(dllimport)) 
6977           for all extern GstDebugCategory * variables
6978         * win32/common/libgstbase.def:
6979         * win32/common/libgstcontroller.def:
6980         * win32/common/libgstreamer.def:
6981           Add some exports, remove empty lines
6982         * win32/common/libgstdataprotocol.def:
6983         * win32/common/libgstdataprotocol.dsp:
6984         * win32/common/libgstnet.def:
6985         * win32/common/libgstnet.dsp:
6986           new project files and exportation files added
6987         
6988 2006-03-19  Wim Taymans  <wim@fluendo.com>
6989
6990         * tests/check/libs/basesrc.c: (eos_event_counter):
6991         Use proper return value for probe.
6992
6993 2006-03-17  Wim Taymans  <wim@fluendo.com>
6994
6995         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
6996         (gst_pad_push):
6997         Don't leak buffers, caps and pads on negotiation errors.
6998
6999 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
7000
7001         * docs/faq/cvs.xml:
7002         * docs/faq/dependencies.xml:
7003         * docs/faq/developing.xml:
7004         * docs/faq/faq.xml:
7005         * docs/faq/general.xml:
7006         * docs/faq/getting.xml:
7007         * docs/faq/legal.xml:
7008         * docs/faq/troubleshooting.xml:
7009         * docs/faq/using.xml:
7010         Faq review and update.
7011
7012 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
7013
7014         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7015         (gst_pad_push):
7016         Don't pound the cpu to pieces by checking get_caps when accept_caps
7017         is called with the same caps as the pad already has.
7018         Use GST_DEBUG_OBJECT when outputting caps change information.
7019
7020 2006-03-15  Wim Taymans  <wim@fluendo.com>
7021
7022         * gst/gstclock.c: (gst_clock_class_init):
7023         Fix docs.
7024
7025 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
7026
7027         * gst/gstbuffer.h:
7028         Documentation fix.
7029
7030         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
7031         (gst_pad_accept_caps), (gst_pad_configure_sink),
7032         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
7033         Make the default acceptcaps behaviour be to check the requested 
7034         caps against the gst_pad_get_caps output. 
7035
7036         Ensure that gst_pad_accept_caps is used to check caps when a pad
7037         doesn't have a setcaps function, so that pads automatically refuse 
7038         caps that they don't allow in their pad template. (Fixes #332986)
7039
7040         When a buffer with attached caps is pushed, ensure that the source 
7041         pad receives those caps even if the element didn't call
7042         gst_pad_set_caps first.
7043
7044 2006-03-15  Wim Taymans  <wim@fluendo.com>
7045
7046         * libs/gst/base/gstadapter.c:
7047         Add some docs.
7048
7049 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7050
7051         * win32/common/libgstbase.def:
7052         * win32/common/libgstcontroller.def:
7053         * win32/common/libgstreamer.def:
7054           Add a whole bunch of missing functions (#334434).
7055
7056 2006-03-14  Wim Taymans  <wim@fluendo.com>
7057
7058         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7059         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7060         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
7061         Better debug info when we receive a segment event.
7062         Reorganize a bit so we can pass the get_times() results around.
7063         Use the segment format when calculating the running time.
7064         Don't do QoS is sync is disabled or we have no clock or the
7065         element does not want us to sync to the clock.
7066         Don't drop buffers if QoS is disabled for now.
7067
7068 2006-03-14  Wim Taymans  <wim@fluendo.com>
7069
7070         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
7071         Marked the stats property as unimplemented so people don't get
7072         wild ideas.
7073         Add debug message when regression goes wrong.
7074         Added some more docs.
7075
7076 2006-03-14  Wim Taymans  <wim@fluendo.com>
7077
7078         * gst/gstsegment.c: (gst_segment_to_stream_time):
7079         Return correct return type in case of errors.
7080
7081 2006-03-14  Wim Taymans  <wim@fluendo.com>
7082
7083         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
7084           Don't segfault on invalid formats.
7085
7086 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7087
7088         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7089           Can't use gst_segment_to_running_time() when the segment
7090           is not in GST_TIME_FORMAT (like with filesink, for example).
7091           Stops flac encoding pipelines from spewing critical warnings
7092           at EOS (#331248).
7093           
7094 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7095
7096         * gst/gstpipeline.c: (gst_pipeline_class_init):
7097           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
7098
7099         * plugins/elements/gsttypefindelement.c:
7100         (gst_type_find_element_handle_event):
7101           Don't try to typefind empty streams.
7102
7103 2006-03-14  Wim Taymans  <wim@fluendo.com>
7104
7105         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7106         (gst_base_sink_do_qos):
7107         Separate QoS calculation.
7108         Only drop buffers when lateness is bigger than the 
7109         duration of the buffer.
7110
7111 2006-03-13  Wim Taymans  <wim@fluendo.com>
7112
7113         * gst/gstpipeline.c: (gst_pipeline_set_property),
7114         (gst_pipeline_get_property), (do_pipeline_seek),
7115         (gst_pipeline_change_state), (gst_pipeline_set_delay),
7116         (gst_pipeline_get_delay):
7117         Don't deadlock when reading properties.
7118
7119 2006-03-13  Wim Taymans  <wim@fluendo.com>
7120
7121         * libs/gst/base/gstbasetransform.c:
7122         (gst_base_transform_class_init), (gst_base_transform_init),
7123         (gst_base_transform_sink_event),
7124         (gst_base_transform_sink_eventfunc),
7125         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
7126         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7127         (gst_base_transform_set_property),
7128         (gst_base_transform_get_property),
7129         (gst_base_transform_change_state), (gst_base_transform_update_qos),
7130         (gst_base_transform_set_qos_enabled),
7131         (gst_base_transform_is_qos_enabled):
7132         * libs/gst/base/gstbasetransform.h:
7133         Make basetransform virtual method for src events too.
7134         Handle QOS in basetransform.
7135         API: gst_base_transform_update_qos()
7136         API: gst_base_transform_set_qos_enabled()
7137         API: gst_base_transform_is_qos_enabled()
7138
7139 2006-03-13  Wim Taymans  <wim@fluendo.com>
7140
7141         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7142         (gst_base_sink_do_sync):
7143         Small cleanups.
7144         Use QOS debug category.
7145
7146 2006-03-13  Wim Taymans  <wim@fluendo.com>
7147
7148         * plugins/elements/gstqueue.c:
7149         Very small doc update.
7150
7151 2006-03-13  Wim Taymans  <wim@fluendo.com>
7152
7153         * gst/gst_private.h:
7154         * gst/gstinfo.c: (_gst_debug_init):
7155         Added QOS debug category
7156
7157 2006-03-13  Wim Taymans  <wim@fluendo.com>
7158
7159         * docs/gst/gstreamer-sections.txt:
7160         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
7161         * gst/gstbin.h:
7162         * gst/gstbus.c: (gst_bus_class_init):
7163         * gst/gstbus.h:
7164         * gst/gstclock.c:
7165         * gst/gstelement.c: (gst_element_set_locked_state):
7166         * gst/gstsegment.c:
7167         Documentation updates.
7168
7169         * gst/gstpipeline.c: (gst_pipeline_get_type),
7170         (gst_pipeline_class_init), (gst_pipeline_init),
7171         (gst_pipeline_dispose), (gst_pipeline_set_property),
7172         (gst_pipeline_get_property), (do_pipeline_seek),
7173         (gst_pipeline_send_event), (gst_pipeline_change_state),
7174         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
7175         (gst_pipeline_get_delay):
7176         * gst/gstpipeline.h:
7177         Added methods for setting the delay.
7178         API: gst_pipeline_set_delay()
7179         API: gst_pipeline_get_delay()
7180         Add pipeline debug category
7181         Various cleanups.
7182         Updated docs.
7183         Don't reset stream time when seek failed.
7184
7185 2006-03-13  Wim Taymans  <wim@fluendo.com>
7186
7187         * docs/design/draft-klass.txt:
7188         * docs/design/part-clocks.txt:
7189         * docs/design/part-events.txt:
7190         * docs/design/part-gstbin.txt:
7191         * docs/design/part-gstpipeline.txt:
7192         * docs/design/part-messages.txt:
7193         * docs/design/part-negotiation.txt:
7194         * docs/design/part-overview.txt:
7195         * docs/design/part-preroll.txt:
7196         * docs/design/part-seeking.txt:
7197         * docs/design/part-states.txt:
7198         * docs/design/part-streams.txt:
7199         Documentation updates.
7200
7201 2006-03-12  Julien MOUTTE  <julien@moutte.net>
7202
7203         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
7204         us to leak strings...
7205
7206 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7207
7208         * libs/gst/net/gstnettimeprovider.c:
7209           fix docs
7210         * win32/common/config.h:
7211           update
7212
7213 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7214
7215         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
7216
7217         * configure.ac:
7218           Don't check for libgnomeui (leftover from old examples
7219           that aren't built or disted any longer) (#334303).
7220           
7221 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
7222
7223         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
7224         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7225           Emit RESOURCE_NO_SPACE_LEFT error here as well when
7226           there's no space left on the device.
7227
7228 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
7229
7230         * gst/gstclock.h:
7231           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
7232           to cast the input to GstClockTime before comparing with
7233           another GstClockTime value.
7234
7235 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7236
7237         * configure.ac:
7238           back to trunk
7239
7240 === release 0.10.4 ===
7241
7242 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
7243
7244         * configure.ac:
7245           releasing 0.10.4, "Light"
7246
7247 2006-03-10  Michael Smith  <msmith@fluendo.com>
7248
7249         * libs/gst/dataprotocol/dataprotocol.c:
7250           Fix docs for dataprocotol to not get the return types completely
7251           wrong for a few functions.
7252
7253 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7254
7255         * docs/gst/gstreamer-sections.txt:
7256         * gst/gstpipeline.c: (gst_pipeline_class_init),
7257         (gst_pipeline_init), (gst_pipeline_set_property),
7258         (gst_pipeline_get_property), (gst_pipeline_change_state),
7259         (gst_pipeline_set_auto_flush_bus),
7260         (gst_pipeline_get_auto_flush_bus):
7261         * gst/gstpipeline.h:
7262           Add new API: gst_pipeline_set_auto_flush_bus() and
7263           gst_pipeline_get_auto_flush_bus() to disable automatic
7264           flushing of the pipeline's GstBus when going from READY
7265           to NULL state (#332045).
7266
7267 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7268
7269         * docs/gst/gstreamer-sections.txt:
7270         * gst/gsturi.c: (gst_uri_has_protocol):
7271         * gst/gsturi.h:
7272            Add new API: gst_uri_has_protocol() (#333779).
7273
7274 2006-03-09  Wim Taymans  <wim@fluendo.com>
7275
7276         * gst/gstclock.c: (gst_clock_entry_new),
7277         (gst_clock_id_compare_func), (gst_clock_id_wait),
7278         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
7279         (gst_clock_init), (gst_clock_get_internal_time),
7280         (gst_clock_set_master), (do_linear_regression),
7281         (gst_clock_add_observation), (gst_clock_set_property):
7282         * gst/gstclock.h:
7283         Review docs.
7284         Small cleanups.
7285         Fix a possible segfault when the window-size is made smaller.
7286         Calculate jitter before performing the clock wait. Ideally
7287         the clock implementation should calculate jitter but we need
7288         API breakage for that.
7289
7290         * gst/gstsystemclock.c: (gst_system_clock_init):
7291         Docs review.
7292         
7293         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7294         Remove leftover else
7295
7296         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7297         (gst_systemclock_suite):
7298         Added check to test GST_CLOCK_DIFF.
7299
7300 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
7301
7302         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
7303         (gst_type_find_helper_get_range):
7304           If we are provided with the size, we should implement
7305           GstTypeFind::get_length, so that typefind functions who
7306           want to can actually peek at the middle of a file.
7307
7308 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
7309
7310         * docs/manual/advanced-dataaccess.xml:
7311           Add some very very basic error checking.
7312
7313         * docs/pwg/appendix-checklist.xml:
7314           Some updates to the list of things to check when writing an element.
7315
7316 2006-03-08  Wim Taymans  <wim@fluendo.com>
7317
7318         * docs/design/part-element-transform.txt:
7319         Added some docs about the design of tranform elements.
7320
7321         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7322         (gst_base_src_loop), (gst_base_src_change_state):
7323         Mark buffers with the DISCONT flag.
7324
7325 2006-03-08  Michael Smith  <msmith@fluendo.com>
7326
7327         * gst/gstregistry.h:
7328         * gst/gstregistryxml.c: (gst_registry_save),
7329         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
7330         (gst_registry_xml_save_pad_template),
7331         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
7332         (gst_registry_xml_write_cache):
7333           Rewrite registry-saving to avoid race conditions and check for
7334           failed writes.
7335
7336 2006-03-08  Wim Taymans  <wim@fluendo.com>
7337
7338         * libs/gst/base/gstbasetransform.c:
7339         (gst_base_transform_transform_caps),
7340         (gst_base_transform_transform_size),
7341         (gst_base_transform_prepare_output_buffer),
7342         (gst_base_transform_get_unit_size),
7343         (gst_base_transform_buffer_alloc),
7344         (gst_base_transform_handle_buffer),
7345         (gst_base_transform_change_state):
7346         Cleanups, separate normal flow from errors, add sensible
7347         DEBUG lines.
7348         Don't try to renegotiate when allocating an output buffer.
7349         Also copy DISCONT buffer flag when copying a buffer.
7350         Reset the transform after we finish streaming, not during.
7351
7352 2006-03-08  Wim Taymans  <wim@fluendo.com>
7353
7354         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7355         Use last buffer timestamp in qos message.
7356
7357 2006-03-07  Wim Taymans  <wim@fluendo.com>
7358
7359         Patch by: Christophe Fergeau
7360
7361         * docs/pwg/advanced-tagging.xml:
7362         * docs/pwg/building-pads.xml:
7363           fixes #333416
7364
7365 2006-03-07  Wim Taymans  <wim@fluendo.com>
7366
7367         * docs/libs/gstreamer-libs-sections.txt:
7368         Added basesink new methods.
7369
7370         * gst/gstevent.c:
7371         * gst/gstevent.h:
7372         Docs updates. Flesh out the QoS docs.
7373
7374         * libs/gst/base/gstadapter.c:
7375         Small doc clarification about ownership and flushing.
7376
7377         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
7378         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7379         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
7380         (gst_base_sink_get_property), (gst_base_sink_do_sync):
7381         * libs/gst/base/gstbasesink.h:
7382         API additions: 
7383         Added new methods to allow subclass to control max-lateness 
7384         and sync.
7385         Generate very basic QoS events based on last sync observation.
7386         Updated docs, fix typo, added some QoS blurb.
7387
7388         * libs/gst/base/gstbasesrc.c:
7389         Remove obsolete _get_state() calls from docs.
7390
7391 2006-03-07  Wim Taymans  <wim@fluendo.com>
7392
7393         * docs/libs/gstreamer-libs-sections.txt:
7394         * libs/gst/base/gstbasetransform.h:
7395         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
7396         Fix docs for GstBaseSrc.
7397
7398 2006-03-07  Wim Taymans  <wim@fluendo.com>
7399
7400         * docs/gst/gstreamer-sections.txt:
7401         * gst/gstbuffer.h:
7402         * gst/gstvalue.c:
7403         * libs/gst/base/gstbasetransform.h:
7404         Small documentation fixes.
7405
7406 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7407
7408         * gst/gstvalue.c:
7409           Document thread-unsafety of gst_value_register_foo_func()
7410           when used at the same time as gst_value_foo() (#322628).
7411
7412 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7413
7414         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
7415         (gst_push_src_check_get_range):
7416           Push sources don't support pull mode by default.
7417
7418 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
7419
7420         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7421         (gst_base_src_init), (gst_base_src_pad_check_get_range),
7422         (gst_base_src_default_check_get_range):
7423         * libs/gst/base/gstbasesrc.h:
7424           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
7425           provide default implementation, and rename
7426           gst_base_src_check_get_range() to
7427           gst_base_src_pad_check_get_range() for clarity.
7428
7429 2006-03-06  Wim Taymans  <wim@fluendo.com>
7430
7431         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7432         Make property overridable.
7433
7434 2006-03-06  Wim Taymans  <wim@fluendo.com>
7435
7436         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7437         (gst_base_sink_init), (gst_base_sink_set_property),
7438         (gst_base_sink_get_property), (gst_base_sink_do_sync):
7439         * libs/gst/base/gstbasesink.h:
7440         API addition: Make max-lateness a property.
7441
7442 2006-03-06  Wim Taymans  <wim@fluendo.com>
7443
7444         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
7445         (gst_base_sink_do_sync), (gst_base_sink_render_object):
7446         Don't ever draw a frame that is >10ms late.
7447
7448 2006-03-06  Michael Smith  <msmith@fluendo.com>
7449
7450         * gst/gstmessage.c: (_gst_message_copy):
7451           When copying a message, set the parent_refcount of the enclosed
7452           structure to point at the copy, not the original message.
7453
7454 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
7455
7456         Patch by: Christophe Fergeau
7457
7458         * gst/gstutils.h:
7459           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
7460           usable in c++ code (#333417)
7461
7462 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7463
7464         * gst/gstclock.h:
7465           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
7466
7467 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
7468
7469         * libs/gst/base/gstbasetransform.c:
7470         (gst_base_transform_transform_caps):
7471           Make sure caps are writable before passing them to
7472           gst_caps_append().
7473
7474 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
7475
7476         * gst/gsterror.h:
7477           Fix some minor docs errors.
7478
7479 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
7480
7481           Patch by: Ross Burton <ross at burtonini dot com>
7482
7483         * gst/gsterror.c: (_gst_resource_errors_init):
7484         * gst/gsterror.h:
7485           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
7486
7487 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
7488
7489         * gst/gst.c:
7490         Add a check and output a g_warning when GStreamer is built
7491         against GLib 2.6 but running against 2.8 or higher, and vice 
7492         versa. (Closes: #323542)
7493
7494 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
7495
7496         * gst/parse/parse.l:
7497           Commit patch for parse_launch syntax from #331255. Removes 
7498           support for quoted strings and mimetypes when writing filtered 
7499           caps. See the bug report for more details - I'm pretty sure this
7500           obscure feature is not in use by _anyone_ anywhere.
7501
7502           With this simple change, the size of the gstreamer.so here 
7503           drops from 2193KB to 1565KB.
7504
7505 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
7506
7507         * plugins/elements/gsttypefindelement.h:
7508         * plugins/elements/gsttypefindelement.c:
7509         (gst_type_find_element_src_event), (start_typefinding),
7510         (stop_typefinding), (gst_type_find_element_handle_event),
7511         (gst_type_find_element_chain),
7512         (gst_type_find_element_chain_do_typefinding):
7513           Use gst_type_find_helper_for_buffer() for chain-based
7514           typefinding.
7515
7516 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
7517
7518         * plugins/elements/gsttypefindelement.c:
7519         (gst_type_find_element_class_init),
7520         (gst_type_find_element_set_property),
7521         (gst_type_find_element_get_property):
7522           Deprecate "maximum" property (not only was it only taken into
7523           account for typefinding in push-mode anyway, it also was never
7524           actually possible to set it in the first place because the
7525           property was registered with the numeric property ID for the
7526           "minimum" property). Register "maximum" property correctly,
7527           for the sake of future copy'n'pasters. Remove some cruft
7528           from property get/set functions.
7529
7530 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
7531
7532         * plugins/elements/gsttypefindelement.c:
7533         (gst_type_find_element_activate):
7534           Use gst_type_find_helper_get_range() here, so we
7535           can honour the "minimum" property and also emit
7536           the signal with the correct probability of the found caps.
7537
7538 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
7539
7540         * docs/libs/gstreamer-libs-sections.txt:
7541         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7542         (helper_find_suggest), (gst_type_find_helper_get_range),
7543         (gst_type_find_helper):
7544         * libs/gst/base/gsttypefindhelper.h:
7545           New API: gst_type_find_helper_get_range() (#333042).
7546
7547 2006-03-02  Michael Smith  <msmith@fluendo.com>
7548
7549         * gst/gstregistryxml.c: (load_feature):
7550           Asserting on a failure to read part of the registry is Not Cool.
7551           Just log a warning and return NULL (which is already handled)
7552
7553 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
7554
7555         * win32/common/libgstbase.def:
7556           added export of gst_type_find_helper_for_buffer
7557         * win32/common/libgstbase.def:
7558           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
7559           gst_ghost_pad_get_target
7560
7561 2006-02-28  Wim Taymans  <wim@fluendo.com>
7562
7563         * docs/design/draft-klass.txt:
7564         We use Filter now.
7565         Added Connector to mark elements that are only used to
7566         allow pipeline connections.
7567         Moved Debug to extra feature since most of them are 
7568         functionally something else.
7569
7570 2006-02-28  Wim Taymans  <wim@fluendo.com>
7571
7572         * docs/design/draft-klass.txt:
7573         Some updates and clarifications.
7574
7575 2006-02-28  Wim Taymans  <wim@fluendo.com>
7576
7577         * docs/design/draft-klass.txt:
7578         Proposal for klass field values.
7579
7580         * docs/design/part-streams.txt:
7581         Start of a doc describing stream anatomy.
7582
7583 2006-02-28  Wim Taymans  <wim@fluendo.com>
7584
7585         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
7586         Help the compiler a bit with type registration.
7587         Use existing forward cod path instead of duplicating it when 
7588         handling a message.
7589         
7590         * gst/gstbus.c: (gst_bus_get_type):
7591         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
7592         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
7593         * gst/gstclock.c: (gst_clock_get_type):
7594         * gst/gstelement.c: (gst_element_get_type),
7595         * gst/gstelementfactory.c: (gst_element_factory_get_type):
7596         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7597         * gst/gstminiobject.c: (gst_mini_object_get_type):
7598         * gst/gstpad.c: (gst_pad_get_type):
7599         * gst/gstsegment.c: (gst_segment_get_type):
7600         * gst/gststructure.c: (gst_structure_get_type):
7601         * gst/gstsystemclock.c: (gst_system_clock_get_type):
7602         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
7603         * gst/gstvalue.c:
7604         Help compiler with type registration.
7605
7606         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
7607         Small doc update.
7608
7609 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7610
7611         * plugins/elements/gsttypefindelement.c:
7612         (gst_type_find_element_handle_event):
7613           When we get an EOS event and have not found a type yet
7614           (most likely because we had not yet accumulated
7615           TYPE_FIND_MIN_SIZE of data yet), try to determine the
7616           type given the data we have so far. Fixes typefinding
7617           for very short streams again, most notably quicktime
7618           redirections as used on Apple's trailer site (#331701).
7619
7620 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7621
7622         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
7623         (gst_type_find_helper):
7624           Try typefinding factories with the highest rank first.
7625
7626 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7627
7628         * docs/libs/gstreamer-libs-docs.sgml:
7629         * docs/libs/gstreamer-libs-sections.txt:
7630         * libs/gst/base/gsttypefindhelper.c:
7631           Add section for typefind helper and add documentation
7632           for the old and the new function.
7633
7634 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7635
7636         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
7637         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
7638         (gst_type_find_helper_for_buffer):
7639         * libs/gst/base/gsttypefindhelper.h:
7640           New API: gst_type_find_helper_for_buffer() (#332723).
7641           
7642 2006-02-27  Michael Smith  <msmith@fluendo.com>
7643
7644         Patch by: Loïc Minier
7645
7646         * configure.ac:
7647         * docs/Makefile.am:
7648         * docs/slides/Makefile.am:
7649           prevent CVS directories getting disted.
7650
7651 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
7652
7653         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
7654           Use the REFCOUNTING category for caps refcounting.
7655           
7656 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
7657
7658         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
7659           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
7660
7661 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
7662
7663         * plugins/elements/gsttypefindelement.c:
7664         (gst_type_find_element_activate):
7665           Use gst_pad_check_pull_range() before _activate_pull()
7666           to avoid unnecessary open/close (see #331690).
7667
7668 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
7669
7670         * gst/gstutils.c:
7671           Docs enhancement: make it crystal clear what the
7672           gst_pad_add_*_probe() callbacks should look like.
7673
7674 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
7675
7676         * libs/gst/base/gstbasesrc.c:
7677           Document how applications can stop recording from
7678           live sources (see #330996).
7679
7680 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7681
7682         * tests/check/Makefile.am:
7683         * tests/check/libs/basesrc.c: (eos_event_counter),
7684         (basesrc_eos_events_pull), (basesrc_eos_events_push),
7685         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
7686         (gst_basesrc_suite), (main):
7687           ... and add some tests for the base source EOS stuff.
7688
7689 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7690
7691         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
7692           Test case originally showed the problem fixed below,
7693           but was then amended. Add checks back at the place
7694           where they used to be.
7695
7696 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7697
7698         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7699         (gst_base_src_init), (gst_base_src_loop),
7700         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7701         (gst_base_src_change_state):
7702         * libs/gst/base/gstbasesrc.h:
7703           Don't unconditionally send EOS when going from PAUSED to
7704           READY state, esp. make sure we don't send two EOS events
7705           in some cases (e.g. one when reaching EOS and one when
7706           going from PAUSED to READY). Also, we don't want to send
7707           EOS events when operating in pull mode. However, we do
7708           want to send an EOS event when shutting down a live
7709           source explicitly, for example (fixes #330996).
7710           
7711 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7712
7713         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7714           Update src->read_position after a seek when not using mmap.
7715           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
7716
7717 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
7718
7719         * gst/Makefile.am:
7720         * gst/gstparse.h:
7721         * gst/gstutils.c:
7722         * gst/gstutils.h:
7723         Make things work with --disable-parse as they do with 
7724         --disable-load-save - the symbols involved disappear, but the
7725         header is still installed and GST_DISABLE_PARSE is included via
7726         gstconfig.h
7727
7728 2006-02-20  Julien MOUTTE  <julien@moutte.net>
7729
7730         * libs/gst/base/gstbasetransform.c:
7731         (gst_base_transform_change_state): Fix a stupid bug. I was 
7732         sure I compiled that.
7733
7734 2006-02-20  Julien MOUTTE  <julien@moutte.net>
7735
7736         * gst/gstpad.c: (gst_pad_set_blocked_async):
7737         * gst/gstutils.c: (gst_pad_add_data_probe),
7738         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7739         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7740         (gst_pad_remove_buffer_probe): Make those function act on the
7741         ghostpad target when it's a ghostpad. (Closes #331727)
7742
7743 2006-02-20  Julien MOUTTE  <julien@moutte.net>
7744
7745         * libs/gst/base/gstbasetransform.c:
7746         (gst_base_transform_change_state): Make basetransform reusable.
7747         (Closes #331898)
7748
7749 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
7750
7751         * docs/random/release:
7752         Move the current documentation of how to do a release to the top
7753         of the file.
7754
7755         * gst/gstbin.c: (gst_bin_class_init),
7756         (gst_bin_handle_message_func):
7757         Allow multiple state-recalculation threads. (Closes #328873)
7758
7759 2006-02-19  Julien MOUTTE  <julien@moutte.net>
7760
7761         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
7762         * gst/gstpad.c: (gst_pad_set_event_function),
7763         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7764         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
7765         2 strings. You can't use the STR_NULL macro on that.
7766
7767 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
7768
7769         * gst/gstpad.c: (gst_pad_set_event_function),
7770         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7771         (gst_pad_set_getcaps_function)
7772         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
7773           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
7774           So now, we can use --gst-debug-level=5 on Windows
7775         * win32/common/libgstcontroller.def:
7776           Added export of gst_controller_init
7777         * win32/vs6/libgstcontroller.dsp:
7778           Fixed Release post build configuration
7779
7780 2006-02-17  Wim Taymans  <wim@fluendo.com>
7781
7782         * tests/check/gst/gstquery.c: (GST_START_TEST):
7783         Added another check.
7784
7785 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
7786
7787         * plugins/elements/gsttypefindelement.c: (find_peek):
7788           We can do peeks at non-zero offsets, as long as they
7789           fall within the buffer we have.
7790
7791 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
7792
7793         * tests/check/Makefile.am:
7794         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
7795         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
7796         (parse_suite), (main):
7797           Add testsuite for parse launch syntax
7798
7799 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
7800
7801         * plugins/elements/gsttypefindelement.c:
7802         (gst_type_find_element_chain):
7803           When typefinding is unsuccessful in the chain function, don't
7804           error out immediately. Only error out with NO_CAPS_FOUND if
7805           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
7806           otherwise simply wait for more data so we can try typefinding
7807           again with more data later. Also, don't attempt to typefind
7808           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
7809           this should improve typefinding from network sources where the
7810           size of the first buffer can be somewhat random.
7811
7812 2006-02-14  Wim Taymans  <wim@fluendo.com>
7813
7814         * docs/gst/gstreamer-sections.txt:
7815         * gst/gstpadtemplate.c:
7816         * gst/gstpadtemplate.h:
7817         Fix padtemplate docs, fixes #328805.
7818
7819 2006-02-14  Wim Taymans  <wim@fluendo.com>
7820
7821         * tools/gst-launch.c: (main):
7822         NO_PREROLL is not an ERROR so don't send confusing messages
7823         to the user.
7824
7825 2006-02-14  Wim Taymans  <wim@fluendo.com>
7826
7827         Patch by: Torsten Schoenfeld
7828
7829         * gst/gstregistry.c: (gst_registry_get_default),
7830         (_gst_registry_cleanup):
7831         Protect default registry with lock and ref/sink it.
7832         Fixes #324818
7833
7834 2006-02-14  Wim Taymans  <wim@fluendo.com>
7835
7836         * gst/gstbuffer.c:
7837         * gst/gstquery.c: (gst_query_list_add_format),
7838         (gst_query_set_formatsv), (gst_query_parse_formats_length),
7839         (gst_query_parse_formats_nth):
7840         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7841         Docs fixes.
7842
7843 2006-02-14  Wim Taymans  <wim@fluendo.com>
7844
7845         * docs/gst/gstreamer-sections.txt:
7846         Reworked query docs.
7847
7848         * gst/gstquery.c: (gst_query_new_formats),
7849         (gst_query_list_add_format), (gst_query_set_formats),
7850         (gst_query_set_formatsv), (gst_query_parse_formats_length),
7851         (gst_query_parse_formats_nth):
7852         * gst/gstquery.h:
7853         Flesh out formats query, added some new methods.
7854         Fix part of #324398.
7855
7856         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
7857         Added query creation tests.
7858
7859 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
7860
7861         * gst/gstpad.c: (fixate_value):
7862         Add a default fixation for fraction lists.
7863
7864 2006-02-13  Wim Taymans  <wim@fluendo.com>
7865
7866         * gst/gsttask.c: (gst_task_init), (gst_task_func),
7867         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
7868         (gst_task_join):
7869         * gst/gsttask.h:
7870         Detect and warn for obvious deadlocks. fixes #320340
7871         Fix error case where lock was not released.
7872
7873         * tests/check/Makefile.am:
7874         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
7875         (task_func), (gst_element_suite), (main):
7876         Add task check.
7877
7878 2006-02-13  Wim Taymans  <wim@fluendo.com>
7879
7880         * docs/gst/gstreamer-sections.txt:
7881         * gst/gstbus.c:
7882         Add new functions to docs.
7883
7884 2006-02-13  Wim Taymans  <wim@fluendo.com>
7885
7886         * docs/design/part-TODO.txt:
7887         Updated TODO list, basesrc supports seeking to non-bytes
7888         formats.
7889
7890         * docs/design/part-element-sink.txt:
7891         Update docs.
7892
7893         * gst/gstbin.c: (bin_replace_message),
7894         (gst_bin_handle_message_func):
7895         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
7896         * gst/gstevent.c: (gst_event_finalize):
7897         * gst/gstpad.c: (gst_pad_event_default_dispatch),
7898         (gst_pad_send_event):
7899         Use shiny new _TYPE_NAME macros.
7900
7901         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7902         Move debug statement up.
7903
7904         * gst/gstelement.c: (gst_element_set_locked_state):
7905         Add some debugging.
7906
7907 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
7908
7909         * docs/gst/gstreamer-sections.txt:
7910         * gst/gstmessage.h:
7911         * gst/gstquery.h:
7912           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
7913           macros (#330906). Also, document the already existing
7914           GST_QUERY_TYPE macro.
7915
7916 2006-02-13  Wim Taymans  <wim@fluendo.com>
7917
7918         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
7919         (event_probe), (GST_START_TEST):
7920         Only events up to the pipeline EOS are counted, there are
7921         some more when going to NULL currently which we don't care
7922         about for now.
7923
7924 2006-02-13  Wim Taymans  <wim@fluendo.com>
7925
7926         * gst/gstpad.c: (gst_pad_send_event):
7927         Correctly check flushing and emit probes. fixes #330125
7928
7929 2006-02-10  Andy Wingo  <wingo@pobox.com>
7930
7931         * gst/gstbus.c (gst_bus_class_init): Declare our private data
7932         structure.
7933         (gst_bus_init): Cache the location of the private data in the
7934         instance structure.
7935         (gst_bus_enable_sync_message_emission) 
7936         (gst_bus_disable_sync_message_emission): Implement new public
7937         functions.
7938         (gst_bus_post): Emit the sync-message signal if the user asked for
7939         it. Fixes #330684.
7940
7941         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
7942         location of the bus-private structure.
7943         (gst_bus_enable_sync_message_emission)
7944         (gst_bus_disable_sync_message_emission): API addition
7945
7946 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
7947
7948         Patch by: Vincent Torri
7949
7950         * docs/pwg/building-boiler.xml:
7951         PWG patch from #326800
7952
7953 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
7954
7955         * configure.ac:
7956         * docs/Makefile.am:
7957         * docs/design/Makefile.am:
7958           Dist design docs.
7959
7960 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
7961
7962         * configure.ac:
7963           back to CVS
7964
7965 === release 0.10.3 ===
7966
7967 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
7968
7969         * configure.ac:
7970           releasing 0.10.3, "Like a virgin"
7971
7972 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
7973
7974         * configure.ac:
7975           2nd prerelease of 0.10.3
7976           Bump libtool versioning.
7977
7978 2006-02-07  Andy Wingo  <wingo@pobox.com>
7979
7980         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
7981         update last_stop if we're in TIME format and the timestamp is
7982         valid.
7983
7984         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
7985         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
7986         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
7987         If we get a new newsegment with a different format, adapt
7988         accordingly.
7989
7990         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
7991         of 0. Not a problem, really.
7992
7993         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
7994         warn if sync=true.
7995
7996 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
7997
7998         * configure.ac:
7999           Prelease of 0.10.3
8000
8001 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
8002
8003         * win32/vs7:
8004           project files updated to the default vs7 configuration
8005         * win32/common/libgstbase.def:
8006         * win32/common/libgstreamer.def:
8007           added new symbols,
8008           removed empty lines,
8009           sorted all exported symbols alphabetically
8010         * win32/common/dirent.c:
8011         * win32/common/dirent.h:
8012         * win32/common/gchar.h:
8013           use windows line end.
8014           
8015 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
8016
8017         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8018           Send EOS event when stopping.
8019
8020 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
8021
8022         * docs/README:
8023           Tell folks what to do if the plugin-foobar.xml file
8024           hasn't been generated for a newly-added plugin.
8025
8026 2006-02-05  Julien MOUTTE  <julien@moutte.net>
8027
8028         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8029         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8030         (gst_collect_pads_start), (gst_collect_pads_stop),
8031         (gst_collect_pads_event): Collectpads now holds a reference
8032         to the GstPad that was added. Indeed we don't want to look
8033         at pads that might just go away with no warning...
8034
8035 2006-02-05  Julien MOUTTE  <julien@moutte.net>
8036
8037         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8038         (gst_collect_pads_start), (gst_collect_pads_stop),
8039         (gst_collect_pads_event), (gst_collect_pads_chain):
8040         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
8041         Mark Nauwelaerts's patch on bug #328491.
8042
8043 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8044
8045         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
8046         (gst_utils_suite):
8047           Add some simple tests for gst_parse_bin_from_description() and
8048           gst_bin_find_unconnected_pad() (#329069).
8049
8050 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8051
8052         * tools/gst-launch.c: (event_loop), (main):
8053           Catch errors during preroll (#320084).
8054
8055 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
8056
8057         * plugins/elements/gsttypefindelement.c:
8058         (gst_type_find_element_activate):
8059           Post TYPE_NOT_FOUND error message when typefinding
8060           is unsuccessful in the activate function as well.
8061
8062 2006-02-02  Wim Taymans  <wim@fluendo.com>
8063
8064         * docs/design/part-element-sink.txt:
8065         Updated doc.
8066
8067 2006-02-02  Wim Taymans  <wim@fluendo.com>
8068
8069         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8070         (gst_base_sink_render_object),
8071         (gst_base_sink_queue_object_unlocked):
8072         Only keep track of prerollable items when we are 
8073         prerolling.
8074         Before rendering after preroll, always check if we
8075         have queued items.
8076         Added some more debugging.
8077
8078 2006-02-02  Wim Taymans  <wim@fluendo.com>
8079
8080         * gst/gstelement.c: (gst_element_continue_state),
8081         (gst_element_set_state_func), (gst_element_change_state):
8082         Fixed #326576, been running this for quite some time with
8083         no regressions at all.
8084
8085 2006-02-02  Wim Taymans  <wim@fluendo.com>
8086
8087         * common/gst.supp:
8088         Added more suppressions
8089
8090 2006-02-02  Wim Taymans  <wim@fluendo.com>
8091
8092         * docs/design/part-element-sink.txt:
8093         Updated document.
8094
8095         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8096         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
8097         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
8098         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8099         (gst_base_sink_do_sync), (gst_base_sink_render_object),
8100         (gst_base_sink_preroll_object),
8101         (gst_base_sink_queue_object_unlocked),
8102         (gst_base_sink_queue_object), (gst_base_sink_event),
8103         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
8104         (gst_base_sink_loop), (gst_base_sink_activate_pull),
8105         (gst_base_sink_get_position), (gst_base_sink_change_state):
8106         * libs/gst/base/gstbasesink.h:
8107         Totally refactored matching the design doc.
8108         Use two segments, one to clip incomming buffers and another to
8109         perform sync.
8110         Handle queueing correctly, bypass the queue when playing.
8111         Make EOS cancelable.
8112         Handle errors correctly when operating in pull based mode.
8113
8114         * tests/check/elements/fakesink.c: (GST_START_TEST),
8115         (fakesink_suite):
8116         Added new check for sinks.
8117
8118 2006-02-02  Wim Taymans  <wim@fluendo.com>
8119
8120         * gst/gstsegment.c: (gst_segment_clip):
8121         No reason to refuse to clip when start == -1
8122
8123 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
8124
8125         * docs/README:
8126         * docs/manual/intro-basics.xml:
8127         * docs/manual/intro-preface.xml:
8128         * docs/manual/manual.xml:
8129         * docs/pwg/advanced-dparams.xml:
8130         * docs/pwg/intro-basics.xml:
8131         * docs/pwg/intro-preface.xml:
8132         * docs/pwg/pwg.xml:
8133           describe dparams (controller) for plugins
8134           unify docs a little more
8135
8136 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
8137
8138         * docs/gst/gstreamer-sections.txt:
8139         * gst/gstutils.c: (element_find_unconnected_pad),
8140         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
8141         * gst/gstutils.h:
8142           Add new API: gst_parse_bin_from_description() and
8143           gst_bin_find_unconnected_pad() (#329069).
8144
8145 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
8146
8147         * docs/manual/README:
8148           uncover a nasty detail of the docs build
8149
8150 2006-01-31  Wim Taymans  <wim@fluendo.com>
8151
8152         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
8153         Don't cache duration messages if we're not going to use or
8154         free them.
8155
8156 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
8157
8158         * docs/manual/advanced-dparams.xml:
8159         * docs/pwg/advanced-dparams.xml:
8160           more dparam docs
8161         * gst/gstindex.c:
8162           fix docs
8163         * libs/gst/controller/lib.c: (gst_controller_init):
8164           init just once
8165
8166 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
8167
8168         * gst/gstelement.c: (gst_element_message_full):
8169           also show file/line/func if no additional debug was given
8170
8171 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
8172         
8173         * win32/vs7/grammar.vcproj:
8174           activate copy of autogenerated files for Release mode
8175
8176 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
8177         
8178         * win32/common/libgstreamer.def:
8179           export gst_value_compare
8180
8181 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
8182
8183         * plugins/elements/Makefile.am:
8184         * plugins/elements/gstelements.c:
8185         * plugins/elements/gstfdsink.c: (_do_init),
8186         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
8187         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
8188         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
8189         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
8190         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
8191         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
8192         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
8193         * plugins/elements/gstfdsink.h:
8194         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
8195
8196 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
8197
8198         * docs/manual/advanced-dparams.xml:
8199           describe controller
8200         * docs/manual/advanced-position.xml:
8201         * docs/manual/basics-init.xml:
8202         * docs/manual/manual.xml:
8203         * docs/manual/titlepage.xml:
8204         * docs/pwg/pwg.xml:
8205         * docs/pwg/titlepage.xml:
8206           cleanup xml (more to come)
8207         * libs/gst/controller/gstcontroller.c:
8208           fix typo
8209
8210 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
8211         
8212         * win32/vs6/grammar.dsp:
8213           add autogen of gstmarshal.c,h for Release mode
8214                 
8215 2006-01-30  Wim Taymans  <wim@fluendo.com>
8216
8217         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8218         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
8219         (gst_base_sink_handle_object), (gst_base_sink_event),
8220         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
8221         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8222         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
8223         (gst_base_sink_deactivate), (gst_base_sink_activate),
8224         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8225         (gst_base_sink_query), (gst_base_sink_change_state):
8226         Basesink cleanups, remove some old code.
8227         Handle the case where a subclass can preroll in the render
8228         method (mostly audiosinks).
8229         Handle more events.
8230         Remove some locks around variables that are now protected
8231         with the PREROLL_LOCK (clock_id, flushing, ..).
8232         Optimize position query some more, do correct locking.
8233         Remove old code to push queue in state change, this is not
8234         needed anymore since preroll blocks on all prerollable items 
8235         now.
8236         Almost implemented as described in design doc.
8237
8238 2006-01-30  Wim Taymans  <wim@fluendo.com>
8239
8240         * tests/check/gst/gstbin.c: (GST_START_TEST):
8241         Wait for refcount to settle down before checking.
8242
8243 2006-01-30  Wim Taymans  <wim@fluendo.com>
8244
8245         * docs/design/part-element-sink.txt:
8246         Pseudo code overview of desired sink behaviour regarding
8247         preroll.
8248
8249 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8250         * win32/vs6/grammar.dsp:
8251           fix some bugs in Release mode for autogenerated files
8252                 
8253 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8254         * win32/common/libgstbase.def:
8255         * win32/common/libgstreamer.def:
8256           export some new symbols: gst_base_src_set_format,
8257           gst_iterator_next, gst_structure_set_valist
8258
8259 2006-01-29  Julien MOUTTE  <julien@moutte.net>
8260
8261         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8262         Set pad functions unconditionally. Fixes #329105.
8263
8264 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
8265         * win32/vs8:
8266           add vs8 project files created by Sergey Scobich
8267
8268 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
8269
8270         * gst/gstutils.c: (gst_element_unlink_pads):
8271         Don't leak pad references.
8272
8273         * tests/check/elements/fakesink.c: (GST_START_TEST):
8274         * tests/check/generic/sinks.c: (GST_START_TEST):
8275         * tests/check/generic/states.c: (GST_START_TEST):
8276         * tests/check/gst/gstbin.c: (GST_START_TEST):
8277         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8278         * tests/check/gst/gstelement.c: (GST_START_TEST):
8279         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8280         * tests/check/gst/gstiterator.c: (GST_START_TEST):
8281         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8282         Fix a bunch of leaks. Make generic/sinks.c
8283         use a bit less cpu by slowing the buffer rate
8284         between fakesrc and fakesink.
8285         
8286 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
8287         * gst/gstcaps.c:
8288         * gst/gstelement.c: (gst_element_send_event):
8289         * gst/gstevent.c:
8290         * gst/gstinfo.c:
8291         * gst/gstiterator.c:
8292         * gst/gstiterator.h:
8293         * gst/gstpad.c: (gst_pad_send_event):
8294         * gst/gststructure.c:
8295         * gst/gsturi.c:
8296         * gst/gstutils.c:
8297         * gst/gstvalue.c:
8298         * libs/gst/base/gstadapter.c:
8299           doc fixes, to link to function, just write gst_cool_function(), don't
8300           prefix with '#'
8301
8302 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8303
8304         * plugins/elements/gsttee.c: (gst_tee_do_push),
8305         (gst_tee_handle_buffer):
8306         Always prefer an actual return value from a src
8307         pad in place of NOT_LINKED. This means we return
8308         WRONG_STATE when all src pads are WRONG_STATE
8309         instead of NOT_LINKED.
8310
8311         Lock when replacing the last message to prevent
8312         racing with the get_property method.
8313
8314         Add debug output
8315
8316 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8317
8318         * tests/check/Makefile.am:
8319         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
8320         (main):
8321         Add a very simple check that should have caught the memleak I fixed
8322         last night (if not for the slice allocator hiding it)
8323
8324 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
8325
8326         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8327         (gst_bin_remove_func), (gst_bin_handle_message_func),
8328         (bin_query_duration_fold), (bin_query_generic_fold):
8329         Clean up references to the clock provider when disposed or when
8330         handling a clock-lost message from it.
8331
8332         Unref sinks when performing a query via gst_iterator_fold, as the
8333         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
8334
8335         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
8336         (gst_clock_set_master):
8337         Drop our reference to the master clock, if any, when we are disposed.
8338
8339         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
8340         Chain up in dispose. 
8341
8342 2006-01-26  Wim Taymans  <wim@fluendo.com>
8343
8344         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8345         Add some debugging.
8346
8347 2006-01-26  Julien MOUTTE  <julien@moutte.net>
8348
8349         * plugins/elements/gsttee.c: (gst_tee_do_push),
8350         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
8351         handles pad being NOT_LINKED or in WRONG_STATE.
8352
8353 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8354
8355         * win32/MANIFEST:
8356           more updating
8357
8358 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8359
8360         * win32/MANIFEST:
8361           remove obsolete entry
8362
8363 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
8364
8365         * docs/gst/gstreamer-sections.txt:
8366         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
8367         (gst_bin_iterate_sources), (gst_bin_send_event):
8368         * gst/gstbin.h:
8369         * gst/gstelement.c: (gst_element_send_event):
8370         * gst/gstevent.c:
8371         * gst/gstpad.c: (gst_pad_send_event):
8372           added code for downstream events, reviewed docs in gstevent.c
8373
8374 2006-01-25  Julien MOUTTE  <julien@moutte.net>
8375
8376         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8377         We only query position using the clock in the playing state.
8378         Query peer in the other cases.
8379         * win32/common/config.h: Updates.
8380
8381 2006-01-24  Wim Taymans  <wim@fluendo.com>
8382
8383         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8384         A clock entry that is scheduled for the exact time of the
8385         clock is still in time.
8386
8387         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8388         (gst_base_sink_do_sync):
8389         Add some more debug info.
8390
8391 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
8392
8393         * win32/vs7:
8394           Add new vs7 project files and solution.
8395
8396 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
8397
8398         * win32/vs7:
8399           all files removed as they were out-dated.
8400
8401 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8402
8403         * docs/random/release:
8404           update notes
8405         * gst/gstbin.c: (gst_bin_init):
8406         * gst/gstbus.c: (gst_bus_new):
8407         * gst/gstbus.h:
8408         * gst/gstpipeline.c: (gst_pipeline_init):
8409           use gst_bus_new(), improve logging, fix docs
8410         * win32/common/config.h:
8411           update for cvs build
8412
8413 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8414
8415         * autogen.sh:
8416           up required version of automake to 1.7
8417
8418 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
8419
8420         * win32/common/libgstreamer.def:
8421           export gst_buffer_is_metadata_writable
8422
8423 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
8424
8425         * docs/gst/gstreamer-sections.txt:
8426         * gst/gstevent.h:
8427           Add gst_event_replace() (#327001)
8428
8429 2006-01-20  Wim Taymans  <wim@fluendo.com>
8430
8431         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8432         Make it actually compile too..
8433
8434 2006-01-20  Wim Taymans  <wim@fluendo.com>
8435
8436         * gst/gstcaps.c:
8437         Clarify behaviour of _is_equal() when passing NULL parameters.
8438
8439         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8440         (gst_pad_set_caps):
8441         Cleanups. Don't unref NULL caps.
8442         When setting the same caps, protect caps of the pad with
8443         proper lock.
8444         Use full functionality of _is_equal() when comparing caps.
8445
8446 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
8447
8448         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8449         Don't loop infinitely if there are no buffers to present. Partially
8450         fixes #327197, but collectpads is just broken for reusing elements
8451         to do multiple encodes atm.
8452
8453 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
8454
8455         * tools/gst-inspect.c: (print_element_features):
8456         * tools/gst-xmlinspect.c: (main):
8457         URL_HANDLER is not a plugin feature we can search for in
8458         the registry.
8459
8460 2006-01-19  Edward Hervey  <edward@fluendo.com>
8461
8462         * gst/gstelement.c: (gst_element_pads_activate): 
8463         When activating, do src pads first, then sink pads.
8464         When de-activating, do sink pads first, then src pads.
8465
8466 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8467
8468         * docs/gst/gstreamer-sections.txt:
8469         Add gst_index_add_associationv to the docs
8470
8471 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8472
8473         * gst/gstevent.c:
8474           Fix docs typo
8475
8476         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
8477         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
8478           Do some refactoring. Doesn't actually change functionality,
8479           but makes landing the DRAIN event easier later.
8480
8481 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
8482
8483         * docs/pwg/advanced-scheduling.xml:
8484           Update from 0.9.x to 0.10 API and make example a bit
8485           clearer.
8486
8487 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8488
8489         * docs/gst/gstreamer-sections.txt:
8490         Add gst_buffer_(is|make)_metadata_writable methods.
8491
8492 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
8493
8494         * docs/design/part-sparsestreams.txt:
8495         Update sparse streams doc, hopefully for greater clarity
8496
8497 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
8498
8499         * docs/design/part-events.txt:
8500         Remove mention of FILLER events.
8501         Add DRAIN event.
8502
8503         * docs/design/part-sparsestreams.txt:
8504         Write some things about using NEWSEGMENT to keep sparse streams
8505         flowing.
8506
8507 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
8508
8509         * gst/gstbin.c: (gst_bin_dispose):
8510           Guard gst_object_unref call against a NULL object (dispose
8511           can theoretically be called multiple times).
8512           
8513 2006-01-18  Wim Taymans  <wim@fluendo.com>
8514
8515         * gst/gstbin.c: (gst_bin_element_set_state):
8516         * gst/gstclock.c: (gst_clock_id_wait):
8517         Added some more debug info.
8518
8519         * libs/gst/base/gstadapter.c:
8520         Added more docs.
8521
8522         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8523         (gst_base_sink_do_sync), (gst_base_sink_chain):
8524         Added some comments.
8525
8526 2006-01-18  Wim Taymans  <wim@fluendo.com>
8527
8528         * tests/check/Makefile.am:
8529         * tests/check/elements/fakesink.c: (chain_async_buffer),
8530         (chain_async), (chain_async_return), (GST_START_TEST),
8531         (fakesink_suite), (main):
8532         Added fakesink test that checks prerolling and clipping
8533         behaviour.
8534
8535         * tests/check/gst/gstutils.c: (GST_START_TEST):
8536         Make check run faster so that buildbots don't timeout.
8537
8538 2006-01-18  Wim Taymans  <wim@fluendo.com>
8539
8540         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8541         (gst_base_sink_do_sync):
8542         Some cleanups.
8543         When the sink finishes blocking on the preroll buffer, it can
8544         immediatly render it instead of rendering when the next buffer
8545         arrives.
8546
8547 2006-01-18  Wim Taymans  <wim@fluendo.com>
8548
8549         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
8550         (gst_base_sink_get_property), (gst_base_sink_do_sync),
8551         (gst_base_sink_chain):
8552         Small cleanups.
8553         GST_ELEMENT_CLOCK and sync are protected with LOCK.
8554         Don't store _last_stop if the buffer is dropped.
8555
8556 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
8557
8558         * plugins/elements/gsttypefindelement.c:
8559         (gst_type_find_element_class_init):
8560           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
8561           object method handler that sets the caps on the pad and we want
8562           that to happen before we emit the signal (fixes e.g. feeding a
8563           plain text file to decodebin).
8564
8565 2006-01-18  Christian Schaller  <Christian@fluendo.com>
8566
8567         * gst/gstplugin.c: Add MPL and Proprietary as license options
8568
8569 2006-01-18  Andy Wingo  <wingo@pobox.com>
8570
8571         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
8572         symbol was exported before, it appears this was just an oversight.
8573         Fixes #168703.
8574         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
8575
8576         * gst/gstindex.c (gst_index_add_associationv): Changed int in
8577         prototype to gint. OK since this prototype was not in the header.
8578
8579 2006-01-17  Andy Wingo  <wingo@pobox.com>
8580
8581         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
8582         registry while we remove plugins.
8583
8584         * tools/gst-inspect.c (print_element_info): Don't unref the
8585         factory arg, that should be the responsibility of whatever code
8586         received the ref. Fixes a double-free when called from
8587         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
8588         (main): Unref the factory if we have one.
8589         (print_element_list): No change -- relies on the
8590         plugin_feature_list_free to free the list of features.
8591
8592 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
8593
8594         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8595         (gst_buffer_make_metadata_writable):
8596         * gst/gstbuffer.h:
8597         * libs/gst/base/gstbasetransform.c:
8598         (gst_base_transform_prepare_output_buf):
8599         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8600         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8601           Replace gst_buffer_(make|is)_metadata_writable patch now
8602           that the release is out.
8603
8604 2006-01-17  Andy Wingo  <wingo@pobox.com>
8605
8606         * gst/gstregistry.c: Reflow design comment. Update so as to speak
8607         in the present tense without reference to versions.
8608
8609         * gst/gstregistry.c (gst_registry_add_plugin)
8610         (gst_registry_remove_plugin, gst_registry_remove_feature)
8611         (gst_registry_find_feature, gst_registry_get_feature_list)
8612         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
8613         (gst_registry_lookup, gst_registry_scan_path)
8614         (_gst_registry_remove_cache_plugins)
8615         (gst_registry_get_feature_list_by_plugin): Add argument
8616         validation.
8617
8618 === release 0.10.2 ===
8619
8620 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
8621
8622         * configure.ac:
8623           releasing 0.10.2, "If man is five"
8624
8625 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
8626
8627         * gst/gstbuffer.c:
8628         * gst/gstbuffer.h:
8629         * libs/gst/base/gstbasetransform.c:
8630         (gst_base_transform_prepare_output_buf):
8631         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8632         * tests/check/gst/gstbuffer.c: (gst_test_suite):
8633           Back out patch until after the release.
8634
8635 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
8636
8637         * gst/gstminiobject.c:
8638           Spelling fix in docs.
8639         * ChangeLog - remove conflict indicator
8640
8641 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
8642
8643         Reviewed By: Andy Wingo
8644
8645         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
8646         (gst_buffer_make_metadata_writable):
8647         * gst/gstbuffer.h:
8648           Add gst_buffer_(is|make)_metadata_writable as analogues of
8649           gst_buffer_(is|make)_writable.
8650
8651         * libs/gst/base/gstbasetransform.c:
8652         (gst_base_transform_prepare_output_buf):
8653         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8654           Use name gst_buffer_(is|make)_metadata_writable functions.
8655
8656         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8657           Test gst_buffer_(is|make)_metadata_writable
8658         
8659           (Closes: #324162)
8660
8661 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8662
8663         * docs/manual/Makefile.am:
8664           don't do parallel make
8665         * configure.ac:
8666           AC_SUBST HOST_CPU
8667         * win32/common/config.h.in:
8668           add generations for HOST_CPU and GST_MAJORMINOR
8669         * win32/common/config.h:
8670           commit generated result
8671
8672 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
8673
8674         * docs/manual/appendix-integration.xml:
8675           Update GNOME integration section to use gst_init_get_option_group()
8676           instead of the old popt stuff (#322911). Also, GNOME applications
8677           should  now use gconf*sink and gconf*src instead of the old gconf
8678           helper lib we had.
8679
8680 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
8681
8682
8683         * docs/gst/gstreamer-docs.sgml:
8684         * docs/gst/gstreamer-sections.txt:
8685         * docs/libs/gstreamer-libs-sections.txt:
8686           add new API entries to the docs
8687         * libs/gst/controller/Makefile.am:
8688         * libs/gst/controller/gstcontroller.c:
8689         * libs/gst/controller/gstcontroller.h:
8690         * libs/gst/controller/gstcontrollerprivate.h:
8691         * libs/gst/controller/gsthelper.c:
8692         * libs/gst/controller/gstinterpolation.c:
8693           move private structs to private header
8694         * po/README:
8695           gstreamer-0.7 -> gstreamer-0.10
8696         * tests/check/libs/struct_i386.h:
8697           remove private structs
8698
8699 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8700
8701         * plugins/indexers/Makefile.am:
8702           Fixes as part of #317048
8703
8704 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8705
8706         * plugins/indexers/Makefile.am:
8707           fix #316086 - compilation when mmap is missing
8708
8709 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
8710
8711         * libs/gst/base/gstbasesink.c:
8712           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
8713           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
8714         * win32/common/config.h:
8715           added some defines GST_MAJORMINOR and HOST_CPU
8716         * win32/common/libgstbase.def:
8717         * win32/common/libgstreamer.def:
8718           added some exported functions.
8719
8720 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
8721
8722         * libs/gst/controller/gstcontroller.c:
8723         (gst_controlled_property_set_interpolation_mode),
8724         (gst_controlled_property_new):
8725         * libs/gst/controller/gstcontroller.h:
8726         * libs/gst/controller/gstinterpolation.c:
8727         (interpolate_none_get_string_value_array):
8728           make G_TYPE_STRING controlable
8729
8730 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
8731
8732         * tools/README:
8733         * tools/gst-feedback.1.in:
8734         * tools/gst-inspect.1.in:
8735         * tools/gst-launch.1.in:
8736         * tools/gst-md5sum.1.in:
8737         * tools/gst-typefind.1.in:
8738         * tools/gst-xmlinspect.1.in:
8739         * tools/gst-xmllaunch.1.in:
8740           cleanup man-pages, remove reference to gst-register, document env-vars
8741
8742 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
8743
8744         * gst/gstbuffer.c: (gst_buffer_span):
8745           gst_buffer_span should copy the timestamp of the first buffer
8746           if they were both originally overlapping subbuffers of the 
8747           same parent, using the same logic as the 'slow copy' case.
8748
8749 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
8750
8751         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
8752           Need to awaken ALL the pads when we pop a buffer, otherwise
8753           collectpads only works when there is 2 input streams.
8754
8755 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
8756
8757         * docs/random/ensonic/media-device-daemon.txt:
8758           more ideas (dbus)
8759         * gst/gstbuffer.c:
8760           fix doc example, add clarification
8761         * tools/gst-launch.1.in:
8762           add initial info about GST_PLUGIN_PATH, needs more work
8763
8764 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8765
8766         * docs/manual/basics-bins.xml:
8767         * docs/manual/basics-elements.xml:
8768         * docs/manual/intro-basics.xml:
8769           Some more minor docs additions and updates.
8770
8771 2006-01-11  Wim Taymans  <wim@fluendo.com>
8772
8773         * docs/manual/basics-bins.xml:
8774         * docs/manual/basics-elements.xml:
8775         Some small fixes as pointed out by Ser-ver on IRC.
8776
8777 2006-01-10  Edward Hervey  <edward@fluendo.com>
8778
8779         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8780         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
8781         the single-segment mode.
8782
8783 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
8784
8785         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
8786
8787         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
8788         (gst_base_src_perform_seek), (gst_base_src_send_event),
8789         (gst_base_src_set_property), (gst_base_src_get_property),
8790         (gst_base_src_loop), (gst_base_src_start),
8791         (gst_base_src_activate_push):
8792         * libs/gst/base/gstbasesrc.h:
8793           Name (private) union; makes Sun's Forte compiler happy (#324900).
8794
8795 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
8796
8797         * README:
8798           gst-register is gone.
8799
8800 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8801
8802         * gst/gstvalue.c: (_gst_value_initialize):
8803           make the G_TYPE_DATE instantiation work if debug is disabled
8804
8805 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
8806
8807         * gst/gstmessage.c: (gst_message_parse_tag),
8808         (gst_message_parse_error), (gst_message_parse_warning):
8809           Don't crash when return location for error/warning debug
8810           string is NULL; add fact that return locations can be
8811           NULL to docs where appropriate.
8812
8813 2006-01-05  Wim Taymans  <wim@fluendo.com>
8814
8815         * gst/gstplugin.c: (gst_plugin_load_file):
8816         Replace strdup by g_strdup.
8817
8818 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8819
8820         * docs/pwg/advanced-types.xml:
8821           fix doc borkage
8822
8823 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
8824
8825         submitted by: Abel Cheung
8826
8827         * po/LINGUAS:
8828         * po/zh_TW.po:
8829           Added Chinese (traditional) translation
8830
8831 2006-01-04  Wim Taymans  <wim@fluendo.com>
8832
8833         * docs/manual/basics-pads.xml:
8834         * docs/plugins/Makefile.am:
8835         * docs/plugins/gstreamer-plugins-docs.sgml:
8836         * docs/plugins/gstreamer-plugins-sections.txt:
8837         * docs/pwg/advanced-clock.xml:
8838         * docs/pwg/advanced-scheduling.xml:
8839         * docs/pwg/advanced-types.xml:
8840         * plugins/elements/gstfdsink.c:
8841         * plugins/elements/gstfdsrc.c:
8842         * plugins/elements/gstfdsrc.h:
8843         * plugins/elements/gstidentity.c: (gst_identity_class_init):
8844         * plugins/elements/gstidentity.h:
8845         * plugins/elements/gstqueue.h:
8846         * plugins/elements/gsttee.c:
8847         * plugins/elements/gsttee.h:
8848         * plugins/elements/gsttypefindelement.c:
8849         (gst_type_find_element_class_init):
8850         * plugins/elements/gsttypefindelement.h:
8851         Small updates to various docs.
8852         Added core plugins to docs.
8853
8854 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
8855
8856         * common/gst.supp:
8857           add a suppression for liboil's uninitialized variable
8858
8859 2006-01-02  James Livingston  <jrl at ids dot org dot au>
8860
8861         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
8862
8863         * gst/gstutils.h:
8864           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
8865           macro, so that gcc doesn't complain if the -Wmissing-prototypes
8866           compiler switch is being used (#325429).
8867
8868 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
8869
8870         * gst/gstbin.c: (gst_bin_query):
8871           Disable duration query caching in bins until it gets
8872           fixed (see #324807).
8873
8874 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
8875
8876         * tools/gst-inspect.c: (print_element_properties_info):
8877           Handle properties of POINTER and BOXED type.
8878
8879 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
8880
8881         * gst/gst.c: (init_post):
8882           Init tags stuff and some other things before loading
8883           any static plugins (there may be other static plugins
8884           than just the GStreamer ones, and they may want to
8885           register their own tags or formats or whatever, and
8886           preferably without segfaulting).
8887
8888         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
8889           Print at least a warning in the debug logs if we drop a
8890           query just because we don't know how to adjust the value
8891           in the particular format.
8892
8893 2005-12-24  David Schleef  <ds@schleef.org>
8894
8895         * tools/gstreamer-completion:
8896           Replacement for gst-complete written in sh and sed.  Only
8897           completes names of features, but that's 90% of what I want
8898           it for.  Properties are not available in registry.xml.  (Maybe
8899           they should be...)
8900
8901 === release 0.10.1 ===
8902
8903 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
8904
8905         * configure.ac:
8906           releasing 0.10.1, "Nollaig chridheil"
8907
8908 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
8909
8910         * docs/faq/cvs.xml:
8911           Add missing quote, should be make ERROR_CFLAGS="".
8912
8913 2005-12-20  Wim Taymans  <wim@fluendo.com>
8914
8915         * docs/design/part-trickmodes.txt:
8916         More documentation on trickmodes.
8917
8918 2005-12-20  Edward Hervey  <edward@fluendo.com>
8919
8920         * gst/gstcaps.c: (gst_static_caps_get_type):
8921         * gst/gstcaps.h:
8922           API addition: GST_TYPE_STATIC_CAPS
8923         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
8924         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
8925         * gst/gstpadtemplate.h:
8926           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
8927         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
8928         bindings.
8929
8930 2005-12-18  Wim Taymans  <wim@fluendo.com>
8931
8932         * libs/gst/base/gstadapter.c:
8933         * libs/gst/base/gstadapter.h:
8934         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8935         (gst_base_sink_get_position):
8936         * libs/gst/base/gstbasesink.h:
8937         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8938         (gst_base_src_default_query), (gst_base_src_default_do_seek),
8939         (gst_base_src_do_seek), (gst_base_src_perform_seek),
8940         (gst_base_src_send_event), (gst_base_src_update_length),
8941         (gst_base_src_get_range), (gst_base_src_loop),
8942         (gst_base_src_start):
8943         * libs/gst/base/gstbasesrc.h:
8944         * libs/gst/base/gstbasetransform.h:
8945         * libs/gst/base/gstcollectpads.h:
8946         * libs/gst/base/gstpushsrc.c:
8947         * libs/gst/base/gstpushsrc.h:
8948         * libs/gst/dataprotocol/dataprotocol.c:
8949         * libs/gst/dataprotocol/dataprotocol.h:
8950         * libs/gst/net/gstnetclientclock.h:
8951         * libs/gst/net/gstnettimeprovider.h:
8952         Documentation updates.
8953
8954 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
8955
8956         * docs/manual/basics-helloworld.xml:
8957           Remove superfluous closing bracket in helloworld example.
8958
8959 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
8960
8961         * tools/gst-launch.1.in:
8962           Update gst-launch man page; add a section with useful
8963           environment variables. Fixes #323882.
8964
8965 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
8966
8967         * gst/gst.c:
8968         * gst/gst_private.h:
8969           change some char* into char[]
8970
8971 2005-12-16  Wim Taymans  <wim@fluendo.com>
8972
8973         * gst/gstregistryxml.c: (load_feature):
8974         Cleanups.
8975         Don't use g_object_unref on GstObjects so that we avoid
8976         leaks on unsafe glibs.
8977
8978 2005-12-16  Wim Taymans  <wim@fluendo.com>
8979
8980         * gst/gstbin.c: (gst_bin_recalc_state):
8981         Small doc updates.
8982
8983 2005-12-16  Wim Taymans  <wim@fluendo.com>
8984
8985         * common/check.mak:
8986         Added make forever target for check.
8987
8988 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8989
8990         * gst/gst.c: (init_post):
8991           make the registry cache file HOST_CPU-dependent
8992
8993 2005-12-16  Andy Wingo  <wingo@pobox.com>
8994
8995         * plugins/elements/gstbufferstore.c
8996         (gst_buffer_store_cleared_func): Pay attention to g_list_append
8997         return value.
8998
8999         * tests/check/gst/gstobject.c
9000         (test_fake_object_name_threaded_unique): Pay attention to
9001         g_list_sort return value.
9002
9003 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9004
9005         * tools/gst-feedback-m.m:
9006           Update for 0.9/0.10 (fixes #323870).
9007
9008 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
9009
9010         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
9011           Fix lcopy for mini objects, the mini object needs to be ref'ed.
9012           
9013         * tests/check/gst/gstminiobject.c: (my_foo_init),
9014         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
9015         (test_value_collection), (gst_mini_object_suite):
9016           Add test to ensure refcounts end up as expected when passing
9017           GstMiniObjects through g_object_get() and g_object_set().
9018
9019 2005-12-14  Julien MOUTTE  <julien@moutte.net>
9020
9021         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9022         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
9023         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
9024         of collectpads. This version removes a lot of races without
9025         touching API/ABI. Yay !
9026
9027 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
9028
9029         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
9030           Don't allow activation of a srcpad in pull_range if it has no
9031           getrange function.
9032           Change some debug statements to be a little clearer
9033
9034         * plugins/elements/gsttypefindelement.c:
9035         (gst_type_find_handle_src_query):
9036           Check that we have a peer before executing queries thereupon.
9037
9038         * tests/examples/metadata/read-metadata.c: (message_loop):
9039           Use gst_bus_pop instead of gst_bus_poll when we just want it to
9040           immediately return us any available message with 0 timeout.
9041
9042 2005-12-12  Michael Smith  <msmith@fluendo.com>
9043
9044         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9045           Don't unref factories after calling them.
9046         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
9047         * plugins/elements/gsttypefindelement.c:
9048         (gst_type_find_element_chain):
9049           Free lists of factories after using them. Fixing typefinding memory
9050           leaks.
9051
9052 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9053
9054         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9055         (gst_plugin_feature_load):
9056           more meaningful debug output
9057         * configure.ac:
9058         * tests/Makefile.am:
9059         * tests/old/examples/Makefile.am:
9060           make make distcheck happy again
9061
9062 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9063
9064         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9065           Catch the special case where we are operating chain-based,
9066           but the downstream peer pad has no chain function. Emit a
9067           custom error message in this case instead of letting the
9068           core generate one implying that this is some sort of core
9069           bug. It's not, it just means that whatever got plugged
9070           into the pipeline downstream when we announced the type
9071           can only operate pull-based, while our source can only
9072           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
9073           Error string has not been marked for translation yet, as
9074           it probably needs some more work first.
9075
9076         (gst_type_find_element_get_best_possibility):
9077           Add helper function to find the best of all available
9078           found possibilities that qualify given the min. threshold.
9079
9080         (gst_type_find_element_handle_event):
9081           Fix the case where we get an EOS while still in TYPEFIND
9082           mode (we want to chose the best of all possible types,
9083           not just the first type that happens to be in our unsorted
9084           list of possible types).
9085
9086         (gst_type_find_element_chain):
9087           Make sure we return GST_FLOW_ERROR when we errored out
9088           in stop_typefinding(); also, don't just find the best of
9089           all found type entries and then use the last examined
9090           type entry, but actually use the best entry.
9091
9092 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9093
9094         * tests/examples/typefind/typefind.c: (type_found):
9095         * tests/examples/xml/runxml.c: (xml_loaded):
9096           More gcc4 fixes and a mem leak fix.
9097
9098 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9099
9100         * tests/examples/xml/createxml.c: (object_saved):
9101           gcc 4 fixes
9102
9103 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9104
9105         * tests/Makefile.am:
9106           enable the examples even more
9107
9108 2005-12-12  Andy Wingo  <wingo@pobox.com>
9109
9110         * libs/gst/net/gstnettimeprovider.c
9111         (gst_net_time_provider_class_init, gst_net_time_provider_init)
9112         (gst_net_time_provider_set_property)
9113         (gst_net_time_provider_get_property):
9114         API addition: Export "active" as a GObject property.
9115         (gst_net_time_provider_thread): Only respond to time queries if
9116         the time provider is active.
9117
9118         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
9119         NetTimeProvider, preserving binary compat.
9120
9121 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9122
9123         * tests/examples/controller/audio-example.c: (main):
9124         * tests/examples/launch/Makefile.am:
9125           convert comments again
9126
9127 2005-12-12  Wim Taymans  <wim@fluendo.com>
9128
9129         * libs/gst/base/gstpushsrc.c:
9130         Fix typo.
9131
9132 2005-12-12  Wim Taymans  <wim@fluendo.com>
9133
9134         * docs/libs/gstreamer-libs-sections.txt:
9135         Added new symbol to docs.
9136
9137         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9138         (gst_base_src_init), (gst_base_src_set_format),
9139         (gst_base_src_default_query), (gst_base_src_query),
9140         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
9141         (gst_base_src_perform_seek), (gst_base_src_send_event),
9142         (gst_base_src_default_event), (gst_base_src_event_handler),
9143         (gst_base_src_set_property), (gst_base_src_get_property),
9144         (gst_base_src_wait), (gst_base_src_do_sync),
9145         (gst_base_src_update_length), (gst_base_src_get_range),
9146         (gst_base_src_check_get_range), (gst_base_src_loop),
9147         (gst_base_src_default_negotiate), (gst_base_src_start),
9148         (gst_base_src_activate_push), (gst_base_src_activate_pull),
9149         (gst_base_src_change_state):
9150         * libs/gst/base/gstbasesrc.h:
9151         Implement seeking to other formats than _BYTES.
9152         Implement more seeking methods correctly.
9153         Doc updates.
9154         Added query vmethod.
9155         Added do_seek vmethod to make life easier for subclasses
9156         when seeking.
9157         API addition: gst_base_src_set_format()
9158
9159 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9160
9161         * tests/examples/Makefile.am:
9162           added that too
9163
9164 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
9165
9166         * configure.ac:
9167         * docs/random/ensonic/media-device-daemon.txt:
9168         * tests/examples/controller/.cvsignore:
9169         * tests/examples/controller/Makefile.am:
9170         * tests/examples/controller/audio-example.c: (main):
9171         * tests/examples/helloworld/.cvsignore:
9172         * tests/examples/helloworld/Makefile.am:
9173         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
9174         * tests/examples/launch/.cvsignore:
9175         * tests/examples/launch/Makefile.am:
9176         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
9177         * tests/examples/metadata/.cvsignore:
9178         * tests/examples/metadata/Makefile.am:
9179         * tests/examples/metadata/read-metadata.c: (message_loop),
9180         (make_pipeline), (print_tag), (main):
9181         * tests/examples/queue/.cvsignore:
9182         * tests/examples/queue/Makefile.am:
9183         * tests/examples/queue/queue.c: (event_loop), (main):
9184         * tests/examples/typefind/.cvsignore:
9185         * tests/examples/typefind/Makefile.am:
9186         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
9187         (main):
9188         * tests/examples/xml/.cvsignore:
9189         * tests/examples/xml/Makefile.am:
9190         * tests/examples/xml/createxml.c: (object_saved), (main):
9191         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
9192         * tests/old/examples/Makefile.am:
9193         * tests/old/examples/TODO:
9194         * tests/old/examples/controller/.cvsignore:
9195         * tests/old/examples/controller/Makefile.am:
9196         * tests/old/examples/controller/audio-example.c:
9197         * tests/old/examples/helloworld/.cvsignore:
9198         * tests/old/examples/helloworld/Makefile.am:
9199         * tests/old/examples/helloworld/helloworld.c:
9200         * tests/old/examples/launch/.cvsignore:
9201         * tests/old/examples/launch/Makefile.am:
9202         * tests/old/examples/launch/mp3parselaunch.c:
9203         * tests/old/examples/launch/mp3play:
9204         * tests/old/examples/manual/Makefile.am:
9205         * tests/old/examples/metadata/Makefile.am:
9206         * tests/old/examples/metadata/read-metadata.c:
9207         * tests/old/examples/queue/.cvsignore:
9208         * tests/old/examples/queue/Makefile.am:
9209         * tests/old/examples/queue/queue.c:
9210         * tests/old/examples/typefind/.cvsignore:
9211         * tests/old/examples/typefind/Makefile.am:
9212         * tests/old/examples/typefind/typefind.c:
9213         * tests/old/examples/xml/.cvsignore:
9214         * tests/old/examples/xml/Makefile.am:
9215         * tests/old/examples/xml/createxml.c:
9216         * tests/old/examples/xml/runxml.c:
9217           applied some simple fixing to some examples
9218           re-enabled the working examples
9219
9220 2005-12-12  Wim Taymans  <wim@fluendo.com>
9221
9222         * gst/gstsegment.c: (gst_segment_init),
9223         (gst_segment_set_last_stop), (gst_segment_set_seek),
9224         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
9225         (gst_segment_to_running_time):
9226         Added more documentation.
9227         Make sure the last_pos value is updated properly.
9228         Make sure to_stream_time and to_running_time don't
9229         operate on wrong values.
9230
9231         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9232         Update check.
9233
9234 2005-12-12  Michael Smith  <msmith@fluendo.com>
9235
9236         * plugins/elements/gsttypefindelement.c: (free_entry),
9237         (gst_type_find_element_chain):
9238           Now that we're not leaking factories, make sure we keep references
9239           to them while we need them.
9240
9241 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9242
9243         * tests/check/gst/struct_i386.h:
9244           ifdef out the XML structs
9245
9246 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9247
9248         * gst/gstvalue.c: (gst_value_transform_double_fraction):
9249           floor is not needed, F is always positive; this obviates the
9250           need for adding -lm when building without libxml
9251
9252 2005-12-12  Wim Taymans  <wim@fluendo.com>
9253
9254         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9255         Take current playback rate into account when reporting
9256         the position.
9257
9258 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9259
9260         * docs/manual/mime-world.fig:
9261           Let's try this again, this time with a file that is
9262           actually in XFig format.
9263
9264 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9265
9266         * docs/manual/mime-world.fig:
9267           Add audioconvert element to diagram so that it
9268           matches the text and the code (fixes #319526).
9269
9270 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9271
9272         * docs/pwg/building-chainfn.xml:
9273         * docs/pwg/building-pads.xml:
9274         * docs/pwg/building-state.xml:
9275         * docs/pwg/other-source.xml:
9276           Update state change stuff for 0.10 (fixes #322969).
9277
9278 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9279
9280         * docs/manual/advanced-dataaccess.xml:
9281         * docs/manual/appendix-checklist.xml:
9282         * docs/manual/appendix-programs.xml:
9283         * docs/manual/basics-pads.xml:
9284         * docs/manual/highlevel-components.xml:
9285         * docs/manual/manual.xml:
9286           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
9287           add converters in front of pipelines; remove curly
9288           brackets for threads stuff, they no longer exist; use
9289           GST_TYPE_FRACTION for framerates; update some pieces of
9290           code to 0.10, but there's plenty more to do.
9291
9292         * docs/manual/appendix-porting.xml:
9293           Expand on asynchroneous state changes; s/0.9/0.10/;
9294           mention disappearance of gst_init_get_popt_table()
9295           (fixes #322916).
9296
9297 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9298
9299         * docs/faq/using.xml:
9300           Spider no longer exists, and neither does gst-launch-ext.
9301           Update examples to use decodebin and playbin and put
9302           converters in front of sinks (fixes #323726).
9303
9304 2005-12-09  Michael Smith  <msmith@fluendo.com>
9305
9306         * plugins/elements/gsttypefindelement.c: (find_peek),
9307         (gst_type_find_element_chain):
9308           Fix leaking element factories in typefinding.
9309           Fix problem where we forgot about a probable type on non-seekable
9310           files, and thus later mis-typefound it.
9311
9312 2005-12-09  Michael Smith  <msmith@fluendo.com>
9313
9314         * common/m4/gst-makecontext.m4:
9315         * common/m4/gst-mcsc.m4:
9316         * configure.ac:
9317         * win32/common/config.h:
9318         * win32/common/config.h.in:
9319           Remove makecontext stuff; not used in 0.10 and causes problems on
9320           HPUX according to bug #322441
9321
9322 2005-12-07  Wim Taymans  <wim@fluendo.com>
9323
9324         * tests/check/Makefile.am:
9325         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
9326         (main):
9327         * tests/check/libs/struct_i386.h:
9328         Added ABI check for libs
9329
9330 2005-12-07  Wim Taymans  <wim@fluendo.com>
9331
9332         * tests/check/Makefile.am:
9333         And add the struct_i386.h to dist.
9334
9335 2005-12-07  Wim Taymans  <wim@fluendo.com>
9336
9337         * tests/check/Makefile.am:
9338         * tests/check/gst/.cvsignore:
9339         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
9340         (main):
9341         * tests/check/gst/struct_i386.h:
9342         Added check for ABI compatibility.
9343
9344 2005-12-07  Wim Taymans  <wim@fluendo.com>
9345
9346         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9347         (gst_fake_src_get_times), (gst_fake_src_create):
9348         Fix broken sync option, fixes #323259
9349
9350 2005-12-07  Wim Taymans  <wim@fluendo.com>
9351
9352         * gst/gstbuffer.c:
9353         Small docs update.
9354
9355         * gst/gstcaps.c: (gst_caps_is_equal):
9356         Don't assert on NULL <--> X. Fixes #323260
9357
9358         * gst/gstminiobject.c: (gst_mini_object_replace):
9359         If we're doing atomic operations, we might just as well use
9360         the proper way to get an atomic pointer.
9361
9362         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9363         Clean up debugging.
9364
9365 2005-12-07  Michael Smith  <msmith@fluendo.com>
9366
9367         * gst/parse/grammar.y:
9368           Remove handling of { } for threads.
9369
9370 2005-12-06  David Schleef  <ds@schleef.org>
9371
9372         * libs/gst/base/gstbasetransform.c: speling fix.
9373
9374 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9375
9376         * docs/libs/tmpl/gstdataprotocol.sgml:
9377         * docs/random/omega/testing/gstobject.c:
9378         * gst/gst.c:
9379         * gst/gstclock.c:
9380         * gst/gstelement.c:
9381         * gst/gstelementfactory.c:
9382         * gst/gsterror.c:
9383         * gst/gstevent.c:
9384         * gst/gstghostpad.c:
9385         * gst/gstinfo.c:
9386         * gst/gstpadtemplate.c:
9387         * gst/gstregistryxml.c:
9388         * gst/gsttaglist.c:
9389         * gst/gsttagsetter.c:
9390         * gst/gsttypefind.c:
9391         * gst/gstvalue.c:
9392         * libs/gst/base/gstbasesrc.c:
9393         * libs/gst/net/gstnetclientclock.c:
9394         * libs/gst/net/gstnettimeprovider.c:
9395         * plugins/elements/gstfakesrc.c:
9396         * plugins/elements/gstfdsrc.c:
9397         * plugins/elements/gstfilesrc.c:
9398         * plugins/elements/gstidentity.c:
9399         * plugins/elements/gstqueue.c:
9400         * plugins/elements/gsttypefindelement.c:
9401         * plugins/indexers/gstfileindex.c:
9402         * plugins/indexers/gstmemindex.c:
9403         * tests/check/gst/gsttag.c:
9404         * tests/old/examples/cutter/cutter.c:
9405         * tests/old/examples/mixer/mixer.c:
9406         * tests/old/examples/xml/runxml.c: (main):
9407         * tests/old/testsuite/caps/normalisation.c:
9408         * tests/old/testsuite/debug/global.c:
9409         * tests/old/testsuite/parse/parse1.c:
9410         * tools/gst-xmlinspect.c:
9411         * win32/common/dirent.c:
9412           expand tabs
9413
9414 === release 0.10.0 ===
9415
9416 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9417
9418         * configure.ac:
9419           releasing 0.10.0, "Maroilles"
9420
9421 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9422
9423         submitted by: Funda Wang <fundawang@linux.net.cn>
9424
9425         * po/LINGUAS:
9426         * po/zh_CN.po:
9427           added Chinese (Traditional) translation
9428
9429 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9430
9431         * docs/gst/gstreamer-sections.txt:
9432         * docs/libs/tmpl/gstdataprotocol.sgml:
9433         * docs/random/thomasvs/TODO:
9434         * gst/gstutils.c:
9435         * gst/gstutils.h:
9436           fix docs
9437
9438 2005-12-05  Andy Wingo  <wingo@pobox.com>
9439
9440         patch by: Wim Taymans <wim@fluendo.com>
9441
9442         * libs/gst/base/gstbasetransform.c
9443         (gst_base_transform_prepare_output_buf)
9444         (gst_base_transform_buffer_alloc):
9445         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
9446         alloc_buffer_and_set_caps.
9447
9448         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
9449         set_caps on the source pad.
9450         (gst_pad_alloc_buffer_and_set_caps): New function, does what
9451         alloc_buffer used to do. Fixes #322874.
9452
9453         * docs/gst/gstreamer-sections.txt: 
9454         * docs/design/part-negotiation.txt: 
9455         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
9456         changes.
9457
9458 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9459
9460         patch by: Sebastien Moutte
9461
9462         * win32/MANIFEST:
9463         * win32/common/config.h.in:
9464         * win32/vs6/libgstcontroller.dsp:
9465           win32 build fixes
9466
9467 2005-12-05  Wim Taymans  <wim@fluendo.com>
9468
9469         * gst/gstcaps.c: (gst_caps_is_equal):
9470         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9471         (gst_fake_src_create):
9472         Back out previous code changes, leave doc updates, file bugs 
9473         instead. 
9474
9475 2005-12-05  Wim Taymans  <wim@fluendo.com>
9476
9477         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9478         (gst_fake_src_get_times), (gst_fake_src_create):
9479         * plugins/elements/gstfakesrc.h:
9480         Fix broken sync code.
9481
9482 2005-12-05  Wim Taymans  <wim@fluendo.com>
9483
9484         * gst/gstcaps.c: (gst_caps_is_equal):
9485         Comparing NULL against !NULL yields different caps, not a
9486         failure.
9487
9488 2005-12-05  Wim Taymans  <wim@fluendo.com>
9489
9490         * gst/gstpipeline.c:
9491         Fix small typo in docs.
9492
9493 2005-12-05  Andy Wingo  <wingo@pobox.com>
9494
9495         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
9496
9497         * gst/gst.c (init_post): remove hard-coded 0.9 location for
9498         registries/plugins with a MAJORMINOR one.
9499         (plugin_desc): Rename library from gstcoreleements to
9500         staticelements. Fixes #323222.
9501
9502 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
9503
9504         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
9505           Change debug category to 'collectpads' from 'collect_pads'
9506           (fixes #323250).
9507
9508 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9509
9510         patch by: Sebastien Moutte
9511
9512         * libs/gst/controller/gstinterpolation.c:
9513           use convert function for uint64/double
9514         * win32/vs6/libgstcontroller.dsp:
9515           link to GLib
9516
9517 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9518
9519         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
9520         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
9521         * gst/gstutils.h:
9522         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9523           add tests that seem to show that the guint64/gdouble conversions
9524           are correct.
9525
9526 2005-12-02  Wim Taymans  <wim@fluendo.com>
9527
9528         * gst/gstregistry.c: (gst_registry_add_path):
9529         * gst/gstregistry.h:
9530         * gst/gstregistryxml.c:
9531         Fix docs again.
9532
9533 2005-12-02  Wim Taymans  <wim@fluendo.com>
9534
9535         * gst/gstutils.c: (gst_util_uint64_scale_int64),
9536         (gst_util_uint64_scale_int):
9537         Small cleanup.
9538
9539         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9540         Add debug log line.
9541
9542         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
9543         Add FIXME.
9544
9545 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9546
9547         * win32/MANIFEST:
9548         * win32/common/config.h:
9549         * win32/vs6/gstreamer.dsw:
9550         * win32/vs6/libgstcoreelements.dsp:
9551         * win32/vs6/libgstelements.dsp:
9552           renamed core elements plugin
9553
9554 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9555
9556         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
9557         (get_candidates):
9558           do piece-wise major/minor comparison so 0.9 < 0.10
9559           also allow .exe extensions for tools
9560
9561 2005-12-02  Michael Smith  <msmith@fluendo.com>
9562
9563         * gst/gst.c:
9564           Escape a % to make gtkdoc happier; bug 322958.
9565
9566 === release 0.9.7 ===
9567
9568 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9569
9570         * configure.ac:
9571           releasing 0.9.7, "My Dog Has No Nose"
9572
9573 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9574
9575         * common/gst-xmlinspect.py:
9576         * configure.ac:
9577         * docs/libs/tmpl/gstdataprotocol.sgml:
9578         * docs/random/release:
9579         * po/af.po:
9580         * po/az.po:
9581         * po/bg.po:
9582         * po/ca.po:
9583         * po/cs.po:
9584         * po/de.po:
9585         * po/en_GB.po:
9586         * po/fr.po:
9587         * po/it.po:
9588         * po/nb.po:
9589         * po/nl.po:
9590         * po/ru.po:
9591         * po/sq.po:
9592         * po/sr.po:
9593         * po/sv.po:
9594         * po/tr.po:
9595         * po/uk.po:
9596         * po/vi.po:
9597         * win32/common/config.h:
9598         * win32/common/config.h.in:
9599         * win32/vs6/gst_inspect.dsp:
9600         * win32/vs6/gst_launch.dsp:
9601         * win32/vs6/libgstbase.dsp:
9602         * win32/vs6/libgstelements.dsp:
9603         * win32/vs6/libgstreamer.dsp:
9604         * win32/vs7/GStreamer.vcproj:
9605         * win32/vs7/gst-inspect.vcproj:
9606         * win32/vs7/gst-launch.vcproj:
9607         * win32/vs7/libgstbase.vcproj:
9608           bump GST_MAJORMINOR to 0.10
9609           reset libtool version
9610
9611 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9612
9613         * po/LINGUAS:
9614         * po/bg.po:
9615           Added Bulgarian translation by (Alexander Shopov)
9616
9617 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9618
9619         * tests/check/gst/gstplugin.c:
9620           fix test
9621
9622 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9623
9624         * common/gst-xmlinspect.py:
9625         * common/gtk-doc-plugins.mak:
9626         * configure.ac:
9627         * docs/Makefile.am:
9628         * docs/gst/Makefile.am:
9629         * docs/gst/gstreamer-docs.sgml:
9630         * docs/gst/gstreamer-sections.txt:
9631         * docs/gst/gstreamer.types:
9632         * docs/gst/gstreamer.types.in:
9633         * docs/plugins/Makefile.am:
9634         * docs/plugins/gstreamer-plugins-docs.sgml:
9635         * docs/plugins/gstreamer-plugins-sections.txt:
9636         * docs/plugins/gstreamer-plugins.types:
9637         * docs/plugins/inspect.stamp:
9638         * docs/plugins/inspect/plugin-coreelements.xml:
9639         * docs/plugins/inspect/plugin-coreindexers.xml:
9640         * docs/plugins/scanobj-build.stamp:
9641         * gstreamer.spec.in:
9642         * plugins/elements/Makefile.am:
9643         * plugins/elements/gstelements.c:
9644         * plugins/elements/gstfakesink.c:
9645         * plugins/elements/gstfakesrc.c:
9646         * plugins/elements/gstfilesink.c:
9647         * plugins/elements/gstfilesrc.c:
9648         * plugins/elements/gstqueue.c:
9649         * plugins/indexers/Makefile.am:
9650         * plugins/indexers/gstindexers.c:
9651           document core plugins in a separate document just like all the
9652           others
9653           rename these plugins to something starting with core
9654
9655 2005-12-01  Andy Wingo  <wingo@pobox.com>
9656
9657         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
9658         padding here before, but it missed the commit.
9659
9660 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9661
9662         * libs/gst/controller/gstinterpolation.c:
9663           whitespace prices have crashed, we should feel free to use some now
9664           use gst_guint64_to_gdouble
9665
9666 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9667
9668         * libs/gst/controller/gstcontroller.c:
9669         * libs/gst/controller/gsthelper.c:
9670         * libs/gst/controller/gstinterpolation.c:
9671         * libs/gst/controller/lib.c:
9672           wrap config.h include
9673
9674 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9675
9676         * docs/gst/gstreamer-sections.txt:
9677           update docs
9678
9679 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9680
9681         * plugins/elements/gstelements.c:
9682         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
9683         (gst_fd_sink__class_init), (gst_fd_sink__init),
9684         (gst_fd_sink__chain), (gst_fd_sink__set_property),
9685         (gst_fd_sink__get_property):
9686         * plugins/elements/gstfdsink.h:
9687         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
9688         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
9689         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
9690         (gst_fd_src_unlock), (gst_fd_src_set_property),
9691         (gst_fd_src_get_property), (gst_fd_src_create),
9692         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
9693         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
9694         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
9695         (gst_fd_src_uri_handler_init):
9696         * plugins/elements/gstfdsrc.h:
9697         * plugins/elements/gstqueue.c: (gst_queue_get_type):
9698           more anal cleanup
9699
9700 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9701
9702         * docs/gst/Makefile.am:
9703         * docs/gst/gstreamer.types.in:
9704         * gst/Makefile.am:
9705           fix the docs build
9706
9707 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
9708
9709         * configure.ac:
9710         * gst/Makefile.am:
9711         * gst/gst.c:
9712         * gst/gstplugin.h:
9713         * gst/gstregistry.h:
9714         * tests/benchmarks/complexity.c:
9715         * tests/benchmarks/mass-elements.c:
9716         * tests/check/Makefile.am:
9717         * tools/Makefile.am:
9718         * tools/gst-inspect.c:
9719         * tools/gst-xmlinspect.c:
9720           various fixes to make
9721           --disable-nls --disable-registry --disable-loadsave
9722           --disable-parse --disable-gst-debug
9723           work and get the core .so down to 360444 bytes after stripping
9724
9725 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
9726
9727         * Makefile.am:
9728         * configure.ac:
9729           descend into tests
9730         * docs/random/thomasvs/TODO:
9731         * tests/Makefile.am:
9732         * tests/README:
9733           add a README
9734
9735 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
9736
9737         * win32/GStreamer.vcproj:
9738         * win32/MANIFEST:
9739         * win32/Makefile:
9740         * win32/Makefile.inspect:
9741         * win32/Makefile.launch:
9742         * win32/Makefile.register:
9743         * win32/README.txt:
9744         * win32/gst-inspect.vcproj:
9745         * win32/gst-launch.vcproj:
9746         * win32/gst-register.vcproj:
9747         * win32/gstelements.vcproj:
9748         * win32/gstgetbits.def:
9749         * win32/gstgetbits.vcproj:
9750         * win32/gstreamer-dbg.def:
9751         * win32/gstreamer.def:
9752         * win32/libgstbase.def:
9753         * win32/libgstbase.vcproj:
9754         * win32/link_oldruntime.c:
9755         * win32/mman.c:
9756         * win32/mman.h:
9757         * win32/mman.inl:
9758         * win32/msvc71.sln:
9759           move even more stuff, win32/ is nice and clean now
9760
9761 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
9762
9763         * libs/gst/control/.cvsignore:
9764         * win32/MANIFEST:
9765         * win32/config.h:
9766         * win32/dirent.c:
9767         * win32/dirent.h:
9768         * win32/gstbytestream.def:
9769         * win32/gstbytestream.vcproj:
9770         * win32/gstconfig.h:
9771         * win32/gstenumtypes.c:
9772         * win32/gstenumtypes.h:
9773         * win32/gstoptimalscheduler.vcproj:
9774         * win32/gstversion.h:
9775         * win32/gtchar.h:
9776         * win32/testsuite/bins.vcproj:
9777         * win32/testsuite/bytestream.vcproj:
9778         * win32/testsuite/caps.vcproj:
9779         * win32/testsuite/cleanup.vcproj:
9780         * win32/testsuite/clock.vcproj:
9781         * win32/testsuite/debug.vcproj:
9782         * win32/testsuite/dlopen.vcproj:
9783         * win32/testsuite/dynparams.vcproj:
9784         * win32/testsuite/elements.vcproj:
9785         * win32/testsuite/ghostpads.vcproj:
9786         * win32/testsuite/indexers.vcproj:
9787         * win32/testsuite/negotiation.vcproj:
9788         * win32/testsuite/parse.vcproj:
9789         * win32/testsuite/plugin.vcproj:
9790         * win32/testsuite/refcounting.vcproj:
9791         * win32/testsuite/schedulers.vcproj:
9792         * win32/testsuite/states.vcproj:
9793         * win32/testsuite/tags.vcproj:
9794         * win32/testsuite/threads.vcproj:
9795           remove old win32 stuff that isn't maintained and should be
9796           reorganized
9797
9798 2005-11-30  Andy Wingo  <wingo@pobox.com>
9799
9800         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
9801         loading the gst.interfaces python module bork.
9802
9803         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
9804         available since GLib 2.2. Fixes #318031.
9805
9806 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
9807
9808         * Makefile.am:
9809         * check/.cvsignore:
9810         * check/Makefile.am:
9811         * check/elements/.cvsignore:
9812         * check/elements/fakesrc.c:
9813         * check/elements/fdsrc.c:
9814         * check/elements/identity.c:
9815         * check/generic/.cvsignore:
9816         * check/generic/states.c:
9817         * check/gst-libs/.cvsignore:
9818         * check/gst-libs/controller.c:
9819         * check/gst-libs/gdp.c:
9820         * check/gst/.cvsignore:
9821         * check/gst/capslist.h:
9822         * check/gst/gst.c:
9823         * check/gst/gstbin.c:
9824         * check/gst/gstbuffer.c:
9825         * check/gst/gstbus.c:
9826         * check/gst/gstcaps.c:
9827         * check/gst/gstelement.c:
9828         * check/gst/gstevent.c:
9829         * check/gst/gstghostpad.c:
9830         * check/gst/gstiterator.c:
9831         * check/gst/gstmessage.c:
9832         * check/gst/gstminiobject.c:
9833         * check/gst/gstobject.c:
9834         * check/gst/gstpad.c:
9835         * check/gst/gstpipeline.c:
9836         * check/gst/gstplugin.c:
9837         * check/gst/gstsegment.c:
9838         * check/gst/gststructure.c:
9839         * check/gst/gstsystemclock.c:
9840         * check/gst/gsttag.c:
9841         * check/gst/gstutils.c:
9842         * check/gst/gstvalue.c:
9843         * check/net/.cvsignore:
9844         * check/net/gstnetclientclock.c:
9845         * check/net/gstnettimeprovider.c:
9846         * check/pipelines/.cvsignore:
9847         * check/pipelines/cleanup.c:
9848         * check/pipelines/simple_launch_lines.c:
9849         * check/pipelines/stress.c:
9850         * check/states/.cvsignore:
9851         * check/states/sinks.c:
9852         * configure.ac:
9853         * examples/Makefile.am:
9854         * examples/appreader/.cvsignore:
9855         * examples/appreader/Makefile.am:
9856         * examples/appreader/appreader.c:
9857         * examples/controller/.cvsignore:
9858         * examples/controller/Makefile.am:
9859         * examples/controller/audio-example.c:
9860         * examples/cutter/.cvsignore:
9861         * examples/cutter/Makefile.am:
9862         * examples/cutter/cutter.c:
9863         * examples/cutter/cutter.h:
9864         * examples/events/Makefile.am:
9865         * examples/events/seek.c:
9866         * examples/helloworld/.cvsignore:
9867         * examples/helloworld/Makefile.am:
9868         * examples/helloworld/helloworld.c:
9869         * examples/helloworld2/.cvsignore:
9870         * examples/helloworld2/Makefile.am:
9871         * examples/helloworld2/helloworld2.c:
9872         * examples/launch/.cvsignore:
9873         * examples/launch/Makefile.am:
9874         * examples/launch/mp3parselaunch.c:
9875         * examples/launch/mp3play:
9876         * examples/manual/.cvsignore:
9877         * examples/manual/Makefile.am:
9878         * examples/manual/extract.pl:
9879         * examples/metadata/Makefile.am:
9880         * examples/metadata/read-metadata.c:
9881         * examples/mixer/.cvsignore:
9882         * examples/mixer/Makefile.am:
9883         * examples/mixer/mixer.c:
9884         * examples/mixer/mixer.h:
9885         * examples/pingpong/.cvsignore:
9886         * examples/pingpong/Makefile.am:
9887         * examples/pingpong/pingpong.c:
9888         * examples/plugins/.cvsignore:
9889         * examples/plugins/Makefile.am:
9890         * examples/plugins/example.c:
9891         * examples/plugins/example.h:
9892         * examples/pwg/.cvsignore:
9893         * examples/pwg/Makefile.am:
9894         * examples/pwg/extract.pl:
9895         * examples/queue/.cvsignore:
9896         * examples/queue/Makefile.am:
9897         * examples/queue/queue.c:
9898         * examples/queue2/.cvsignore:
9899         * examples/queue2/Makefile.am:
9900         * examples/queue2/queue2.c:
9901         * examples/queue3/.cvsignore:
9902         * examples/queue3/Makefile.am:
9903         * examples/queue3/queue3.c:
9904         * examples/queue4/.cvsignore:
9905         * examples/queue4/Makefile.am:
9906         * examples/queue4/queue4.c:
9907         * examples/retag/.cvsignore:
9908         * examples/retag/Makefile.am:
9909         * examples/retag/retag.c:
9910         * examples/retag/transcode.c:
9911         * examples/thread/.cvsignore:
9912         * examples/thread/Makefile.am:
9913         * examples/thread/thread.c:
9914         * examples/typefind/.cvsignore:
9915         * examples/typefind/Makefile.am:
9916         * examples/typefind/typefind.c:
9917         * examples/xml/.cvsignore:
9918         * examples/xml/Makefile.am:
9919         * examples/xml/createxml.c:
9920         * examples/xml/runxml.c:
9921         * tests/Makefile.am:
9922         * tests/check/Makefile.am:
9923         * testsuite/.cvsignore:
9924         * testsuite/Makefile.am:
9925         * testsuite/Rules:
9926         * testsuite/caps/.cvsignore:
9927         * testsuite/caps/Makefile.am:
9928         * testsuite/caps/app_fixate.c:
9929         * testsuite/caps/audioscale.c:
9930         * testsuite/caps/caps.c:
9931         * testsuite/caps/caps.h:
9932         * testsuite/caps/caps_strings:
9933         * testsuite/caps/compatibility.c:
9934         * testsuite/caps/deserialize.c:
9935         * testsuite/caps/enumcaps.c:
9936         * testsuite/caps/eratosthenes.c:
9937         * testsuite/caps/filtercaps.c:
9938         * testsuite/caps/fixed.c:
9939         * testsuite/caps/fraction-convert.c:
9940         * testsuite/caps/fraction-multiply-and-zero.c:
9941         * testsuite/caps/intersect2.c:
9942         * testsuite/caps/intersection.c:
9943         * testsuite/caps/normalisation.c:
9944         * testsuite/caps/random.c:
9945         * testsuite/caps/renegotiate.c:
9946         * testsuite/caps/sets.c:
9947         * testsuite/caps/simplify.c:
9948         * testsuite/caps/string-conversions.c:
9949         * testsuite/caps/structure.c:
9950         * testsuite/caps/subtract.c:
9951         * testsuite/caps/union.c:
9952         * testsuite/debug/.cvsignore:
9953         * testsuite/debug/Makefile.am:
9954         * testsuite/debug/category.c:
9955         * testsuite/debug/commandline.c:
9956         * testsuite/debug/global.c:
9957         * testsuite/debug/output.c:
9958         * testsuite/debug/printf_extension.c:
9959         * testsuite/dlopen/.cvsignore:
9960         * testsuite/dlopen/Makefile.am:
9961         * testsuite/dlopen/dlopen_gst.c:
9962         * testsuite/dlopen/loadgst.c:
9963         * testsuite/elements/.cvsignore:
9964         * testsuite/elements/Makefile.am:
9965         * testsuite/elements/gst-inspect-check.in:
9966         * testsuite/elements/struct_i386.h:
9967         * testsuite/elements/struct_size.c:
9968         * testsuite/indexers/.cvsignore:
9969         * testsuite/indexers/Makefile.am:
9970         * testsuite/indexers/cache1.c:
9971         * testsuite/indexers/indexdump.c:
9972         * testsuite/parse/.cvsignore:
9973         * testsuite/parse/Makefile.am:
9974         * testsuite/parse/parse1.c:
9975         * testsuite/parse/parse2.c:
9976         * testsuite/plugin/.cvsignore:
9977         * testsuite/plugin/Makefile.am:
9978         * testsuite/plugin/README:
9979         * testsuite/plugin/dynamic.c:
9980         * testsuite/plugin/linked.c:
9981         * testsuite/plugin/loading.c:
9982         * testsuite/plugin/registry.c:
9983         * testsuite/plugin/static.c:
9984         * testsuite/plugin/static2.c:
9985         * testsuite/plugin/testplugin.c:
9986         * testsuite/plugin/testplugin2.c:
9987         * testsuite/plugin/testplugin2_s.c:
9988         * testsuite/plugin/testplugin_s.c:
9989         * testsuite/refcounting/.cvsignore:
9990         * testsuite/refcounting/Makefile.am:
9991         * testsuite/refcounting/bin.c:
9992         * testsuite/refcounting/element.c:
9993         * testsuite/refcounting/element_pad.c:
9994         * testsuite/refcounting/mainloop.c:
9995         * testsuite/refcounting/mem.c:
9996         * testsuite/refcounting/mem.h:
9997         * testsuite/refcounting/object.c:
9998         * testsuite/refcounting/pad.c:
9999         * testsuite/refcounting/sched.c:
10000         * testsuite/refcounting/thread.c:
10001         * testsuite/states/.cvsignore:
10002         * testsuite/states/Makefile.am:
10003         * testsuite/states/bin.c:
10004         * testsuite/states/locked.c:
10005         * testsuite/states/parent.c:
10006         * testsuite/threads/.cvsignore:
10007         * testsuite/threads/159566.c:
10008         * testsuite/threads/159852.c:
10009         * testsuite/threads/Makefile.am:
10010         * testsuite/threads/queue.c:
10011         * testsuite/threads/signals.c:
10012         * testsuite/threads/staticrec.c:
10013         * testsuite/threads/thread.c:
10014         * testsuite/threads/threadb.c:
10015         * testsuite/threads/threadc.c:
10016         * testsuite/threads/threadd.c:
10017         * testsuite/threads/threade.c:
10018         * testsuite/threads/threadf.c:
10019         * testsuite/threads/threadg.c:
10020         * testsuite/threads/threadh.c:
10021         * testsuite/threads/threadi.c:
10022           move all of these under tests
10023
10024 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10025
10026         * configure.ac:
10027         * tests/Makefile.am:
10028           fix distcheck
10029
10030 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10031
10032         * docs/gst/gstreamer-sections.txt:
10033         * tests/sched/.cvsignore:
10034         * tests/sched/Makefile.am:
10035         * tests/sched/cases/(fs-fs).xml:
10036         * tests/sched/cases/(fs-i-fs).xml:
10037         * tests/sched/cases/(fs-i-i-fs).xml:
10038         * tests/sched/cases/(fs-i-q[i-fs]).xml:
10039         * tests/sched/dynamic-pipeline.c:
10040         * tests/sched/interrupt1.c:
10041         * tests/sched/interrupt2.c:
10042         * tests/sched/interrupt3.c:
10043         * tests/sched/runtestcases:
10044         * tests/sched/runxml.c:
10045         * tests/sched/sched-stress.c:
10046         * tests/sched/sort.c:
10047         * tests/sched/testcases:
10048         * tests/sched/testcases1.tc:
10049         * tests/seeking/.cvsignore:
10050         * tests/seeking/Makefile.am:
10051         * tests/seeking/seeking1.c:
10052         * tests/threadstate/.cvsignore:
10053         * tests/threadstate/Makefile.am:
10054         * tests/threadstate/test1.c:
10055         * tests/threadstate/test2.c:
10056         * tests/threadstate/threadstate1.c:
10057         * tests/threadstate/threadstate2.c:
10058         * tests/threadstate/threadstate3.c:
10059         * tests/threadstate/threadstate4.c:
10060         * tests/threadstate/threadstate5.c:
10061           remove obsolete tests
10062         * configure.ac:
10063         * tests/bench-complexity.scm:
10064         * tests/bench-mass_elements.scm:
10065         * tests/complexity.c:
10066         * tests/complexity.gnuplot:
10067         * tests/instantiate/.cvsignore:
10068         * tests/instantiate/Makefile.am:
10069         * tests/instantiate/caps.c:
10070         * tests/mass_elements.c:
10071         * tests/network-clock-utils.scm:
10072         * tests/network-clock.scm:
10073         * tests/plot-data:
10074         First pass at cleaning up tests/ dir before moving the rest
10075         Combined with CVS surgery
10076
10077 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10078
10079         * po/POTFILES.in:
10080           queue has moved, update
10081
10082 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10083
10084         * docs/gst/gstreamer-sections.txt:
10085           remove double entries from the docs
10086         * gst/gst_private.h:
10087         * gst/gstinfo.c: (_gst_debug_init):
10088           remove the THREAD debug category
10089         * gst/Makefile.am:
10090         * gst/gstqueue.c:
10091         * gst/gstqueue.h:
10092         * docs/gst/gstreamer.types:
10093         * plugins/elements/gstqueue.c: (gst_queue_get_type),
10094         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
10095           completely move queue and fix up debugging categories
10096
10097 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10098
10099         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10100           make initialization portable, using LL is not
10101
10102 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10103
10104         * win32/common/gstconfig.h:
10105           add large padding
10106
10107 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10108
10109         * win32/common/libgstreamer.def:
10110           rename symbols; sort base section
10111
10112 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10113
10114         * gst/gstclock.c: (do_linear_regression):
10115           remove crack non-portable handrolled DEBUG macro
10116
10117 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10118
10119         * docs/random/release:
10120           update notes
10121         * win32/common/gstenumtypes.c: (register_gst_object_flags),
10122         (gst_object_flags_get_type), (register_gst_bin_flags),
10123         (gst_bin_flags_get_type), (register_gst_buffer_flag),
10124         (gst_buffer_flag_get_type), (register_gst_bus_flags),
10125         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10126         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
10127         (gst_caps_flags_get_type), (register_gst_clock_return),
10128         (gst_clock_return_get_type), (register_gst_clock_entry_type),
10129         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10130         (gst_clock_flags_get_type), (register_gst_state),
10131         (gst_state_get_type), (register_gst_state_change_return),
10132         (gst_state_change_return_get_type), (register_gst_state_change),
10133         (gst_state_change_get_type), (register_gst_element_flags),
10134         (gst_element_flags_get_type), (register_gst_core_error),
10135         (gst_core_error_get_type), (register_gst_library_error),
10136         (gst_library_error_get_type), (register_gst_resource_error),
10137         (gst_resource_error_get_type), (register_gst_stream_error),
10138         (gst_stream_error_get_type), (register_gst_event_type_flags),
10139         (gst_event_type_flags_get_type), (register_gst_event_type),
10140         (gst_event_type_get_type), (register_gst_seek_type),
10141         (gst_seek_type_get_type), (register_gst_seek_flags),
10142         (gst_seek_flags_get_type), (register_gst_format),
10143         (gst_format_get_type), (register_gst_index_certainty),
10144         (gst_index_certainty_get_type), (register_gst_index_entry_type),
10145         (gst_index_entry_type_get_type),
10146         (register_gst_index_lookup_method),
10147         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10148         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10149         (gst_index_resolver_method_get_type), (register_gst_index_flags),
10150         (gst_index_flags_get_type), (register_gst_debug_level),
10151         (gst_debug_level_get_type), (register_gst_debug_color_flags),
10152         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10153         (gst_iterator_result_get_type), (register_gst_iterator_item),
10154         (gst_iterator_item_get_type), (register_gst_message_type),
10155         (gst_message_type_get_type), (register_gst_mini_object_flags),
10156         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10157         (gst_pad_link_return_get_type), (register_gst_flow_return),
10158         (gst_flow_return_get_type), (register_gst_activate_mode),
10159         (gst_activate_mode_get_type), (register_gst_pad_direction),
10160         (gst_pad_direction_get_type), (register_gst_pad_flags),
10161         (gst_pad_flags_get_type), (register_gst_pad_presence),
10162         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10163         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10164         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10165         (gst_plugin_error_get_type), (register_gst_plugin_flags),
10166         (gst_plugin_flags_get_type), (register_gst_rank),
10167         (gst_rank_get_type), (register_gst_query_type),
10168         (gst_query_type_get_type), (register_gst_tag_merge_mode),
10169         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10170         (gst_tag_flag_get_type), (register_gst_task_state),
10171         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10172         (gst_alloc_trace_flags_get_type),
10173         (register_gst_type_find_probability),
10174         (gst_type_find_probability_get_type), (register_gst_uri_type),
10175         (gst_uri_type_get_type), (register_gst_parse_error),
10176         (gst_parse_error_get_type):
10177         * win32/common/gstenumtypes.h:
10178         * win32/common/gstversion.h:
10179           update visual studio generated files
10180
10181 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10182
10183         * win32/vs6/libgstbase.dsp:
10184         * win32/vs6/libgstelements.dsp:
10185           update project files for new locations
10186
10187 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
10188
10189         * Makefile.am:
10190           remove some files
10191         * README:
10192           reinstate and update
10193         * DEVEL:
10194         * REQUIREMENTS:
10195           removed
10196         * LICENSE:
10197         * docs/random/LICENSE:
10198           moved to random
10199
10200 2005-11-30  Edward Hervey  <edward@fluendo.com>
10201
10202         * gst/gsttypefind.c: (gst_type_find_register):
10203         * gst/gsttypefind.h:
10204         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
10205         (gst_type_find_factory_dispose):
10206         * gst/gsttypefindfactory.h:
10207         Fix memory leak in GstTypeFindFactory.
10208
10209 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10210
10211         * gst/gst.c:
10212         * plugins/elements/Makefile.am:
10213         * plugins/elements/gstelements.c:
10214         * plugins/elements/gstqueue.c:
10215           move queue from core to the elements plugin
10216
10217 2005-11-29  Andy Wingo  <wingo@pobox.com>
10218
10219         * libs/gst/base/gstbasetransform.h: 
10220         * libs/gst/base/gstbasesrc.h: 
10221         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
10222
10223         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
10224         of pointers by which to pad very extensible base classes (like the
10225         ones in libs/gst/base).
10226
10227 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10228
10229         * docs/gst/gstreamer-docs.sgml:
10230         * docs/gst/gstreamer-sections.txt:
10231         * docs/libs/gstreamer-libs-docs.sgml:
10232         * docs/libs/gstreamer-libs-sections.txt:
10233           moving documentation from core to lib
10234
10235 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10236
10237         * check/Makefile.am:
10238         * configure.ac:
10239         * docs/gst/Makefile.am:
10240         * gst/Makefile.am:
10241         * gst/base/.cvsignore:
10242         * gst/base/Makefile.am:
10243         * gst/base/README:
10244         * gst/base/gstadapter.c:
10245         * gst/base/gstadapter.h:
10246         * gst/base/gstbasesink.c:
10247         * gst/base/gstbasesink.h:
10248         * gst/base/gstbasesrc.c:
10249         * gst/base/gstbasesrc.h:
10250         * gst/base/gstbasetransform.c:
10251         * gst/base/gstbasetransform.h:
10252         * gst/base/gstcollectpads.c:
10253         * gst/base/gstcollectpads.h:
10254         * gst/base/gstpushsrc.c:
10255         * gst/base/gstpushsrc.h:
10256         * gst/base/gsttypefindhelper.c:
10257         * gst/base/gsttypefindhelper.h:
10258         * gst/check/Makefile.am:
10259         * gst/check/gstcheck.c:
10260         * gst/check/gstcheck.h:
10261         * gst/net/Makefile.am:
10262         * gst/net/gstnet.h:
10263         * gst/net/gstnetclientclock.c:
10264         * gst/net/gstnetclientclock.h:
10265         * gst/net/gstnettimepacket.c:
10266         * gst/net/gstnettimepacket.h:
10267         * gst/net/gstnettimeprovider.c:
10268         * gst/net/gstnettimeprovider.h:
10269         * libs/gst/Makefile.am:
10270         * libs/gst/base/Makefile.am:
10271         * libs/gst/base/gstbasetransform.c:
10272         * libs/gst/check/Makefile.am:
10273         * plugins/elements/Makefile.am:
10274         * po/POTFILES.in:
10275           CVS surgery + support to move base, check, and net out of gst
10276           and into libs/gst
10277
10278 2005-11-29  Andy Wingo  <wingo@pobox.com>
10279
10280         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
10281
10282         * gst/gststructure.h (struct _GstStructure): Only one pointer of
10283         padding.
10284
10285         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
10286
10287         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
10288
10289         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
10290
10291         * gst/gstobject.h: (struct _GstObject): Only one pointer of
10292         padding; reduces object size by about 30%. We don't expect
10293         anything else to go into gstobject.
10294
10295         * gst/gstminiobject.h (struct _GstMiniObject)
10296         (struct _GstMiniObjectClass): Only one pointer of padding; the
10297         payload is only a pointer and two ints anyway. For the class there
10298         are only two methods as well.
10299         
10300         * gst/gstelement.h (struct _GstElementClass): Removed
10301         the state_changed signal callback, it is not used.
10302
10303 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10304
10305         * docs/gst/gstreamer.types:
10306           fix includes, though they are a little dinky
10307
10308 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10309
10310         * check/Makefile.am:
10311           look in the right place for elements, a lot more chance of
10312           success
10313         * gst/Makefile.am:
10314           remove indexers and elements subdirs
10315         * plugins/Makefile.am:
10316           make indexers conditional
10317
10318 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10319
10320         * Makefile.am:
10321         * configure.ac:
10322         * plugins/elements/Makefile.am:
10323         * plugins/elements/gstcapsfilter.c:
10324         * plugins/elements/gstfilesink.c:
10325         * plugins/elements/gstfilesrc.c:
10326         * plugins/elements/gstidentity.c:
10327         * plugins/indexers/Makefile.am:
10328           do CVS surgery and related build fixery to move elements
10329           and indexers in a new gstreamer/plugins directory, out of the
10330           gst/ directory
10331
10332 2005-11-29  Andy Wingo  <wingo@pobox.com>
10333
10334         * check/Makefile.am:
10335         * pkgconfig/gstreamer-net-uninstalled.pc.in:
10336         * pkgconfig/gstreamer-net.pc.in:
10337         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
10338         #322257.
10339
10340 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10341
10342         * tools/Makefile.am:
10343         * tools/gst-complete.1.in:
10344         * tools/gst-complete.c:
10345         * tools/gst-compprep.1.in:
10346         * tools/gst-compprep.c:
10347           removing -compprep and -complete
10348
10349 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10350
10351         * gst/gstevent.c: (gst_event_new_new_segment),
10352         (gst_event_parse_new_segment):
10353         * gst/gstevent.h:
10354           fix #320529 - clean up new_segment API and structure.
10355           Let's hope everyone was using the methods, and not the structure.
10356
10357 2005-11-29  Edward Hervey  <edward@fluendo.com>
10358
10359         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10360         (gst_base_sink_event), (gst_base_sink_do_sync),
10361         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
10362         Properly handle non GST_FORMAT_TIME segment
10363         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
10364         Properly handle non GST_FORMAT_TIME segment
10365         * gst/gstsegment.c:
10366         This function is valid if the accumulator is 0 and the format
10367         is different from the requested format.
10368         
10369 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
10370
10371         * docs/gst/gstreamer-sections.txt:
10372         Add gst_query_new_seeking and gst_query_parse_seeking to the
10373         docs.
10374
10375 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
10376
10377         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
10378           Treat a pad alloc with new caps the same as if we were not
10379           negotiated, in order to allow a changing upstream output
10380           to produce a new format of data.
10381
10382 2005-11-29  Edward Hervey  <edward@fluendo.com>
10383
10384         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10385         (gst_base_transform_event), (gst_base_transform_eventfunc):
10386         The event virtual method is now properly implemented, with a default
10387         handler
10388         Sub classes should call the parent_class event method. They should
10389         return FALSE if they had a problem handling the given event, or don't
10390         want GstBaseTransform to send that even downstream
10391         * gst/elements/gstidentity.c: (gst_identity_class_init),
10392         (gst_identity_init), (gst_identity_event),
10393         (gst_identity_transform_ip), (gst_identity_set_property),
10394         (gst_identity_get_property):
10395         * gst/elements/gstidentity.h:
10396         Added the single-segment boolean property.
10397         If set to TRUE, it will output a single segment of data, starting from
10398         0, will eat up all incoming newsegment, and modify the timestamp of the
10399         buffers accordingly
10400
10401 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
10402
10403         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
10404           Don't ref NULL target pad (#322751). Improve docs.
10405
10406 2005-11-29  Michael Smith  <msmith@fluendo.com>
10407
10408         * gst/gstregistryxml.c: (load_plugin):
10409           Don't crash if we failed to load a feature from a plugin. 
10410
10411 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10412
10413         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10414         (GST_START_TEST):
10415           use more check API and less GLib API
10416
10417 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10418
10419         * Makefile.am:
10420           don't run checks if we don't have check
10421         * common/check.mak:
10422           remove the registry when running make torture
10423         * docs/gst/gstreamer-sections.txt:
10424           remove second multiply
10425         * gst/gstqueue.c: (gst_queue_loop):
10426           fix a compile warning when disabling debug
10427
10428 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10429
10430         * gst/gstinfo.h:
10431         Hey! Let's print the pad name if the pointer != NULL instead
10432         of when it == NULL :-)
10433
10434 2005-11-28  Wim Taymans  <wim@fluendo.com>
10435
10436         * check/gst/gstutils.c: (GST_START_TEST):
10437         Updated check, add some scaling accuracy checking code.
10438
10439         * gst/gstutils.c: (gst_util_div128_64),
10440         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
10441         (gst_util_uint64_scale_int):
10442         Fix 6 times faster division code. Optimize for common 
10443         1/1 and less common X/1 cases.
10444
10445 2005-11-28  Wim Taymans  <wim@fluendo.com>
10446
10447         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10448         More checks.
10449
10450         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
10451         (do_linear_regression), (gst_clock_add_observation):
10452         Cleanups.
10453         Release lock when the clock cannot be slaved.
10454         Catch the case where the regression returned an invalid denominator.
10455
10456         * gst/gstutils.c: (gst_util_div128_64_iterate),
10457         (gst_util_div128_64), (gst_util_uint64_scale_int64),
10458         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10459         Add protentially more performant non-iterative 128/64 divide function
10460         that unfortunatly does not work yet.
10461         Shortcut the trivial 0/X = 0 case.
10462         Remove the warnings on overflow.
10463
10464 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10465
10466         * gst/gstplugin.c: (gst_plugin_register_func):
10467           everything causing a plugin not to load should be at least a WARNING
10468
10469 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
10470
10471         * docs/random/ensonic/dparams.txt:
10472           some TODOs for the next dev cycle
10473         * libs/gst/controller/gstcontroller.c:
10474         (gst_controlled_property_set_interpolation_mode),
10475         (gst_controlled_property_new):
10476         * libs/gst/controller/gstcontroller.h:
10477           use base type to assign acccessor functions
10478
10479 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10480
10481         * check/Makefile.am:
10482         Oops, that should have been top_srcdir
10483
10484 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
10485
10486         * check/Makefile.am:
10487         * check/elements/fdsrc.c: (GST_START_TEST):
10488         Use a cmdline define to specify the location of a file to use for
10489         testing, to avoid breaking distcheck.
10490
10491 2005-11-28  Andy Wingo  <wingo@pobox.com>
10492
10493         * gst/gstpad.c (fixate_value): Use array functions for arrays.
10494
10495 2005-11-28  Edward Hervey  <edward@fluendo.com>
10496
10497         * tools/gst-launch.c: (main):
10498         Clarify the output strings, makes it easier to translate.
10499         Fixes #322626
10500
10501 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10502
10503         * gst/Makefile.am:
10504           don't try and build net if we don't even have <sys/socket.h>
10505
10506 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
10507
10508         * check/Makefile.am:
10509         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
10510         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
10511           Add tests for fdsrc seekability
10512
10513         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10514         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
10515         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
10516         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
10517         * gst/elements/gstfdsrc.h:
10518           fdsrc should not be a 'live' source.
10519           Implement seeking on seekable fd's.
10520
10521         * gst/gstquery.c: (gst_query_new_seeking),
10522         (gst_query_parse_seeking):
10523         * gst/gstquery.h:
10524           Implement SEEKING query functions: 
10525             *_new_seeking and *_parse_seeking
10526
10527 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
10528
10529         * gst/gstelement.c: (gst_element_dispose):
10530           don't loop forever
10531
10532         * gst/gstiterator.c:
10533         * gst/gststructure.c:
10534           doc fixes
10535
10536         * libs/gst/controller/gstcontroller.c:
10537         (gst_controlled_property_set_interpolation_mode):
10538         * libs/gst/controller/gstcontroller.h:
10539         * libs/gst/controller/gstinterpolation.c:
10540         (interpolate_none_get_enum_value_array):
10541           support controlling enums
10542
10543 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
10544
10545         * gst/gstvalue.c:
10546           Improve documentation for gst_value_union().
10547
10548         * gst/gstvalue.h:
10549           Change return value for union, intersect and subtract functions
10550           from gint to gboolean.
10551
10552 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
10553
10554         * gst/gstvalue.c: (gst_value_serialize_any_list),
10555         (gst_value_transform_any_list_string),
10556         (gst_value_deserialize_list), (gst_value_deserialize_array),
10557         (gst_value_set_int_range), (gst_value_deserialize_int_range),
10558         (gst_value_set_double_range), (gst_value_deserialize_double_range),
10559         (gst_value_set_fraction_range_full),
10560         (gst_value_deserialize_fraction_range),
10561         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
10562         (gst_value_deserialize_boolean),
10563         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
10564         (gst_value_serialize_float), (gst_value_deserialize_float),
10565         (gst_string_wrap), (gst_value_deserialize_string),
10566         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
10567         (gst_value_union_int_range_int_range),
10568         (gst_value_intersect_int_range_int_range),
10569         (gst_value_intersect_double_range_double_range),
10570         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
10571         (gst_value_subtract_int_range_int_range),
10572         (gst_value_subtract_double_double_range),
10573         (gst_value_subtract_double_range_double_range),
10574         (gst_value_deserialize_fraction):
10575         * gst/gstvalue.h:
10576           Use gint, gdouble and gchar in our API instead of int, double and
10577           char (and make usage in gstvalue.c more consistent).
10578
10579 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10580
10581         * check/Makefile.am:
10582         * libs/gst/controller/Makefile.am:
10583         * libs/gst/dataprotocol/Makefile.am:
10584           fix up Makefile.am and remove GST_ENABLE_NEW
10585
10586 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10587
10588         * configure.ac:
10589         * gst/Makefile.am:
10590         * gst/base/Makefile.am:
10591         * gst/check/Makefile.am:
10592         * gst/elements/Makefile.am:
10593         * gst/net/Makefile.am:
10594           update LDFLAGS use some more
10595
10596 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10597
10598         * common/m4/gst-doc.m4:
10599           Fixes #312589
10600
10601 2005-11-26  Edward Hervey  <edward@fluendo.com>
10602
10603         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10604         This shouldn't issue a g_warning since it returns NULL if it
10605         couldn't find the plugin, and all functions using this behave
10606         properly on a NULL return. Switching to a GST_WARNING.
10607
10608 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
10609
10610         * gst/gstbin.c: (gst_bin_handle_message_func):
10611         Don't leak clock messages.
10612
10613 2005-11-25  Wim Taymans  <wim@fluendo.com>
10614
10615         * gst/gstutils.c: (gst_util_uint64_scale_int64),
10616         (gst_util_uint64_scale_int):
10617         Optimisations, remove unneeded vars.
10618
10619 2005-11-25  Wim Taymans  <wim@fluendo.com>
10620
10621         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10622         Added more checks for the high precision uint64 cases.
10623
10624         * gst/gstutils.c: (gst_util_uint64_scale_int64),
10625         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10626         Implement high precision (guint64 * guint64) / guint64.
10627
10628 2005-11-24  Wim Taymans  <wim@fluendo.com>
10629
10630         * gst/base/gstbasesrc.c: (gst_base_src_query):
10631         Fix wrong percentage query.
10632
10633         * gst/gstutils.c: (gst_util_uint64_scale),
10634         (gst_util_uint64_scale_int):
10635         Add some more common cases that can be handled 
10636         efficiently to _scale.
10637
10638 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10639
10640         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
10641         (gst_mini_object_suite):
10642           don't use check calls from threads; check probably isn't
10643           threadsafe and using a lock to make it threadsafe would
10644           defeat the purpose of this check
10645         * gst/check/gstcheck.c:
10646         * gst/check/gstcheck.h:
10647           use GST_DEBUG some more
10648
10649 2005-11-24  Wim Taymans  <wim@fluendo.com>
10650
10651         * gst/gstutils.c: (gst_util_uint64_scale),
10652         (gst_util_uint64_scale_int):
10653         Chain trivial case to _scale_int.
10654
10655 2005-11-24  Wim Taymans  <wim@fluendo.com>
10656
10657         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10658         Added test for scaling.
10659
10660         * gst/gstclock.h:
10661         Small doc fix.
10662
10663         * gst/gstutils.c: (gst_util_uint64_scale_int):
10664         Implemented high precision scaling code.
10665
10666 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
10667
10668         * gst/gstinfo.h:
10669           do not crash on pad==NULL
10670
10671 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10672
10673         Patch by: Stefan Kost
10674
10675         * common/gtk-doc.mak:
10676         * docs/gst/Makefile.am:
10677         * docs/libs/Makefile.am:
10678           Fix distcheck issues for the libraries docs build
10679           Closes #319599.
10680
10681 2005-11-24  Michael Smith <msmith@fluendo.com>
10682
10683         * docs/manual/basics-helloworld.xml:
10684           Fix bug #315027: memory leak in example code in docs.
10685
10686 2005-11-24  Michael Smith <msmith@fluendo.com>
10687
10688         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10689           Unlock the PREROLL_LOCK in a failure case.
10690
10691 2005-11-24  Wim Taymans  <wim@fluendo.com>
10692
10693         * docs/gst/gstreamer-sections.txt:
10694         * gst/base/gstadapter.h:
10695         * gst/base/gstbasesink.h:
10696         * gst/base/gstbasesrc.h:
10697         * gst/base/gstbasetransform.h:
10698         * gst/base/gstpushsrc.h:
10699         * gst/elements/gstfakesink.h:
10700         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
10701         * gst/elements/gstfakesrc.h:
10702         * gst/elements/gstfilesink.h:
10703         * gst/elements/gstfilesrc.h:
10704         * gst/gst.c:
10705         * gst/gstbin.c:
10706         * gst/gstbuffer.c: (_gst_buffer_copy):
10707         * gst/gstbus.h:
10708         * gst/gstcaps.c:
10709         * gst/gstchildproxy.c:
10710         * gst/gstclock.c:
10711         * gst/gstelement.c:
10712         * gst/gstelementfactory.c:
10713         * gst/gstelementfactory.h:
10714         * gst/gstevent.c:
10715         * gst/gstghostpad.h:
10716         * gst/gstindex.h:
10717         * gst/gstinterface.h:
10718         * gst/gstminiobject.c:
10719         * gst/gstminiobject.h:
10720         * gst/gstpad.c:
10721         * gst/gstpad.h:
10722         * gst/gstpadtemplate.h:
10723         * gst/gstpipeline.h:
10724         * gst/gstpluginfeature.h:
10725         * gst/gstquery.h:
10726         * gst/gstqueue.h:
10727         * gst/gsttaglist.c:
10728         * gst/gsttaglist.h:
10729         * gst/gsttagsetter.c:
10730         * gst/gsttagsetter.h:
10731         * gst/gsttrace.c:
10732         * gst/gsttrace.h:
10733         * gst/gsttypefind.h:
10734         * gst/gsturi.h:
10735         * gst/gstvalue.c:
10736         * gst/net/gstnetclientclock.c:
10737         * gst/net/gstnetclientclock.h:
10738         * gst/net/gstnettimepacket.c:
10739         * gst/net/gstnettimeprovider.c:
10740         * gst/net/gstnettimeprovider.h:
10741         Doc fixes.
10742
10743 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10744
10745         * configure.ac: back to HEAD
10746
10747 === release 0.9.6 ===
10748
10749 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
10750
10751         * configure.ac:
10752           releasing 0.9.6, "Always On Time"
10753
10754 2005-11-23  Wim Taymans  <wim@fluendo.com>
10755
10756         * docs/gst/gstreamer-sections.txt:
10757         * gst/glib-compat.c:
10758         * gst/gsttagsetter.c:
10759         * gst/gstvalue.c:
10760         * gst/net/gstnetclientclock.c:
10761         * gst/net/gstnettimepacket.h:
10762         Doc updates.
10763
10764 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10765
10766         * docs/faq/using.xml:
10767         * docs/libs/tmpl/gstcontrol.sgml:
10768         * docs/manual/advanced-dparams.xml:
10769         * docs/manual/appendix-checklist.xml:
10770         * docs/manual/basics-elements.xml:
10771         * docs/pwg/other-source.xml:
10772         * docs/random/moving-plugins:
10773         * gst/gstpad.c:
10774         * tools/gst-launch.1.in:
10775           remove mentions of sinesrc
10776
10777 2005-11-23  Michael Smith <msmith@fluendo.com>
10778
10779         * docs/gst/gstreamer-sections.txt:
10780           Update for new API and API changes.
10781         * gst/gstobject.h:
10782           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
10783         * gst/gstvalue.c:
10784           Documentation typo fix.
10785         * gst/net/gstnettimepacket.c:
10786           Documentation fixes for arguments.
10787
10788 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
10789
10790         * gst/gststructure.c: (gst_structure_get_fraction),
10791         (gst_structure_parse_value),
10792         (gst_structure_fixate_field_nearest_fraction):
10793         * gst/gststructure.h:
10794         * gst/gstutils.c: (gst_util_uint64_scale_int):
10795         * gst/gstutils.h:
10796         * scripts/update-funcnames:
10797         API Changes. 
10798         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
10799         Make gst_structure_fixate_field_nearest_fraction take a numerator
10800         and denominator argument instead of a GValue
10801         add gst_structure_get_fraction helper function.
10802
10803 2005-11-23  Wim Taymans  <wim@fluendo.com>
10804
10805         * docs/design/part-TODO.txt:
10806         Update TODO.
10807
10808         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10809         * gst/net/gstnetclientclock.h:
10810         Use parent fields for timeout and window_size.
10811
10812 2005-11-23  Andy Wingo  <wingo@pobox.com>
10813
10814         * check/net/gstnetclientclock.c (test_functioning): Adjust to
10815         rate_num/rate_denom change.
10816
10817         * gst/net/gstnetclientclock.c
10818         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
10819         OBJECT_LOCK. Don't call add_observation with the lock.
10820
10821         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
10822         fraction.
10823         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
10824         rate fraction.
10825         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
10826         deal with rate as a fraction whose numerator and denominator are
10827         GstClockTime values.
10828         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
10829         master; the other fields are protected by the SLAVE_LOCK.
10830         (do_linear_regression): Note that this must be called with the
10831         SLAVE_LOCK.
10832         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
10833         OBJECT_LOCK. Call set_calibration instead of touching the
10834         variables directly.
10835         (gst_clock_set_property, gst_clock_get_property): Protect
10836         master/slave parameters with the SLAVE_LOCK.
10837
10838         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
10839         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
10840         note that all of the instance variables that add_observation and
10841         the set_master functions use are protected by that lock and not
10842         the OBJECT_LOCK.
10843         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
10844
10845         * gst/gstclock.c (gst_clock_add_observation): No longer requires
10846         the caller to take the object lock.
10847
10848 2005-11-23  Wim Taymans  <wim@fluendo.com>
10849
10850         * gst/gsterror.c: (_gst_core_errors_init):
10851         * gst/gsterror.h:
10852         Add error for clock stuff.
10853
10854         * gst/gstpipeline.c: (gst_pipeline_change_state),
10855         (gst_pipeline_set_clock):
10856         Post clock error when clock cannot be used in a pipeline.
10857
10858 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
10859
10860         * docs/gst/gstreamer-sections.txt:
10861           make two symbols from gstinfo private for the docs
10862         * gst/base/gstcollectpads.h:
10863         * gst/gstutils.c:
10864           fix doc typos, update docs
10865
10866 2005-11-22  Wim Taymans  <wim@fluendo.com>
10867
10868         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10869         (gst_base_sink_wait), (gst_base_sink_do_sync),
10870         (gst_base_sink_handle_event):
10871         * gst/base/gstbasesink.h:
10872         No need to store the clock, the parent element class already
10873         has it.
10874
10875         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
10876         Updates for clock_set returning a gboolean
10877
10878         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
10879         (gst_clock_id_wait_async), (gst_clock_class_init),
10880         (gst_clock_init), (gst_clock_finalize),
10881         (gst_clock_get_internal_time), (gst_clock_get_time),
10882         (gst_clock_slave_callback), (gst_clock_set_master),
10883         (gst_clock_get_master), (do_linear_regression),
10884         (gst_clock_add_observation), (gst_clock_set_property),
10885         (gst_clock_get_property):
10886         * gst/gstclock.h:
10887         Implement master/slave. When setting a clock as a slave, a
10888         periodic timeout is scheduled to sample master and slave times.
10889         Then the slave clock is recalibrated to match offset and rate
10890         of the master clock.
10891         Update logging a bit.
10892         Add flag so that a clock can state that is cannot be slaved to
10893         another clock.
10894
10895         * gst/gstelement.c: (gst_element_set_clock):
10896         * gst/gstelement.h:
10897         The set clock returns a gboolean for when an element cannot
10898         deal with the selected clock in the pipeline. 
10899
10900         * gst/gstpipeline.c: (gst_pipeline_change_state),
10901         (gst_pipeline_set_clock):
10902         * gst/gstpipeline.h:
10903         Handle the case where the selected clock cannot be set on
10904         the pipeline.
10905
10906         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
10907         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10908         (gst_net_client_clock_set_property),
10909         (gst_net_client_clock_get_property),
10910         (gst_net_client_clock_observe_times):
10911         * gst/net/gstnetclientclock.h:
10912         Use regression code in GstClock parent, remove duplicated
10913         functionality.
10914
10915 2005-11-22  Michael Smith <msmith@fluendo.com>
10916
10917         * gst/gstutils.c: (gst_util_clock_time_scale):
10918         * gst/gstutils.h:
10919         * docs/gst/gstreamer-sections.txt:
10920           Rename method to have extra underscore.
10921
10922 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10923
10924         * gst/elements/Makefile.am:
10925         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
10926         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
10927         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
10928         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
10929         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
10930         * gst/elements/gstfakesrc.h:
10931         * gst/gstqueue.c: (queue_leaky_get_type):
10932           correctly fix GEnumValues so that nick is the short lowercase
10933           dashed tag
10934         * tools/gst-inspect.c: (print_element_properties_info):
10935           also show the nick, since it's useful to use from parse_launch
10936           syntax
10937           Fixes #322139
10938
10939 2005-11-22  Michael Smith <msmith@fluendo.com>
10940
10941         * gst/gstutils.c: (gst_util_clocktime_scale):
10942         * gst/gstutils.h:
10943         * docs/gst/gstreamer-sections.txt:
10944           Add util method for scaling a clocktime by a fraction. Useful 
10945           implementation is left as an exercise for the reader.
10946
10947 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
10948
10949         * gst/gstvalue.c: (gst_value_collect_fraction_range):
10950         If needed, allocate storage in the destination value during
10951         collection.
10952
10953 2005-11-22  Edward Hervey  <edward@fluendo.com>
10954
10955         * docs/gst/gstreamer-sections.txt:
10956         * gst/Makefile.am:
10957         * gst/gst.h:
10958         * gst/gsturitype.c:
10959         * gst/gsturitype.h:
10960         * gst/gstutils.c: (gst_util_set_object_arg):
10961         * tools/gst-compprep.c: (main):
10962         * tools/gst-inspect.c: (print_element_properties_info):
10963         Removed GstURI, closes bug #321061
10964
10965 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
10966
10967         * check/gst/gststructure.c: (GST_START_TEST):
10968         * gst/gststructure.c: (gst_structure_parse_value):
10969           Oops, broke automatic string type parsing.
10970           Add a test to catch it in future.
10971
10972 2005-11-22  Andy Wingo  <wingo@pobox.com>
10973
10974         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
10975         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
10976         Actually rename the function implementations. Grr.
10977
10978 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
10979
10980         * check/gst/capslist.h:
10981           Comment test cases
10982         * check/gst/gststructure.c: (GST_START_TEST),
10983         (gst_structure_suite):
10984           Test automatic value type detection in gst_structure_from_string.
10985         * gst/gststructure.c: (gst_structure_parse_value):
10986           Add fraction as a type we try and guess automatically in
10987           caps/structure strings.
10988
10989 2005-11-22  Andy Wingo  <wingo@pobox.com>
10990
10991         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
10992
10993         * gst/gsttagsetter.h:
10994         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
10995         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
10996         (gst_tag_setter_add_tag_valist)
10997         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
10998         _add_values, _add_valist, and _add_valist_values. Since this is an
10999         interface the function suffixes should be more explicit so
11000         language binding don't end up with element.add_valist ->
11001         gst_tag_setter_add_valist, for example. Fixes #322069.
11002
11003 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11004
11005         * check/gst/gstcaps.c: (GST_START_TEST):
11006           Extend caps string tests to check that a caps to string
11007           conversion is reversible and produces the same caps.
11008
11009         * gst/gststructure.c: (gst_structure_value_get_generic_type):
11010           Output "fraction" as the generic type fraction range, so caps
11011           serialisation and deserialisation works.
11012         * check/gst/capslist.h:
11013         * gst/gstvalue.c: (gst_value_deserialize_fraction):
11014           Support 'MIN' and 'MAX' for deserialising fractions.
11015
11016 2005-11-22  Andy Wingo  <wingo@pobox.com>
11017
11018         * gst/gstevent.h (gst_event_new_new_segment)
11019         (gst_event_parse_new_segment, gst_event_new_buffer_size)
11020         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
11021         Renamed from *_newsegment, *_buffersize, *_notarget.
11022
11023         * scripts/update-funcnames: New script, performs the changes
11024         listed above.
11025
11026 2005-11-22  Wim Taymans  <wim@fluendo.com>
11027
11028         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11029         Make sure the GstFlowReturn is returned.
11030
11031         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
11032         (gst_bus_add_signal_watch):
11033         * gst/gstbus.h:
11034         add gst_bus_add_signal_watch_full.
11035
11036         * gst/gstplugin.c: (gst_plugin_load_file):
11037         Small style cleanup.
11038
11039 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11040
11041         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
11042           Block the fakesrc srcpad when we send an event, to avoid
11043           contention on the stream_lock causing random test failures.
11044
11045 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11046
11047         * check/gst/gstvalue.c: (GST_START_TEST):
11048         * gst/gstvalue.c: (gst_value_fraction_subtract):
11049           Fix subtraction.
11050
11051 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
11052
11053         * gst/gst.h:
11054           include "gstchildproxy.h"
11055         * gst/gstchildproxy.h:
11056         * libs/gst/controller/gstcontroller.h:
11057           use G_GNUC_NULL_TERMINATED
11058
11059 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
11060
11061         * check/gst/capslist.h:
11062         * check/gst/gstcaps.c: (GST_START_TEST):
11063         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11064         * gst/gststructure.c: (gst_structure_parse_range),
11065         (gst_structure_fixate_field_nearest_fraction):
11066         * gst/gststructure.h:
11067         * gst/gstvalue.c: (gst_value_init_fraction_range),
11068         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11069         (gst_value_collect_fraction_range),
11070         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
11071         (gst_value_set_fraction_range_full),
11072         (gst_value_get_fraction_range_min),
11073         (gst_value_get_fraction_range_max),
11074         (gst_value_serialize_fraction_range),
11075         (gst_value_transform_fraction_range_string),
11076         (gst_value_compare_fraction_range),
11077         (gst_value_deserialize_fraction_range),
11078         (gst_value_intersect_fraction_fraction_range),
11079         (gst_value_intersect_fraction_range_fraction_range),
11080         (gst_value_subtract_fraction_fraction_range),
11081         (gst_value_subtract_fraction_range_fraction),
11082         (gst_value_subtract_fraction_range_fraction_range),
11083         (gst_value_collect_fraction), (gst_value_fraction_multiply),
11084         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
11085         (gst_value_transform_string_fraction), (_gst_value_initialize):
11086         * gst/gstvalue.h:
11087           Implement fraction ranges and extend GstFraction to support
11088           arithmetic subtraction, as well as deserialization from integer
11089           strings such as "100"
11090           Add a testsuite as for int and double range set operations
11091
11092 2005-11-21  Andy Wingo  <wingo@pobox.com>
11093
11094         * gst/gsttaglist.h: 
11095         * gst/gstcaps.h: 
11096         * gst/gststructure.h: Add glib-compat.h.
11097
11098 2005-11-21  Wim Taymans  <wim@fluendo.com>
11099
11100         * gst/gstbin.c: (gst_bin_change_state_func):
11101         Fix for #321595
11102
11103 2005-11-21  Wim Taymans  <wim@fluendo.com>
11104
11105         * gst/gstsegment.h:
11106         And add a nice define too.
11107
11108 2005-11-21  Wim Taymans  <wim@fluendo.com>
11109
11110         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
11111         (gst_segment_new), (gst_segment_free), (gst_segment_init),
11112         (gst_segment_set_duration), (gst_segment_set_last_stop),
11113         (gst_segment_set_seek), (gst_segment_set_newsegment),
11114         (gst_segment_to_stream_time), (gst_segment_to_running_time),
11115         (gst_segment_clip):
11116         * gst/gstsegment.h:
11117         Make binding friendly.
11118
11119 2005-11-21  Andy Wingo  <wingo@pobox.com>
11120
11121         * gst/gsttagsetter.h: 
11122         * gst/gsttaglist.h: 
11123         * gst/gststructure.h: 
11124         * gst/gstcaps.h: 
11125         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
11126         #319940.
11127
11128         * gst/gsterror.c (_gst_core_errors_init):
11129         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
11130         category.
11131
11132         * gst/Makefile.am (gst_headers): Add glib-compat.h.
11133         (noinst_HEADERS): noinst the -private.
11134
11135 2005-11-21  Michael Smith <msmith@fluendo.com>
11136
11137         * gst/gstplugin.h:
11138         * gst/gstregistry.h:
11139           Remove unimplemented declarations for which we can see no sensible
11140           use.
11141
11142 2005-11-21  Andy Wingo  <wingo@pobox.com>
11143
11144         * gst/gst.h: Include glib-compat.h.
11145
11146         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
11147
11148         * gst/glib-compat.c: Include the public and the private header.
11149
11150         * gst/glib-compat-private.h: Copied here from glib-compat.h.
11151
11152         * gst/gstvalue.c: 
11153         * gst/gstpad.c: 
11154         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
11155
11156         * check/gst/gstevent.c (create_custom_events): Check that
11157         FLUSH_STOP is serialized.
11158
11159         * check/elements/identity.c (event_func): 
11160         * check/elements/fakesrc.c (event_func): No stream lock, the core
11161         takes it.
11162
11163         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
11164         stream lock taking, yay.
11165
11166         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
11167         ensure that core takes the stream lock.
11168
11169         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
11170         lock name change.
11171
11172         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
11173         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
11174         it already. For the flush start we do take it though so we get the
11175         right preroll state change messages.
11176
11177         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
11178         the stream lock here, the core does it for us.
11179
11180         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
11181         GST_STREAM_GET_LOCK.
11182         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
11183         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
11184         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
11185         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
11186         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
11187         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
11188
11189         * gst/gstpad.c: Update for stream lock name change.
11190
11191         * gst/base/gstbasesink.c: Update for preroll lock name change.
11192
11193 2005-11-21  Wim Taymans  <wim@fluendo.com>
11194
11195         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
11196         (gst_clock_get_master):
11197         * gst/gstclock.h:
11198         * gst/gstsystemclock.c: (gst_system_clock_init):
11199         Convert Clock flags to object flags.
11200         Added methods to manage master/slave clocks.
11201
11202 2005-11-21  Wim Taymans  <wim@fluendo.com>
11203
11204         * check/gst/gstsegment.c: (GST_START_TEST):
11205         * docs/design/part-TODO.txt:
11206         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11207         (gst_base_sink_event), (gst_base_sink_do_sync),
11208         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11209         (gst_base_sink_query), (gst_base_sink_change_state):
11210         * gst/base/gstbasesink.h:
11211         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
11212         (gst_base_src_default_newsegment),
11213         (gst_base_src_configure_segment), (gst_base_src_do_seek),
11214         (gst_base_src_get_range), (gst_base_src_loop),
11215         (gst_base_src_change_state):
11216         * gst/base/gstbasesrc.h:
11217         * gst/base/gstbasetransform.c:
11218         (gst_base_transform_prepare_output_buf),
11219         (gst_base_transform_event), (gst_base_transform_change_state):
11220         * gst/base/gstbasetransform.h:
11221         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11222         (gst_collect_pads_event):
11223         * gst/base/gstcollectpads.h:
11224         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
11225         (gst_fake_src_create):
11226         * gst/elements/gstfakesrc.h:
11227         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11228         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11229         (gst_segment_set_last_stop), (gst_segment_set_seek),
11230         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11231         (gst_segment_to_running_time), (gst_segment_clip):
11232         * gst/gstsegment.h:
11233         More segment updates, replace code in plugins with segment
11234         helper functions.
11235
11236 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11237
11238         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
11239         Don't ignore sscanf results
11240
11241 2005-11-21  Andy Wingo  <wingo@pobox.com>
11242
11243         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
11244
11245         * *.h:
11246         * *.c: Ran scripts/update-macros. Oh yes.
11247
11248         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
11249         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
11250         GST_GET_LOCK, etc.
11251
11252         * scripts/update-macros: New script. Run it on your files to
11253         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
11254         well.
11255
11256 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
11257
11258         * docs/gst/Makefile.am:
11259         * docs/gst/gstreamer-docs.sgml:
11260         * docs/gst/gstreamer-sections.txt:
11261         * docs/gst/gstreamer.types:
11262         * gst/gstinfo.h:
11263           more docs fixes, add new api to the docs
11264
11265 2005-11-21  Andy Wingo  <wingo@pobox.com>
11266
11267         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
11268         state_broadcast call.
11269
11270         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
11271
11272 2005-11-21  Julien MOUTTE  <julien@moutte.net>
11273
11274         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
11275         function calls for arrays.
11276
11277 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
11278
11279         * docs/random/ensonic/media-device-daemon.txt:
11280           wild idea, can this be done?
11281         * docs/gst/gstreamer-sections.txt:
11282         * gst/gsterror.h:
11283         * gst/gstfilter.c:
11284         * gst/gstfilter.h:
11285         * gst/gstplugin.h:
11286         * gst/gstpluginfeature.c:
11287         * gst/gsttrace.c:
11288         * gst/gstvalue.c:
11289         * gst/gstvalue.h:
11290           doc fixes and additions
11291
11292 2005-11-21  Andy Wingo  <wingo@pobox.com>
11293
11294         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
11295         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
11296         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
11297         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
11298         private to the basesrc implementation.
11299
11300         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
11301         behalf of event function if necessary. It should no longer be
11302         necessary to take the stream lock in pad's event functions. Fixes
11303         #320299.
11304
11305 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11306         * docs/gst/gstreamer-sections.txt:
11307         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
11308         (gst_structure_fixate_field_nearest_double),
11309         (gst_structure_fixate_field_boolean):
11310         * gst/gststructure.h:
11311         * win32/common/libgstreamer.def:
11312         * win32/gstreamer.def:
11313
11314         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
11315         (#322027)
11316
11317 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
11318
11319         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
11320         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
11321         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
11322         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
11323         (gst_fdsrc_uri_handler_init):
11324         * gst/elements/gstfdsrc.h:
11325           Port fd:// URI handler from 0.8 to fdsrc
11326
11327 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11328
11329         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
11330         (gst_value_serialize_fourcc):
11331         * gst/gstvalue.h:
11332           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
11333           consistent with our other format defines (#320324).
11334
11335 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11336
11337         * gst/gstvalue.c: (gst_value_is_fixed):
11338           Revert previous commit. Value lists are by definition
11339           not fixed, as they are a list of possible values.
11340
11341 2005-11-21  Andy Wingo  <wingo@pobox.com>
11342
11343         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
11344         during the stable series if we need it. Fixes #319178.
11345
11346         * gst/gstevent.c (gst_event_new_filler): Removed.
11347
11348         * check/gst/gstevent.c: Update comment about filler events.
11349
11350 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11351
11352         * gst/gstvalue.c: (gst_value_is_fixed):
11353           Should handle both value arrays and value lists.
11354
11355 2005-11-21  Andy Wingo  <wingo@pobox.com>
11356
11357         patch by: Alessandro Dessina <alessandro nnva org>
11358
11359         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
11360         functions to access arrays. Fixes #321962.
11361
11362 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11363
11364         * docs/gst/gstreamer.types:
11365           gst_collectpads_get_type => gst_collect_pads_get_type.
11366           
11367         * gst/base/gstbasetransform.c:
11368           Remove unused SIGNAL_HANDOFF enum.
11369
11370 2005-11-21  Andy Wingo  <wingo@pobox.com>
11371
11372         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
11373         the event type (upstream, downstream, serialized). Renamed
11374         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
11375         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
11376         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
11377
11378         * gst/gstevent.c: Update for new CUSTOM event names.
11379
11380         * check/gst/gstevent.c: Update check for new CUSTOM event names.
11381
11382         * gst/gstevent.h:
11383         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
11384         bug #319392.
11385
11386 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11387
11388         * docs/gst/gstreamer-sections.txt:
11389         * win32/common/libgstbase.def:
11390         * win32/libgstbase.def:
11391         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11392         (gst_collect_pads_class_init), (gst_collect_pads_init),
11393         (gst_collect_pads_finalize), (gst_collect_pads_new),
11394         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
11395         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
11396         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
11397         (gst_collect_pads_start), (gst_collect_pads_stop),
11398         (gst_collect_pads_peek), (gst_collect_pads_pop),
11399         (gst_collect_pads_available), (gst_collect_pads_read),
11400         (gst_collect_pads_flush), (gst_collect_pads_event),
11401         (gst_collect_pads_chain):
11402         * gst/base/gstcollectpads.h:
11403           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
11404           unimplemented functions as unimplemented. Add padding to
11405           GstCollectData. (#320766, #320423)
11406
11407 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
11408
11409         * gst/gstmessage.c:
11410           Improve docs for DURATION message (usage of duration parameter)
11411           (#320113)
11412
11413 2005-11-20  Wim Taymans  <wim@fluendo.com>
11414
11415         * check/Makefile.am:
11416         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
11417         (main):
11418         * gst/Makefile.am:
11419         * gst/gst.h:
11420         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11421         (gst_segment_set_seek), (gst_segment_set_newsegment),
11422         (gst_segment_to_stream_time), (gst_segment_to_running_time),
11423         (gst_segment_clip):
11424         * gst/gstsegment.h:
11425         Added segment helper structure and methods. Not fully implemented
11426         yet.
11427         Added segment check.
11428
11429 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
11430
11431         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11432           Add a deserialisation test for fractions
11433         * examples/metadata/read-metadata.c: (message_loop),
11434         (make_pipeline), (main):
11435           Fix up metadata reading sample.
11436         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11437           Debug format fix
11438         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
11439           Don't try and fixate empty caps
11440         * gst/gst_private.h:
11441           Wrap in G_BEGIN_DECLS/G_END_DECLS
11442         * gst/gstvalue.c: (gst_value_collect_fraction),
11443         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
11444         (gst_value_transform_string_fraction),
11445         (gst_value_compare_fraction):
11446           Add some extra guards to ensure that we don't end up 
11447           with an invalid denominator of 0 in a gstfraction and
11448           that fractions always get reduced.
11449
11450 2005-11-20  Wim Taymans  <wim@fluendo.com>
11451
11452         * docs/gst/gstreamer-sections.txt:
11453         * gst/gstbuffer.h:
11454         * gst/gstelement.c:
11455         * gst/gstformat.c:
11456         * gst/gstformat.h:
11457         * gst/gstindex.h:
11458         * gst/gstquery.c:
11459         * gst/gstquery.h:
11460         * gst/gstvalue.c:
11461         Doc fixes.
11462
11463 2005-11-20  Wim Taymans  <wim@fluendo.com>
11464
11465         * docs/design/part-TODO.txt:
11466         * gst/gstcaps.h:
11467         Make a proper enum of the flag.
11468
11469 2005-11-19  Wim Taymans  <wim@fluendo.com>
11470
11471         * docs/design/part-TODO.txt:
11472         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
11473         (gst_format_to_quark), (gst_format_register):
11474         * gst/gstformat.h:
11475         * gst/gstquery.c: (_gst_query_initialize),
11476         (gst_query_type_get_name), (gst_query_type_to_quark),
11477         (gst_query_type_register):
11478         * gst/gstquery.h:
11479         Add type to quark and type to string conversions.
11480
11481 2005-11-19  Andy Wingo  <wingo@pobox.com>
11482
11483         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
11484         #320097.
11485
11486 2005-11-19  Wim Taymans  <wim@fluendo.com>
11487
11488         * docs/design/part-TODO.txt:
11489         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11490         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
11491         (gst_bin_handle_message_func):
11492         * gst/gstbin.h:
11493         Make message handling overridable.
11494
11495 2005-11-19  Andy Wingo  <wingo@pobox.com>
11496
11497         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
11498
11499         * gst/gstclock.h:
11500         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
11501         be a GstClockTime.
11502         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
11503         is a GstClockTime. Fixes #321710.
11504
11505         * gst/gstclock.h (GstClock): Remove offset property. Add
11506         internal_calibration and external_calibration. Fix padding. Pad
11507         also by GstClockTime so we don't run into problems.
11508
11509         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
11510         (gst_clock_get_rate_offset): Remove.
11511         (gst_clock_set_time_adjust): Remove. Fixes #321712.
11512
11513         * gst/gstutils.h:
11514         * gst/gstutils.c (g_static_rec_cond_wait)
11515         (g_static_rec_cond_timed_wait): Removed, no longer needed.
11516
11517         * gst/gstbin.c: Remove terrible continue_state prototype.
11518
11519         * gst/gstelement.h (gst_element_continue_state): Make public.
11520
11521         * gst/gstelement.h:
11522         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
11523         by continue_state. Fixes #319389.
11524
11525         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
11526         Really fixes #168438. However I don't see anywhere where the
11527         filter function is called... stupid GStreamer...
11528         
11529         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
11530         don't have a dispose function, so it won't get called when the
11531         object is unreffed, but oh well!
11532
11533         * gst/gstindex.c (gst_index_set_filter_full): New API function,
11534         allows a destroy function to be set so user_data can be freed.
11535         Fixes #168438.
11536         (gst_index_set_filter): Call gst_index_set_filter_full.
11537
11538         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
11539
11540         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
11541         string should produce an error, given the lack of a way to
11542         represent NULL strings. Fixes #165650.
11543         
11544         * gst/gstvalue.h: 
11545         * gst/gstvalue.c (gst_value_array_append_value) 
11546         (gst_value_array_prepend_value, gst_value_array_get_size) 
11547         (gst_value_array_get_value): New API, copied from
11548         gst_value_list_*, only operates on arrays.
11549         (gst_value_list_append_value, gst_value_list_prepend_value) 
11550         (gst_value_list_concat, gst_value_list_get_size) 
11551         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
11552
11553         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
11554         init_list, because it works on both.
11555         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
11556         (gst_value_copy_list_or_array): Renamed from copy_list.
11557         (gst_value_free_list_or_array): Renamed from free_list.
11558         (gst_value_collect_list_or_array): Renamed from collect_list.
11559         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
11560         (gst_value_list_or_array_peek_pointer): Renamed from
11561         list_peek_pointer.
11562         (_gst_value_array_value_table, _gst_value_list_value_table):
11563         Update value table functions.
11564         (gst_value_compare_list_or_array): Renamed from compare_list.
11565
11566         * gsttaglist.h: Whoops, foreach function returns void. Also fix
11567         some constness.
11568
11569         * gst/gsttaglist.c:
11570         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
11571         GstTagList*. Fixes #143472.
11572
11573         * gst/gststructure.h: Clarify what the foreach/map functions can
11574         or can't do to their arguments.
11575
11576 2005-11-18  Wim Taymans  <wim@fluendo.com>
11577
11578         * gst/gstclock.c: (gst_clock_set_calibration),
11579         (gst_clock_get_calibration):
11580         Doc and API fixes.
11581         Calibration can be set with internal time equal to current
11582         internal time too.
11583
11584 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
11585
11586         * gst/gsterror.c:
11587         * gst/gsterror.h:
11588           document
11589
11590 2005-11-18  Andy Wingo  <wingo@pobox.com>
11591
11592         * configure.ac: 
11593         * pkgconfig/gstreamer-net.pc.in:
11594         * pkgconfig/gstreamer-net-uninstalled.pc.in:
11595         * pkgconfig/Makefile.am: Add net pkgconfig files.
11596
11597 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
11598
11599         * gst/gstcaps.c:
11600         * gst/gstghostpad.c:
11601         * gst/gsttrace.c:
11602         * gst/gstvalue.c:
11603         * gst/gstvalue.h:
11604           docs fixes
11605
11606 2005-11-18  Andy Wingo  <wingo@pobox.com>
11607
11608         * gst/net/gstnetclientclock.c: Turn off debugging.
11609
11610         * check/net/gstnetclientclock.c (test_functioning): Assert that the
11611         times connverge somewhat. Can't make a real test.
11612
11613         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
11614         integer arithmetic. Return the minimum of the domain, which can be
11615         set as "internal" for gst_clock_set_calibration.
11616         (gst_net_client_clock_observe_times): Call _set_calibration.
11617         (gst_net_client_clock_new): Call _set_calibration instead of
11618         rate_offset.
11619
11620         * check/net/gstnetclientclock.c (test_functioning): Use the right
11621         adjustment api.
11622
11623         * gst/gstclock.h:
11624         * gst/gstclock.c (gst_clock_get_calibration) 
11625         (gst_clock_set_calibration): New functions, obsolete the ones I
11626         added yesterday. Doh. Precision issues mean we have to extrapolate
11627         from a point in the more recent past than 1970.
11628         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
11629         obsolete.
11630         (gst_clock_adjust_unlocked): Use the right calibration data.
11631
11632 2005-11-18  Edward Hervey  <edward@fluendo.com>
11633
11634         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
11635         Also reset the ->current_* values in READY->PAUSED
11636
11637 2005-11-18  Andy Wingo  <wingo@pobox.com>
11638
11639         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
11640         Whoops, check the right fd. Also add some debugging.
11641         (gst_net_client_clock_observe_times): Adjust for int64 offset.
11642         (do_linear_regression): Add a crapload of debugging. Subtract off
11643         the minimum values from the input series to discard unneeded bits.
11644         Use only int arithmetic. There is still double arithmetic when
11645         calculating the intercept that needs fixing. Return boolean to
11646         indicate success; FALSE would mean the domain or range is too
11647         great. Still needs fixes.
11648
11649 2005-11-18  Wim Taymans  <wim@fluendo.com>
11650
11651         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
11652         For the current position in stream time, we need to subtract
11653         accumulated time.
11654         
11655         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11656         Release lock before calling the callback function of async
11657         entries.
11658
11659 2005-11-18  Andy Wingo  <wingo@pobox.com>
11660
11661         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
11662         Port goes all the way to MAXUINT16.
11663
11664         * gst/net/gstnettimeprovider.c: Make the port range the same as
11665         for the kernel: 0 assigns, otherwise ports are less than
11666         MAXUINT16.
11667
11668         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
11669         port change.
11670
11671         * check/net/gstnetclientclock.c (test_functioning): Add the start
11672         of another test. 
11673
11674 2005-11-18  Wim Taymans  <wim@fluendo.com>
11675
11676         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11677         (gst_bin_remove_func), (bin_bus_handler):
11678         * gst/gstbin.h:
11679         Removing a clock provider from a bin, triggers a clock lost message
11680         so that a new clock will be selected.
11681         Adding a clock to a bin triggers a clock provider message.
11682         Make sure we reselect a clock when we received a clock lost message.
11683         Keep a reference to the element that provided the clock.
11684
11685 2005-11-18  Andy Wingo  <wingo@pobox.com>
11686
11687         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
11688         the clock initially so it produces values around the base time.
11689         (gst_net_client_clock_class_init): Typo fix.
11690         (gst_net_client_clock_thread): Add note on when the socket gets
11691         closed.
11692
11693 2005-11-17  Wim Taymans  <wim@fluendo.com>
11694
11695         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
11696         Free remote and local time arrays.
11697
11698 2005-11-17  Wim Taymans  <wim@fluendo.com>
11699
11700         * gst/net/gstnetclientclock.c: (do_linear_regression),
11701         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
11702         Fix compilation, uninitialized vars and a forgotten continue.
11703
11704 2005-11-17  Andy Wingo  <wingo@pobox.com>
11705
11706         * check/Makefile.am (check_PROGRAMS): 
11707         * check/net/gstnetclientclock.c: Add a most minimal test for the
11708         net client clock. More to come later.
11709
11710         * gst/net/gstnet.h: 
11711         * gst/net/Makefile.am: Add netclientclock.
11712
11713         * gst/net/gstnetclientclock.h:
11714         * gst/net/gstnetclientclock.c: New files, implement an untested
11715         GstClock that takes its time from a network time provider.
11716         Implements the algorithm in network-clock.scm.
11717
11718         * tests/network-clock.scm (*window-size*): Rename from
11719         *queue-length*.
11720         * tests/network-clock.scm (network-time): 
11721         * tests/network-clock-utils.scm (q-push): Update callers.
11722
11723 2005-11-17  Wim Taymans  <wim@fluendo.com>
11724
11725         * gst/gstbin.c: (gst_bin_provide_clock_func),
11726         (gst_bin_sort_iterator_new):
11727         And unref the child too..
11728
11729 2005-11-17  Wim Taymans  <wim@fluendo.com>
11730
11731         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11732         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
11733         Refactor the sort iterator so it can be used while holding the
11734         LOCK too.
11735         Make clock selection select a clock closest to the source.
11736
11737 2005-11-17  Michael Smith <msmith@fluendo.com>
11738
11739         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
11740         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
11741         * gst/gstclock.h:
11742           Anonymous structs are a gcc (and some other compilers) extension, so
11743           don't use them. Since this is only for ABI-compatibility, and our
11744           API/ABI freeze is over in a few days, this whole thing will only
11745           last a few days, so don't bother trying to think up a meaningful
11746           name for the struct.
11747
11748 2005-11-17  Andy Wingo  <wingo@pobox.com>
11749
11750         * gst/gstclock.h (GstClock): Add rate and offset properties,
11751         preserving ABI stability. Add rate/offset accessors. Will file bug
11752         for the freeze break.
11753
11754         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
11755         and offset, trying to keep precision and avoiding
11756         underflow/overflow.
11757         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
11758         functions. Make gst_clock_set_time_adjust obsolete.
11759         (gst_clock_set_time_adjust): Note that this function is obsolete.
11760         Will file bug soon.
11761
11762         * gst/base/gstbasetransform.h: Make the ABI-stability hack
11763         greppable by using GST_PADDING-1+1.
11764
11765 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
11766
11767         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11768
11769         * gst/gstmessage.c: (gst_message_parse_clock_lost):
11770           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
11771
11772         * gst/gstpadtemplate.h:
11773         * gst/gstpluginfeature.h:
11774           Don't use c++ style comments in headers (#321638).
11775
11776 2005-11-16  Andy Wingo  <wingo@pobox.com>
11777
11778         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
11779         buffer.
11780
11781         * check/net/gstnettimeprovider.c: Check to see that the time
11782         provider actually provides times. Works, yo!
11783
11784 2005-11-16  Wim Taymans  <wim@fluendo.com>
11785
11786         * check/Makefile.am:
11787         Enable more tests.
11788
11789         * check/elements/fakesrc.c: (GST_START_TEST):
11790         Set element to NULL before disposing it.
11791
11792 2005-11-16  Andy Wingo  <wingo@pobox.com>
11793
11794         * gst/net/Makefile.am:
11795         * gst/net/gstnet.h:
11796         * gst/net/gstnettimeprovider.c: 
11797         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
11798         provider, include it from gstnet.h, and add it to the build.
11799
11800         * gst/net/gstnettimepacket.h: 
11801         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
11802         sending and receiving.
11803
11804 2005-11-16  Wim Taymans  <wim@fluendo.com>
11805
11806         * check/Makefile.am:
11807         Enable valgrind check.
11808
11809         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
11810         (gst_fake_src_alloc_buffer):
11811         Fix memleak.
11812
11813 2005-11-16  Wim Taymans  <wim@fluendo.com>
11814
11815         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
11816         Call parent finalize too.
11817
11818 2005-11-16  Wim Taymans  <wim@fluendo.com>
11819
11820         * check/Makefile.am:
11821         Enable valgrind check that should work fine now.
11822
11823         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
11824         * gst/gstqueue.c: (gst_queue_init):
11825         Fix memleaks in pad allocation.
11826
11827 2005-11-16  Andy Wingo  <wingo@pobox.com>
11828
11829         * gst/net/Makefile.am:
11830         * gst/net/gstnet.h: New part of core to hold network elements and
11831         objects. Put in core because it exposes API that applications want
11832         to use. The library is named libgstnet-tempname right now because
11833         of the existing libgstnet in gst-plugins-base. Solution is
11834         probably to rename the one in plugins-base; will file a bug for
11835         the freeze break.
11836
11837         * gst/net/gstnettimeprovider.c: 
11838         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
11839         get_time call over the network.
11840
11841         * configure.ac: 
11842         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
11843
11844         * check/Makefile.am:
11845         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
11846         get additions shortly.
11847
11848 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11849
11850         * gst/gstpad.c: (gst_pad_new_from_static_template):
11851         * gst/gstpad.h:
11852           add gst_pad_new_from_static_template functions
11853         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
11854         (gst_check_setup_sink_pad):
11855         * gst/elements/gsttee.c: (gst_tee_init):
11856           and use them
11857
11858 2005-11-16  Wim Taymans  <wim@fluendo.com>
11859
11860         * gst/gstpad.c: (gst_pad_pause_task):
11861         Removed warning, it's not really an error either.
11862
11863 2005-11-16  Wim Taymans  <wim@fluendo.com>
11864
11865         * gst/base/gstbasetransform.c:
11866         (gst_base_transform_prepare_output_buf),
11867         (gst_base_transform_event):
11868         Check if the caps are NULL, this can happen if the element
11869         is shutting down and the pad caps are set to NULL.
11870
11871 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11872
11873         * gst/elements/gsttee.c: (gst_tee_init):
11874           fix pad template leak in tee
11875
11876 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11877
11878         * gst/glib-compat.c: (g_value_dup_gst_object):
11879         * gst/glib-compat.h:
11880         * gst/gstpad.c: (gst_pad_set_property):
11881           use gst_object_ref when setting the pad template; this will
11882           trigger the pad template leaks on GLib 2.6 and the slaves
11883
11884 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11885
11886         * gst/glib-compat.c: (gst_flags_get_first_value):
11887         * gst/glib-compat.h:
11888         * gst/gstregistryxml.c:
11889           remove functions copied from GLib 2.6
11890
11891 2005-11-16  Michael Smith <msmith@fluendo.com>
11892
11893         * gst/Makefile.am:
11894           Don't link against VALGRIND_LIBS. That was always the wrong thing to
11895           do, but only breaks with newer valgrind versions. We're not a
11896           valgrind tool, we have no link-time dependencies on libcoregrind.
11897
11898 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11899
11900         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
11901           some debug changes
11902         * gst/gstmessage.h:
11903           typo fixes
11904
11905 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11906
11907         * gst/base/gstbasesrc.c: (gst_base_src_init):
11908         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
11909         * gst/gstqueue.c: (gst_queue_init):
11910         * gst/gstregistryxml.c: (load_feature):
11911           Revert all these unrefs, they don't even pass make check !
11912
11913 2005-11-15  Johan Dahlin  <johan@gnome.org>
11914
11915         * gst/base/gstbasesrc.c: (gst_base_src_init):
11916         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
11917         * gst/gstqueue.c: (gst_queue_init): 
11918         Free pad templates, fixes a couple of leaks.
11919
11920 2005-11-15  Daniel Fischer  <dan at f3c dot com>
11921
11922         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11923
11924         * gst/gstpad.c: (gst_pad_get_property):
11925           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
11926           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
11927           (#321452)
11928
11929 2005-11-15  Wim Taymans  <wim@fluendo.com>
11930
11931         * gst/gstevent.c:
11932         Small doc update.
11933
11934 2005-11-15  Andy Wingo  <wingo@pobox.com>
11935
11936         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
11937
11938         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
11939         using GST_CLOCK_TIME_NONE to disable base time management.
11940         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
11941         time if it was NONE before.
11942         (gst_pipeline_change_state): Only munge the base time if
11943         stream_time != GST_CLOCK_TIME_NONE.
11944
11945         * check/gst/gstpipeline.c (test_base_time): Punt around the
11946         problem of the probe not being called, because that's not the
11947         issue I'm looking at. Add a check that setting stream_time to NONE
11948         disables base time management.
11949         
11950 2005-11-15  Wim Taymans  <wim@fluendo.com>
11951
11952         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
11953         segment_stop == -1 at startup.
11954
11955         * gst/base/gstbasetransform.c: (gst_base_transform_event),
11956         (gst_base_transform_change_state):
11957         Init segment values at start.
11958
11959 2005-11-15  Wim Taymans  <wim@fluendo.com>
11960
11961         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11962         0 segment values are 0 in any format.
11963
11964         * gst/base/gstbasetransform.c: (gst_base_transform_event):
11965         * gst/base/gstbasetransform.h:
11966         Parse newsegment correctly in basetransform
11967
11968         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11969         Sync to clock using updated segment values.
11970
11971 2005-11-15  Andy Wingo  <wingo@pobox.com>
11972
11973         * check/gst/gstpipeline.c (test_base_time): Add check that the
11974         base time and stream time are reset correctly.
11975
11976 2005-11-15  Wim Taymans  <wim@fluendo.com>
11977
11978         * docs/design/part-TODO.txt:
11979         Some more TODO items.
11980
11981 2005-11-15  Andy Wingo  <wingo@pobox.com>
11982
11983         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
11984         error if the user selected "no clock" as the clocking method.
11985
11986         * check/gst/gstpipeline.c (test_base_time): New test for buffer
11987         timestamps with live capture.
11988
11989         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
11990         is 0 but we are a live source, timestamp the buffers using the
11991         element's clock.
11992
11993 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
11994
11995         * docs/gst/gstreamer-sections.txt:
11996         * gst/gsterror.c:
11997         * gst/gstghostpad.c:
11998         * gst/gstobject.h:
11999         * gst/gstxml.c:
12000           more section docs
12001
12002 2005-11-14  Wim Taymans  <wim@fluendo.com>
12003
12004         * common/gst.supp:
12005           add suppressions from Wim's Debian machine
12006
12007 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12008
12009         * common/gst.supp:
12010           add suppressions from Andy's AMD64 Ubuntu machine
12011
12012 2005-11-14  Andy Wingo  <wingo@pobox.com>
12013
12014         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
12015         STATE_LOCK not necessary. Fixes #311489.
12016
12017         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
12018         #305291.
12019
12020         * gst/gstindex.c (gst_index_add_object): Note in the docs that
12021         this function is not implemented.
12022
12023 2005-11-14  Julien MOUTTE  <julien@moutte.net>
12024
12025         * gst/base/gstbasetransform.c:
12026         (gst_base_transform_prepare_output_buf):
12027         Ref the source pad caps while we need them.
12028         Fixes (#321386)
12029
12030 2005-11-11  Wim Taymans  <wim@fluendo.com>
12031
12032         * docs/gst/gstreamer-sections.txt:
12033         Added some docs for GstCollectData.
12034
12035         * gst/base/gstadapter.c:
12036         Some small code example fix.
12037
12038         * gst/base/gstcollectpads.c:
12039         * gst/base/gstcollectpads.h:
12040         Document some more.
12041
12042 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12043
12044         * configure.ac: back to HEAD
12045
12046 === release 0.9.5 ===
12047
12048 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
12049
12050         * configure.ac:
12051           releasing 0.9.5, "Bike Lunch Day"
12052
12053 2005-11-11  Wim Taymans  <wim@fluendo.com>
12054
12055         * gst/gstbuffer.c: (_gst_buffer_copy):
12056         Copy more flags.
12057
12058         * gst/gstcaps.c: (gst_caps_is_equal):
12059         Fix some docs.
12060         Make _is_equal fast in the trivial cases.
12061
12062         * gst/gstminiobject.c:
12063         * gst/gstminiobject.h:
12064         More docs. Spifify .h file.
12065
12066         * gst/gstutils.c:
12067         Small doc update.
12068
12069 2005-11-11  Wim Taymans  <wim@fluendo.com>
12070
12071         * gst/base/gstbasetransform.c:
12072         (gst_base_transform_prepare_output_buf),
12073         (gst_base_transform_handle_buffer):
12074         Small cleanups.
12075         If we're processing a buffer and need to allocate an output
12076         buffer, we cannot accept a format change. If we did get a 
12077         format change, we have to alloc a buffer ourselves of the 
12078         right size.
12079
12080 2005-11-11  Wim Taymans  <wim@fluendo.com>
12081
12082         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
12083         While checking the flag for reentrancy in the gstcaps function
12084         is nice to detect recursive invocations, it also makes it 
12085         impossible to call getcaps from multiple threads, which must be
12086         possible. So, checking for recursive calls has to go.
12087
12088 2005-11-11  Michael Smith <msmith@fluendo.com>
12089
12090         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12091           Don't sync on buffers that fall partially outside our current
12092           segment. Prevents an assertion failure/abort playing some files.
12093
12094 2005-11-10  Andy Wingo  <wingo@pobox.com>
12095
12096         * check/gst/gstbin.c (test_message_state_changed_children): Style
12097         fix..
12098
12099         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
12100         gst_bus_poll with the signal watch. Ensures that poll and a signal
12101         watch see the same messages.
12102
12103         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
12104         a poll and a watch at the same time get the same messages.
12105
12106 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12107
12108         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
12109         * gst/gstcaps.c: (gst_caps_intersect):
12110           Don't call gst_caps_do_simplify - it doesn't respect order of caps
12111           and it's not needed.
12112
12113 2005-11-10  Wim Taymans  <wim@fluendo.com>
12114
12115         * docs/design/part-TODO.txt:
12116         Updated todo.
12117
12118 2005-11-10  Wim Taymans  <wim@fluendo.com>
12119
12120         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12121         * gst/base/gstbasesrc.c: (gst_base_src_wait),
12122         (gst_base_src_do_sync), (gst_base_src_get_range):
12123         Implement clock sync in base class.
12124
12125 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12126
12127         patch by: Tim-Philipp Müller <tim at centricular dot net>
12128
12129         * gst/gststructure.c: (gst_structure_parse_field),
12130         (gst_structure_from_string):
12131           Forward-port a 0.8 patch to handle escaped spaces in structure string,
12132           so that gst_parse_launch() can deal with spaces in filtered link
12133           caps (fixes #164479)
12134         * check/gst/capslist.h:
12135         * check/gst/gststructure.c: (GST_START_TEST):
12136           add unit tests for this change
12137
12138 2005-11-10  Wim Taymans  <wim@fluendo.com>
12139
12140         * docs/gst/gstreamer-sections.txt:
12141         * gst/gstelement.c:
12142         * gst/gstelement.h:
12143         Fix docs, move some STATE macros to private.
12144
12145 2005-11-10  Wim Taymans  <wim@fluendo.com>
12146
12147         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12148         Added check for bug #317341
12149
12150         * gst/gstbuffer.c:
12151         * gst/gstbuffer.h:
12152         Some more spiffifying.
12153
12154         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
12155         Call peer linkfunction if we are a source pad. Totally fixes
12156         #317341
12157
12158         * gst/gstpad.c:
12159         Update docs, source pads should call the peer linkfunction
12160         so they can atomically perform the pad link.
12161
12162 2005-11-09  Wim Taymans  <wim@fluendo.com>
12163
12164         * gst/gstbuffer.c:
12165         * gst/gstbuffer.h:
12166         Uber-spiffy-spiffify some more.
12167
12168 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
12169
12170         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
12171         * gst/elements/gstfilesink.c: (gst_file_sink_init):
12172         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12173         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
12174         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
12175         * gst/gstpad.c: (gst_pad_init):
12176           Use GST_DEBUG_FUNCPTR() more extensively.
12177
12178 2005-11-09  Wim Taymans  <wim@fluendo.com>
12179
12180         * gst/gstobject.c: (gst_object_class_init):
12181         * gst/gstobject.h:
12182         Documentation fixes.
12183
12184 2005-11-09  Edward Hervey  <edward@fluendo.com>
12185
12186         * gst/gsttypefindfactory.c:
12187         Fix docs.
12188         
12189 2005-11-09  Edward Hervey  <edward@fluendo.com>
12190
12191         * gst/base/gsttypefindhelper.c:
12192         * gst/gsttypefind.c:
12193         * gst/gsttypefind.h:
12194         Fix docs.
12195
12196 2005-11-09  Wim Taymans  <wim@fluendo.com>
12197
12198         * gst/gstiterator.c:
12199         Fix revision data.
12200
12201         * gst/gsttask.c:
12202         * gst/gsttask.h:
12203         Fix docs.
12204
12205 2005-11-09  Wim Taymans  <wim@fluendo.com>
12206
12207         * gst/gstevent.h:
12208         * gst/gsturi.h:
12209         Fix docs.
12210
12211 2005-11-09  Wim Taymans  <wim@fluendo.com>
12212
12213         * docs/gst/gstreamer-sections.txt:
12214         Moved the message async delivery private lock and cond
12215         to the private section.
12216
12217         * gst/gstmessage.c:
12218         * gst/gstmessage.h:
12219         Fixed docs.
12220
12221 2005-11-09  Edward Hervey  <edward@fluendo.com>
12222
12223         * docs/gst/gstreamer-sections.txt:
12224         * gst/gsturi.c:
12225         * gst/gsturi.h:
12226         Document GstURIHandler
12227
12228 2005-11-09  Wim Taymans  <wim@fluendo.com>
12229
12230         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
12231         (gst_iterator_find_custom):
12232         * gst/gstiterator.h:
12233         Fix iterator docs.
12234
12235 2005-11-09  Wim Taymans  <wim@fluendo.com>
12236
12237         * gst/gstbin.h:
12238         Document another field.
12239
12240         * gst/gststructure.c:
12241         * gst/gststructure.h:
12242         Document.
12243
12244 2005-11-09  Wim Taymans  <wim@fluendo.com>
12245
12246         * gst/gstbin.h:
12247         Documented structs.
12248
12249 2005-11-09  Wim Taymans  <wim@fluendo.com>
12250
12251         * docs/gst/gstreamer-sections.txt:
12252         Added some new macros.
12253
12254         * gst/gstclock.c:
12255         * gst/gstclock.h:
12256         * gst/gstobject.h:
12257         Docs updates.
12258
12259 2005-11-09  Wim Taymans  <wim@fluendo.com>
12260
12261         * docs/design/part-TODO.txt:
12262         Some more items for the TODO
12263
12264         * gst/gstcaps.c:
12265         * gst/gstcaps.h:
12266         Document GstCaps.
12267
12268 2005-11-09  Andy Wingo  <wingo@pobox.com>
12269
12270         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
12271         to work on something else now tho...
12272
12273         * gst/base/gstadapter.c: More adapter docs.
12274
12275         * gst/elements/gstfilesink.c (gst_file_sink_start) 
12276         (gst_file_sink_stop): New functions, replace the state change
12277         handler.
12278         (gst_file_sink_class_init): Hook up the start and stop functions.
12279         (gst_file_sink_base_init): Don't set the state change handler any
12280         more. It was a bit ugly too, being set from here...
12281         (gst_file_sink_get_property, gst_file_sink_set_property):
12282         Cleanups...
12283         (gst_file_sink_set_location): More robust check that doesn't call
12284         GST_STATE. Ugggggg.
12285
12286 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
12287
12288         * gst/base/gstbasetransform.c: (gst_base_transform_event):
12289           Hold STREAM_LOCK while pushing newsegment or tag events as well.
12290
12291 2005-11-08  Wim Taymans  <wim@fluendo.com>
12292
12293         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
12294         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12295         (gst_base_sink_chain), (gst_base_sink_change_state):
12296         * gst/base/gstbasesink.h:
12297         * gst/base/gstbasesrc.h:
12298         * gst/gstelement.h:
12299         * gst/gstevent.h:
12300         Avoid excessive typechecking in macros.
12301
12302         * gst/gstminiobject.c: (gst_mini_object_get_type),
12303         (gst_mini_object_init), (gst_mini_object_new),
12304         (gst_mini_object_free):
12305         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12306         (gst_object_finalize):
12307         Remove cruft code, optimize alloc_trace.
12308
12309 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12310
12311         * docs/faq/gst-uninstalled:
12312           fix up PS1 for systems that try to reset it
12313
12314 2005-11-07  Wim Taymans  <wim@fluendo.com>
12315
12316         * gst/base/gstbasesrc.c: (gst_base_src_init),
12317         (gst_base_src_get_range):
12318         Set the segment_end to -1 initially. Fixed typefind.
12319
12320 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
12321
12322         * gst/base/gstadapter.c:
12323           Debug category should be 'adapter', not 'GstAdapter'.
12324           
12325         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
12326         (gst_collectpads_class_init), (gst_collectpads_init),
12327         (gst_collectpads_peek), (gst_collectpads_pop),
12328         (gst_collectpads_event), (gst_collectpads_chain):
12329           Add debug category and some debugging output. Use boilerplate
12330           macros. Remove some extraneous words from docs.
12331
12332 2005-11-05  Andy Wingo  <wingo@pobox.com>
12333
12334         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
12335         macro.
12336
12337 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
12338
12339         * docs/gst/gstreamer-sections.txt:
12340         * gst/gstcaps.h:
12341         * gst/gstinfo.c:
12342         * gst/gstminiobject.h:
12343         * gst/gstobject.h:
12344         * gst/gstutils.h:
12345           more docs added
12346
12347 2005-11-04  Wim Taymans  <wim@fluendo.com>
12348
12349         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12350         Small update to stop at the configured segment_end
12351         position.
12352
12353 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
12354
12355         * gst/gstregistry.c:
12356         * gst/gstregistry.h:
12357           added missing docs
12358
12359 2005-11-04  Edward Hervey  <edward@fluendo.com>
12360
12361         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12362         Check if we are doing a segment seek and have arrived at the
12363         end of that segment.
12364
12365 2005-11-04  Wim Taymans  <wim@fluendo.com>
12366
12367         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
12368         Don't leak a mutex unlock in case of an error.
12369
12370         * gst/gstbus.h:
12371         Doc fixes.
12372
12373 2005-11-04  Wim Taymans  <wim@fluendo.com>
12374
12375         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
12376         (gst_bus_post):
12377         Get the context to wake up only once.
12378
12379 2005-11-03  Wim Taymans  <wim@fluendo.com>
12380
12381         * check/states/sinks.c: (GST_START_TEST):
12382         Uncomment fixed check.
12383
12384         * docs/design/part-TODO.txt:
12385         Updated TODO.
12386
12387         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12388         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12389         (gst_base_sink_get_position):
12390         If we are going to PLAYING, post the right pending state
12391         when we post the intermediate paused message.
12392
12393         * gst/gstelement.c: (gst_element_continue_state),
12394         (gst_element_set_state_func), (gst_element_change_state):
12395         Don't post state changes that were between the same state
12396         and were not ASYNC.
12397
12398 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
12399
12400         * docs/gst/gstreamer-sections.txt:
12401         * gst/gstcaps.h:
12402         * gst/gstinfo.c:
12403         * gst/gstminiobject.h:
12404         * gst/gstobject.h:
12405         * gst/gstutils.h:
12406           more docs and doc style fixes
12407
12408 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
12409
12410         * docs/gst/gstreamer-sections.txt:
12411         * gst/gstelement.c:
12412         * gst/gstminiobject.c:
12413         doc fixes
12414
12415 2005-11-03  Andy Wingo  <wingo@pobox.com>
12416
12417         * check/states/sinks.c (test_livesrc_sink): Add checks that the
12418         state-changed messages actually have the right order and the right
12419         values.
12420
12421 2005-11-03  Wim Taymans  <wim@fluendo.com>
12422
12423         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
12424         Added some more checks. Specifically the case where NO_PREROLL
12425         elements are in the pipeline.
12426
12427         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12428         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12429         (gst_base_sink_get_position):
12430         Post READY->PAUSED state change messages too.
12431         Fix bug where VOID was posted as pending state...
12432
12433         * gst/gstbin.c: (gst_bin_recalc_state):
12434         use _element_continue_state() to continue the state change.
12435
12436         * gst/gstelement.c: (gst_element_continue_state),
12437         (gst_element_commit_state), (gst_element_set_state_func),
12438         (gst_element_change_state), (gst_element_change_state_func):
12439         Lots of state change cleanups, assign the STATE_RETURN in
12440         a new continue_state() function that also propagates the
12441         last return value from a state change to the app.
12442         Update some debug statements with proper category.
12443
12444 2005-11-03  Wim Taymans  <wim@fluendo.com>
12445
12446         * docs/design/part-events.txt:
12447         * docs/design/part-gstpipeline.txt:
12448         * docs/design/part-messages.txt:
12449         * docs/design/part-overview.txt:
12450         * docs/design/part-seeking.txt:
12451         * docs/design/part-states.txt:
12452         * docs/design/part-trickmodes.txt:
12453         * docs/manual/advanced-position.xml:
12454         Small docs updates.
12455
12456         * gst/gstobject.h:
12457         People think !! is ugly, this looks better.
12458
12459         * gst/gstpad.c: (gst_pad_set_blocked_async):
12460         Remove !! since it's fixed elsewhere now.
12461
12462 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12463
12464         * gst/gstminiobject.h:
12465         * gst/gstobject.h:
12466           Add !! to _FLAG_IS_SET macros to make the result boolean.
12467
12468 2005-11-03  Edward Hervey  <edward@fluendo.com>
12469
12470         * gst/gstpad.c: (gst_pad_set_blocked_async):
12471         comparing a flag and a gboolean rarely returns coherent results...
12472         Added two characters (!!) to make that work correctly.
12473         
12474 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12475
12476         * gst/gstbus.c: (gst_bus_class_init):
12477           Fix some typos.
12478           
12479         * gst/gstqueue.c: (gst_queue_loop):
12480           Don't assume a miniobject that isn't a buffer is an
12481           event (it could be that there is a refcounting
12482           problem somewhere and the pointer is stale and
12483           refers to an already destroyed miniobject).
12484
12485 2005-11-03  Julien MOUTTE  <julien@moutte.net>
12486
12487         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
12488
12489 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
12490
12491         * docs/manual/advanced-position.xml:
12492           Update seek example and explanations to current 0.9 API.
12493
12494         * gst/elements/gsttypefindelement.c:
12495         (gst_type_find_element_activate):
12496           Remove FIXME comment now that the found caps
12497           are unreffed.
12498
12499 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12500
12501         * gst/gstregistryxml.c: (load_feature):
12502           Add another GST_STR_NULL instance
12503
12504 2005-11-02  Edward Hervey  <edward@fluendo.com>
12505
12506         * gst/gstpad.c: (handle_pad_block):
12507         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
12508         
12509 2005-11-02  Wim Taymans  <wim@fluendo.com>
12510
12511         * gst/gstbin.c:
12512         Fix typo in docs.
12513
12514         * gst/gstelement.c: (gst_element_commit_state):
12515         Remove unused value.
12516
12517         * gst/gstiterator.c:
12518         Mention that the returned element is reffed in the docs.
12519
12520 2005-11-02  Wim Taymans  <wim@fluendo.com>
12521
12522         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
12523         (gst_pad_push), (gst_pad_push_event):
12524         Unlock blocked pads when they are flushed.
12525
12526 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12527
12528         * docs/README:
12529         * docs/gst/gstreamer-sections.txt:
12530         * gst/gstbin.c:
12531           doc updates
12532         * gst/gstregistry.c: (gst_registry_scan_path_level):
12533           fix for a nasty little missed situation where an installed plug-in
12534           which was in the cache did not get overridden by an uninstalled one
12535           which was earlier in the plugin path because the newly created plugin
12536           for the uninstalled one (not in the registry) didn't get its
12537           ->registered set to TRUE
12538
12539 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
12540
12541         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
12542         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
12543         (gst_collectpads_is_active), (gst_collectpads_collect),
12544         (gst_collectpads_collect_range), (gst_collectpads_start),
12545         (gst_collectpads_stop), (gst_collectpads_peek),
12546         (gst_collectpads_pop), (gst_collectpads_available),
12547         (gst_collectpads_read), (gst_collectpads_flush):
12548           Guard public API with assertions.
12549         
12550         * gst/gstpad.c:
12551           Fix docs for gst_pad_set_link_function().
12552
12553 2005-11-02  Johan Dahlin  <johan@gnome.org>
12554
12555         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
12556         Unref found_caps after we used it.
12557
12558 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
12559
12560         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
12561           Don't try to ref NULL.
12562
12563 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12564
12565         * win32/common/config.h.in:
12566           provide a GST_FUNCTION that just gives a string for now
12567
12568 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12569
12570         * win32/common/gstenumtypes.c: (register_gst_object_flags),
12571         (gst_object_flags_get_type), (register_gst_bin_flags),
12572         (gst_bin_flags_get_type), (register_gst_buffer_flag),
12573         (gst_buffer_flag_get_type), (register_gst_bus_flags),
12574         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12575         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
12576         (gst_clock_return_get_type), (register_gst_clock_entry_type),
12577         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12578         (gst_clock_flags_get_type), (register_gst_state),
12579         (gst_state_get_type), (register_gst_state_change_return),
12580         (gst_state_change_return_get_type), (register_gst_state_change),
12581         (gst_state_change_get_type), (register_gst_element_flags),
12582         (gst_element_flags_get_type), (register_gst_core_error),
12583         (gst_core_error_get_type), (register_gst_library_error),
12584         (gst_library_error_get_type), (register_gst_resource_error),
12585         (gst_resource_error_get_type), (register_gst_stream_error),
12586         (gst_stream_error_get_type), (register_gst_event_type),
12587         (gst_event_type_get_type), (register_gst_seek_type),
12588         (gst_seek_type_get_type), (register_gst_seek_flags),
12589         (gst_seek_flags_get_type), (register_gst_format),
12590         (gst_format_get_type), (register_gst_index_certainty),
12591         (gst_index_certainty_get_type), (register_gst_index_entry_type),
12592         (gst_index_entry_type_get_type),
12593         (register_gst_index_lookup_method),
12594         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12595         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12596         (gst_index_resolver_method_get_type), (register_gst_index_flags),
12597         (gst_index_flags_get_type), (register_gst_debug_level),
12598         (gst_debug_level_get_type), (register_gst_debug_color_flags),
12599         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12600         (gst_iterator_result_get_type), (register_gst_iterator_item),
12601         (gst_iterator_item_get_type), (register_gst_message_type),
12602         (gst_message_type_get_type), (register_gst_mini_object_flags),
12603         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12604         (gst_pad_link_return_get_type), (register_gst_flow_return),
12605         (gst_flow_return_get_type), (register_gst_activate_mode),
12606         (gst_activate_mode_get_type), (register_gst_pad_direction),
12607         (gst_pad_direction_get_type), (register_gst_pad_flags),
12608         (gst_pad_flags_get_type), (register_gst_pad_presence),
12609         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12610         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12611         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12612         (gst_plugin_error_get_type), (register_gst_plugin_flags),
12613         (gst_plugin_flags_get_type), (register_gst_rank),
12614         (gst_rank_get_type), (register_gst_query_type),
12615         (gst_query_type_get_type), (register_gst_tag_merge_mode),
12616         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12617         (gst_tag_flag_get_type), (register_gst_task_state),
12618         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12619         (gst_alloc_trace_flags_get_type),
12620         (register_gst_type_find_probability),
12621         (gst_type_find_probability_get_type), (register_gst_uri_type),
12622         (gst_uri_type_get_type), (register_gst_parse_error),
12623         (gst_parse_error_get_type):
12624         * win32/common/gstversion.h:
12625           update win32 copies
12626
12627 2005-11-01  Luca Ognibene  <luogni@tin.it>
12628
12629         * gst/gst.c:
12630           fix docs. popt is dead, long live GOption.
12631
12632 2005-10-31  Wim Taymans  <wim@fluendo.com>
12633
12634         * gst/gstbuffer.h:
12635         Small doc fix.
12636
12637 2005-10-31  Andy Wingo  <wingo@pobox.com>
12638
12639         * Boo!
12640
12641         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
12642
12643         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
12644         need to serialize property notifications on GLib 2.8. GLib 2.6 has
12645         the possibility of deadlocks here if code calling notify() or
12646         set() has a lock that can be taken in another notify handler (ABBA
12647         with class lock and e.g. python GIL state lock).
12648
12649 2005-10-28  Julien MOUTTE  <julien@moutte.net>
12650
12651         * gst/gstbus.c: Doc updates.
12652
12653 2005-10-28  Wim Taymans  <wim@fluendo.com>
12654
12655         * docs/design/part-TODO.txt:
12656         * gst/gstiterator.c:
12657         * gst/gstsystemclock.c:
12658         * gst/gstsystemclock.h:
12659         Doc updates.
12660
12661 2005-10-28  Edward Hervey  <edward@fluendo.com>
12662
12663         * docs/gst/gstreamer-docs.sgml:
12664         * docs/gst/gstreamer-sections.txt:
12665         the GstURIType documentation page is private, it only defines GstURIType
12666         which should be defined in the GstURIHandler page
12667         
12668 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12669
12670         * gst/gstbin.c: (gst_bin_class_init):
12671         * gst/gstbin.h:
12672         * gst/gstutils.c:
12673         Documentation updates.
12674
12675 2005-10-28  Wim Taymans  <wim@fluendo.com>
12676
12677         * docs/gst/gstreamer-sections.txt:
12678         * gst/gstclock.c:
12679         * gst/gstclock.h:
12680         Documented the clocks.
12681
12682 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
12683
12684         * docs/gst/gstreamer-sections.txt:
12685           move some macros to private sections
12686         * gst/gstminiobject.c:
12687         * gst/gstminiobject.h:
12688           add descriptions provided by ds and some more
12689         * gst/gstpad.h:
12690           mark macro as to be removed
12691
12692 2005-10-28  Wim Taymans  <wim@fluendo.com>
12693
12694         * docs/design/part-TODO.txt:
12695         Add an item to TODO.
12696
12697         * gst/gstiterator.c: (gst_iterator_fold),
12698         (gst_iterator_find_custom):
12699         * gst/gstiterator.h:
12700         Add iterator docs.
12701
12702 2005-10-28  Wim Taymans  <wim@fluendo.com>
12703
12704         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12705         (gst_base_transform_init):
12706         Don't leak class.
12707
12708         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
12709         An EOS event marks the queue as completely filled.
12710
12711 2005-10-27  Wim Taymans  <wim@fluendo.com>
12712
12713         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12714         (gst_base_sink_do_sync), (gst_base_sink_get_position):
12715         Some more debugging.
12716
12717         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
12718         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
12719         (gst_base_transform_event), (gst_base_transform_getrange),
12720         (gst_base_transform_chain):
12721         * gst/base/gstbasetransform.h:
12722         Fix debugging,
12723         Protect transform and concurrent buffer alloc with a new lock.
12724         Try not to break ABI/API.
12725
12726 2005-10-27  Wim Taymans  <wim@fluendo.com>
12727
12728         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12729         (gst_base_src_init), (gst_base_src_query),
12730         (gst_base_src_default_newsegment),
12731         (gst_base_src_configure_segment), (gst_base_src_do_seek),
12732         (gst_base_src_send_event), (gst_base_src_event_handler),
12733         (gst_base_src_pad_get_range), (gst_base_src_loop),
12734         (gst_base_src_unlock), (gst_base_src_default_negotiate),
12735         (gst_base_src_start), (gst_base_src_deactivate),
12736         (gst_base_src_activate_push), (gst_base_src_change_state):
12737         Move some stuff around and cleanup things.
12738
12739 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
12740
12741         * gst/base/gstbasesrc.c: (gst_base_src_query):
12742           Add missing break statements.
12743
12744 2005-10-27  Wim Taymans  <wim@fluendo.com>
12745
12746         * check/gst/gstbin.c: (GST_START_TEST):
12747         An extra refcount is taken in basesrc.
12748
12749         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
12750         (gst_base_src_get_range), (gst_base_src_pad_get_range),
12751         (gst_base_src_loop):
12752         Small cleanups, check for flushing after being unlocked from the 
12753         LIVE_LOCK. take refcounts correctly (not yet everywhere).
12754         Don't send out EOS when going to READY.
12755
12756 2005-10-27  Wim Taymans  <wim@fluendo.com>
12757
12758         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12759         (gst_base_sink_get_position):
12760         Some more debug.
12761
12762         * gst/gstbin.c: (message_check), (bin_replace_message),
12763         (bin_remove_messages), (is_eos), (gst_bin_add_func),
12764         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12765         (bin_query_duration_init), (bin_query_duration_fold),
12766         (bin_query_duration_done), (bin_query_generic_fold),
12767         (gst_bin_query):
12768         * tools/gst-launch.c: (main):
12769         Remove old option.
12770
12771 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
12772
12773         * examples/controller/audio-example.c: (main):
12774         * examples/queue/queue.c: (event_loop):
12775         * gst/base/gstbasetransform.h:
12776         * gst/gstelement.c: (gst_element_send_event):
12777         * gst/gstevent.h:
12778         * gst/gstpad.c: (gst_pad_send_event):
12779           fixing examples
12780           fixing docs typos
12781           changing log priority in error situations
12782
12783 2005-10-25  Wim Taymans  <wim@fluendo.com>
12784
12785         * gst/gstbin.c: (message_check), (bin_replace_message),
12786         (bin_remove_messages), (is_eos), (gst_bin_add_func),
12787         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12788         (bin_query_duration_init), (bin_query_duration_fold),
12789         (bin_query_duration_done), (bin_query_generic_fold),
12790         (gst_bin_query):
12791         Some doc and debug updates.
12792         Cache previously requested query DURATION for speed. invalidate
12793         cached duration if element posts a DURATION message.
12794
12795 2005-10-25  Wim Taymans  <wim@fluendo.com>
12796
12797         * docs/design/part-TODO.txt:
12798         Update TODO.
12799
12800         * gst/gstbin.c: (message_check), (bin_replace_message),
12801         (bin_remove_messages), (is_eos), (gst_bin_add_func),
12802         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
12803         (bin_query_duration_init), (bin_query_duration_fold),
12804         (bin_query_duration_done), (bin_query_generic_fold),
12805         (gst_bin_query):
12806         Handle SEGMENT_START/DONE messages correctly.
12807         More evolved query algorithm that handles duration queries
12808         correctly.
12809
12810         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
12811         (gst_element_get_state_func), (gst_element_abort_state),
12812         (gst_element_commit_state), (gst_element_lost_state):
12813         Some more debugging.
12814
12815         * gst/gstmessage.h:
12816         Added doc.
12817
12818 2005-10-25  Wim Taymans  <wim@fluendo.com>
12819
12820         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
12821         Don't use invalid stream_time.
12822
12823         * gst/gstevent.c: (gst_event_new_newsegment):
12824         stream_time in newsegment cannot be undefined.
12825
12826 2005-10-24  Wim Taymans  <wim@fluendo.com>
12827
12828         * gst/gstbus.c:
12829         Doc fix.
12830
12831         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
12832         (gst_queue_loop):
12833         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
12834
12835 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
12836
12837         * docs/libs/tmpl/gstdparam.sgml:
12838         * docs/libs/tmpl/gstdplinint.sgml:
12839         * docs/libs/tmpl/gstdpman.sgml:
12840         * docs/libs/tmpl/gstdpsmooth.sgml:
12841         * docs/libs/tmpl/gstunitconvert.sgml:
12842           these are obsolete
12843
12844 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12845
12846         * configure.ac:
12847           back to HEAD
12848
12849 === release 0.9.4 ===
12850
12851 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12852
12853         * configure.ac:
12854           releasing 0.9.4, "Tyrannosaurus Rex"
12855
12856 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
12857
12858         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
12859         (gst_file_sink_get_current_offset):
12860           Use fseeko() and ftello() if available. When falling back on
12861           lseek() to get the current offset, fflush() first to make sure
12862           everything is up-to-date and we get the right offset.
12863
12864 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12865
12866         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12867         * gst/base/gstbasesrc.c: (gst_base_src_loop):
12868         * gst/gsterror.c: (_gst_stream_errors_init):
12869         * gst/gsterror.h:
12870         * gst/gstqueue.c: (gst_queue_loop):
12871         * po/POTFILES.in:
12872           remove prematurely added error category and clean up the instances
12873
12874 2005-10-21  Wim Taymans  <wim@fluendo.com>
12875
12876         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12877         (gst_base_sink_get_position), (gst_base_sink_query),
12878         (gst_base_sink_change_state):
12879         Simply set the right flag when going to playing, that's all
12880         we need to do instead of calling a function inside the object
12881         lock (that could take the lock as well and deadlock)
12882
12883 2005-10-21  Wim Taymans  <wim@fluendo.com>
12884
12885         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
12886         (gst_base_src_loop):
12887         Don't warn, the peer element knows what to do best when
12888         the seek failed, it might try something else.
12889
12890 2005-10-21  Wim Taymans  <wim@fluendo.com>
12891
12892         * gst/base/gstbasesrc.c: (gst_base_src_init),
12893         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
12894         Fix seeking.
12895
12896 2005-10-21  Wim Taymans  <wim@fluendo.com>
12897
12898         * docs/design/part-segments.txt:
12899         More docs.
12900
12901         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12902         Correctly set caps, even on the subbufer.
12903
12904 2005-10-21  Wim Taymans  <wim@fluendo.com>
12905
12906         * docs/gst/gstreamer-docs.sgml:
12907         * docs/gst/gstreamer-sections.txt:
12908         * gst/gstelement.h:
12909         * gst/gstevent.c:
12910         * gst/gstevent.h:
12911         * gst/gstmessage.h:
12912         * gst/gstpad.h:
12913         * gst/gstparse.h:
12914         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
12915         * gst/gsttask.h:
12916         * gst/gstutils.c:
12917         * gst/gstutils.h:
12918         And 2% more doc coverage.
12919
12920 2005-10-21  Andy Wingo  <wingo@pobox.com>
12921
12922         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
12923         position reporting.
12924
12925 2005-10-20  Wim Taymans  <wim@fluendo.com>
12926
12927         * gst/gsterror.c: (gst_error_get_message):
12928         * gst/gstparse.h:
12929         * gst/gstquery.h:
12930         * gst/gststructure.c:
12931         * gst/gsttrace.c:
12932         * gst/gstutils.c:
12933         More docs.
12934
12935 2005-10-20  Wim Taymans  <wim@fluendo.com>
12936
12937         * gst/gstbuffer.h:
12938         * gst/gstpad.c:
12939         * gst/gstparse.c:
12940         Another 1% more coverage.
12941
12942 2005-10-20  Wim Taymans  <wim@fluendo.com>
12943
12944         * docs/gst/gstreamer-sections.txt:
12945         * gst/gstelement.c: (gst_element_get_state_func),
12946         (gst_element_abort_state), (gst_element_commit_state),
12947         (gst_element_lost_state):
12948         * gst/gstevent.h:
12949         * gst/gstquery.c: (gst_query_set_position),
12950         (gst_query_parse_position), (gst_query_set_duration),
12951         (gst_query_parse_duration), (gst_query_new_convert):
12952         * gst/gstutils.c:
12953         Yay! 1% more docs coverage.
12954
12955 2005-10-20  Wim Taymans  <wim@fluendo.com>
12956
12957         * gst/gstpad.h:
12958         * gst/gstquery.c: (gst_query_set_position),
12959         (gst_query_parse_position), (gst_query_set_duration),
12960         (gst_query_parse_duration), (gst_query_new_convert):
12961         * gst/gstquery.h:
12962         * gst/gstutils.c: (gst_element_query_convert):
12963         * gst/gstutils.h:
12964         Docs and consistency fixes.
12965
12966 2005-10-20  Wim Taymans  <wim@fluendo.com>
12967
12968         * gst/gsttask.c:
12969         * gst/gsttask.h:
12970         More docs.
12971
12972 2005-10-20  Wim Taymans  <wim@fluendo.com>
12973
12974         * gst/gstbin.c: (message_check), (bin_replace_message),
12975         (bin_remove_messages), (is_eos), (gst_bin_add_func),
12976         (update_degree), (gst_bin_sort_iterator_next),
12977         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
12978         Reworked the message handling a bit, cache the messages instead of
12979         only the senders. alows us to do more in the future.
12980
12981 2005-10-20  Wim Taymans  <wim@fluendo.com>
12982
12983         * docs/design/part-TODO.txt:
12984         Update TODO
12985
12986         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
12987         (gst_base_sink_query):
12988         Don't use clock time to report position when in EOS.
12989
12990 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
12991
12992         * tools/gst-inspect.c: (print_interfaces),
12993         (print_element_properties_info), (print_element_info):
12994           Fix interface output with gst-inspect -a; don't print
12995           newlines after double/float properties.
12996
12997 2005-10-20  Wim Taymans  <wim@fluendo.com>
12998
12999         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13000         (gst_base_sink_query):
13001         Speed up current position calculation.
13002
13003         * gst/base/gstbasesrc.c: (gst_base_src_query),
13004         (gst_base_src_default_newsegment):
13005         Correctly set stream position in newsegment.
13006
13007         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
13008         (update_degree), (gst_bin_sort_iterator_next),
13009         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
13010         * gst/gstmessage.c: (gst_message_new_custom):
13011         Clean up debugging info
13012
13013         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13014         (gst_queue_loop), (gst_queue_handle_src_query):
13015         Pause task faster.
13016
13017 2005-10-19  Wim Taymans  <wim@fluendo.com>
13018
13019         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13020         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13021         Fix query handling again.
13022
13023 2005-10-19  Wim Taymans  <wim@fluendo.com>
13024
13025         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13026         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13027         * gst/base/gstbasesrc.c: (gst_base_src_query):
13028         * gst/elements/gstfilesink.c: (gst_file_sink_query):
13029         * gst/elements/gsttypefindelement.c:
13030         (gst_type_find_handle_src_query), (find_element_get_length),
13031         (gst_type_find_element_activate):
13032         API change fix.
13033
13034         * gst/gstquery.c: (gst_query_new_position),
13035         (gst_query_set_position), (gst_query_parse_position),
13036         (gst_query_new_duration), (gst_query_set_duration),
13037         (gst_query_parse_duration), (gst_query_set_segment),
13038         (gst_query_parse_segment):
13039         * gst/gstquery.h:
13040         Bundling query position/duration is not a good idea since duration
13041         does not change much and we don't want to recalculate it for every
13042         position query, so they are separated again..
13043         Base value in segment query is not needed.
13044
13045         * gst/gstqueue.c: (gst_queue_handle_src_query):
13046         * gst/gstutils.c: (gst_element_query_position),
13047         (gst_element_query_duration), (gst_pad_query_position),
13048         (gst_pad_query_duration):
13049         * gst/gstutils.h:
13050         Updates for query API change.
13051         Added some docs here and there.
13052
13053 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13054
13055         * check/gst/gstbin.c: (GST_START_TEST):
13056         * check/gst/gstghostpad.c: (GST_START_TEST):
13057         * check/pipelines/cleanup.c: (GST_START_TEST):
13058           wait on thread to die so we can check refcount correctly
13059
13060 2005-10-18  Wim Taymans  <wim@fluendo.com>
13061
13062         * check/pipelines/stress.c: (GST_START_TEST):
13063         Make check a little more time consuming.
13064
13065 2005-10-18  Wim Taymans  <wim@fluendo.com>
13066
13067         * check/Makefile.am:
13068         * check/pipelines/stress.c: (GST_START_TEST),
13069         (simple_launch_lines_suite), (main):
13070         Small state change torture test.
13071
13072         * docs/design/part-states.txt:
13073         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13074         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
13075         (gst_base_sink_change_state):
13076         Never take state lock from streaming thread, clean up ugly
13077         hacks. Unfortunatly core does not yet support nice ways to
13078         async commit state.
13079         
13080         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
13081         (bin_bus_handler):
13082         Start state recalc if a STATE_DIRTY message is posted, but only
13083         on the toplevel bin.
13084
13085         * gst/gstelement.c: (gst_element_sync_state_with_parent),
13086         (gst_element_get_state_func), (gst_element_abort_state),
13087         (gst_element_commit_state), (gst_element_lost_state),
13088         (gst_element_set_state_func), (gst_element_change_state):
13089         * gst/gstelement.h:
13090         State variables are now protected with the LOCK, the state
13091         lock is only used to serialize _set_state().
13092
13093 2005-10-18  Wim Taymans  <wim@fluendo.com>
13094
13095         * check/gst/gstbin.c: (GST_START_TEST):
13096         * check/gst/gstmessage.c: (GST_START_TEST):
13097         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13098         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
13099         (bin_bus_handler):
13100         * gst/gstelement.c: (gst_element_abort_state),
13101         (gst_element_commit_state), (gst_element_lost_state):
13102         * gst/gstmessage.c: (gst_message_new_state_changed),
13103         (gst_message_new_state_dirty), (gst_message_new_segment_start),
13104         (gst_message_new_segment_done), (gst_message_new_duration),
13105         (gst_message_parse_state_changed),
13106         (gst_message_parse_segment_start),
13107         (gst_message_parse_segment_done), (gst_message_parse_duration):
13108         * gst/gstmessage.h:
13109         * tools/gst-launch.c: (event_loop):
13110         Seriously, this is better than a previous commit as we only need
13111         to notify the fact that an element changed state in a streaming
13112         thread, marking the state of the parents dirty, hence the 
13113         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
13114         message.
13115
13116 2005-10-18  Wim Taymans  <wim@fluendo.com>
13117
13118         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
13119         (gst_bin_recalc_func):
13120         * gst/gstelement.c: (gst_element_set_clock),
13121         (gst_element_abort_state), (gst_element_lost_state):
13122         Cleanups, prepare for state change fixes.
13123
13124 2005-10-18  Wim Taymans  <wim@fluendo.com>
13125
13126         * gst/gstbin.h:
13127         * gst/gstelement.c: (gst_element_class_init),
13128         (gst_element_set_state), (gst_element_set_state_func):
13129         * gst/gstelement.h:
13130         Pending ABI changes.
13131         GThreadPool in GstBinClass to monitor async state changes.
13132         state_cookie in GstElement to detect concurrent gst/set state.
13133         set_state is now virtual too in case a very complicated element
13134         has to be constructed.
13135
13136 2005-10-18  Wim Taymans  <wim@fluendo.com>
13137
13138         * check/gst/gstbin.c: (GST_START_TEST):
13139         * check/gst/gstmessage.c: (GST_START_TEST):
13140         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13141         * gst/gstbin.c: (bin_bus_handler):
13142         * gst/gstelement.c: (gst_element_commit_state),
13143         (gst_element_lost_state):
13144         * gst/gstmessage.c: (gst_message_new_state_changed),
13145         (gst_message_new_segment_start), (gst_message_new_segment_done),
13146         (gst_message_new_duration), (gst_message_parse_state_changed),
13147         (gst_message_parse_segment_start),
13148         (gst_message_parse_segment_done), (gst_message_parse_duration):
13149         * gst/gstmessage.h:
13150         * tools/gst-launch.c: (event_loop):
13151         Make messages future proof.
13152         state-change gets a flag if it was a message comming from the
13153         streaming thread.
13154         segment-start/stop can also be specified in other formats.
13155         A message to notify an app that a pipeline changed playback 
13156         duration.
13157         Also fix a GstMessage leak in -launch
13158
13159 2005-10-18  Andy Wingo  <wingo@pobox.com>
13160
13161         * gst/gstelement.c (gst_element_dispose): More helpful message.
13162
13163 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13164
13165         reviewed by: <delete if not using a buddy>
13166
13167         * common/gtk-doc.mak:
13168
13169 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13170
13171         * gst/gstregistry.c: (gst_registry_scan_path_level):
13172           unref a plug-in we get that was already initialized
13173
13174 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
13175
13176         * docs/gst/gstreamer-sections.txt:
13177         * docs/libs/gstreamer-libs-sections.txt:
13178         * gst/gstelement.h:
13179           add new api entries
13180           hide internal macro
13181
13182 2005-10-17  Andy Wingo  <wingo@pobox.com>
13183
13184         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
13185         cleanup.
13186
13187         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
13188
13189         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
13190
13191         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
13192         (gst_element_get_state_func): Better debug message.
13193         (gst_element_commit_state): s/INFO/DEBUG/.
13194         (gst_element_lost_state, gst_element_change_state): 
13195
13196         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
13197         (gst_message_new_custom): s/INFO/LOG/.
13198
13199 2005-10-17  Michael Smith <msmith@fluendo.com>
13200
13201         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13202           Check if end time is valid using end time, not start time.
13203
13204 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
13205
13206         * check/gst-libs/controller.c: (GST_START_TEST),
13207         (gst_controller_suite):
13208         * libs/gst/controller/gstcontroller.c:
13209         (gst_controlled_property_set_interpolation_mode):
13210         * libs/gst/controller/gstcontroller.h:
13211         * libs/gst/controller/gstinterpolation.c:
13212         * testsuite/controller/.cvsignore:
13213         * testsuite/controller/Makefile.am:
13214         * testsuite/controller/interpolator.c:
13215           merge controller testsuites
13216           fix broken tests
13217           remove mem-chunk from docs
13218
13219 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
13220
13221         * gst/gstmemchunk.c:
13222         * gst/gstmemchunk.h:
13223         * gst/gsttrashstack.c:
13224         * gst/gsttrashstack.h:
13225           out.  get out.  you're fired.  to the Attic !
13226
13227 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
13228
13229         * gst/gstcaps.c: (gst_caps_intersect):
13230           fix signedness issues in a (hopefully) correct way
13231         * gst/gstelement.c: (gst_element_pads_activate):
13232           some debugging
13233         * gst/gstobject.c: (gst_object_set_parent):
13234           some debugging
13235
13236 2005-10-17  Julien MOUTTE  <julien@moutte.net>
13237
13238         * gst/gstvalue.h: Fix prototypes.
13239
13240 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13241
13242         * docs/gst/gstreamer-sections.txt:
13243         * gst/gst.c: (gst_version_string):
13244         * gst/gst.h:
13245         * gst/gstversion.h.in:
13246         * win32/common/libgstreamer.def:
13247           add gst_version_string ()
13248
13249 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13250
13251         * configure.ac:
13252           clean up further
13253         * gst/gst.c: (init_post):
13254         * win32/common/config.h.in:
13255           it's PLUGINDIR now
13256         * gst/gstcaps.c: (gst_caps_intersect):
13257           use gint64, the range could be bigger than a guint
13258
13259 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13260
13261         * gst/gstclock.h:
13262           document potential problem in 2038
13263
13264 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13265
13266         * gst/gstcaps.c: (gst_caps_intersect):
13267           Fix guint j diving under 0
13268
13269 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13270
13271         * configure.ac:
13272         * win32/common/config.h:
13273         * win32/common/config.h.in:
13274           check for process.h, declares getpid() on Windows
13275         * gst/gstinfo.c:
13276           include process.h if we have it
13277         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
13278         * gst/gstmemchunk.h:
13279           fix signedness issues
13280         * win32/common/libgstreamer.def:
13281           fix get_type's
13282
13283 2005-10-16  Julien MOUTTE  <julien@moutte.net>
13284
13285         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
13286         fix. Because of unsigned ints, caps intersection was going nuts and
13287         trying to access structures with G_MAXUINT index. That fixes
13288         videotestsrc ! ffmpegcolorspace ! fakesink
13289         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
13290         consistency.
13291
13292 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13293
13294         * configure.ac:
13295           use the gettext macro
13296         * gst/elements/gstelements.c:
13297         * gst/gst.c:
13298         * gst/indexers/gstindexers.c:
13299           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
13300         * win32/common/config.h:
13301           updated config.h
13302         * win32/common/config.h.in:
13303           add the template to generate config.h
13304         * win32/common/gstenumtypes.c:
13305         * win32/common/gstversion.h:
13306           updated copies
13307
13308 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13309
13310         * gst/gst.c: (gst_version):
13311         * gst/gstversion.h.in:
13312           add the nano
13313
13314 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
13315
13316         * gst/gstevent.h:
13317           Oops, add missing closing bracket.
13318
13319 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13320
13321         * configure.ac:
13322           use common m4's for argument checking
13323
13324 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
13325
13326         * docs/gst/gstreamer-sections.txt:
13327         * gst/gstevent.h:
13328           Add GST_EVENT_TYPE_NAME() macro.
13329
13330 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13331
13332         * gst/gstinfo.c:
13333         * gst/gstpluginfeature.c:
13334         * gst/gsttask.c:
13335           privatize more symbols
13336
13337 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13338
13339         * configure.ac:
13340           add srcdir, builddir includes to GST_ALL_CFLAGS, since
13341           everything that uses GStreamer API should have the includes
13342
13343 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13344
13345         * docs/gst/gstreamer-sections.txt:
13346         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13347         * gst/gstvalue.h:
13348           give each value a _get_type, removes the DATA exports
13349
13350 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13351
13352         * gst/gst.c:
13353         * gst/gst.h:
13354           remove _gst_registry_auto_load, not used anymore
13355         * gst/gstbin.c: (gst_bin_get_type):
13356         * gst/gstbin.h:
13357         * gst/gstelement.c: (gst_element_get_type):
13358         * gst/gstelement.h:
13359         * gst/gstobject.c: (gst_object_get_type):
13360         * gst/gstobject.h:
13361         * gst/gstpad.c: (gst_pad_get_type):
13362         * gst/gstpad.h:
13363           make _get_type functions similar, fixes data export from library
13364
13365 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13366
13367         * configure.ac:
13368           correctly make conditionals
13369         * gst/elements/Makefile.am:
13370         * gst/elements/gstelements.c:
13371           fix typo causing fdsrc not to build
13372
13373 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13374
13375         * testsuite/Makefile.am:
13376         * testsuite/bytestream/.cvsignore:
13377         * testsuite/bytestream/Makefile.am:
13378         * testsuite/bytestream/filepadsink.c:
13379         * testsuite/bytestream/gstbstest.c:
13380         * testsuite/bytestream/test1.c:
13381         * testsuite/bytestream/testfile1:
13382         * testsuite/caps/normalisation.c:
13383         * testsuite/caps/random.c: (main):
13384         * testsuite/cleanup/.cvsignore:
13385         * testsuite/cleanup/Makefile.am:
13386         * testsuite/cleanup/cleanup1.c:
13387         * testsuite/cleanup/cleanup2.c:
13388         * testsuite/cleanup/cleanup3.c:
13389         * testsuite/cleanup/cleanup4.c:
13390         * testsuite/cleanup/cleanup5.c:
13391         * testsuite/controller/interpolator.c:
13392         * testsuite/debug/printf_extension.c: (main):
13393         * testsuite/elements/tee.c:
13394         * testsuite/negotiation/.cvsignore:
13395         * testsuite/negotiation/Makefile.am:
13396         * testsuite/negotiation/pad_link.c:
13397         * testsuite/pad/Makefile.am:
13398         * testsuite/pad/chainnopull.c:
13399         * testsuite/pad/getnopush.c:
13400         * testsuite/pad/link.c:
13401         * testsuite/refcounting/sched.c: (create_pipeline):
13402         * testsuite/registry/Makefile.am:
13403         * testsuite/registry/gst-print-formats.c:
13404         * testsuite/schedulers/.cvsignore:
13405         * testsuite/schedulers/142183-2.c:
13406         * testsuite/schedulers/142183.c:
13407         * testsuite/schedulers/143777-2.c:
13408         * testsuite/schedulers/143777.c:
13409         * testsuite/schedulers/147713.c:
13410         * testsuite/schedulers/147819.c:
13411         * testsuite/schedulers/147894-2.c:
13412         * testsuite/schedulers/147894.c:
13413         * testsuite/schedulers/Makefile.am:
13414         * testsuite/schedulers/group_link.c:
13415         * testsuite/schedulers/queue_link.c:
13416         * testsuite/schedulers/relink.c:
13417         * testsuite/schedulers/unlink.c:
13418         * testsuite/schedulers/unref.c:
13419         * testsuite/schedulers/useless_iteration.c:
13420         * testsuite/states/bin.c:
13421           clean out/remove some stuff from the testsuite directories
13422
13423 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13424
13425         * configure.ac:
13426           check for some headers
13427         * gst/elements/Makefile.am:
13428         * gst/elements/gstelements.c:
13429           don't compile fdsrc without sys/socket.h
13430         * gst/indexers/Makefile.am:
13431         * gst/indexers/gstindexers.c: (plugin_init):
13432           don't compile fileindex without mmap
13433
13434 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13435
13436         * configure.ac:
13437           reorganize
13438           clean up
13439           document more
13440           remove cruft
13441         * check/Makefile.am:
13442         * docs/gst/Makefile.am:
13443         * examples/helloworld/Makefile.am:
13444         * gst/Makefile.am:
13445         * gst/base/Makefile.am:
13446         * gst/check/Makefile.am:
13447         * gst/elements/Makefile.am:
13448         * gst/indexers/Makefile.am:
13449         * gst/parse/Makefile.am:
13450         * libs/gst/controller/Makefile.am:
13451         * libs/gst/dataprotocol/Makefile.am:
13452         * examples/helloworld/helloworld.c: (event_loop):
13453           compile fixes, though it's not being compiled currently
13454
13455 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13456
13457         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
13458           Add some simple tests for the new taglist date API.
13459
13460 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13461
13462         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
13463         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
13464           Beautify 'last-message' output: print 'none' for buffer timestamps
13465           and durations if none is set; improve alignment with next messages.
13466
13467 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
13468
13469         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
13470         * gst/gstpluginfeature.h:
13471         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
13472         * gst/gstregistry.h:
13473         * docs/gst/gstreamer-sections.txt:
13474           Add new API to check plugin feature version requirements.
13475
13476         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
13477           Some basic tests for the above.         
13478
13479 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13480
13481         * gst/gststructure.c: (gst_structure_to_string):
13482           guard against NULL printf - happens when for example
13483           a message structure with GstClock gets serialized
13484
13485 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
13486
13487         * gst/base/gstcollectpads.c: (gst_collectpads_event):
13488           Fix presumable copy'n'pasto.
13489
13490 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13491
13492         * gst/elements/gstfakesrc.h:
13493         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
13494         * gst/elements/gsttypefindelement.c:
13495           fix some signedness
13496         * gst/elements/gstfilesink.c: (gst_file_sink_render):
13497           I wonder if this could actually write +2GB files before
13498
13499 2005-10-13  Andy Wingo  <wingo@pobox.com>
13500
13501         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
13502         Fix Timmeke Waymans bug.
13503         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
13504         string of the proper length to gst_caps_from_string. There's a
13505         potential for, before this fix, that this could cause someone
13506         connecting over the network to cause a segfault if the payload is
13507         not NUL-terminated.
13508
13509 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
13510
13511         * docs/design/draft-push-pull.txt:
13512         * docs/design/part-overview.txt:
13513         * docs/random/TODO-pre-0.9:
13514         * docs/random/old/ChangeLog.gstreamer:
13515         * gst/base/gstpushsrc.c:
13516         * gst/gstclock.c:
13517           fixed typos
13518
13519 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13520
13521         * gst/glib-compat.c: (gst_flags_get_first_value):
13522         * gst/glib-compat.h:
13523         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
13524         (gst_value_compare_double), (gst_value_serialize_flags):
13525           GLib 2.6 g_flags_get_first_value has a bug that triggers an
13526           infinite loop
13527
13528 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13529
13530         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13531         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13532           fix up debugging
13533         * tools/gst-launch.c: (event_loop):
13534           print out clock nicely
13535
13536 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
13537
13538         * docs/gst/gstreamer-sections.txt:
13539         * gst/gsttaglist.h:
13540         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
13541         (gst_tag_list_get_date_index):
13542           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
13543           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
13544
13545 2005-10-13  Julien MOUTTE  <julien@moutte.net>
13546
13547         * gst/base/gstcollectpads.c: (gst_collectpads_event),
13548         (gst_collectpads_chain):
13549         * gst/base/gstcollectpads.h: Handle newsegment and store informations
13550         in CollectData.
13551
13552 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
13553
13554         * docs/gst/gstreamer-sections.txt:
13555         * gst/gst.c:
13556         * gst/gsterror.h:
13557         * tools/gst-inspect.c: (main):
13558         * tools/gst-launch.c: (main):
13559         * tools/gst-run.c: (main):
13560         * tools/gst-xmlinspect.c: (main):
13561           fix GOption context leaks
13562           doc fixes
13563
13564 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13565
13566         * gst/gstbus.c:
13567           use HAVE_UNISTD_H
13568         * win32/common/config.h:
13569           update config
13570         * win32/vs6/grammar.dsp:
13571         * win32/vs6/libgstelements.dsp:
13572         * win32/vs6/libgstreamer.dsp:
13573           update vs6 files
13574
13575 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13576
13577         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13578         * gst/base/gstbasesrc.c: (gst_base_src_query):
13579           fix more guint64<->gdouble conversions
13580
13581 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13582
13583         * Makefile.am:
13584           add win32-update target
13585         * win32/common/gstconfig.h:
13586         * win32/common/gstenumtypes.c:
13587         * win32/common/gstenumtypes.h:
13588         * win32/common/gstversion.h:
13589           add files that visual studio can't generate
13590
13591 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13592
13593         * Makefile.am:
13594           add a win32-update target
13595         * configure.ac:
13596
13597 2005-10-12  Wim Taymans  <wim@fluendo.com>
13598
13599         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13600         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
13601         * gst/gstelement.c: (gst_element_commit_state),
13602         (gst_element_set_state):
13603         Protect flags with proper lock.
13604         unref provided cached clock in dispose.
13605
13606 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
13607
13608         * gst/gst.c:
13609         * gst/gstminiobject.h:
13610         * gst/gstpad.h:
13611         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
13612           removed unused flags from miniobject
13613           doc fixes
13614
13615 2005-10-12  Wim Taymans  <wim@fluendo.com>
13616
13617         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13618         (gst_file_sink_event), (gst_file_sink_render):
13619         Flush before seeking.
13620
13621 2005-10-12  Andy Wingo  <wingo@pobox.com>
13622
13623         * gst/gst.c (gst_init_check): Ignore unknown options, as has
13624         always been the case.
13625
13626 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
13627
13628         * check/gst/gstbin.c: (GST_START_TEST):
13629         * docs/gst/gstreamer-sections.txt:
13630         * gst/base/gstbasesink.c: (gst_base_sink_init):
13631         * gst/base/gstbasesrc.c: (gst_base_src_init),
13632         (gst_base_src_get_range), (gst_base_src_check_get_range),
13633         (gst_base_src_start), (gst_base_src_stop):
13634         * gst/base/gstbasesrc.h:
13635         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
13636         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13637         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
13638         (bin_bus_handler):
13639         * gst/gstbin.h:
13640         * gst/gstbuffer.h:
13641         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
13642         * gst/gstbus.h:
13643         * gst/gstelement.c: (gst_element_is_locked_state),
13644         (gst_element_set_locked_state), (gst_element_commit_state),
13645         (gst_element_set_state):
13646         * gst/gstelement.h:
13647         * gst/gstindex.c: (gst_index_init):
13648         * gst/gstindex.h:
13649         * gst/gstminiobject.h:
13650         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
13651         (gst_object_set_parent):
13652         * gst/gstobject.h:
13653         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
13654         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
13655         * gst/gstpad.h:
13656         * gst/gstpadtemplate.h:
13657         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
13658         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
13659         * gst/gstpipeline.h:
13660         * gst/indexers/gstfileindex.c: (gst_file_index_load),
13661         (gst_file_index_commit):
13662         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
13663         * testsuite/pad/link.c: (gst_test_src_init),
13664         (gst_test_filter_init), (gst_test_sink_init):
13665         * testsuite/states/locked.c: (main):
13666           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
13667           moved bitshift from macro to enum definition
13668
13669 2005-10-12  Wim Taymans  <wim@fluendo.com>
13670
13671         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
13672         * gst/elements/gstfilesink.c: (gst_file_sink_event),
13673         (gst_file_sink_render):
13674         Some more debugging info.
13675
13676 2005-10-12  Wim Taymans  <wim@fluendo.com>
13677
13678         * docs/design/part-states.txt:
13679         * tools/gst-launch.c: (main):
13680         Some doc updates.
13681         Revert non-intentional change.
13682
13683 2005-10-12  Wim Taymans  <wim@fluendo.com>
13684
13685         * check/gst/gstbin.c: (GST_START_TEST):
13686         * check/gst/gstelement.c: (GST_START_TEST):
13687         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
13688         * check/gst/gstghostpad.c: (GST_START_TEST):
13689         * check/gst/gstpipeline.c: (GST_START_TEST):
13690         * check/pipelines/simple_launch_lines.c: (run_pipeline):
13691         * check/states/sinks.c: (GST_START_TEST):
13692         * gst/elements/gsttypefindelement.c: (stop_typefinding):
13693         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13694         (gst_bin_remove_func), (gst_bin_get_state_func),
13695         (gst_bin_recalc_state), (gst_bin_change_state_func),
13696         (bin_bus_handler):
13697         * gst/gstelement.c: (gst_element_get_state_func),
13698         (gst_element_get_state), (gst_element_abort_state),
13699         (gst_element_commit_state), (gst_element_set_state),
13700         (gst_element_change_state), (gst_element_change_state_func):
13701         * gst/gstelement.h:
13702         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
13703         (gst_pipeline_provide_clock_func):
13704         * gst/gstutils.c: (gst_element_link_pads_filtered):
13705         * tools/gst-launch.c: (main):
13706         * tools/gst-typefind.c: (main):
13707         Use GstClockTime in _get_state() instead of GTimeVal.
13708         Remove old code in gstutils.c
13709
13710 2005-10-12  Andy Wingo  <wingo@pobox.com>
13711
13712         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
13713         removed.
13714
13715         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
13716         there is no task. Shouldn't affect any code, as nothing in our
13717         plugins checks this return value.
13718         (gst_pad_stop_task): Also take the stream lock if the pad has no
13719         task. Docs updated.
13720
13721 2005-10-12  Wim Taymans  <wim@fluendo.com>
13722
13723         * gst/gstpad.c: (pre_activate), (post_activate),
13724         (gst_pad_activate_pull), (gst_pad_activate_push):
13725         Cleanup activation code. Reset old state if
13726         activation failed.
13727
13728 2005-10-12  Wim Taymans  <wim@fluendo.com>
13729
13730         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13731         (gst_base_sink_change_state):
13732         No need to prerol after receiving EOS.
13733
13734         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13735         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
13736         * gst/elements/gstidentity.c: (gst_identity_event):
13737         Print events more verbosely.
13738
13739 2005-10-12  Wim Taymans  <wim@fluendo.com>
13740
13741         * check/Makefile.am:
13742         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
13743         * check/states/sinks2.c:
13744         Moved sinks2 testcode in sinks check.
13745
13746         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13747         (gst_bin_remove_func), (gst_bin_recalc_state),
13748         (gst_bin_change_state_func), (bin_bus_handler):
13749         Fix potential race condition when _get_state() iterated over an
13750         ASYNC element right before it posted a state completion.
13751
13752         * gst/gstclock.h:
13753         Do proper cast here.
13754
13755         * gst/gstevent.c: (gst_event_new_newsegment),
13756         (gst_event_parse_newsegment):
13757         A playback rate of 0.0 is not allowed.
13758
13759 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13760
13761         * win32/common/config.h:
13762         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
13763         (_trewinddir), (_ttelldir), (_tseekdir):
13764         * win32/common/dirent.h:
13765         * win32/common/gtchar.h:
13766         * win32/common/libgstbase.def:
13767         * win32/common/libgstreamer.def:
13768         * win32/vs6/grammar.dsp:
13769         * win32/vs6/gst_inspect.dsp:
13770         * win32/vs6/gst_launch.dsp:
13771         * win32/vs6/gstreamer.dsw:
13772         * win32/vs6/libgstbase.dsp:
13773         * win32/vs6/libgstelements.dsp:
13774         * win32/vs6/libgstreamer.dsp:
13775           Visual Studio 6 project files, and a new common directory.
13776           Phear.
13777
13778 2005-10-11  Wim Taymans  <wim@fluendo.com>
13779
13780         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13781         (gst_base_sink_do_sync), (gst_base_sink_query),
13782         (gst_base_sink_change_state):
13783         * gst/base/gstbasesink.h:
13784         Correctly parse newsegment info.
13785
13786 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13787
13788         * gst/gst.c: (init_post):
13789           split plugin paths correctly
13790
13791 2005-10-11  Wim Taymans  <wim@fluendo.com>
13792
13793         * check/gst/gstevent.c: (GST_START_TEST):
13794         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13795         (gst_base_sink_change_state):
13796         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
13797         * gst/base/gstbasetransform.c: (gst_base_transform_event):
13798         * gst/elements/gstfilesink.c: (gst_file_sink_event):
13799         * gst/gstevent.c: (gst_event_new_newsegment),
13800         (gst_event_parse_newsegment):
13801         * gst/gstevent.h:
13802         Added extra flag to newsegment for future API freeze.
13803         Updated check and base elements.
13804
13805 2005-10-11  Julien MOUTTE  <julien@moutte.net>
13806
13807         * gst/base/gstcollectpads.c: (gst_collectpads_init),
13808         (gst_collectpads_add_pad), (gst_collectpads_pop),
13809         (gst_collectpads_event), (gst_collectpads_chain):
13810         * gst/base/gstcollectpads.h: Handle EOS correctly.
13811
13812 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13813
13814         * tools/gst-launch.c: (main):
13815           more null protecting
13816
13817 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13818
13819         * gst/gst-i18n-lib.h:
13820           check for ENABLE_NLS, not GETTEXT_PACKAGE
13821         * gst/gstregistry.c: (gst_registry_add_plugin),
13822         (gst_registry_scan_path_level),
13823         (_gst_registry_remove_cache_plugins):
13824           protect possibly NULL strings
13825         * gst/parse/types.h:
13826           config.h already included before
13827         * tools/gst-inspect.c: (main):
13828           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
13829           check for ENABLE_NLS, not GETTEXT_PACKAGE
13830         * tools/gst-launch.c: (main):
13831           check for ENABLE_NLS, not GETTEXT_PACKAGE
13832
13833 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13834
13835         * configure.ac:
13836           if we don't have glib, fail before testing 2.8
13837         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
13838           fix a leak, should fix plugins-base testsuite
13839
13840 2005-10-11  Andy Wingo  <wingo@pobox.com>
13841
13842         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
13843         take the mode we're going to as an arg. Go head and set the mode
13844         and flushing flags now, so that if the activate function starts a
13845         thread all the flags will be in the right state.
13846         (post_activate): Renamed also. Just handle making sure streaming
13847         finishes for the deactivation case, and setting the deactivated
13848         mode.
13849         (gst_pad_set_active): Complain loudly if deactivation fails.
13850         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
13851         (gst_pad_activate_push): Adapt to pre/post_activate changes,
13852         remove the terrible hack.
13853
13854 2005-10-11  Wim Taymans  <wim@fluendo.com>
13855
13856         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
13857         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
13858         (gst_bin_recalc_state), (gst_bin_change_state_func),
13859         (gst_bin_dispose), (bin_bus_handler):
13860         * gst/gstbin.h:
13861         Prepare to make current EOS message queue more generic.
13862         Fix some typos.
13863
13864         * gst/gstevent.c: (gst_event_new_newsegment),
13865         (gst_event_parse_newsegment):
13866         * gst/gstevent.h:
13867         Rename base to stream_time.
13868
13869         * gst/gstmessage.h:
13870         Fix typo in docs.
13871
13872 2005-10-11  Wim Taymans  <wim@fluendo.com>
13873
13874         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
13875         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
13876         (gst_bin_change_state_func), (bin_bus_handler):
13877         * gst/gstbin.h:
13878         Work on proper clock selection.
13879
13880 2005-10-11  Edward Hervey  <edward@fluendo.com>
13881
13882         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
13883         * libs/gst/controller/gstcontroller.h:
13884         Added GList* version of _remove_properties() in order to be able to wrap
13885         it in bindings.
13886
13887 2005-10-11  Wim Taymans  <wim@fluendo.com>
13888
13889         * docs/design/part-states.txt:
13890         Some more docs.
13891
13892         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
13893         (gst_bin_change_state_func), (bin_bus_handler):
13894         Doc updates. Don't distribute the same clock over and over again.
13895
13896         * gst/gstclock.c:
13897         * gst/gstclock.h:
13898         Doc updates.
13899
13900         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
13901         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
13902         (gst_pad_send_event):
13903         * gst/gstpad.h:
13904         Make probe emission threadsafe again.
13905         Register quarks and move _get_name() from utils.
13906         Doc updates.
13907
13908         * gst/gstpipeline.c: (gst_pipeline_class_init),
13909         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
13910         Only redistribute the clock of it changed.
13911
13912         * gst/gstsystemclock.h:
13913         Doc updates. 
13914
13915         * gst/gstutils.c:
13916         * gst/gstutils.h:
13917         Moved the _flow_get_name() to GstPad.
13918
13919 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13920
13921         * check/gst-libs/gdp.c: (GST_START_TEST):
13922         * check/gst/gstcaps.c: (GST_START_TEST):
13923         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
13924         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
13925         (gst_dp_packet_from_caps):
13926           fix more valgrind warnings before turning up the heat
13927
13928 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13929
13930         * gst/parse/grammar.y:
13931           some cleanup before the hacking
13932
13933 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13934
13935         * gst/base/gstbasesrc.c: (gst_base_src_query):
13936           use conversions
13937         * gst/gstutils.c: (gst_guint64_to_gdouble),
13938         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
13939         * gst/gstutils.h:
13940           externalize, basesrc uses it
13941           obviously the implementation needs testing
13942
13943 2005-10-10  Wim Taymans  <wim@fluendo.com>
13944
13945         * tests/sched/Makefile.am:
13946         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
13947         (make_pipeline3), (make_pipeline4), (print_elem), (main):
13948
13949 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13950
13951         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
13952           apparently converting from guint64 to double is not implemented
13953           on MSVC
13954
13955 2005-10-10  Wim Taymans  <wim@fluendo.com>
13956
13957         * check/Makefile.am:
13958         * check/generic/states.c: (GST_START_TEST):
13959         * check/gst/gstbin.c: (GST_START_TEST):
13960         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13961         * check/states/sinks.c: (GST_START_TEST):
13962         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
13963         (main):
13964         Check fixes, use API as stated in design docs, remove hacks.
13965
13966         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13967         (gst_base_sink_change_state):
13968         Catch stopping our task while we're shutting down.
13969
13970         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
13971         (gst_bin_remove_func), (gst_bin_get_state_func),
13972         (gst_bin_recalc_state), (gst_bin_change_state_func),
13973         (bin_bus_handler):
13974         * gst/gstbin.h:
13975         * gst/gstelement.c: (gst_element_init),
13976         (gst_element_get_state_func), (gst_element_abort_state),
13977         (gst_element_commit_state), (gst_element_lost_state),
13978         (gst_element_set_state), (gst_element_change_state),
13979         (gst_element_change_state_func):
13980         * gst/gstelement.h:
13981         New state change algorithm (see #318116)
13982
13983         * gst/gstpipeline.c: (gst_pipeline_class_init),
13984         (gst_pipeline_init), (gst_pipeline_set_property),
13985         (gst_pipeline_get_property), (do_pipeline_seek),
13986         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
13987         * gst/gstpipeline.h:
13988         Remove crude state change hacks.
13989
13990         * gst/gstutils.h:
13991         Remove crude hacks.
13992
13993         * tools/gst-launch.c: (main):
13994         Fixes for state change. Needs some more work to fully use the
13995         new stuff.
13996
13997 2005-10-10  Andy Wingo  <wingo@pobox.com>
13998
13999         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
14000
14001         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
14002         this flag, but it's not even in GLib 2.6. Odd. Hack around the
14003         issue.
14004
14005 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14006
14007         * gst/gstiterator.c: (gst_iterator_new):
14008           Fix my previous commit: GTypes passed to gst_iterator_new()
14009           can be fundamental types.
14010
14011 2005-10-10  Wim Taymans  <wim@fluendo.com>
14012
14013         * gst/gstelement.c: (gst_element_iterate_pad_list),
14014         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
14015         (gst_element_iterate_sink_pads):
14016         Use src/sink pads lists for the respective iterators instead
14017         of filtering.
14018
14019 2005-10-10  Andy Wingo  <wingo@pobox.com>
14020
14021         Merged in popt removal + GOption addition patch from Ronald, bug
14022         #169772.
14023
14024         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
14025         GstElement macros around, remove popt-related symbols, add goption
14026         stuff.
14027
14028         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
14029         
14030         * docs/gst/Makefile.am:
14031         * docs/libs/Makefile.am: No POPT_CFLAGS.
14032         
14033         * examples/manual/Makefile.am:
14034         * docs/manual/basics-init.xml: Doc updates with an example.
14035         
14036         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
14037         (gst_init), (parse_one_option), (parse_goption_arg):
14038         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
14039         bit of hand merging and debugging to get the GOption stuff working
14040         tho.
14041         
14042         * tests/Makefile.am:
14043         * tools/Makefile.am:
14044         * tools/gst-inspect.c: (main):
14045         * tools/gst-launch.c: (main):
14046         * tools/gst-run.c: (main):
14047         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
14048
14049 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14050
14051         * gst/gstiterator.c: (gst_iterator_new):
14052           Add assertions to make sure passed GType is likely to really
14053           be a GType (as the compiler won't catch it if the size and
14054           GType arguments get mixed up, see #318447).
14055
14056 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
14057
14058         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14059
14060         * gst/gstbin.c: (gst_bin_iterate_sorted):
14061           Pass GType and size arguments to gst_iterator_new() in the right
14062           order (maybe we should make _new() take the GType as first argument
14063           just like _new_list()?) (#318447).
14064           
14065
14066 2005-10-10  Wim Taymans  <wim@fluendo.com>
14067
14068         * gst/gstelement.c: (gst_element_finalize):
14069         And free the GStaticRecMutex too
14070
14071 2005-10-10  Andy Wingo  <wingo@pobox.com>
14072
14073         * gst/gstelement.c (gst_element_init, gst_element_finalize):
14074         Allocate and free the mutex properly.
14075
14076         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
14077         New macros.
14078         (GstElement): The state_lock is now recursive. Rebuild your
14079         plugins, suckers. Old macros adapted.
14080
14081         * docs/gst/gstreamer-sections.txt: Doc updates.
14082
14083         * gst/gstutils.h:
14084         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
14085         (g_static_rec_cond_wait): Ported from state changes patch, while
14086         we wait on bug #317802 to be solved in a well-distributed GLib.
14087
14088         * gst/gstelement.c (gst_element_change_state_func): Renamed from
14089         gst_element_change_state, variable name changes.
14090         (gst_element_change_state): Split out of gst_element_set_state in
14091         preparation for the state change merge. Doesn't pay attention to
14092         the 'transition' argument.
14093         (gst_element_set_state): Updates, hopefully purely cosmetic.
14094         (gst_element_sync_state_with_parent): MT-safety. Ported from the
14095         state change patch.
14096         (gst_element_get_state_func): Renamed from get_state, cosmetic
14097         changes.
14098
14099 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14100
14101         * gst/elements/gstelements.c:
14102         * win32/GStreamer.vcproj:
14103         * win32/config.h:
14104         * win32/dirent.c: (_tseekdir):
14105         * win32/gst-inspect.vcproj:
14106         * win32/gst-launch.vcproj:
14107         * win32/gstconfig.h:
14108         * win32/gstelements.vcproj:
14109         * win32/gstenumtypes.c: (gst_object_flags_get_type):
14110         * win32/gstreamer.def:
14111         * win32/msvc71.sln:
14112           updates for the win32 build (patch from Sebastien Moutte)
14113
14114 2005-10-10  Andy Wingo  <wingo@pobox.com>
14115
14116         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
14117         gst_bin_get_state, cleaned up (but no logic changes).
14118         (bin_element_is_sink): Comment updates.
14119         (sink_iterator_filter): Remove needless cast.
14120         (gst_bin_iterate_sinks): Doc update.
14121         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
14122         cleaned up (but no logic changes).
14123
14124         * check/states/sinks.c (test_src_sink): Cleanups from the state
14125         change patch.
14126         (test_livesrc_sink): Sync on the state.
14127
14128         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
14129         the state change patch.
14130
14131         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
14132         change patch.
14133
14134         * check/gst/gstbin.c: Merge in some style fixes and additional
14135         checks from Wim's state change patch.
14136
14137 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
14138
14139         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14140         (gst_type_find_helper):
14141           Check whether we have the requested data already in our list of
14142           cached buffers before pulling a new buffer; also make the buffer
14143           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
14144
14145 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14146
14147         * gst/gstcaps.c:
14148         * gst/gstevent.c:
14149           doc updates
14150         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14151           don't use long long, it's not portable.  Replacing with
14152           gint64 seems to work; let's hope no skeletons fall out of the closet.
14153
14154 2005-10-10  Andy Wingo  <wingo@pobox.com>
14155
14156         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
14157
14158 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
14159
14160         * docs/gst/gstreamer-sections.txt:
14161         * gst/gstevent.c:
14162         * gst/gstevent.h:
14163         * gst/gstinfo.c:
14164         * gst/gstinfo.h:
14165         * gst/gstmessage.c: (gst_message_parse_state_changed):
14166         * gst/gstpad.c:
14167         * gst/gstpad.h:
14168           more docs, fix compilation
14169
14170 2005-10-09  Philippe Khalaf <burger@speedy.org>
14171         * gst/gstmessage.c:
14172           Fixed a few forgotten variables on previous commit
14173
14174 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
14175
14176         * gst/base/gsttypefindhelper.c: (helper_find_peek):
14177           Fix evil typefind crasher: getrange() might return a short
14178           buffer at the end of a file, but gst_type_find_peek() must
14179           either return the full data as requested or NULL, but
14180           never a short buffer.
14181
14182 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14183
14184         * gst/gstmessage.c: (gst_message_new_state_changed),
14185         (gst_message_parse_state_changed):
14186         * gst/gstmessage.h:
14187           don't use "new", it's a C++ keyword
14188
14189 2005-10-08  Wim Taymans  <wim@fluendo.com>
14190
14191         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
14192         * gst/gstelement.c: (gst_element_post_message):
14193         * gst/gstpipeline.c: (gst_pipeline_change_state):
14194         Small docs and debug updates.
14195
14196 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
14197
14198         * docs/gst/gstreamer-sections.txt:
14199         * gst/gstelementfactory.c:
14200         * gst/gstevent.c:
14201         * gst/gsttaglist.c:
14202           more docs
14203
14204 2005-10-08  Wim Taymans  <wim@fluendo.com>
14205
14206         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
14207         (gst_bin_dispose), (bin_bus_handler):
14208         Fix typos, add comments.
14209         Clear EOS list when going to PAUSED from any direction and do it
14210         in a threadsafe way.
14211         Get base time in a threadsafe way too.
14212         Fix confusing debug in the change_state function.
14213         Various other small cleanups.
14214         
14215         * gst/gstelement.c: (gst_element_post_message):
14216         Fix very verbose bus posting code.
14217
14218         * gst/gstpipeline.c: (gst_pipeline_class_init),
14219         (gst_pipeline_set_property), (gst_pipeline_get_property),
14220         (gst_pipeline_change_state):
14221         Small ARG_ -> PROP_ cleanup
14222
14223 2005-10-08  Wim Taymans  <wim@fluendo.com>
14224
14225         * gst/gstbin.c: (is_eos), (bin_bus_handler):
14226         Do a less CPU demanding EOS check because we can.
14227
14228 2005-10-08  Wim Taymans  <wim@fluendo.com>
14229
14230         * libs/gst/dataprotocol/dataprotocol.c:
14231         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14232         (gst_dp_packet_from_event):
14233         * libs/gst/dataprotocol/dataprotocol.h:
14234         * libs/gst/dataprotocol/dp-private.h:
14235         It's about time we bump the version number.
14236         Since event types don't fit in the guint8 anymore describing
14237         the payload type, make payload type 16 bits wide.
14238
14239 2005-10-08  Wim Taymans  <wim@fluendo.com>
14240
14241         * docs/design/part-TODO.txt:
14242         * docs/design/part-clocks.txt:
14243         * docs/design/part-events.txt:
14244         * docs/design/part-gstbin.txt:
14245         * docs/design/part-gstelement.txt:
14246         * docs/design/part-gstpipeline.txt:
14247         * docs/design/part-live-source.txt:
14248         * docs/design/part-messages.txt:
14249         * docs/design/part-overview.txt:
14250         * docs/design/part-states.txt:
14251         Many doc updates.
14252
14253 2005-10-08  Wim Taymans  <wim@fluendo.com>
14254
14255         * gst/gstevent.c:
14256         * gst/gstevent.h:
14257         Fix event quark registration.
14258         Add some space between events so we can insert them in the
14259         right groups.
14260
14261 2005-10-08  Wim Taymans  <wim@fluendo.com>
14262
14263         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14264         (gst_base_sink_handle_buffer):
14265         Better log message.
14266
14267         * gst/gstbus.h:
14268         * gst/gstelement.h:
14269         More docs.
14270
14271         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
14272         (gst_queue_set_property), (gst_queue_get_property):
14273         * gst/gstqueue.h:
14274         Remove old unused properties.
14275
14276 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
14277         * docs/gst/gstreamer-sections.txt:
14278         * gst/gstmessage.c:
14279         * gst/gstmessage.h:
14280         * gst/gstminiobject.c:
14281         * gst/gstminiobject.h:
14282         * gst/gstobject.h:
14283         * gst/gstpad.h:
14284         * gst/gstutils.h:
14285           lots of new docs and doc fixes
14286
14287 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14288
14289         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
14290         * gst/gstplugin.h:
14291         * gst/gstregistry.c: (gst_registry_lookup_locked),
14292         (gst_registry_scan_path_level):
14293         * gst/gstregistryxml.c: (load_plugin):
14294           Only ever load one plugin for a given plugin basename.
14295           This ensures correct overriding of GST_PLUGIN_PATH over
14296           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
14297           system installed plugins.
14298
14299 2005-10-08  Wim Taymans  <wim@fluendo.com>
14300
14301         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14302         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
14303         Prepare for doing QOS.
14304
14305 2005-10-08  Wim Taymans  <wim@fluendo.com>
14306
14307         * check/gst/gstbin.c: (GST_START_TEST):
14308         * check/pipelines/cleanup.c: (GST_START_TEST):
14309         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14310         Allow new clock message too.
14311
14312 2005-10-08  Wim Taymans  <wim@fluendo.com>
14313
14314         * gst/gstmessage.c: (gst_message_new_error),
14315         (gst_message_new_warning), (gst_message_new_tag),
14316         (gst_message_new_state_changed), (gst_message_new_clock_provide),
14317         (gst_message_new_clock_lost), (gst_message_new_new_clock),
14318         (gst_message_new_segment_start), (gst_message_new_segment_done),
14319         (gst_message_parse_state_changed),
14320         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
14321         (gst_message_parse_new_clock):
14322         * gst/gstmessage.h:
14323         Also carry the clock in question.
14324
14325 2005-10-08  Wim Taymans  <wim@fluendo.com>
14326
14327         * gst/gstmessage.c: (gst_message_new_custom),
14328         (gst_message_new_eos), (gst_message_new_error),
14329         (gst_message_new_warning), (gst_message_new_tag),
14330         (gst_message_new_state_changed), (gst_message_new_clock_provide),
14331         (gst_message_new_new_clock), (gst_message_new_segment_start),
14332         (gst_message_new_segment_done), (gst_message_parse_state_changed),
14333         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
14334         * gst/gstmessage.h:
14335         Clean up.
14336         Added clock related messages.
14337
14338         * gst/gstpipeline.c: (gst_pipeline_change_state):
14339         Post message when the clock changed.
14340
14341         * tools/gst-launch.c: (event_loop):
14342         Print new clock.
14343
14344 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
14345
14346         * tools/gst-inspect.c: (print_element_properties_info):
14347           Can't pass NULL strings to g_print() on windows.
14348
14349 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14350
14351         * docs/Makefile.am:
14352         * docs/gst/Makefile.am:
14353         * docs/gst/gstreamer-docs.sgml:
14354         * docs/gst/running.xml:
14355         * docs/version.entities.in:
14356           add a chapter on running GStreamer.
14357           document GST_DEBUG and GST_PLUGIN* env vars
14358
14359 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14360
14361         * Makefile.am:
14362           remove include dir
14363         * configure.ac:
14364           remove PLUGINS_BUILDDIR stuff
14365         * gst/gst.c: (init_post):
14366           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
14367         * idiottest.mak:
14368           remove, it was condescending and not needed
14369
14370 2005-10-08  Wim Taymans  <wim@fluendo.com>
14371
14372         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
14373         (gst_base_sink_handle_object), (gst_base_sink_event),
14374         (gst_base_sink_wait), (gst_base_sink_handle_event),
14375         (gst_base_sink_change_state):
14376         * gst/base/gstbasesink.h:
14377         Repost EOS message while going to PLAYING if still EOS.
14378         Make sure that when receiving a FLUSH_START we don't attempt
14379         to sync on the clock anymore.
14380
14381 2005-10-08  Wim Taymans  <wim@fluendo.com>
14382
14383         * tools/gst-launch.c: (event_loop):
14384         Better message printout.
14385
14386 2005-10-08  Wim Taymans  <wim@fluendo.com>
14387
14388         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
14389         (gst_bin_child_proxy_get_children_count):
14390         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14391         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
14392         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
14393         (gst_child_proxy_set_valist):
14394         * gst/parse/grammar.y:
14395         Make ChildProxy threadsafe and fix mem leaks.
14396
14397 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14398
14399         * gst/gst.c: (init_post):
14400           debug the GST_PLUGIN_ env vars
14401
14402 2005-10-08  Wim Taymans  <wim@fluendo.com>
14403
14404         * check/gst/gstbin.c: (GST_START_TEST):
14405         * check/gst/gstmessage.c: (GST_START_TEST):
14406         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14407         * gst/gstelement.c: (gst_element_commit_state),
14408         (gst_element_lost_state):
14409         * gst/gstmessage.c: (gst_message_new_state_changed),
14410         (gst_message_parse_state_changed):
14411         * gst/gstmessage.h:
14412         * tools/gst-launch.c: (event_loop):
14413         Added extra field to STATE_CHANGE message with the pending
14414         state, which will be different from the new state soon.
14415
14416 2005-10-08  Wim Taymans  <wim@fluendo.com>
14417
14418         * gst/gstbus.c: (gst_bus_pop):
14419         * gst/gstclock.c:
14420         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14421         Small cleanups and doc updates.
14422
14423 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14424
14425         * gst/gst.c: (init_pre):
14426         * gst/gstbin.c: (gst_bin_add_func):
14427           log distributing clocks and base time
14428         * gst/gstregistry.c: (gst_registry_add_plugin),
14429         (gst_registry_scan_path_level), (gst_registry_scan_path):
14430           clean up the debugging output a little
14431         * gst/gstutils.c: (gst_element_state_get_name):
14432           warn about a memleak (I've actually seen this be used, though
14433           it was probably a bug)
14434
14435 2005-10-07  Wim Taymans  <wim@fluendo.com>
14436
14437         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14438         (gst_base_src_init), (gst_base_src_default_newsegment),
14439         (gst_base_src_newsegment), (gst_base_src_do_seek),
14440         (gst_base_src_loop), (gst_base_src_start):
14441         * gst/base/gstbasesrc.h:
14442         Make the newsegment event customizable by subclasses.
14443
14444 2005-10-07  Wim Taymans  <wim@fluendo.com>
14445
14446         * gst/gstevent.c: (gst_event_new_buffersize),
14447         (gst_event_parse_buffersize):
14448         * gst/gstevent.h:
14449         New event for future idea.
14450
14451 2005-10-07  Andy Wingo  <wingo@pobox.com>
14452
14453         * gst/gstelement.c (gst_element_post_message): Doc update.
14454
14455         * docs/gst/gstreamer-sections.txt: Update.
14456
14457         * gst/gstmessage.c (gst_message_new_application): Made into a
14458         function like honest API calls.
14459         (gst_message_new_element): New message type.
14460
14461         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
14462
14463         * check/elements/fakesrc.c (test_no_preroll): New check, checks
14464         that setting a live fakesrc to PAUSED returns NO_PREROLL both
14465         times.
14466
14467         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
14468         NO_PREROLL from gst_element_change_state to fall through.
14469
14470 2005-10-07  Wim Taymans  <wim@fluendo.com>
14471
14472         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
14473         (gst_ghost_pad_do_activate_push):
14474         Activating a ghostpad with no internal pad in push mode
14475         is ok.
14476
14477 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14478
14479         * gst/gstobject.h:
14480           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
14481           Fixes compilation on Windows.
14482
14483 2005-10-07  Michael Smith <msmith@fluendo.com>
14484
14485         * tools/gst-inspect.c:
14486           Print out feature and plugin count at the end when printing out
14487           all features.
14488
14489 2005-10-04  Michael Smith <msmith@fluendo.com>
14490
14491         * gst/gsterror.c: (_gst_stream_errors_init):
14492           Add another error string used in a few existing plugins.
14493
14494         * gst/gstplugin.c:
14495         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14496         * tools/gst-inspect.c: (print_element_info):
14497           When a feature disappears from a plugin (and the feature exists in
14498           the cached registry file), things went horribly wrong. This isn't a
14499           complete fix, we should actually be removing the 'missing' features
14500           from the features list when we load the actual plugin. That's not
14501           yet implemented. 
14502
14503 2005-10-04  Johan Dahlin  <johan@gnome.org>
14504
14505         * check/gst/gstiterator.c: (GST_START_TEST):
14506         * gst/gstbin.c: (gst_bin_iterate_elements),
14507         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
14508         * gst/gstelement.c: (gst_element_iterate_pads):
14509         * gst/gstformat.c: (gst_format_iterate_definitions):
14510         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
14511         (gst_iterator_new_list), (gst_iterator_filter):
14512         * gst/gstiterator.h:
14513         * gst/gstquery.c: (gst_query_type_iterate_definitions):
14514         Add a GType to GstIterator, update callsites and tests.
14515
14516 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14517
14518         * gst/gstpad.c: (gst_pad_event_default_dispatch):
14519           give events a chance to be handled by event probes when the pad
14520           is not linked
14521
14522 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14523
14524         * gst/gstevent.c: (gst_event_type_get_name),
14525         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
14526         * gst/gstevent.h:
14527           add string representations for event types
14528
14529 2005-10-06  Wim Taymans  <wim@fluendo.com>
14530
14531         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
14532         Don't use NULL pointers.
14533
14534 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14535
14536         * gst/gst_private.h:
14537         * gst/gstbus.c:
14538         * gst/gstelement.c:
14539         * gst/gstinfo.c:
14540         * gst/gstpluginfeature.c:
14541           widen the debug category in output to fit the biggest one we have
14542           add a bus category and use it
14543           play with the colors
14544           fix up some categories
14545
14546 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14547
14548         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
14549           add push activation of sink ghost pads.
14550           Andye, please verify
14551
14552 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14553
14554         * gst/gstutils.c: (gst_element_link_pads):
14555           fix a bug in the case where neither element has a pad
14556         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14557           add a test for that case
14558
14559 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14560
14561         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
14562           emit have-data before checking for peers.  This allows
14563           for probe handlers to connect elements.  This helps autopluggers.
14564         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
14565         (gst_pad_suite):
14566           add six checks, linked/unlinked with no/true/false probe
14567
14568 2005-10-04  Wim Taymans  <wim@fluendo.com>
14569
14570         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
14571         (gst_fake_sink_event), (gst_fake_sink_preroll),
14572         (gst_fake_sink_render), (gst_fake_sink_change_state):
14573         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
14574         (gst_fake_src_get_property), (gst_fake_src_create),
14575         (gst_fake_src_stop):
14576         * gst/elements/gstidentity.c: (gst_identity_stop):
14577         Protect last_message with lock.
14578
14579 2005-10-04  Edward Hervey  <edward@fluendo.com>
14580
14581         * gst/gstformat.h: 
14582         Added precision in the comments for GST_FORMAT_DEFAULT
14583
14584 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
14585
14586         * tools/gst-launch.c: (main):
14587           Don't try to run erroneous pipelines.
14588
14589 2005-10-04  Julien MOUTTE  <julien@moutte.net>
14590
14591         * gst/gstbus.c: We don't need this header.
14592
14593 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14594
14595         * configure.ac:
14596           back to development
14597
14598 === release 0.9.3 ===
14599
14600 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14601
14602         * README:
14603         * configure.ac:
14604           Releasing 0.9.3, "Unregistered"
14605
14606 2005-10-03  Andy Wingo  <wingo@pobox.com>
14607
14608         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
14609         whereby calling a pad's activatepush() function can start a thread
14610         that starts to push or pull before the pad gets the FLUSHING flag
14611         unset. Hack around it by holding the stream lock until the flag is
14612         set. Need to replace this with a proper solution. Together with
14613         the ghost pad fixes, this fixes mp3 playing/tagreading.
14614
14615         * docs/design/part-gstghostpad.txt: Add a note about activation of
14616         proxy pads outside of ghost pads.
14617
14618         * gst/gstghostpad.c: Implement the ghost pad activation design.
14619
14620 2005-10-02  Andy Wingo  <wingo@pobox.com>
14621
14622         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
14623         It is volatile, after all.
14624
14625         * docs/design/part-gstghostpad.txt: Flesh out activation with
14626         ghost pads.
14627
14628         * gst/base/gstbasesrc.c (gst_base_src_init): Use
14629         GST_DEBUG_FUNCPTR.
14630
14631 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
14632
14633         * configure.ac:
14634           Fix (unused) AM_CONDITIONAL tests.
14635
14636 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
14637
14638         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14639
14640         * gst/gstutils.c: (gst_pad_query_convert):
14641           Add assertion that makes sure src_val is >=0, just like
14642           gst_query_new_convert() has. (#315895)
14643
14644 2005-09-30  Edward Hervey  <edward@fluendo.com>
14645
14646         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
14647         Let's not iterate pads we're not interested in, it avoids getting 
14648         sky-high refcounts on sinkpad.
14649
14650 2005-09-30  Wim Taymans  <wim@fluendo.com>
14651
14652         * gst/gstelement.c: (gst_element_set_state),
14653         (gst_element_change_state):
14654         Small tweak, element in ASYNC remains ASYNC.
14655
14656 2005-09-30  Wim Taymans  <wim@fluendo.com>
14657
14658         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14659         Only error is an error.
14660
14661         * gst/gstbin.c: (gst_bin_change_state):
14662         Better debugging.
14663
14664         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
14665         Also call pad_block in pad alloc.
14666
14667         * gst/gstutils.c: (gst_flow_get_name):
14668         Better debugging.
14669
14670 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
14671
14672         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14673         (gst_base_src_get_range):
14674           Fix documentation typos. Add some more debug info.
14675
14676 2005-09-29  David Schleef  <ds@schleef.org>
14677
14678         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
14679           more end-user friendly.
14680         * tools/gst-inspect.c: (main): Check if command-line argument is
14681           a file and attempt to load that file as a plugin.
14682
14683 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14684
14685         * check/gst/gstbin.c:
14686         * check/states/sinks.c:
14687           fix tests for the new warning
14688         * check/gst/gstpipeline.c:
14689           add a test for pipeline and bus interaction
14690         * gst/gstelement.c:
14691           elements should be NULL if they get disposed; add a warning if not
14692
14693 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14694
14695         * gst/gstobject.c:
14696           for 2.6 refcounting, make debug log more correct by printing
14697           the actual refcounts at the time of swap (Wim)
14698
14699 2005-09-29  Andy Wingo  <wingo@pobox.com>
14700
14701         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
14702         removes signal watches previously added via
14703         gst_bus_add_signal_watch.
14704         (gst_bus_add_signal_watch): Don't return the source id, just store
14705         it on the bus if there wasn't an id already.
14706
14707         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
14708         add_signal_watch and remove_signal_watch.
14709
14710 2005-09-29  Edward Hervey  <edward@fluendo.com>
14711
14712         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
14713         Better if we actually iterate the list :)
14714
14715 2005-09-29  Wim Taymans  <wim@fluendo.com>
14716
14717         * check/gst/gstbin.c: (GST_START_TEST):
14718         Change for new bus API.
14719
14720         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
14721         (send_messages), (GST_START_TEST), (gstbus_suite):
14722         Change for new bus signal API.
14723
14724         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
14725         (gst_bus_source_prepare), (gst_bus_source_check),
14726         (gst_bus_create_watch), (gst_bus_add_watch_full),
14727         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
14728         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
14729         * gst/gstbus.h:
14730         Remove support for multiple GSources operating on different
14731         message types as it is too complex and unneeded when using
14732         signals.
14733         Added support for receiving signals from the bus.
14734
14735 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14736
14737         * docs/libs/tmpl/gstdataprotocol.sgml:
14738         * docs/manual/advanced-dataaccess.xml:
14739         * gst/elements/gstcapsfilter.c:
14740         * gst/gstutils.c:
14741           rename filter-caps to caps property
14742
14743 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
14744
14745         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14746           More robust fraction string parsing.
14747
14748         * docs/pwg/appendix-porting.xml:
14749           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
14750
14751 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
14752
14753         * gst/gstcaps.c: (gst_caps_do_simplify):
14754           Thou shalt not free a structure and then continue using it
14755           in the next loop iteration.
14756
14757         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
14758         (gst_caps_suite):
14759           Add test case for caps simplification.
14760
14761 2005-09-29  Wim Taymans  <wim@fluendo.com>
14762
14763         * check/gst/gstbin.c: (GST_START_TEST):
14764         Oops.
14765
14766 2005-09-29  Wim Taymans  <wim@fluendo.com>
14767
14768         * check/gst/gstbin.c: (GST_START_TEST):
14769         Add bus to bin.
14770
14771         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
14772         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
14773         (find_element), (gst_bin_sort_iterator_next),
14774         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
14775         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
14776         (gst_bin_change_state), (gst_bin_dispose):
14777         A bin does not have a bus, it gets the bus from the parent.
14778
14779         * gst/gstelement.c: (gst_element_requires_clock),
14780         (gst_element_provides_clock), (gst_element_is_indexable),
14781         (gst_element_is_locked_state), (gst_element_change_state),
14782         (gst_element_set_bus_func):
14783         Small cleanups.
14784
14785         * gst/gstpipeline.c: (gst_pipeline_class_init),
14786         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
14787         The pipeline provides a bus.
14788
14789 2005-09-28  Johan Dahlin  <johan@gnome.org>
14790
14791         * gst/gstmessage.c (gst_message_parse_state_changed): Use
14792         gst_structure_get_enum instead of gst_structure_get_int
14793
14794         * gst/gststructure.c (gst_structure_get_enum): Impl.
14795
14796         * gst/gststructure.h (gst_structure_get_enum): Add
14797
14798         * docs/gst/gstreamer-sections.txt: Ditto
14799
14800         * gst/gstmessage.c (gst_message_new_state_changed): Use
14801         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
14802         which does introspection.
14803         Reviewed by Christian Schaller
14804
14805 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
14806
14807         * gst/gstinfo.c: (gst_debug_log_default):
14808           don't do dummy g_strdup()s
14809         * libs/gst/controller/gstcontroller.c:
14810         (on_object_controlled_property_changed),
14811         (gst_controlled_property_new), (gst_controller_new_valist),
14812         (gst_controller_new_list),
14813         (gst_controller_remove_properties_valist), (gst_controller_set),
14814         (gst_controller_get), (gst_controller_sync_values),
14815         (gst_controller_get_value_array), (_gst_controller_class_init),
14816         (gst_controller_get_type):
14817         * libs/gst/controller/gstcontroller.h:
14818         * libs/gst/controller/gstinterpolation.c:
14819         (gst_controlled_property_find_timed_value_node):
14820           convert // to /**/ comments
14821
14822 2005-09-28  Wim Taymans  <wim@fluendo.com>
14823
14824         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
14825         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
14826         (gst_bus_sync_signal_handler):
14827         * gst/gstbus.h:
14828         Added async-message and sync-message signals to the bus.
14829         Added helper BusFunc to emit signals for all posted messages.
14830
14831         * gst/gstmessage.c: (gst_message_type_get_name),
14832         (gst_message_type_to_quark), (gst_message_get_type):
14833         * gst/gstmessage.h:
14834         Register quarks for message names.
14835
14836 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
14837
14838         * docs/libs/gstreamer-libs-sections.txt:
14839         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
14840         (gst_controller_new_list):
14841         * libs/gst/controller/gstcontroller.h:
14842           added another constructor for language bindings
14843
14844 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14845
14846         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14847           add another check
14848         * gst/gstbus.c:
14849           add some doc
14850         * gst/gstinfo.c: (_gst_debug_init):
14851           slightly more readable color for refcount debugging
14852
14853 2005-09-28  Wim Taymans  <wim@fluendo.com>
14854
14855         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
14856         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
14857         (find_element), (gst_bin_sort_iterator_next),
14858         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
14859         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
14860         (gst_bin_change_state), (gst_bin_dispose):
14861         Small doc fixes. get_clock -> provide_clock.
14862
14863         * gst/gstelement.c: (gst_element_class_init),
14864         (gst_element_provides_clock), (gst_element_provide_clock),
14865         (gst_element_get_clock), (gst_element_commit_state),
14866         (gst_element_lost_state):
14867         * gst/gstelement.h:
14868         Make get/set_clock() symetric. Add provide_clock vmethod since
14869         that is actually what this function does.
14870
14871         * gst/gstpipeline.c: (gst_pipeline_class_init),
14872         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
14873         (gst_pipeline_get_clock):
14874         get_clock -> provide_clock.
14875
14876 2005-09-28  Andy Wingo  <wingo@pobox.com>
14877
14878         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
14879         lieu of real docs...
14880
14881         * gst/elements/gstfdsrc.c: Cleaned up a bit.
14882
14883 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
14884
14885         * gst/elements/gstcapsfilter.c:
14886         * gst/elements/gstfakesink.c:
14887         * gst/elements/gstfakesrc.c:
14888         * gst/elements/gstfdsink.c:
14889         * gst/elements/gstfdsrc.c:
14890         * gst/elements/gstfilesink.c:
14891         * gst/elements/gstfilesrc.c:
14892         * gst/elements/gstidentity.c:
14893         * gst/elements/gsttee.c:
14894         * gst/elements/gsttypefindelement.c:
14895           Make element details static.
14896
14897 2005-09-28  Wim Taymans  <wim@fluendo.com>
14898
14899         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
14900         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
14901         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
14902         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
14903         (gst_bin_change_state), (gst_bin_dispose):
14904         Some documentation updates.
14905         Clean up dispose handlers.
14906
14907         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
14908         * gst/gstpad.c: (gst_pad_dispose):
14909         Clean up dispose handler.
14910
14911         * gst/gstpipeline.c: (gst_pipeline_change_state):
14912         Removed spurious UNLOCK.
14913
14914 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
14915
14916         * docs/gst/gstreamer-sections.txt:
14917         * gst/base/gstbasesrc.h:
14918         * gst/gstelement.h:
14919         * gst/gstevent.h:
14920         * gst/gstobject.h:
14921         * gst/gstpad.h:
14922         * gst/gstpipeline.c:
14923         * gst/gstpipeline.h:
14924         * gst/gstutils.h:
14925         * gst/gstxml.h:
14926           added two new functions to the docs
14927                 documents all undocumented GstXXXFlags
14928                 completed some incomplete docs 
14929
14930 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14931
14932         * gst/gstbin.c: (gst_bin_dispose):
14933         * gst/gstelement.c: (gst_element_dispose):
14934           remove now useless and leaky resurrection code in dispose
14935         * gst/base/gstbasesrc.c: (gst_base_src_init):
14936         * gst/gstelementfactory.c: (gst_element_factory_create):
14937         * gst/gstobject.c: (gst_object_set_parent):
14938           add some debugging
14939
14940 2005-09-27  Wim Taymans  <wim@fluendo.com>
14941
14942         * docs/design/part-TODO.txt:
14943         Update TODO.
14944
14945         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
14946         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
14947         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
14948         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
14949         (gst_bin_change_state):
14950         * gst/gstelement.h:
14951         Remove element variable, we keep element info in the iterator now.
14952
14953 2005-09-27  Andy Wingo  <wingo@pobox.com>
14954
14955         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
14956         values.
14957
14958 2005-09-27  Wim Taymans  <wim@fluendo.com>
14959
14960         * check/gst/gstbin.c: (GST_START_TEST):
14961         Enable check that works now.
14962
14963         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
14964         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
14965         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
14966         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
14967         (gst_bin_change_state):
14968         * gst/gstbin.h:
14969         Redid the state change algorithm using a topological sort algo.
14970         Handles all cases correctly.
14971         Exposed iterator for state change order.
14972
14973         * gst/gstelement.h:
14974         Temp storage for state changes. Need to get rid of this soon.
14975
14976 2005-09-27  Wim Taymans  <wim@fluendo.com>
14977
14978         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
14979         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
14980         (link_fold_func), (gst_pad_proxy_setcaps):
14981         Leak fixes, the fold functions need to unref the passed object and
14982         _get_parent_*() returns ref to parent.
14983
14984 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
14985
14986         * check/gst/gstbuffer.c: (test_make_writable):
14987           Plug leak in test case and fix 'make check-valgrind'
14988
14989 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
14990
14991         * gst/gstbuffer.c: (gst_subbuffer_init):
14992           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
14993           works correctly in all circumstances (we could have just copied
14994           the parent buffer's readonly flag, but conceptually it seems
14995           cleaner to mark all subbuffers as read-only). (based on patch
14996           by Alessandro Decina, #314710).
14997         
14998         * check/gst/gstbuffer.c: (create_read_only_buffer),
14999         (test_make_writable), (test_subbuffer_make_writable),
15000         (gst_test_suite):
15001           Add some tests for gst_buffer_make_writable().
15002
15003 2005-09-27  Wim Taymans  <wim@fluendo.com>
15004
15005         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
15006         use gst_object_has_ancestor().
15007
15008         * gst/gstobject.c: (gst_object_has_ancestor):
15009         * gst/gstobject.h:
15010         gst_object_has_ancestor() copied from gstbin.c as it is a
15011         useful function.
15012
15013         * tests/instantiate/create.c: (create_all_elements):
15014         * tests/lat.c: (handoff_src), (handoff_sink):
15015         * tests/sched/runxml.c: (main):
15016         * tests/seeking/seeking1.c: (main):
15017         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15018         (main):
15019         Fix compilation of some tests.
15020
15021 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
15022
15023         * gst/gsterror.h:
15024           Remove comment. GST_TYPE_G_ERROR is here to stay,
15025           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
15026           (#316961, #300610).
15027
15028 2005-09-26  Wim Taymans  <wim@fluendo.com>
15029
15030         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15031         Added check that shows error in state change order.
15032
15033 2005-09-26  Wim Taymans  <wim@fluendo.com>
15034
15035         * gst/gstbin.c: (gst_bin_change_state):
15036         Make state change function use 3 queues again, we were
15037         adding elements in the wrong order.
15038
15039         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
15040         Some debug info,
15041
15042         * gst/gstpad.c: (gst_pad_dispose):
15043         Added some debug info first.
15044
15045 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
15046
15047         * docs/design/draft-push-pull.txt:
15048         * docs/design/part-events.txt:
15049         * docs/design/part-overview.txt:
15050         * docs/design/part-scheduling.txt:
15051           Replace all _pull_region() with _pull_range()
15052           
15053 2005-09-26  Andy Wingo  <wingo@pobox.com>
15054
15055         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
15056
15057         * check/gst-libs/controller.c: Update for controller api change.
15058
15059         * configure.ac: 
15060         * tests/Makefile.am:
15061         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
15062         over by GLib bug 118439.
15063         
15064         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
15065         routines to a function.
15066
15067         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
15068
15069         * libs/gst/controller/gsthelper.c:
15070         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
15071         (gst_object_sync_values): Renamed from sink_values. Ugh.
15072
15073         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
15074
15075         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
15076         Renamed from controller_key, as it is exported.
15077
15078         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
15079
15080 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
15081
15082         * gst/Makefile.am:
15083         * gst/gst.h:
15084         * gst/gstpad.h:
15085         * gst/gstpadtemplate.h:
15086         * gst/gstquery.c:
15087         * gst/gstquery.h:
15088         * gst/gstqueryutils.c:
15089         * gst/gstqueryutils.h:
15090           remove queryutils headers after moving the two used functions
15091           to gstquery.  also fixes build problem for gstsiddec
15092
15093 2005-09-26  Michael Smith <msmith@fluendo.com>
15094
15095         * tools/gst-launch.1.in:
15096         Correct documentation in manpage of debug syntax
15097
15098 2005-09-26  Wim Taymans  <wim@fluendo.com>
15099
15100         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15101         (gst_base_src_is_seekable), (gst_base_src_change_state):
15102         Some more debugging info.
15103
15104 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15105
15106         * docs/gst/gstreamer-sections.txt:
15107         * gst/base/gstbasetransform.h:
15108         * gst/gstindex.h:
15109           added more docs
15110
15111 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15112
15113         * docs/gst/.cvsignore:
15114         * docs/gst/tmpl/.cvsignore:
15115         * docs/gst/tmpl/gstpipeline.sgml:
15116         * docs/gst/tmpl/gstplugin.sgml:
15117         * gst/gstpipeline.c:
15118         * gst/gstplugin.c:
15119         * gst/gstplugin.h:
15120           inlined the last two docs files
15121           removed the tmpl directory from cvs (no more conflicts here!)
15122
15123 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
15124
15125         * docs/gst/gstreamer-sections.txt:
15126         * docs/gst/tmpl/.cvsignore:
15127         * docs/gst/tmpl/gstpad.sgml:
15128         * docs/gst/tmpl/gstpadtemplate.sgml:
15129         * gst/Makefile.am:
15130         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
15131         (gst_pad_finalize), (gst_pad_set_pad_template):
15132         * gst/gstpad.h:
15133         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
15134         (gst_pad_template_class_init), (gst_pad_template_init),
15135         (gst_pad_template_dispose), (name_is_valid),
15136         (gst_static_pad_template_get), (gst_pad_template_new),
15137         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
15138         (gst_pad_template_pad_created):
15139         * gst/gstpadtemplate.h:
15140           inlined two more docs
15141           factored gstpadtemplate out of gstpad
15142
15143 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
15144
15145         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15146         (test_children_state_change_order_semi_sink):
15147           Fix test case: we can't rely on a fixed state change order when
15148           going from READY => PAUSED because the sink might commit its 
15149           new state first when the first buffer created by the source 
15150           reaches the sink before the source has finished its change state.
15151           (Test case still fails at times, see #316856, comment 5 onwards)
15152
15153 2005-09-24  Wim Taymans  <wim@fluendo.com>
15154
15155         * docs/design/part-events.txt:
15156         * docs/design/part-gstbus.txt:
15157         * docs/design/part-gstpipeline.txt:
15158         * docs/design/part-messages.txt:
15159         * docs/design/part-overview.txt:
15160         * docs/design/part-segments.txt:
15161         * gst/gstbin.c:
15162         * gst/gstbuffer.c:
15163         * gst/gstclock.c:
15164         * gst/gstelement.c:
15165         * gst/gstevent.c:
15166         * gst/gstfilter.c:
15167         * gst/gstiterator.c:
15168         Various documentation updates.
15169
15170 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15171
15172         * gst/gstclock.h:
15173           Well, that's embarassing.  Luckily we weren't using
15174           GST_CLOCK_DIFF anywhere.
15175
15176 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15177
15178         * common/gtk-doc.mak:
15179           don't fail on building XML, FC4 slave shows a bunch of doc
15180           missing bits that I don't get
15181         * gst/gstpad.c:
15182         * gst/gstpipeline.c:
15183         * gst/gststructure.c:
15184           some doc updates
15185
15186 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
15187
15188         * docs/design/part-gstbin.txt:
15189         * docs/design/part-gstbus.txt:
15190         * gst/gstbus.c:
15191           Add blurb about how the bus goes into flushing mode and
15192           drops all messages when its bin goes from READY into NULL 
15193           state.
15194
15195 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15196
15197         * docs/gst/gstreamer-sections.txt:
15198         * gst/gststructure.c: (gst_structure_get_clock_time):
15199         * gst/gststructure.h:
15200           add a method to get a GstClockTime out of a structure
15201
15202 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
15203
15204         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15205         (test_children_state_change_order_semi_sink), (gst_bin_suite):
15206           Added test to check state change order in bins (can still be made
15207           to fail here under heavy disk load; bails out with 'Push on pad
15208           fakesink:sink0, but it was not activated in push mode').
15209
15210         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
15211           Fix state change order when there is only a semi sink (#316856)
15212
15213         * gst/gstbus.c: (gst_bus_class_init):
15214           Use _class_peek_parent(), not _class_ref(); fix docs to say
15215           'default main context' instead of 'mainloop' where that is
15216           what's meant.
15217
15218         * gst/gstelement.c: (gst_element_commit_state),
15219         (gst_element_set_state):
15220           Fix typos in debug messages
15221
15222 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15223
15224         * docs/README:
15225         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
15226         * gst/gstpluginfeature.c:
15227         * gst/gstutils.c:
15228           various doc updates
15229         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15230           change an assert into an error until it gets fixed properly
15231
15232 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
15233
15234         * docs/gst/gstreamer-sections.txt:
15235         * docs/gst/tmpl/.cvsignore:
15236         * docs/gst/tmpl/gstelement.sgml:
15237         * docs/gst/tmpl/gstinfo.sgml:
15238         * docs/gst/tmpl/gstobject.sgml:
15239         * gst/gstelement.c:
15240         * gst/gstelement.h:
15241         * gst/gstinfo.c:
15242         * gst/gstinfo.h:
15243         * gst/gstobject.c: (gst_object_class_init):
15244         * gst/gstobject.h:
15245           inlined 3 more biiiig doc files and added some missing docs on the fly
15246
15247 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15248
15249         * check/gst/.cvsignore:
15250         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
15251         * gst/gstregistryxml.c: (load_plugin),
15252         (gst_registry_xml_save_plugin):
15253           put back source in registry.  add checks for find_plugin.
15254         * testsuite/states/bin.c: (assert_state), (empty_bin),
15255         (test_adding_one_element), (main):
15256         * testsuite/states/locked.c: (main):
15257           some compile/run fixes
15258
15259 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15260
15261         * check/gst/gstvalue.c: (GST_START_TEST):
15262           fix leaks in the test itself
15263
15264 2005-09-22  Wim Taymans  <wim@fluendo.com>
15265
15266         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15267         (gst_base_sink_send_event), (gst_base_sink_peer_query),
15268         (gst_base_sink_query):
15269         Prepare for more accurate position reporting and query
15270         handling.
15271
15272         * gst/gstelement.c: (gst_element_send_event),
15273         (gst_element_set_state):
15274         Add some comment.
15275
15276 2005-09-22  Wim Taymans  <wim@fluendo.com>
15277
15278         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
15279         (gst_query_parse_segment):
15280         * gst/gstquery.h:
15281         More documentation.
15282         Add segment query for future use.
15283
15284 2005-09-22  Wim Taymans  <wim@fluendo.com>
15285
15286         * gst/gstbin.c: (gst_bin_add_func):
15287         Some more debug info.
15288
15289         * gst/gstelement.c: (gst_element_send_event):
15290         Simplify send_event
15291
15292         * gst/gstelement.h:
15293         Don't know how flags got broken.
15294
15295         * gst/gstquery.h:
15296         Added new query.
15297
15298 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
15299
15300         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
15301           Add simplistic test suite for GST_TYPE_DATE serialisation and
15302           deserialisation.
15303
15304 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
15305
15306         * docs/gst/gstreamer-sections.txt:
15307         * gst/gststructure.c: (gst_structure_set_valist),
15308         (gst_structure_get_date):
15309         * gst/gststructure.h:
15310         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
15311         (gst_date_copy), (gst_value_compare_date),
15312         (gst_value_serialize_date), (gst_value_deserialize_date),
15313         (gst_value_transform_date_string),
15314         (gst_value_transform_string_date), (_gst_value_initialize):
15315         * gst/gstvalue.h:
15316           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
15317           bunch of utility functions along with a hack that checks that
15318           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
15319           is required. Part of the grand scheme in #170777.
15320
15321 2005-09-22  Andy Wingo  <wingo@pobox.com>
15322
15323         * gst/gstconfig.h.in: Psych out gtk-doc.
15324
15325         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
15326
15327         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
15328
15329         * tools/gst-inspect.c (print_element_list): Plug some
15330         inconsequential leaks.
15331
15332         * gst/gstregistry.c (gst_registry_get_default): Doc.
15333
15334         * check/gst/gstplugin.c: 
15335         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
15336         * gst/gstelementfactory.c (gst_element_factory_create): 
15337         * gst/gstindexfactory.c (gst_index_factory_create): Update for
15338         refcount changes.
15339
15340         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
15341         (gst_plugin_feature_load): Doc, don't eat refs.
15342
15343         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
15344         (gst_plugin_list_free): Doc.
15345         (gst_plugin_load_file): Doc updates.
15346
15347         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
15348         accessors returning refcounted objects, return a ref.
15349
15350         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
15351         accessor for caps. IDEMPOTENCE. Oh yes.
15352
15353 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
15354
15355         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15356
15357         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15358         (_gst_debug_register_funcptr):
15359           Add mutex to serialise access to the hash table with
15360           the function pointer => function name string mapping;
15361           make that hash table static scope (#316809).
15362
15363         * gst/registries/.cvsignore:
15364           Remove left-over file.
15365
15366 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
15367
15368         * docs/pwg/appendix-porting.xml:
15369           And something about newsegment events and caps-on-buffers to
15370           the porting guide (feel free to improve).
15371
15372 2005-09-21  Andy Wingo  <wingo@pobox.com>
15373
15374         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
15375         data and event probes on the same pad.
15376         (test_buffer_probe_once): Test that removing probes from within
15377         the probe functions works.
15378
15379 2005-09-21  Andy Wingo  <wingo@pobox.com>
15380
15381         * check/gst/gstutils.c: New file.
15382         (test_buffer_probe_n_times): A simple buffer probe test. More to
15383         come, foolios.
15384
15385         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
15386         have-data::buffer, not have-data.
15387         (gst_pad_add_event_probe): Likewise for have-data::event.
15388         (gst_pad_add_data_probe): More docs. The part about 'resolving the
15389         peer' isn't quite right yet though.
15390         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
15391         (gst_pad_remove_data_probe): Change to take the guint handler_id
15392         as their arg, not the function+data, which is more glib-like.
15393
15394         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
15395         the signal emission to indicate if the data is a buffer or an
15396         event.
15397         (gst_pad_get_type): Initialize buffer and event quarks.
15398         (gst_pad_class_init): have-data is now a detailed signal, yes it
15399         is.
15400
15401 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
15402
15403         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
15404         * gst/gstutils.c: (gst_util_set_value_from_string),
15405         (gst_util_set_object_arg):
15406           Don't put functional code in g_return_if_fail() or
15407           g_return_val_if_fail() statements, otherwise things will 
15408           break when G_DISABLE_CHECKS is defined during compilation.
15409
15410 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15411
15412         * docs/gst/tmpl/.cvsignore:
15413         * docs/gst/tmpl/gstvalue.sgml:
15414         * gst/gstvalue.c:
15415         * gst/gstvalue.h:
15416           inlied another one and added  some obvious docs
15417
15418 2005-09-21  Wim Taymans  <wim@fluendo.com>
15419
15420         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15421         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
15422         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
15423         (gst_fdsrc_get_property), (gst_fdsrc_create):
15424         * gst/elements/gstfdsrc.h:
15425         Properly implement fdsrc. Removed signal and timeout,
15426         better implemented somewhere else.
15427
15428 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15429
15430         * docs/gst/tmpl/.cvsignore:
15431         * docs/gst/tmpl/gstimplementsinterface.sgml:
15432         * gst/gstinterface.c:
15433           inlined more docs
15434
15435 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15436
15437         * docs/gst/gstreamer-sections.txt:
15438         * docs/gst/tmpl/.cvsignore:
15439         * docs/gst/tmpl/gstenumtypes.sgml:
15440           remove obsolete doc file
15441
15442 2005-09-21  David Schleef  <ds@schleef.org>
15443
15444         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
15445         little beer, fix a little leak.
15446
15447 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
15448
15449         * docs/gst/gstreamer-docs.sgml:
15450         * docs/gst/gstreamer-sections.txt:
15451         * docs/gst/tmpl/.cvsignore:
15452         * gst/Makefile.am:
15453         * gst/gst.h:
15454         * gst/gstbin.c:
15455         * gst/gstelement.h:
15456         * gst/gstindex.c: (gst_index_class_init):
15457         * gst/gstindex.h:
15458         * gst/gstindexfactory.c: (gst_index_factory_get_type),
15459         (gst_index_factory_class_init), (gst_index_factory_init),
15460         (gst_index_factory_finalize), (gst_index_factory_new),
15461         (gst_index_factory_destroy), (gst_index_factory_find),
15462         (gst_index_factory_create), (gst_index_factory_make):
15463         * gst/gstindexfactory.h:
15464         * gst/gstpluginfeature.c:
15465         * gst/gstpluginfeature.h:
15466         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15467           more docs inlined, splitted gstindex.{c,h}
15468
15469 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15470
15471         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15472           fix a leak
15473
15474 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
15475
15476         * gst/elements/gstfilesink.c: (gst_file_sink_init):
15477           Set sync to FALSE by default.
15478
15479 2005-09-20  Wim Taymans  <wim@fluendo.com>
15480
15481         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15482         (gst_base_sink_init):
15483         Make sync property settable from subclass.
15484
15485         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
15486         (gst_fake_sink_change_state):
15487         Set sync to FALSE by default.
15488
15489 2005-09-20  Wim Taymans  <wim@fluendo.com>
15490
15491         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
15492         * tools/gst-launch.c: (main):
15493         The timeout handler should have lower priority than the source
15494         so we don't timeout before popping a message with 0 timeout.
15495         Dump error messages after failed state change.
15496
15497 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
15498
15499         * tools/gst-inspect.c: (print_element_properties_info):
15500           Fix two typos.
15501
15502 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15503
15504         * check/gst/gstevent.c:
15505         * gst/elements/gstfakesink.c:
15506         * gst/elements/gstfakesink.h:
15507           remove the sync property from fakesink.
15508           has the side effect of setting sync TRUE
15509           for fakesink, which is a change.  Anyone who knows how
15510           to fix this nicely in a GObject-y way, feel free.
15511
15512 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15513
15514         * docs/gst/gstreamer-docs.sgml:
15515           remove probe refsection
15516
15517 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15518
15519         * check/Makefile.am:
15520           disable valgrinding the controller test again
15521         * docs/gst/gstreamer-sections.txt:
15522           update for api-changes
15523
15524 2005-09-20  Wim Taymans  <wim@fluendo.com>
15525
15526         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15527         (gst_base_sink_set_property), (gst_base_sink_get_property),
15528         (gst_base_sink_do_sync):
15529         * gst/base/gstbasesink.h:
15530         Added sync property to basesink to disable clock sync.
15531
15532 2005-09-20  Andy Wingo  <wingo@pobox.com>
15533
15534         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
15535         eating the caller's refcount.
15536
15537         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
15538         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
15539         refcount.
15540
15541         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
15542         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
15543         of GLib 2.8 public, so we can know which refcount to check in
15544         tests.
15545
15546         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
15547         (gst_object_init): Only set the gst refcount if we're going ahead
15548         with the refcount hack.
15549
15550 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15551
15552         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15553         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15554           more leaks plumbed, added more debug-logging
15555         * gst/gstmacros.h:
15556           whitespace fix
15557
15558 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15559
15560         * gst/gstmessage.c:
15561           remove include of gstmemchunk.h
15562
15563 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15564
15565         * gst/gstclock.c: (_gst_clock_id_free):
15566           Commit from the Political Party For More Atomic CVS Commits,
15567           so that people don't waste too much of their day fishing
15568           out obvious leaks out of massive commits.
15569           Oh, and fix a pretty damn obvious leak in the memchunk
15570           removal code.
15571
15572 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
15573
15574         * check/Makefile.am:
15575         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15576           plug mem-leak, re-add to valgrindable tests
15577
15578 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15579
15580         * gst/gstplugin.h:
15581           unbreak the build for those who have chronic arthritis
15582           and typing "make check" is just too taxing on the hands
15583
15584 2005-09-20  Andy Wingo  <wingo@pobox.com>
15585
15586         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
15587         really want it out, you should fix plugins at the same time.
15588
15589 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
15590
15591         * configure.ac:
15592         * docs/gst/gstreamer-sections.txt:
15593         * gst/gstobject.c:
15594           added missing symbols to api docs
15595           disable ref-count hack if we have glib >= 2.8
15596
15597 2005-09-19  David Schleef  <ds@schleef.org>
15598
15599         * docs/gst/Makefile.am: Ignore a few more internal headers
15600         * docs/gst/gstreamer-docs.sgml: Remove old sections
15601         * docs/gst/gstreamer-sections.txt: Remove old sections
15602         * docs/gst/tmpl/gstobject.sgml: update
15603         * docs/gst/tmpl/gstplugin.sgml: update
15604         * docs/gst/tmpl/gstpluginfeature.sgml: update
15605         * docs/random/ds/0.9-suggested-changes: update.
15606         * gst/Makefile.am: remove memchunk and trashstack, since they're
15607           not used.
15608         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
15609         * gst/gst.h: don't include some headers
15610         * gst/gstchildproxy.c: add gstmarshal.h
15611         * gst/gstclock.c: Don't use memchunks
15612         * gst/gstminiobject.c: Add some docs
15613         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
15614         * gst/gstobject.h: same
15615         * gst/gstplugin.c: include gstmacros.h
15616         * gst/gstplugin.h: don't include gstmacros.h, since it's private
15617         * gst/gstquery.c: don't use memchunks
15618         * gst/gstregistry.c: rename gst_registry_deinit()
15619         * gst/gstregistry.h: same
15620
15621 2005-09-19  David Schleef  <ds@schleef.org>
15622
15623         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
15624         * docs/libs/gstreamer-libs-sections.txt:
15625         * docs/libs/tmpl/gstgetbits.sgml:
15626         * docs/libs/tmpl/gstputbits.sgml:
15627
15628 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
15629
15630         * win32/gstenumtypes.c:
15631         * win32/gstenumtypes.h:
15632           Update.
15633
15634 2005-09-19  Wim Taymans  <wim@fluendo.com>
15635
15636         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
15637         Automatically PAUSE and RESUME a pipeline when a flushing seek
15638         is performed.
15639
15640 2005-09-19  Andy Wingo  <wingo@pobox.com>
15641
15642         * gst/gstregistry.h: Spacing fixen.
15643
15644 2005-09-19  Wim Taymans  <wim@fluendo.com>
15645
15646         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
15647         Handle state change failure more correctly.
15648
15649 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15650
15651         * check/Makefile.am:
15652         * check/pipelines/cleanup.c: (run_pipeline):
15653         * check/pipelines/simple_launch_lines.c: (run_pipeline),
15654         (GST_START_TEST):
15655           enable cleanup again after fixing the leak
15656         * docs/README:
15657           some more info on docs
15658
15659 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15660
15661         * check/Makefile.am:
15662           re-enable tests now that leaks are plugged
15663         * check/gst/gst.c:
15664         * check/gst/gstbin.c:
15665         * check/gst/gstpipeline.c:
15666           add some more tests while fixing leaks
15667         * common/check.mak:
15668           make sure binaries are uptodate when valgrinding/gdbing
15669         * gst/gst.c:
15670         * gst/gstelementfactory.c:
15671           remove a ref too many, and add a FIXME for when we get
15672           round to disposing of classes
15673         * gst/gstplugin.c:
15674           fix the refcounting when loading a plugin from a file and
15675           the code pretends that the pointer is the same even though
15676           of course it can change
15677         * gst/gstpluginfeature.c:
15678           unref plugins marked cached (a bit confusing as a name)
15679           as the docs state should be done
15680           various doc additions to explain refcounting
15681         * gst/gstregistry.c:
15682         * gst/gstregistryxml.c:
15683           debugging
15684
15685 2005-09-19  Wim Taymans  <wim@fluendo.com>
15686
15687         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
15688         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15689         (send_messages), (GST_START_TEST), (gstbus_suite):
15690         * check/gst/gstpipeline.c: (GST_START_TEST):
15691         * check/pipelines/cleanup.c: (run_pipeline):
15692         * check/pipelines/simple_launch_lines.c: (run_pipeline),
15693         (GST_START_TEST):
15694         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
15695         (gst_bus_source_check), (gst_bus_source_dispatch),
15696         (gst_bus_create_watch), (gst_bus_add_watch_full),
15697         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
15698         * gst/gstbus.h:
15699         * tools/gst-launch.c: (event_loop):
15700         * tools/gst-md5sum.c: (event_loop):
15701         GstBusHandler -> GstBusFunc, return value has the same meaning as
15702         any other GSource (FALSE == remove source).
15703         _add_watch() and _add_watch_full() now take a MessageType mask to
15704         only handle specific types of messages.
15705         _poll() returns the GstMessage instead of the message type to avoid
15706         race conditions.
15707         _have_pending() takes a MessageType mask now too.
15708         Added testsuite for multiple bus watches.
15709         Fix testsuites and applications for new bus API.
15710
15711 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15712
15713         * check/Makefile.am:
15714           mark a bunch of the tests as to fix until we fix them
15715
15716 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15717
15718         * common/check.mak:
15719           use GST_PLUGIN settings for valgrind tests as well, so we're
15720           valgrinding the correct thing
15721         * gst/gst.c: (init_post):
15722           plug another leak
15723
15724 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15725
15726         * gst/gst.c: (init_post), (gst_deinit):
15727         * gst/gstelementfactory.c: (gst_element_factory_class_init),
15728         (gst_element_factory_finalize), (gst_element_factory_cleanup):
15729         * gst/gstindex.c: (gst_index_factory_class_init),
15730         (gst_index_factory_finalize):
15731         * gst/gstobject.c: (gst_object_dispose):
15732         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15733         (gst_plugin_load_file), (gst_plugin_desc_free):
15734         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
15735         (gst_plugin_feature_finalize):
15736         * gst/gstregistry.c: (gst_registry_class_init),
15737         (gst_registry_init), (gst_registry_finalize),
15738         (gst_registry_get_default), (gst_registry_deinit):
15739         * gst/gstregistry.h:
15740         * gst/gstregistryxml.c: (load_feature), (load_plugin):
15741           various cleanups and memleak plugging.  make valgrind is happy now.
15742
15743 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15744
15745         * common/check.mak:
15746           add a check-valgrind target
15747
15748 2005-09-18  David Schleef  <ds@schleef.org>
15749
15750         * tools/gst-inspect.c: Revert the GOption code.
15751
15752 2005-09-17  David Schleef  <ds@schleef.org>
15753
15754         * check/Makefile.am: Fix environment variables.
15755         * check/gst/gstplugin.c: Fix for API changes.
15756         * tools/gst-inspect.c: Fix for API changes.
15757         * tools/gst-xmlinspect.c: Fix for API changes.
15758         * gst/gstelementfactory.c:
15759         * gst/gstplugin.c:
15760         * gst/gstplugin.h:
15761         * gst/gstpluginfeature.c:
15762         * gst/gstpluginfeature.h:
15763         * gst/gstregistry.c:
15764         * gst/gstregistry.h:
15765         * gst/gstregistryxml.c:
15766         * gst/gsttypefind.c:
15767         * gst/gsttypefindfactory.c:
15768         * gst/indexers/gstfileindex.c:
15769         * gst/indexers/gstmemindex.c:
15770         * gst/schedulers/Makefile.am:
15771           Change registry to keep track of both plugins and features,
15772           removing the feature tracking from plugins themselves.
15773
15774 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15775
15776         * check/Makefile.am:
15777         * tools/gst-register.1.in:
15778           remove gst-register
15779
15780 2005-09-15  David Schleef  <ds@schleef.org>
15781
15782         * check/gst/gstplugin.c:
15783         * gst/gstelementfactory.c:
15784         * gst/gstplugin.c:
15785         * gst/gstpluginfeature.c:
15786         * gst/gstregistry.c:
15787           Getting tired of debugging.  Disabled all the unreffing of
15788           plugins and features, which fixes the segfaults, but of
15789           course leaks like crazy.  At least playbin works.
15790
15791 2005-09-15  David Schleef  <ds@schleef.org>
15792
15793         * check/gst/gstplugin.c: (register_check_elements),
15794         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
15795         More testing
15796         * gst/elements/gsttypefindelement.c: Fix refcounting.
15797         * gst/gsttypefind.c:
15798         * gst/gsttypefindfactory.c:
15799         * gst/gsttypefindfactory.h:
15800
15801 2005-09-15  David Schleef  <ds@schleef.org>
15802
15803         * gst/gstindex.c: get refcounting correct.
15804         * gst/gstregistry.c: Handle the case where a feature/plugin is
15805           not found.
15806
15807 2005-09-15  David Schleef  <ds@schleef.org>
15808
15809         * check/Makefile.am:
15810         * check/gst/gstplugin.c: Add test
15811         * gst/gstplugin.c: Fix problems noticed by testsuite
15812         * gst/gstplugin.h:
15813         * gst/gstregistry.c: 
15814         * gst/gstregistry.h:
15815
15816 2005-09-15  David Schleef  <ds@schleef.org>
15817
15818         * gst/gstplugin.c: Implement semi-decent recounting and locking
15819           in plugins and plugin features.
15820         * gst/gstplugin.h:
15821         * gst/gstpluginfeature.c:
15822         * gst/gstpluginfeature.h:
15823         * gst/gstregistry.c:
15824
15825 2005-09-15  Michael Smith <msmith@fluendo.com>
15826
15827         * gst/gstregistry.c: (gst_registry_get_feature_list):
15828           Implement this. Makes oggdemux work; decodebin still broken.
15829
15830 2005-09-14  David Schleef  <ds@schleef.org>
15831
15832         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
15833           #316076)
15834         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
15835         * gst/check/Makefile.am:
15836         * libs/gst/controller/Makefile.am:
15837         * libs/gst/dataprotocol/Makefile.am:
15838
15839 2005-09-14  David Schleef  <ds@schleef.org>
15840
15841         * configure.ac: Remove getbits library.  Nothing uses it, and
15842           it should be in something like liboil if someone did want
15843           to use it.
15844         * libs/gst/Makefile.am:
15845         * libs/gst/getbits/Makefile.am:
15846         * libs/gst/getbits/gbtest.c:
15847         * libs/gst/getbits/getbits.c:
15848         * libs/gst/getbits/getbits.h:
15849         * libs/gst/getbits/gstgetbits_generic.c:
15850         * libs/gst/getbits/gstgetbits_i386.s:
15851         * libs/gst/getbits/gstgetbits_inl.h:
15852
15853 2005-09-14  David Schleef  <ds@schleef.org>
15854
15855         * gst/Makefile.am: Dist glib-compat.h
15856
15857 2005-09-14  David Schleef  <ds@schleef.org>
15858
15859         * configure.ac: Remove gst/registries, since it's no longer used.
15860         * gst/registries/Makefile.am:
15861         * gst/registries/gstlibxmlregistry.c:
15862         * gst/registries/gstlibxmlregistry.h:
15863         * gst/registries/gstxmlregistry.c:
15864         * gst/registries/gstxmlregistry.h:
15865         * gst/registries/registrytest.c:
15866
15867 2005-09-14  David Schleef  <ds@schleef.org>
15868
15869         * gst/glib-compat.h:
15870         * gst/gstregistryxml.c:
15871           Convergence is near.  Seriously.
15872
15873 2005-09-14  David Schleef  <ds@schleef.org>
15874
15875         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
15876         * gst/glib-compat.h:
15877           Attempt #4 to appease the buildbots.
15878
15879 2005-09-14  David Schleef  <ds@schleef.org>
15880
15881         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
15882           Attempt #3.
15883
15884 2005-09-14  David Schleef  <ds@schleef.org>
15885
15886         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
15887         Attempt #2.
15888
15889 2005-09-14  David Schleef  <ds@schleef.org>
15890
15891         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
15892           the new functions.
15893
15894 2005-09-14  David Schleef  <ds@schleef.org>
15895
15896         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
15897         * gst/glib-compat.h: Add some functions that are in newer versions
15898           of glib than we care to require.
15899         * gst/gstregistryxml.c: Use them.
15900
15901 2005-09-14  David Schleef  <ds@schleef.org>
15902
15903         * po/POTFILES.in: remove gst-register.c
15904
15905 2005-09-14  David Schleef  <ds@schleef.org>
15906
15907         * docs/gst/gstreamer-docs.sgml:
15908         * docs/gst/gstreamer-sections.txt:
15909         * docs/gst/gstreamer.types:
15910         * docs/gst/tmpl/gstelement.sgml:
15911         * docs/gst/tmpl/gstplugin.sgml:
15912         * docs/gst/tmpl/gstpluginfeature.sgml:
15913           Documentation updates for registry changes.
15914
15915 2005-09-14  David Schleef  <ds@schleef.org>
15916
15917         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
15918           because we don't require glib-2.8.
15919
15920 2005-09-14  David Schleef  <ds@schleef.org>
15921
15922         * gst/gstregistryxml.c: Added.  Essentially moved out of the
15923           registries directory.
15924
15925 2005-09-14  David Schleef  <ds@schleef.org>
15926
15927         * check/Makefile.am:
15928         * check/generic/states.c:
15929         * gst/Makefile.am:
15930         * gst/gst.c:
15931         * gst/gst.h:
15932         * gst/gst_private.h:
15933         * gst/gstelementfactory.c:
15934         * gst/gstindex.c:
15935         * gst/gstinfo.c:
15936         * gst/gstplugin.c:
15937         * gst/gstplugin.h:
15938         * gst/gstpluginfeature.c:
15939         * gst/gstpluginfeature.h:
15940         * gst/gstregistry.c:
15941         * gst/gstregistry.h:
15942         * gst/gstregistrypool.c: remove
15943         * gst/gstregistrypool.h: remove
15944         * gst/gsttypefind.c:
15945         * gst/gsttypefindfactory.c:
15946         * gst/gsturi.c:
15947         * tools/Makefile.am:
15948         * tools/gst-compprep.c:
15949         * tools/gst-inspect.c:
15950         * tools/gst-register.c: remove
15951         * tools/gst-xmlinspect.c:
15952           Registry rewrite.  Changes registry from being a file created
15953           by a tool into a simple cache file created automatically by 
15954           libgstreamer.  Removed gst-register (because it's no longer
15955           needed).  Remove registry pools, because we only have one
15956           registry implementation (XML).  Fix up other subsystems as
15957           necessary.
15958
15959 2005-09-13  Michael Smith <msmith@fluendo.com>
15960
15961         * gst/gstconfig.h.in:
15962           Don't Use windows linking attributes for MinGW. Fixes #316157
15963
15964 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15965
15966         * gst/gstutils.c: (set_state_async_thread_func),
15967         (gst_element_set_state_async):
15968           Apparently people think it's better if this function doesn't
15969           try to set the state to whatever state was asked for on the first
15970           call to this function for any object.  Seriously.
15971
15972 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15973
15974         * check/gst/gstpipeline.c: (GST_START_TEST):
15975         * docs/gst/gstreamer-sections.txt:
15976         * gst/gstutils.c: (set_state_async_thread_func),
15977         (gst_element_set_state_async):
15978         * gst/gstutils.h:
15979           add a "gst_element_set_state_async" method that
15980           sets the state and starts a thread to make sure the state
15981           change completes as best as it can
15982
15983 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15984
15985         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15986           codify design+behaviour in testsuite after discussion
15987
15988 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15989
15990         * docs/gst/tmpl/gstelement.sgml:
15991         * docs/manual/appendix-quotes.xml:
15992           add a quote
15993         * gst/gstelement.c: (gst_element_set_state):
15994           add some debug
15995
15996 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
15997
15998         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15999         (gst_base_transform_prepare_output_buf),
16000         (gst_base_transform_handle_buffer):
16001         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
16002         (gst_capsfilter_prepare_buf):
16003           Remove the requirement for sub-classes to call the parent
16004           implementation of prepare_output_buffer with a wrapper function.
16005           
16006         * gst/gsttaglist.h:
16007         * gst/gsttagsetter.h:
16008           Fix #define wrapper
16009
16010 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
16011
16012         * docs/gst/gstreamer-sections.txt:
16013           more doc cleanups
16014
16015 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16016
16017         * docs/gst/gstreamer-sections.txt:
16018         * docs/gst/tmpl/gstelement.sgml:
16019         * docs/gst/tmpl/gstplugin.sgml:
16020         * gst/gstminiobject.c:
16021         * gst/gstvalue.h:
16022           docs now stop throwing warnings
16023
16024 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16025
16026         * docs/gst/gstreamer-sections.txt:
16027         * docs/gst/gstreamer.types:
16028         * docs/gst/tmpl/gstpad.sgml:
16029         * docs/gst/tmpl/gsttypes.sgml:
16030         * gst/base/gstadapter.h:
16031         * gst/base/gstbasesink.h:
16032         * gst/base/gstbasesrc.h:
16033         * gst/gstbin.h:
16034         * gst/gstbuffer.h:
16035         * gst/gstbus.h:
16036         * gst/gstcaps.h:
16037         * gst/gstclock.h:
16038         * gst/gstelement.h:
16039         * gst/gstevent.h:
16040         * gst/gstmessage.h:
16041         * gst/gstpad.h:
16042         * gst/gststructure.c:
16043         * gst/registries/gstlibxmlregistry.h:
16044           various documentation fixes
16045
16046 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16047
16048         * docs/gst/gstreamer-sections.txt:
16049         * docs/gst/tmpl/gstvalue.sgml:
16050           rearrange gstvalue section
16051         * gst/gstutils.c: (gst_element_state_get_name):
16052           NONE -> VOID
16053         * gst/gstvalue.c: (_gst_value_initialize):
16054         * gst/gstvalue.h:
16055           doc updates
16056
16057 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
16058
16059         * check/gst-libs/controller.c:
16060           Header include fix.
16061         * gst/base/gstbasetransform.c:
16062         (gst_base_transform_default_prepare_buf),
16063         (gst_base_transform_handle_buffer):
16064         * gst/base/gstbasetransform.h:
16065           Some more basetransform changes and fixes to enable sub-classes
16066           that modify buffer metadata only.
16067         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16068         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
16069         (gst_capsfilter_prepare_buf):
16070           If the output pad has fixed allowed caps and input buffers 
16071           don't have any, set the fixed caps on outgoing buffers.
16072
16073 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
16074         * check/elements/identity.c: (GST_START_TEST):
16075           Make the error a little clearer when the test fails because
16076           identity made a copy of the buffer.
16077         * docs/gst/gstreamer-sections.txt:
16078           New symbols in gstbasetransform.h
16079         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16080         (gst_base_transform_init), (gst_base_transform_transform_size),
16081         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16082         (gst_base_transform_default_prepare_buf),
16083         (gst_base_transform_get_unit_size),
16084         (gst_base_transform_buffer_alloc),
16085         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16086         (gst_base_transform_change_state),
16087         (gst_base_transform_set_passthrough),
16088         (gst_base_transform_set_in_place),
16089         (gst_base_transform_is_in_place):
16090         * gst/base/gstbasetransform.h:
16091           Change BaseTransform to separate in_place operate from same_caps
16092           output. in_place implies that the element can perform the transform
16093           on incoming buffers in-place, even if the caps on the output are
16094           different.
16095           Sub-class elements can now implement special buffer allocation
16096           methods for outgoing buffers if they wish to.
16097           Big documentation addition.
16098         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
16099         * gst/elements/gstelements.c:
16100           Changes for basetransform modifications.
16101         * gst/elements/Makefile.am:
16102         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
16103           Compile fix. Extra debug output.
16104
16105 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16106
16107         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
16108         (gst_pad_suite):
16109           add tests for valid pad naming
16110         * gst/check/gstcheck.c: (gst_check_log_message_func),
16111         (gst_check_log_critical_func):
16112           add ASSERT_WARNING
16113           remove printing of code, it is fragile when the code contains
16114           % and the line number is enough info
16115         * gst/check/gstcheck.h:
16116         * gst/gstpad.c: (gst_pad_template_new):
16117           fix memleaks
16118
16119 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16120
16121         * configure.ac:
16122           say what CHECK flags we use
16123         * docs/libs/gstreamer-libs.types:
16124         * libs/gst/controller/Makefile.am:
16125         * libs/gst/controller/gst-controller.c:
16126         * libs/gst/controller/gst-controller.h:
16127         * libs/gst/controller/gst-helper.c:
16128         * libs/gst/controller/gst-interpolation.c:
16129         * libs/gst/controller/gstcontroller.c:
16130         * libs/gst/controller/gsthelper.c:
16131         * libs/gst/controller/gstinterpolation.c:
16132         * tools/gst-inspect.c: (print_plugin_info):
16133           we don't use dashes in header names
16134
16135 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16136
16137         * check/Makefile.am:
16138         * check/gst/.cvsignore:
16139         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
16140         (gst_pipeline_suite), (main):
16141           adding a test for pipelines and state changes
16142         * gst/gstutils.c: (get_state_func):
16143           add some debugging
16144         * gstreamer.spec.in:
16145           fix up spec file
16146
16147 2005-09-08  Michael Smith <msmith@fluendo.com>
16148
16149         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
16150         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
16151         (gst_file_src_is_seekable), (gst_file_src_get_size),
16152         (gst_file_src_start):
16153         * gst/elements/gstfilesrc.h:
16154           Various fixes for unseekable, unmmapable, and non-normal files, so
16155           that fallback to read() rather than mmap() works.
16156         * gst/gstevent.c: (gst_event_new_newsegment):
16157           Allow newsegment events with segment_start == segment_end, as will
16158           correctly happen if you use filesrc on a zero-size file, for
16159           example.
16160
16161 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
16162
16163         * gst/gstplugin.c: (gst_plugin_load_file):
16164           Call g_module_close when we don't load the module
16165
16166         * gst/registries/gstlibxmlregistry.c:
16167         (gst_xml_registry_get_property):
16168           Port leak fix from 0.8
16169
16170 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16171
16172         * docs/gst/gstreamer-docs.sgml:
16173         * docs/gst/tmpl/.cvsignore:
16174         * docs/gst/tmpl/gsttrace.sgml:
16175         * docs/gst/tmpl/gsttrashstack.sgml:
16176         * gst/Makefile.am:
16177         * gst/gst.h:
16178         * gst/gstelement.h:
16179         * gst/gstevent.h:
16180         * gst/gstmessage.c:
16181         * gst/gstmessage.h:
16182         * gst/gsttag.c:
16183         * gst/gsttag.h:
16184         * gst/gsttaginterface.c:
16185         * gst/gsttaginterface.h:
16186         * gst/gsttaglist.c:
16187         * gst/gsttaglist.h:
16188         * gst/gsttagsetter.c:
16189         * gst/gsttagsetter.h:
16190         * gst/gsttrace.c:
16191         * gst/gsttrace.h:
16192         * gst/gsttrashstack.c:
16193           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
16194           inlined docs for gsttrace, gsttrashstack
16195
16196 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16197
16198         * gst/Makefile.am:
16199         * gst/elements/gstbufferstore.h:
16200         * gst/elements/gsttypefindelement.c:
16201         * gst/elements/gsttypefindelement.h:
16202         * gst/gst.h:
16203         * gst/gsttypefind.c:
16204         * gst/gsttypefind.h:
16205         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
16206         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
16207         (gst_type_find_factory_dispose),
16208         (gst_type_find_factory_unload_thyself),
16209         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
16210         (gst_type_find_factory_get_caps),
16211         (gst_type_find_factory_get_extensions),
16212         (gst_type_find_factory_call_function):
16213         * gst/gsttypefindfactory.h:
16214         * gst/registries/gstlibxmlregistry.c:
16215         * gst/registries/gstxmlregistry.c:
16216           splitted gsttypefind into gsttypefind, gsttypefindfactory
16217
16218 2005-09-07  Andy Wingo  <wingo@pobox.com>
16219
16220         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
16221         condition whereby the pad's task function is entered before the
16222         pad_mode variable was set.
16223
16224 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
16225
16226         * gst/gstpad.c: (gst_pad_alloc_buffer):
16227           Catch misbehaving pad_alloc functions that don't
16228           set up caps and do it for them.
16229
16230 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
16231
16232         * check/pipelines/simple_launch_lines.c: (run_pipeline):
16233           test for pipe!=NULL
16234         * docs/gst/tmpl/.cvsignore:
16235         * docs/gst/tmpl/gstmemchunk.sgml:
16236         * docs/gst/tmpl/gstparse.sgml:
16237         * docs/gst/tmpl/gsttaglist.sgml:
16238         * docs/gst/tmpl/gsttagsetter.sgml:
16239         * docs/gst/tmpl/gsttypefind.sgml:
16240         * docs/gst/tmpl/gsttypefindfactory.sgml:
16241         * gst/gstmemchunk.c:
16242         * gst/gstparse.c:
16243         * gst/gsttag.c:
16244         * gst/gsttaginterface.c:
16245         * gst/gsttypefind.c:
16246         * gst/gsttypefind.h:
16247           inlined more docs
16248
16249 === release 0.9.2 ===
16250
16251 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16252
16253         * NEWS:
16254         * RELEASE:
16255         * configure.ac:
16256           releasing 0.9.2, "South"
16257
16258 2005-09-05  Andy Wingo  <wingo@pobox.com>
16259
16260         * gst/registries/gstxmlregistry.h:
16261         * gst/registries/gstxmlregistry.c: Um... resurrect...
16262         
16263         * gst/registries/gstxmlregistry.h:
16264         * gst/registries/gstxmlregistry.c: and update to newer API.
16265         Incidentally they should be a bit faster now that they don't have
16266         to parse the caps.
16267         
16268 2005-09-05  Andy Wingo  <wingo@pobox.com>
16269
16270         * gst/registries/gstxmlregistry.h:
16271         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
16272         replaced by the libxml registry a while back
16273
16274 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16275
16276         * docs/gst/tmpl/gstplugin.sgml:
16277         * gst/elements/gstelements.c:
16278         * gst/gst.c:
16279         * gst/gstplugin.c: (gst_plugin_register_func),
16280         (gst_plugin_desc_copy), (gst_plugin_desc_free),
16281         (gst_plugin_get_source):
16282         * gst/gstplugin.h:
16283         * gst/registries/gstlibxmlregistry.c: (load_plugin),
16284         (gst_xml_registry_save_plugin):
16285         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
16286         (gst_xml_registry_save_plugin):
16287         * tools/gst-inspect.c: (print_plugin_info):
16288           add a "source" plugin description field, to represent the source
16289           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
16290           will set it to PACKAGE, which is automake's idea of the name of
16291           the source project.
16292
16293 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16294
16295         * Makefile.am:
16296         * autogen.sh:
16297         * configure.ac:
16298         * docs/Makefile.am:
16299         * docs/faq/Makefile.am:
16300         * docs/gst/tmpl/gstelement.sgml:
16301         * docs/gst/tmpl/gsttypes.sgml:
16302         * docs/htmlinstall.mak:
16303         * docs/manual/Makefile.am:
16304         * docs/pwg/Makefile.am:
16305           reorganize doc build a little
16306           split out docbook and gtk-doc stuff
16307           have two separate --enable's and enable them through autogen
16308           but disable by default in configure (to be similar to other
16309           projects)
16310         * gstreamer.spec.in:
16311           clean up docs install
16312         * po/af.po:
16313         * po/az.po:
16314         * po/ca.po:
16315         * po/cs.po:
16316         * po/de.po:
16317         * po/en_GB.po:
16318         * po/fr.po:
16319         * po/it.po:
16320         * po/nb.po:
16321         * po/nl.po:
16322         * po/ru.po:
16323         * po/sq.po:
16324         * po/sr.po:
16325         * po/sv.po:
16326         * po/tr.po:
16327         * po/uk.po:
16328         * po/vi.po:
16329           translation updates
16330
16331 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
16332
16333         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
16334           Add comment.
16335           
16336         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16337         (gst_fake_sink_change_state):
16338           Make state change function thread-safe.
16339           
16340         * gst/gstpad.c: (gst_pad_alloc_buffer):
16341           Set offset on generic buffer allocated by fallback.
16342
16343 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
16344
16345         * docs/gst/gstreamer-sections.txt:
16346         * docs/gst/tmpl/gstelement.sgml:
16347         * gst/gstpad.c:
16348         * libs/gst/controller/gst-controller.c:
16349         (gst_controlled_property_set_interpolation_mode),
16350         (gst_controlled_property_new),
16351         (gst_controller_find_controlled_property):
16352          run the wingo-magic script against the docs
16353
16354 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
16355
16356         * docs/gst/gstreamer-docs.sgml:
16357         * docs/gst/gstreamer-sections.txt:
16358         * docs/gst/tmpl/.cvsignore:
16359         * docs/gst/tmpl/gstelementdetails.sgml:
16360         * docs/gst/tmpl/gstelementfactory.sgml:
16361         * gst/gst.c:
16362         * gst/gstbus.c:
16363         * gst/gstelementfactory.c:
16364         * gst/gstelementfactory.h:
16365           merged elementdetails docs into elementfactory docs
16366           inlined both
16367
16368 2005-09-02  Andy Wingo  <wingo@pobox.com>
16369
16370         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
16371         consider this enum an enum and not a flags.
16372
16373 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
16374
16375         * docs/gst/gstreamer-docs.sgml:
16376         * docs/gst/tmpl/.cvsignore:
16377         * docs/gst/tmpl/gstghostpad.sgml:
16378         * docs/gst/tmpl/gstiterator.sgml:
16379         * docs/gst/tmpl/gstmacros.sgml:
16380         * docs/gst/tmpl/gstrealpad.sgml:
16381         * docs/gst/tmpl/gstregistry.sgml:
16382         * docs/gst/tmpl/gstregistrypool.sgml:
16383         * docs/gst/tmpl/gststructure.sgml:
16384         * docs/gst/tmpl/gstsystemclock.sgml:
16385         * docs/gst/tmpl/gsttrace.sgml:
16386         * gst/gstghostpad.c:
16387         * gst/gstmacros.h:
16388         * gst/gstmemchunk.c:
16389         * gst/gstmemchunk.h:
16390         * gst/gstqueue.c:
16391         * gst/gstregistry.c:
16392         * gst/gstregistrypool.c:
16393         * gst/gststructure.c:
16394         * gst/gstsystemclock.c:
16395           more docs inlined
16396
16397 2005-09-02  Andy Wingo  <wingo@pobox.com>
16398
16399         * gst/gstelement.h (GstState): Renamed from GstElementState,
16400         changed to be a normal enum instead of flags.
16401         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
16402         munged to be GST_STATE_CHANGE_*.
16403         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
16404         work with the new state representation.
16405         (GstStateChange): New enumeration of possible state transitions.
16406         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
16407         (GstElementClass::change_state): Pass the GstStateChange along as
16408         an argument. Helps language bindings, so they don't have to use
16409         tricky lock-needing macros like GST_STATE_CHANGE ().
16410
16411         * scripts/update-states (file): New script. Run it on a file to
16412         update it for state naming and API changes. Updates files in
16413         place.
16414
16415         * All files updated for the new API.
16416
16417 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16418
16419         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
16420         * gst/gstutils.c: (gst_util_set_value_from_string),
16421         (gst_util_set_object_arg):
16422           fix a bunch of unchecked return values
16423         * tools/gst-complete.c: (main):
16424         * gstreamer.spec.in:
16425           clean up a little
16426
16427 2005-09-01  Wim Taymans  <wim@fluendo.com>
16428
16429         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16430         (gst_base_sink_event), (gst_base_sink_do_sync),
16431         (gst_base_sink_handle_event):
16432         * gst/base/gstbasesink.h:
16433         Handle newsegments more correctly.
16434
16435         * gst/gstbus.c:
16436         Fix docs.
16437
16438         * gst/gstevent.c: (gst_event_new_newsegment):
16439         A newsegment cannot have a start_time of -1
16440
16441 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
16442
16443         * win32/gstenumtypes.c:
16444         * win32/gstenumtypes.h:
16445           Update
16446
16447 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
16448
16449         * libs/gst/controller/gst-controller.c:
16450         (gst_controlled_property_set_interpolation_mode),
16451         (gst_controlled_property_new):
16452          fixed boolean again
16453
16454 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
16455
16456         * docs/faq/gst-uninstalled:
16457           add -good
16458         * gst/gstevent.c:
16459         * gst/gstevent.h:
16460           remove wrong docs
16461         * gst/gstutils.c: (gst_element_link_filtered):
16462         * gst/gstutils.h:
16463           add gst_element_link_filtered
16464
16465 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
16466
16467         * docs/gst/gstreamer-docs.sgml:
16468         * docs/gst/gstreamer-sections.txt:
16469         * docs/gst/tmpl/.cvsignore:
16470         * docs/gst/tmpl/gsterror.sgml:
16471         * docs/gst/tmpl/gstfilter.sgml:
16472         * docs/gst/tmpl/gsturihandler.sgml:
16473         * docs/gst/tmpl/gsturitype.sgml:
16474         * docs/gst/tmpl/gstutils.sgml:
16475         * docs/gst/tmpl/gstxml.sgml:
16476         * gst/gsterror.c:
16477         * gst/gsterror.h:
16478         * gst/gstfilter.c:
16479         * gst/gsturi.c:
16480         * gst/gsturitype.c:
16481         * gst/gstutils.c:
16482         * gst/gstxml.c:
16483           inlined more docs, fixed double id-ref
16484
16485 2005-08-31  Wim Taymans  <wim@fluendo.com>
16486
16487         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16488         (gst_base_transform_handle_buffer):
16489         Passthrough elements don't need the caps as they don't care.
16490
16491 2005-08-31  Wim Taymans  <wim@fluendo.com>
16492
16493         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16494         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
16495         Don't leak refcounts on buffers.
16496
16497 2005-08-31  Wim Taymans  <wim@fluendo.com>
16498
16499         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
16500         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16501         (gst_base_transform_chain), (gst_base_transform_change_state):
16502         * gst/base/gstbasetransform.h:
16503         Handle the case where we are not negotiated more gracefully.
16504
16505 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
16506
16507         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
16508         (gst_file_src_map_region):
16509           Set READONLY flag on mmap'ed buffers, otherwise
16510           gst_buffer_make_writable() won't work properly (#314708).
16511
16512 2005-08-31  Wim Taymans  <wim@fluendo.com>
16513
16514         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
16515         passthrough elements can even do inplace on non writable
16516         buffers (as they don't touch them).
16517
16518 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
16519
16520         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
16521         (gst_test_mono_source_set_property),
16522         (gst_test_mono_source_class_init), (GST_START_TEST),
16523         (gst_controller_suite):
16524           more tests (hehe I have the most)
16525         * gst/gstbus.c:
16526           describe popping messages whenusing mulltiple sources
16527         * libs/gst/controller/gst-controller.c:
16528         (gst_controlled_property_set_interpolation_mode),
16529         (gst_controlled_property_new):
16530         * libs/gst/controller/gst-controller.h:
16531         * libs/gst/controller/gst-interpolation.c:
16532           implement boolean properties
16533
16534 2005-08-31  Wim Taymans  <wim@fluendo.com>
16535
16536         * gst/gstminiobject.c: (gst_mini_object_ref):
16537         Cannot assert that the refcount has to be positive
16538         since a disposed object can be resurrected.
16539
16540 2005-08-31  Wim Taymans  <wim@fluendo.com>
16541
16542         * gst/gstpad.c: (gst_pad_init):
16543         Revert change, need to first fix badly behaving 
16544         apps.
16545
16546 2005-08-30  Wim Taymans  <wim@fluendo.com>
16547
16548         * check/elements/fakesrc.c: (setup_fakesrc):
16549         * check/elements/identity.c: (setup_identity):
16550         Activate pads before using them.
16551
16552 2005-08-30  Wim Taymans  <wim@fluendo.com>
16553
16554         * gst/base/gstadapter.c: (gst_adapter_flush):
16555         Flushing out 0 bytes is ok for this function.
16556
16557         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16558         no newsegment gives a warning and sets the start/stop to 
16559         invalid.
16560
16561         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
16562         (gst_base_transform_set_passthrough):
16563         Some debug info.
16564
16565         * gst/gstminiobject.c: (gst_mini_object_ref):
16566         Check refcount here too.
16567
16568         * gst/gstpad.c: (gst_pad_init):
16569         Pads are initially flushing and refusing data.
16570
16571         * gst/gstutils.c: (gst_element_link_pads_filtered):
16572         When adding a capsfilter element make sure it has the
16573         same state as the parent bin.
16574
16575 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16576
16577         * docs/gst/tmpl/.cvsignore:
16578         * docs/gst/tmpl/gstformat.sgml:
16579         * docs/gst/tmpl/gstversion.sgml:
16580         * gst/gstbus.h:
16581         * gst/gstformat.c:
16582         * gst/gstformat.h:
16583         * gst/gstversion.h.in:
16584           more docs and two more inlined
16585
16586 2005-08-30  Wim Taymans  <wim@fluendo.com>
16587
16588         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
16589         Don't sync to clock.
16590
16591 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16592
16593         * docs/gst/gstreamer-sections.txt:
16594           ultral33t func10ns deserve to appear in the docs actually
16595         * docs/gst/tmpl/.cvsignore:
16596         * docs/gst/tmpl/gstcompat.sgml:
16597         * docs/gst/tmpl/gstconfig.sgml:
16598         * gst/check/gstcheck.c:
16599         * gst/gstcompat.h:
16600         * gst/gstconfig.h.in:
16601           inlined more docs
16602
16603 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16604
16605         * docs/gst/tmpl/.cvsignore:
16606         * docs/gst/tmpl/gstquery.sgml:
16607         * docs/gst/tmpl/gstutils.sgml:
16608         * gst/gstquery.c:
16609         * gst/gstquery.h:
16610           inlined and extended docs
16611
16612 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
16613
16614         * check/gst-libs/controller.c: (GST_START_TEST),
16615         (gst_controller_suite):
16616           more tests
16617         * docs/gst/tmpl/gstutils.sgml:
16618         * docs/libs/gstreamer-libs-sections.txt:
16619         * docs/libs/tmpl/gstdataprotocol.sgml:
16620           include path fixes
16621         * examples/controller/audio-example.c: (main):
16622           controller example works now
16623         * gst/gstclock.h:
16624           doc fixes
16625         * tools/gst-inspect.c: (print_element_properties_info):
16626           show param spec flags
16627
16628 2005-08-29  Andy Wingo  <wingo@pobox.com>
16629
16630         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
16631
16632 2005-08-28  Andy Wingo  <wingo@pobox.com>
16633
16634         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
16635         as having two arguments instead of just one. Allows superclasses
16636         to access information on subclasses -- see the terrible for() loop
16637         in gtype.c:g_type_create_instance for the reason why. All callers
16638         changed.
16639
16640 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
16641
16642         * docs/design/part-messages.txt:
16643           update info
16644         * docs/gst/tmpl/.cvsignore:
16645         * docs/gst/tmpl/gstcaps.sgml:
16646         * docs/gst/tmpl/gstclock.sgml:
16647         * gst/gstbus.c:
16648         * gst/gstcaps.c:
16649         * gst/gstcaps.h:
16650         * gst/gstclock.c:
16651         * gst/gstclock.h:
16652         * gst/gstmessage.c:
16653           added descriptions for bus and message
16654           inline caps and clock docs
16655
16656 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
16657
16658         * gst/gstmessage.c:
16659         * gst/gstmessage.h:
16660           doc fixes
16661
16662 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
16663
16664         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
16665           fix div-by-zero
16666
16667 2005-08-26  Andy Wingo  <wingo@pobox.com>
16668
16669         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
16670         element_set_state's return val.
16671         (test_2_elements): Add test that's been disabled for months.
16672
16673         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
16674         can-activate-pull properties.
16675
16676         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
16677         can-activate-pull properties. Implement is_seekable so fakesrc can
16678         operate in pull mode.
16679
16680         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
16681         properties.
16682         (gst_base_sink_activate, gst_base_sink_activate_pull)
16683         (gst_base_sink_activate_push): Make activation mode choosing work.
16684         Cleanups.
16685         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
16686         is right. Make pull mode work. Post an eos before pausing in pull
16687         mode.
16688         (gst_base_sink_change_state): Pay attention to the core's
16689         change_state() return val.
16690         
16691         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
16692         has-getrange properties. Cleanups.
16693         
16694         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
16695         has_getrange and replace with can_activate_pull and
16696         can_activate_push.
16697
16698         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
16699         locking comments. Remove has_loop, has_chain and replace with
16700         can_activate_pull and can_activate_push.
16701
16702 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
16703
16704         * configure.ac:
16705         * examples/Makefile.am:
16706         * examples/metadata/Makefile.am:
16707         * examples/metadata/read-metadata.c: (message_loop),
16708         (have_pad_handler), (make_pipeline), (print_tag), (main):
16709           Add metadata reading example that loops over a list of filenames,
16710           dumping any tags found.
16711
16712         * gst/gstbus.c: (gst_bus_dispose):
16713         * gst/gstelement.c: (gst_element_dispose):
16714           Release a few potentially-held references in dispose.
16715
16716 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
16717
16718         * docs/gst/tmpl/gstminiobject.sgml:
16719           do *not* add tmpl/*.sgml files to CVS!
16720
16721 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
16722
16723         * libs/gst/bytestream/.cvsignore:
16724         * libs/gst/bytestream/Makefile.am:
16725         * libs/gst/bytestream/adapter.c:
16726         * libs/gst/bytestream/adapter.h:
16727         * libs/gst/bytestream/bytestream.c:
16728         * libs/gst/bytestream/bytestream.h:
16729         * libs/gst/bytestream/filepad.c:
16730         * libs/gst/bytestream/filepad.h:
16731           removing obsolete files
16732
16733 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
16734
16735         * docs/gst/gstreamer-docs.sgml:
16736         * docs/libs/gstreamer-libs-docs.sgml:
16737           disabed additional index entries again, as this makes docs-gen just
16738           slow and they aren't useful yet
16739         * docs/libs/gstreamer-libs-sections.txt:
16740           little -section.txt cleanup for libs
16741
16742 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
16743
16744         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16745         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
16746           fix up some debugging
16747         (gst_base_transform_get_unit_size),
16748         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
16749         (gst_base_transform_handle_buffer):
16750         * gst/base/gstbasetransform.h:
16751           handle and store timed NEWSEGMENT events so that subclasses that
16752           calculate time by counting samples have a segment_start time they
16753           need to add to their timestamps - see audioresample
16754
16755 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
16756
16757         * gst/gstbin.h:
16758           removed ';' from the end of macro defs
16759         * docs/gst/gstreamer-docs.sgml:
16760         * docs/gst/gstreamer-sections.txt:
16761         * docs/gst/tmpl/.cvsignore:
16762         * gst/gstbus.h:
16763         * gst/gstelement.c: (gst_element_class_init),
16764         (gst_element_set_state), (activate_pads),
16765         (gst_element_save_thyself):
16766         * gst/gstevent.c: (gst_event_new_newsegment):
16767         * gst/gstevent.h:
16768         * gst/gstiterator.c:
16769         * gst/gstiterator.h:
16770         * gst/gstpad.c:
16771         * gst/gstprobe.h:
16772         * gst/gstutils.c: (gst_pad_query_convert):
16773         * gst/gstutils.h:
16774           fixed parameter name mismatches between source, header and docs
16775           added some more docs, resolved the last batch of unused elements in
16776           docs (now someone needs to doc them)
16777
16778 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
16779
16780         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
16781         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
16782           don't walk through the plugins backwards.  Where is all this
16783           reversed logic coming from ?
16784
16785 2005-08-25  Wim Taymans  <wim@fluendo.com>
16786
16787         * gst/base/gstbasetransform.c: (gst_base_transform_init),
16788         (gst_base_transform_transform_size),
16789         (gst_base_transform_configure_caps),
16790         (gst_base_transform_get_unit_size),
16791         (gst_base_transform_buffer_alloc),
16792         (gst_base_transform_change_state):
16793         * gst/base/gstbasetransform.h:
16794         Cache caps unit_size.
16795         Make sure we cannot negotiate up and downstream at the
16796         same time.
16797
16798 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
16799
16800         * gst/gst.c: (init_pre), (init_post):
16801           register the installed plugin path after the env var
16802         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
16803         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
16804           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
16805           directories, so the tests can prefer uninstalled over installed
16806
16807 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
16808
16809         * gst/base/gstbasetransform.h:
16810           comment
16811         * gst/gstpad.c:
16812           add to docs
16813
16814 2005-08-25  Wim Taymans  <wim@fluendo.com>
16815
16816         * gst/gstbin.c: (bin_bus_handler):
16817         Be a bit more conservative about the posted message.
16818         
16819         * gst/gstbus.c: (gst_bus_post):
16820         Some cleanups, warn wrong return values.
16821
16822 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
16823
16824         * check/gst/gstbin.c: (GST_START_TEST):
16825         * gst/gstbin.c: (bin_bus_handler):
16826         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
16827         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
16828         (gst_message_new_warning), (gst_message_new_tag),
16829         (gst_message_new_state_changed), (gst_message_new_segment_start),
16830         (gst_message_new_segment_done), (gst_message_new_custom):
16831         * gst/gstmessage.h:
16832         * tools/gst-launch.c: (event_loop):
16833         * tools/gst-md5sum.c: (event_loop):
16834           Revert unpopular change for GST_MESSAGE_SRC to GObject.
16835
16836 2005-08-25  Wim Taymans  <wim@fluendo.com>
16837
16838         * check/generic/states.c: (GST_START_TEST):
16839         Cleanup can be done at the end.
16840
16841         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
16842         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
16843         (gst_task_get_state), (gst_task_start), (gst_task_pause):
16844         Oh boy.. Thanks for finding this, Thomas. 
16845
16846 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
16847
16848         * docs/gst/gstreamer.types:
16849           added missing types
16850
16851 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
16852
16853         * docs/gst/gstreamer-docs.sgml:
16854         * docs/gst/gstreamer-sections.txt:
16855         * docs/gst/tmpl/.cvsignore:
16856         * gst/gstbin.c:
16857         * gst/gstiterator.c:
16858         * gst/gstutils.c:
16859         * gst/registries/gstxmlregistry.h:
16860           added missing classes and symbols (123 more to go)
16861           removed removed symbols from section file
16862           fixed many doc-comments
16863
16864 2005-08-24  Wim Taymans  <wim@fluendo.com>
16865
16866         * check/generic/states.c: (GST_START_TEST):
16867         Make sure all tasks are stopped.
16868
16869         * check/gst/gstbin.c: (GST_START_TEST):
16870         Unref after usage for proper valgrinding.
16871
16872         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
16873         Really wait for the task to stop before destroying the
16874         mutex.
16875
16876         * gst/gstqueue.c: (gst_queue_sink_activate_push),
16877         (gst_queue_src_activate_push):
16878         Small cleanups. Don't stop the task when we did not start
16879         it.
16880
16881         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
16882         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
16883         (gst_task_get_state), (gst_task_start), (gst_task_pause),
16884         (gst_task_join):
16885         * gst/gsttask.h:
16886         Protect the stream lock with the object lock.
16887         Disallow setting the stream lock when running.
16888         Add cleanup_all to wait for the threadpool to finish.
16889         Remove code to autoallocate a mutex if none was provided.
16890         Add _join() to wait for a task to stop.
16891         Protect the thread pool with a global lock.
16892
16893 2005-08-24  Wim Taymans  <wim@fluendo.com>
16894
16895         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16896         (gst_base_sink_get_times), (gst_base_sink_do_sync),
16897         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
16898         * gst/base/gstbasesink.h:
16899         Handle newsegment events correctly.
16900         Drop buffers out of the segment range.
16901
16902 2005-08-22  Andy Wingo  <wingo@pobox.com>
16903
16904         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
16905         macro, implements an interface and gstimplementsinterface for a
16906         new type.
16907
16908 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16909
16910         * check/Makefile.am:
16911         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
16912           add a test that does a bunch of state changes on elements
16913           needs some fixing for valgrind
16914         * check/states/sinks.c: (gst_object_suite):
16915           whitespace
16916         * gst/gstcaps.h:
16917           add prototype for gst_caps_is_equal_fixed
16918         * gst/gstplugin.c:
16919         * gst/gstregistrypool.c:
16920           doc fixes
16921
16922 2005-08-24  Andy Wingo  <wingo@pobox.com>
16923
16924         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
16925         convert a negative value. Doesn't make much sense. Mostly this is
16926         here to force callers to ensure -1 maps to -1.
16927
16928 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
16929
16930         * docs/pwg/advanced-types.xml:
16931           Well done to Michael for catching my deliberate introduction
16932           of this spelling mistake. 
16933         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
16934         * gst/gstelement.h:
16935           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
16936           unlink pads before removing the element from the bin.
16937
16938 2005-08-24  Andy Wingo  <wingo@pobox.com>
16939
16940         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
16941         the same thing as GST_DEBUG=*:4.
16942         (parse_debug_level, parse_debug_category): New helper parsers.
16943
16944 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16945
16946         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
16947         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
16948         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
16949         (gst_base_transform_buffer_alloc),
16950         (gst_base_transform_handle_buffer):
16951           use gboolean return values and pointers to size so we can use the
16952           full GST_BUFFER_SIZE range (guint) for buffer sizes
16953           use GstPadDirection for transform_caps
16954         * gst/base/gstbasetransform.h:
16955           rename get_size to get_unit_size since that's what it is
16956         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
16957           use GstPadDirection for transform_caps
16958         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
16959         * gst/gstutils.h:
16960           cleanup and debugging
16961
16962 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
16963
16964         * gst/gstelement.c: (gst_element_class_init),
16965         (gst_element_set_state), (activate_pads),
16966         (gst_element_save_thyself):
16967         * tools/gst-compprep.c: (main):
16968         * tools/gst-inspect.c: (print_element_properties_info):
16969         * tools/gst-xmlinspect.c: (print_element_properties):
16970           Fixed long standing mem-leak
16971
16972 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
16973
16974         * check/gst/gstbin.c: (GST_START_TEST):
16975         * gst/gstbin.c: (bin_bus_handler):
16976         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
16977         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
16978         (gst_message_new_warning), (gst_message_new_tag),
16979         (gst_message_new_state_changed), (gst_message_new_segment_start),
16980         (gst_message_new_segment_done), (gst_message_new_custom):
16981         * gst/gstmessage.h:
16982         * tools/gst-launch.c: (event_loop):
16983         * tools/gst-md5sum.c: (event_loop):
16984           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
16985           that applications can sensibly post custom messages with references
16986           to their own objects.
16987
16988 2005-08-24  Andy Wingo  <wingo@pobox.com>
16989
16990         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
16991         already.
16992
16993 2005-08-24  Wim Taymans  <wim@fluendo.com>
16994
16995         * gst/base/gstbasetransform.c: (gst_base_transform_init),
16996         (gst_base_transform_transform_caps),
16997         (gst_base_transform_transform_size),
16998         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16999         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17000         (gst_base_transform_handle_buffer):
17001         * gst/base/gstbasetransform.h:
17002         Many fixes and new features added by Thomas. Can now also do
17003         transforms with variable sizes and a custom fixate_caps function.
17004
17005 2005-08-24  Wim Taymans  <wim@fluendo.com>
17006
17007         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17008         Some debugging.
17009
17010         * gst/gstclock.h:
17011         Cast to ClockTime before formatting to time.
17012
17013         * gst/gstutils.h:
17014         Cleanups.
17015
17016 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
17017
17018         * check/gst-libs/controller.c: (GST_START_TEST),
17019         (gst_controller_suite):
17020         * docs/gst/tmpl/gstcaps.sgml:
17021         * docs/gst/tmpl/gstghostpad.sgml:
17022         * docs/gst/tmpl/gstquery.sgml:
17023         * docs/gst/tmpl/gstutils.sgml:
17024         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
17025         (gst_object_sink_values), (gst_object_get_value_arrays),
17026         (gst_object_get_value_array):
17027           gracefully handle helper method calls to objects that are not beeing
17028           controlled, added test case for that          
17029
17030 2005-08-23  Wim Taymans  <wim@fluendo.com>
17031
17032         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
17033         (gst_event_new_newsegment), (gst_event_parse_newsegment),
17034         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
17035         (gst_event_parse_qos), (gst_event_new_seek),
17036         (gst_event_parse_seek):
17037         * gst/gstevent.h:
17038         Some more debugging output and doc cleanups.
17039
17040         * gst/gstqueue.c: (gst_queue_handle_sink_event):
17041         Fix possible deadlock.
17042
17043 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17044
17045         * docs/gst/gstreamer-docs.sgml:
17046         * docs/gst/gstreamer-sections.txt:
17047         * docs/gst/gstreamer.types:
17048         * docs/gst/tmpl/.cvsignore:
17049         * gst/gstbin.h:
17050         * gst/gstbus.c:
17051         * gst/gstelement.c:
17052         * gst/gstevent.h:
17053           added 100 symbols from gstreamer-unused.txt to the right sections
17054           fixed more broken comments
17055           added GstBus to docs
17056
17057 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17058
17059         * docs/gst/gstreamer-sections.txt:
17060         * docs/gst/tmpl/.cvsignore:
17061         * docs/gst/tmpl/gstbin.sgml:
17062         * docs/gst/tmpl/gstbuffer.sgml:
17063         * gst/base/gstbasesrc.c:
17064         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
17065         * gst/gstbuffer.c:
17066         * gst/gstbuffer.h:
17067         * tools/gst-launch.1.in:
17068           inlined more doc comments, added missing comments and fixed comments
17069           fixed typos
17070
17071 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17072
17073         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17074           some debugging
17075         * gst/gstcaps.h:
17076           whitespace fixes
17077         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
17078           more debugging
17079         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
17080         * gst/gststructure.h:
17081           add a fixate function for booleans; add a FIXME that these func
17082           names should probably be gst_structure_fixate_*
17083
17084 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
17085
17086         * docs/gst/gstreamer-docs.sgml:
17087         * docs/gst/gstreamer-sections.txt:
17088         * gst/Makefile.am:
17089         * gst/gstbin.c: (gst_bin_get_type),
17090         (gst_bin_child_proxy_get_child_by_index),
17091         (gst_bin_child_proxy_get_children_count),
17092         (gst_bin_child_proxy_init):
17093         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17094         (gst_child_proxy_get_child_by_index),
17095         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
17096         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
17097         (gst_child_proxy_get), (gst_child_proxy_set_property),
17098         (gst_child_proxy_set_valist), (gst_child_proxy_set),
17099         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
17100         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
17101         * gst/gstchildproxy.h:
17102         * gst/parse/grammar.y:
17103         * tools/gst-inspect.c: (print_interfaces),
17104         (print_element_properties_info), (print_element_info):
17105           ported gstchildproxy over from 0.8
17106           ported gst-inspect fixes and enhancements over from 0.8
17107
17108 2005-08-22  Wim Taymans  <wim@fluendo.com>
17109
17110         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17111         (gst_base_transform_handle_buffer):
17112         Also call the transform function if we have ANY caps.
17113
17114         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
17115         Fix debug info.
17116
17117 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
17118
17119         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
17120           Don't pretend to handle seek events if the source is not seekable
17121
17122 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
17123
17124         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17125           Remove extra parameter to debug output
17126
17127         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17128         (gst_base_src_do_seek), (gst_base_src_activate_push):
17129           Fix seek event handling.
17130
17131         * gst/gstpipeline.c: (gst_pipeline_change_state):
17132         * gst/gstqueue.c: (gst_queue_handle_sink_event),
17133         (gst_queue_src_activate_push):
17134           Don't start the src pad task on FLUSH_STOP if the pad
17135           isn't linked.
17136           Debug changes.
17137
17138 2005-08-22  Wim Taymans  <wim@fluendo.com>
17139
17140         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
17141         Added check for gst_static_caps_get() refcounting.
17142
17143 2005-08-22  Wim Taymans  <wim@fluendo.com>
17144
17145         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
17146         Make _static_caps_get() refcounting sane.
17147         
17148         * gst/gstelement.c: (gst_element_set_state):
17149         Add g_return_val_if_fail() to protect against segfaults.
17150
17151 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
17152
17153         * docs/gst/tmpl/gstevent.sgml:
17154         * gst/gstevent.c:
17155         * gst/gstevent.h:
17156           inlined remaining docs, added missing doc comments
17157
17158 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17159
17160         * check/gst/gstbin.c: (GST_START_TEST):
17161           since we don't know when preroll is done, use refcount range
17162           check for the sink
17163         * gst/check/gstcheck.h:
17164           add macro for checking refcount range
17165
17166 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17167
17168         * check/Makefile.am:
17169           clean up environment for when registry gets built versus
17170           when actual tests are run; valgrind seems to not report
17171           leaks if GST_PLUGIN_PATH is set to some specific values
17172         * check/gst/gstbin.c: (GST_START_TEST):
17173           add more refcounting checks; maybe this exposes a
17174           preroll lock bug ?
17175         * common/check.mak:
17176         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17177         * gst/check/gstcheck.h:
17178         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
17179         (gst_bin_change_state):
17180         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
17181           add/fix debugging/whitespace
17182
17183 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
17184
17185         * check/gst/gstevent.c: (event_probe), (test_event),
17186         (GST_START_TEST):
17187          Er, don't call gst_bin_watch_for_state_change you idiot.
17188
17189 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
17190
17191         * check/Makefile.am:
17192           Use CHECK_CFLAGS and CHECK_LIBS
17193         * check/gst/gstevent.c: (event_probe), (test_event),
17194         (GST_START_TEST):
17195           Don't leak events.
17196         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17197         (gst_base_src_start), (gst_base_src_stop),
17198         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17199         (gst_base_src_change_state):
17200           Sprinkle gst_base_src_stop liberally around error paths to fix
17201           problems reusing a source after failed state changes.
17202         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17203         (helper_find_suggest), (gst_type_find_helper):
17204           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
17205         * gst/gstevent.h:
17206         * docs/gst/tmpl/gstevent.sgml:
17207           Migrate part of the docs from the SGML file. Wait for ensonic to
17208           tell me how I did it wrong ;)
17209         * tools/gst-typefind.c: (main):
17210           Extra robustness to state changes between files.
17211
17212 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17213
17214         * check/Makefile.am:
17215           don't valgrind the controller test - it's leaking - Stefan, HELP
17216         * gst/check/gstcheck.c: (gst_check_message_error),
17217         (gst_check_chain_func), (gst_check_setup_element),
17218         (gst_check_teardown_element), (gst_check_setup_src_pad),
17219         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
17220         (gst_check_teardown_sink_pad):
17221         * gst/check/gstcheck.h:
17222           add a bunch of methods to set up elements, and src and sink pads
17223         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
17224         * check/elements/identity.c: (setup_identity), (cleanup_identity),
17225         (GST_START_TEST):
17226           use them
17227         * gst/gstmessage.c:
17228         * gst/gsttag.h:
17229           whitespace/doc fixes
17230
17231 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17232
17233         * gst/gstelement.h:
17234           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
17235           be handled by the application and not always printed as well
17236
17237 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17238
17239         * check/Makefile.am:
17240           set GST_TOOLS_DIR
17241         * gst/check/gstcheck.c: (gst_check_message_error):
17242         * gst/check/gstcheck.h:
17243           add a fail_unless_equals_int
17244           add fail_unless for error messages
17245
17246 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17247
17248         * check/Makefile.am:
17249         * check/gst.supp:
17250         * common/Makefile.am:
17251         * common/check.mak:
17252         * common/gst.supp:
17253           factor out some of the common stuff so we can use it
17254
17255 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17256
17257         * check/Makefile.am:
17258         * check/gst/gstiterator.c: (GST_START_TEST):
17259         * check/gst/gstsystemclock.c: (GST_START_TEST),
17260         (gst_systemclock_suite):
17261         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
17262         * gst/gstclock.c:
17263           valgrind more tests
17264
17265 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17266
17267         * check/elements/.cvsignore:
17268         * check/elements/gstfakesrc.c:
17269           rename to name of element
17270         * check/elements/identity.c: (chain_func), (event_func),
17271         (setup_identity), (cleanup_identity), (GST_START_TEST),
17272         (identity_suite), (main):
17273           add a test for identity
17274         * check/Makefile.am:
17275         * pkgconfig/Makefile.am:
17276         * pkgconfig/gstreamer-check.pc.in:
17277         * pkgconfig/gstreamer-check-uninstalled.pc.in:
17278         * gst/check:
17279         * gst/Makefile.am:
17280         * configure.ac:
17281           move the check stuff to a library that gets installed
17282         * check/gst-libs/controller.c: (GST_START_TEST):
17283         * check/gst-libs/gdp.c:
17284         * check/gst/gst.c: (GST_START_TEST):
17285         * check/gst/gstbin.c:
17286         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17287         * check/gst/gstbus.c:
17288         * check/gst/gstcaps.c: (GST_START_TEST):
17289         * check/gst/gstelement.c:
17290         * check/gst/gstghostpad.c:
17291         * check/gst/gstiterator.c:
17292         * check/gst/gstmessage.c:
17293         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
17294         * check/gst/gstobject.c:
17295         * check/gst/gstpad.c: (GST_START_TEST):
17296         * check/gst/gststructure.c: (GST_START_TEST):
17297         * check/gst/gstsystemclock.c: (GST_START_TEST),
17298         (gst_systemclock_suite):
17299         * check/gst/gsttag.c: (gst_tag_suite):
17300         * check/gst/gstvalue.c:
17301         * check/pipelines/cleanup.c:
17302         * check/pipelines/simple_launch_lines.c:
17303         * check/states/sinks.c:
17304           change include statement
17305
17306         * docs/gst/gstreamer-sections.txt:
17307         * docs/gst/tmpl/gstpad.sgml:
17308           document more pad stuff
17309         * gst/gstminiobject.c: (gst_mini_object_ref),
17310         (gst_mini_object_unref):
17311           debug refcounting
17312
17313 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
17314
17315         * docs/gst/tmpl/gst.sgml:
17316         * gst/gst.c:
17317           eliminate another tmpl file, fix spelling in the long-description
17318
17319 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17320
17321         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17322         (test_event), (timediff), (gstevents_suite):
17323           Should fix build on 64-bit arch's
17324
17325 2005-08-18  Andy Wingo  <wingo@pobox.com>
17326
17327         Make sure that when a pipeline goes to PLAYING, that data has
17328         actually hit the sink.
17329
17330         * check/states/sinks.c (test_sink): A sink that doesn't get any
17331         data shouldn't return SUCCESS for going to either PLAYING or
17332         PAUSED. Test also the return values on the way back down.
17333
17334         * gst/gstelement.c (gst_element_set_state): When changing the
17335         state of an element currently changing state asynchronously, go to
17336         lost-state after commiting the pending state. Makes future calls
17337         to get_state continue to return ASYNC.
17338
17339         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
17340         ASYNC when going to PLAYING if we still don't have preroll, as can
17341         happen with live sources.
17342
17343 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17344
17345         * docs/pwg/advanced-types.xml:
17346           Hack long paragraph into 2 chunks as a workaround for buggy
17347           jadetex version in sid and breezy that loops infinitely and
17348           eats all RAM.
17349
17350 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17351
17352         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17353         (test_event), (timediff), (gstevents_suite):
17354           Provide more error margin in clock measurements to allow for 
17355           g_get_current_time inaccuracies.
17356
17357 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17358
17359         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17360         (test_event), (timediff), (gstevents_suite):
17361            Fix error message output so I might be able to tell why the
17362            test works here but fails on the build farm.
17363
17364 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
17365
17366         * check/Makefile.am:
17367         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17368         (test_event), (timediff), (gstevents_suite), (main):
17369           I wrote a test!
17370
17371         * docs/design/part-seeking.txt:
17372           Spelling correction
17373
17374         * docs/gst/tmpl/gstevent.sgml:
17375         * docs/gst/tmpl/gstfakesrc.sgml:
17376           Docs updates.
17377
17378         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17379           Treat a buffer-without-newsegment the same as a receiving 
17380           a newsegment not in time format, and disable syncing to the clock
17381           with a warning.
17382
17383         * gst/gstbus.c: (gst_bus_set_sync_handler):
17384           Assert if anyone tries to replace the existing sync_handler for bus, 
17385           as only the owner should be setting it.
17386
17387         * gst/gstevent.h:
17388           Have a fixed set of custom event enums with events identified by
17389           their structure name (as in 0.8), rather than a free-for-all
17390           allowing collisions between enum values from different plugins.
17391
17392         * gst/gstpad.c: (gst_pad_class_init):
17393           Docs change.
17394           
17395         * gst/gstqueue.c: (gst_queue_handle_sink_event):
17396           Handle out-of-band downstream events from the sending thread.
17397
17398 2005-08-17  Andy Wingo  <wingo@pobox.com>
17399
17400         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
17401         play-timeout==0 to mean no timeout at all. In that case, don't
17402         bother with a get_state or a warning, just return directly, even
17403         if it's ASYNC.
17404
17405         * gst/base/gstbasetransform.c: Debug changes.
17406
17407         * gst/gstutils.h:
17408         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
17409         ensure bins post state change messages. A bit of a hack but I can't
17410         think of a way to avoid it.
17411
17412         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
17413
17414 2005-08-16  Andy Wingo  <wingo@pobox.com>
17415
17416         * gst/base/gstadapter.h:
17417         * gst/base/gstadapter.c (gst_adapter_take): New function, like
17418         peek() but you own the data. Not terribly efficient atm.
17419
17420 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17421
17422         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
17423         (gst_element_found_tags):
17424         * gst/gstutils.h:
17425           Add two utility functions for tag handling.
17426
17427 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17428
17429         * docs/manual/advanced-dataaccess.xml:
17430         * docs/manual/basics-helloworld.xml:
17431           Fix docs to use _bin_add() before _link(), which fixes the examples
17432           with recent core versions (reported by Madhan Raj M
17433           <raj_madan@rediffmail.com>, #313199).
17434
17435 2005-08-16  Wim Taymans  <wim@fluendo.com>
17436
17437         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17438         Added subtract checks.
17439
17440         * docs/design/part-events.txt:
17441         Some more docs about newsegment
17442
17443         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
17444         Fix FIXME
17445
17446         * gst/gstcaps.c: (gst_caps_to_string):
17447         Add comments, cleanups.
17448         
17449         * gst/gstelement.c: (gst_element_save_thyself):
17450         cleanups
17451         
17452         * gst/gstvalue.c: (gst_value_collect_int_range),
17453         (gst_string_unwrap), (gst_value_union_int_int_range),
17454         (gst_value_union_int_range_int_range),
17455         (gst_value_intersect_int_int_range),
17456         (gst_value_intersect_int_range_int_range),
17457         (gst_value_intersect_double_double_range),
17458         (gst_value_intersect_double_range_double_range),
17459         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
17460         (gst_value_subtract_int_range_int),
17461         (gst_value_subtract_double_range_double),
17462         (gst_value_subtract_double_range_double_range),
17463         (gst_value_subtract_from_list), (gst_value_subtract_list),
17464         (gst_value_can_compare), (gst_value_compare_fraction):
17465         Cleanups, add comments, remove unneeded asserts.
17466
17467 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17468
17469         * tools/gst-launch.c: (event_loop):
17470           don't convert NULL structures to strings
17471
17472 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
17473
17474         * docs/gst/gstreamer-sections.txt:
17475           made some defines private
17476         * docs/gst/tmpl/gstconfig.sgml:
17477         * docs/gst/tmpl/gstqueue.sgml:
17478         * docs/gst/tmpl/gsttaglist.sgml:
17479         * docs/gst/tmpl/gsttypes.sgml:
17480         * docs/gst/tmpl/gstutils.sgml:
17481         * docs/pwg/appendix-porting.xml:
17482         * gst/base/gstbasesink.h:
17483         * gst/base/gstbasesrc.c:
17484         * gst/base/gstbasesrc.h:
17485         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
17486         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
17487         * gst/gstelement.c: (gst_element_class_init):
17488         * gst/gstpad.c: (gst_pad_class_init):
17489         * gst/gstqueue.c: (gst_queue_class_init):
17490         * gst/gstxml.c: (gst_xml_class_init):
17491           documented all undocumented signal inline
17492         * libs/gst/controller/gst-controller.h:
17493           added padding
17494
17495 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17496
17497         * docs/pwg/appendix-porting.xml:
17498           Document _set_link_function -> _set_setcaps_function.
17499
17500 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17501
17502         * check/Makefile.am:
17503           add a .check target for running the check
17504         * check/gst-libs/controller.c: (GST_START_TEST):
17505           cosmetic fixups
17506         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17507           complete checks for gstbuffer; would be nice if I could get the
17508           gcov stuff to work so I can see if I actually completed gstbuffer.c
17509         * check/gstcheck.h:
17510           add ASSERT_BUFFER_REFCOUNT
17511
17512 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
17513
17514         * docs/gst/gstreamer-sections.txt:
17515         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
17516         * gst/gsttag.h:
17517           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
17518           spew out a warning if a tag that is already registered
17519           is re-registered, unless it is re-registered with a 
17520           different type (#308438).
17521
17522 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
17523
17524         * docs/pwg/appendix-porting.xml:
17525         * docs/pwg/building-state.xml:
17526           Add some paragraphs about state changes in 0.9 to the PWG
17527           and the porting guide, in particular about the new meaning
17528           of GST_STATE_PAUSED and how to write state change functions
17529           with concurrent access by multiple threads in mind.
17530
17531 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
17532
17533         * docs/gst/gstreamer-docs.sgml:
17534         * docs/libs/gstreamer-libs-docs.sgml:
17535           added deprecation and since indexes
17536         * libs/gst/controller/gst-controller.c:
17537         * libs/gst/controller/gst-helper.c:
17538           added since tags
17539
17540
17541 2005-08-11  Wim Taymans  <wim@fluendo.com>
17542
17543         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
17544         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
17545         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
17546         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
17547         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
17548         (gst_ghost_pad_set_target):
17549         Actually implement (re)setting the target on a ghostpad
17550         as described in the docs.
17551
17552 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
17553
17554         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
17555           Check whether GST_DEBUG_NO_COLOR environment variable is
17556           set and disable coloured debug output if that is the case.
17557
17558 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
17559
17560         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17561         (gst_type_find_helper):
17562           The memory returned by gst_type_find_peek() needs to
17563           stay valid until the end of a typefind function, and
17564           typefind functions may keep results from different 
17565           offsets around, so we can't just unref the buffer from
17566           the previous _peek(), but have to save all buffers 
17567           returned by _peek() until typefinding is done and only
17568           free them then.
17569
17570 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
17571
17572         * docs/gst/gstreamer-sections.txt:
17573         * gst/gstutils.h:
17574           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
17575
17576 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17577
17578         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17579           Fix a pretty good memleak.
17580
17581 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
17582
17583         * gst/gstiterator.h:
17584           Fix wrong include and 'make distcheck'.
17585
17586 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17587
17588         * gst/gstbin.c: (bin_bus_handler):
17589           Use gst_element_post_message() instead.
17590
17591 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
17592
17593         * gst/base/gstadapter.h:
17594         * gst/base/gstbasesink.h:
17595         * gst/base/gstbasesrc.h:
17596         * gst/base/gstbasetransform.h:
17597         * gst/base/gstcollectpads.h:
17598         * gst/base/gstpushsrc.h:
17599         * gst/gstiterator.h:
17600           Add padding to our base elements' class and instance structs and
17601           to GstIterator (you will need to rebuild all plugins and apps!)
17602
17603 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17604
17605         * gst/gstbin.c: (bin_bus_handler):
17606           Make default message forwarding from child->bus to bin->bus
17607           threadsafe and make it not emit warnings if the parent has no bus.
17608
17609 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17610
17611         * gst/gstelement.c: (activate_pads):
17612           On paused->ready, set pad->caps to NULL, as is the documented
17613           behaviour in this state change. Fixes playback of series of
17614           media files when visualization is enabled in Totem.
17615
17616 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17617
17618         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17619           Allow NULL as filter-caps (which means "any").
17620
17621 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
17622
17623         * docs/libs/gstreamer-libs-sections.txt:
17624         * libs/gst/controller/gst-controller.c:
17625         * libs/gst/controller/gst-controller.h:
17626         * libs/gst/controller/gst-helper.c:
17627           adding more entries to the docs and fix small doc-bugs
17628
17629 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
17630
17631         * docs/gst/gstreamer-docs.sgml:
17632         * docs/gst/gstreamer-sections.txt:
17633         * docs/gst/gstreamer.types:
17634         * docs/gst/tmpl/gstbasesink.sgml:
17635         * docs/gst/tmpl/gstbasesrc.sgml:
17636         * docs/gst/tmpl/gstbasetransform.sgml:
17637         * docs/gst/tmpl/gstfakesrc.sgml:
17638         * gst/base/gstcollectpads.c:
17639         * gst/base/gstcollectpads.h:
17640         * libs/gst/controller/gst-controller.c:
17641         * libs/gst/controller/gst-controller.h:
17642         * libs/gst/controller/gst-helper.c:
17643         * libs/gst/controller/gst-interpolation.c:
17644         * libs/gst/controller/lib.c:
17645           added long/short desc for controller docs
17646           added collectpads base class docs
17647           added correct includes to base-class docs
17648
17649 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
17650
17651         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
17652         (gst_test_mono_source_set_property),
17653         (gst_test_mono_source_class_init), (GST_START_TEST),
17654         (gst_controller_suite):
17655         * docs/gst/gstreamer-docs.sgml:
17656         * docs/gst/gstreamer-sections.txt:
17657         * docs/gst/gstreamer.types:
17658         * docs/libs/gstreamer-libs-docs.sgml:
17659         * docs/libs/gstreamer-libs-sections.txt:
17660         * gst/base/gstadapter.c:
17661         * libs/gst/controller/gst-controller.c:
17662         (gst_controlled_property_new), (gst_controlled_property_free),
17663         (gst_controller_new_valist),
17664         (gst_controller_remove_properties_valist),
17665         (gst_controller_sink_values), (_gst_controller_finalize):
17666         * libs/gst/controller/gst-controller.h:
17667         * libs/gst/controller/gst-helper.c:
17668         (gst_object_control_properties), (gst_object_uncontrol_properties),
17669         (gst_object_get_controller), (gst_object_set_controller),
17670         (gst_object_sink_values), (gst_object_get_value_arrays),
17671         (gst_object_get_value_array):
17672           more tests (and fixes) for the controller
17673           more docs for the controller
17674           integrated companies docs for the adapter 
17675
17676 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17677
17678         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
17679         (GST_START_TEST), (fakesrc_suite):
17680           add tests for sizetype
17681
17682 2005-08-04  Andy Wingo  <wingo@pobox.com>
17683
17684         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
17685         fixes buffer_alloc proxying among other things.
17686
17687         * gst/base/gstbasetransform.c:
17688         * gst/base/gstbasetransform.h:
17689         Revert patch to gstbasetransform from 7-28 removing
17690         delay_configure.
17691
17692         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
17693         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
17694         Semantics changed, should return not the size of the output buffer
17695         but the byte size of a buffer with a given caps.
17696
17697         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
17698         debug object.
17699         (gst_base_transform_configure_caps): Don't set out_size here: (in,
17700         out) are not the pad caps until setcaps finishes.
17701         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
17702         not-in-place case as well. Deal with changing from in-place to
17703         not-in-place within calling pad_alloc_buffer. Still a bit
17704         concerned about the overhead here...
17705
17706 2005-08-03  Andy Wingo  <wingo@pobox.com>
17707
17708         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
17709         fixating is an error.
17710
17711 2005-08-04  Edward Hervey  <edward@fluendo.com>
17712
17713         * gst/base/gstadapter.h: 
17714         Added gst_adapter_get_type() to the header
17715
17716 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
17717
17718         * check/Makefile.am:
17719         * check/gst-libs/controller.c:
17720         * libs/gst/controller/gst-controller.c:
17721         (gst_controller_new_valist):
17722           added check test suite for the controller
17723         * gst/base/gstpushsrc.c:
17724           fixed a doc typo
17725
17726 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
17727
17728         * docs/gst/Makefile.am:
17729         * docs/gst/gstreamer-docs.sgml:
17730         * docs/gst/gstreamer-sections.txt:
17731         * docs/gst/gstreamer.types:
17732         * docs/gst/tmpl/gstfakesrc.sgml:
17733         * gst/base/README:
17734         * gst/base/gstbasesink.c:
17735         * gst/base/gstbasesink.h:
17736         * gst/base/gstbasesrc.c:
17737         * gst/base/gstbasesrc.h:
17738         * gst/base/gstbasetransform.c:
17739         * gst/base/gstpushsrc.c:
17740         * gst/base/gstpushsrc.h:
17741           add short/long description docs to base classes
17742           add pushsrc to the docs
17743           remove consolidated doc fragments
17744
17745 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
17746
17747         * configure.ac:
17748         * docs/libs/Makefile.am:
17749         * docs/libs/gstreamer-libs-docs.sgml:
17750         * docs/libs/gstreamer-libs-sections.txt:
17751         * docs/libs/gstreamer-libs.types:
17752         * examples/Makefile.am:
17753         * examples/controller/.cvsignore:
17754         * examples/controller/Makefile.am:
17755         * examples/controller/audio-example.c: (main):
17756         * libs/gst/Makefile.am:
17757         * libs/gst/controller/.cvsignore:
17758         * libs/gst/controller/Makefile.am:
17759         * libs/gst/controller/gst-controller.c:
17760         (on_object_controlled_property_changed), (gst_timed_value_compare),
17761         (gst_timed_value_find),
17762         (gst_controlled_property_set_interpolation_mode),
17763         (gst_controlled_property_new), (gst_controlled_property_free),
17764         (gst_controller_find_controlled_property),
17765         (gst_controller_new_valist), (gst_controller_new),
17766         (gst_controller_remove_properties_valist),
17767         (gst_controller_remove_properties), (gst_controller_set),
17768         (gst_controller_set_from_list), (gst_controller_unset),
17769         (gst_controller_get), (gst_controller_get_all),
17770         (gst_controller_sink_values), (gst_controller_get_value_arrays),
17771         (gst_controller_get_value_array),
17772         (gst_controller_set_interpolation_mode),
17773         (_gst_controller_finalize), (_gst_controller_init),
17774         (_gst_controller_class_init), (gst_controller_get_type):
17775         * libs/gst/controller/gst-controller.h:
17776         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
17777         (g_object_uncontrol_properties), (g_object_get_controller),
17778         (g_object_set_controller), (g_object_sink_values),
17779         (g_object_get_value_arrays), (g_object_get_value_array):
17780         * libs/gst/controller/gst-interpolation.c:
17781         (gst_controlled_property_find_timed_value_node),
17782         (interpolate_none_get), (interpolate_trigger_get),
17783         (interpolate_trigger_get_value_array):
17784         * libs/gst/controller/lib.c: (gst_controller_init):
17785         * pkgconfig/Makefile.am:
17786         * pkgconfig/gstreamer-control-uninstalled.pc.in:
17787         * pkgconfig/gstreamer-control.pc.in:
17788         * testsuite/Makefile.am:
17789         * testsuite/controller/.cvsignore:
17790         * testsuite/controller/Makefile.am:
17791         * testsuite/controller/interpolator.c: (main):
17792           added controller code
17793           removed dparam pc files
17794
17795 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
17796         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
17797         (gst_collectpads_stop):
17798           Broadcast the condition when shutting down, to make sure we wake all
17799           threads up. Shut down pads on finalize, for safety.
17800
17801 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
17802         * gst/base/gstbasetransform.c: (gst_base_transform_init),
17803         (gst_base_transform_handle_buffer),
17804         (gst_base_transform_change_state):
17805           Handle PAUSED->READY->PAUSED transition after negotiation
17806           occurred already.
17807         * gst/gstmessage.c: (gst_message_init):
17808           Extra piece of debug for new messages.
17809
17810 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
17811
17812         * configure.ac:
17813         * docs/gst/tmpl/gstbasesrc.sgml:
17814         * docs/gst/tmpl/gstelement.sgml:
17815         * docs/gst/tmpl/gstevent.sgml:
17816         * docs/gst/tmpl/gstfakesrc.sgml:
17817         * docs/gst/tmpl/gstformat.sgml:
17818         * docs/gst/tmpl/gstghostpad.sgml:
17819         * docs/gst/tmpl/gstpad.sgml:
17820         * docs/gst/tmpl/gstquery.sgml:
17821         * docs/gst/tmpl/gststructure.sgml:
17822         * docs/gst/tmpl/gsttaglist.sgml:
17823         * docs/gst/tmpl/gstvalue.sgml:
17824         * docs/libs/gstreamer-libs-docs.sgml:
17825         * docs/libs/gstreamer-libs-sections.txt:
17826         * docs/libs/gstreamer-libs.types:
17827         * libs/gst/Makefile.am:
17828         * libs/gst/control/.cvsignore:
17829         * libs/gst/control/Makefile.am:
17830         * libs/gst/control/control.c:
17831         * libs/gst/control/control.h:
17832         * libs/gst/control/dparam.c:
17833         * libs/gst/control/dparam.h:
17834         * libs/gst/control/dparam_smooth.c:
17835         * libs/gst/control/dparam_smooth.h:
17836         * libs/gst/control/dparamcommon.h:
17837         * libs/gst/control/dparammanager.c:
17838         * libs/gst/control/dparammanager.h:
17839         * libs/gst/control/dplinearinterp.c:
17840         * libs/gst/control/dplinearinterp.h:
17841         * libs/gst/control/unitconvert.c:
17842         * libs/gst/control/unitconvert.h:
17843         * testsuite/Makefile.am:
17844         * testsuite/dynparams/.cvsignore:
17845         * testsuite/dynparams/Makefile.am:
17846         * testsuite/dynparams/dparamstest.c:
17847         * tools/Makefile.am:
17848         * tools/gst-inspect.c: (print_element_info), (main):
17849         * tools/gst-xmlinspect.c: (print_element_info), (main):
17850           deactivate and remove dparams (libgstcontrol)
17851
17852 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
17853
17854         * gst/elements/gsttypefindelement.c:
17855         (gst_type_find_element_have_type), (gst_type_find_element_init),
17856         (stop_typefinding), (gst_type_find_element_handle_event),
17857         (gst_type_find_element_chain), (gst_type_find_element_getrange):
17858         * gst/elements/gsttypefindelement.h:
17859           Set caps on all outgoing buffers, not just the first one.
17860
17861 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
17862
17863         * gst/elements/gsttypefindelement.c:
17864         (gst_type_find_element_have_type),
17865         (gst_type_find_element_check_set_buffer_caps),
17866         (gst_type_find_element_init), (stop_typefinding),
17867         (gst_type_find_element_handle_event),
17868         (gst_type_find_element_chain), (gst_type_find_element_getrange):
17869         * gst/elements/gsttypefindelement.h:
17870           Set caps on first outgoing buffer when we've found the type.
17871
17872 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
17873
17874         * docs/gst/gstreamer-docs.sgml:
17875         * docs/gst/gstreamer-sections.txt:
17876         * docs/gst/tmpl/gstscheduler.sgml:
17877         * docs/gst/tmpl/gstschedulerfactory.sgml:
17878           Remove some old cruft from docs.
17879
17880 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
17881
17882         * gst/gstpad.h:
17883           Fix inline docs for GstPadLinkReturn.
17884           
17885         * gst/gststructure.c: (gst_structure_has_name):
17886         * gst/gststructure.h:
17887         * docs/gst/gstreamer-sections.txt:
17888           New API: gst_structure_has_name().
17889
17890 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
17891
17892         * configure.ac:
17893           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
17894           and _LARGEFILE_SOURCE in config.h as required. Do not 
17895           export those flags in our .pc files any longer (#142209).
17896
17897           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
17898
17899         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
17900         (gst_file_sink_do_seek), (gst_file_sink_event),
17901         (gst_file_sink_get_current_offset), (gst_file_sink_render):
17902           Redo seek/tell calls with large file support in mind; add some
17903           debugging messages; add log message that tells us when large
17904           file support is unavailable or not enabled for some reason.
17905
17906         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
17907           Add log message that tells us when large file support 
17908           is unavailable or not enabled for some reason.
17909
17910 2005-07-29  Wim Taymans  <wim@fluendo.com>
17911
17912         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
17913         Added test for removing an element with ghostpad from a bin.
17914         Fixed test as current implementation does the right thing.
17915
17916         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
17917         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
17918         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
17919         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
17920         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
17921         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
17922         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
17923         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
17924         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
17925         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
17926         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
17927         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
17928         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
17929         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
17930         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
17931         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
17932         * gst/gstghostpad.h:
17933         Clean up ghostpads, remove properties for internal stuff.
17934         Make threadsafe.
17935         Fix refcounting.
17936         Prepare for switching targets, not all use cases work yet.
17937
17938 2005-07-29  Wim Taymans  <wim@fluendo.com>
17939
17940         * docs/design/part-gstghostpad.txt:
17941         Small update.
17942
17943         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
17944         (gst_bin_remove_func):
17945         Unlinking pads while holding the bin LOCK is not a good
17946         idea.
17947
17948         * gst/gstpad.c: (gst_pad_class_init),
17949         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
17950         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
17951         No prob setting template after creating the pad.
17952
17953 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
17954
17955         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
17956         (gst_bus_peek), (gst_bus_source_dispatch),
17957         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
17958         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
17959           gst_bus_poll may be called from other threads. Handle
17960           this nicely by not making poll_data disappear off the
17961           stack once gst_bus_poll returns.
17962           gst_bus_peek now increments the refcount on the returned
17963           message.
17964
17965 2005-07-29  Wim Taymans  <wim@fluendo.com>
17966
17967         * docs/design/part-gstghostpad.txt:
17968         Overview of current GhostPad datastructures and use
17969         cases for changing the target.
17970
17971 2005-07-28  Wim Taymans  <wim@fluendo.com>
17972
17973         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
17974         Added checks for hierarchy consistency whan adding linked
17975         elements to bins.
17976
17977         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
17978         Added check to test element scheduling without bin/pipeline.
17979
17980         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
17981         First add elements to bin, then link.
17982         
17983         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
17984         (gst_bin_remove_func):
17985         Unlink pads from elements added/removed from bin to maintain
17986         hierarchy consistency.
17987
17988 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17989
17990         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
17991         (gst_base_transform_handle_buffer):
17992         * gst/base/gstbasetransform.h:
17993           Remove broken delay_configure (fixes renegotiation of software
17994           scaling pipelines); remove some leftover printf()s.
17995
17996 2005-07-28  Wim Taymans  <wim@fluendo.com>
17997
17998         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
17999         Added some more tests for wrong hierarchy
18000
18001         * docs/design/part-overview.txt:
18002         Some updates.
18003
18004         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
18005         Cleanups.
18006
18007         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
18008         (gst_element_dispose):
18009         Some more cleanups.
18010
18011         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18012         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
18013         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18014         (gst_pad_set_caps), (gst_pad_send_event):
18015         Check for correct hierarchy when linking pads. Moving to
18016         strict requirement for ghostpads when linking elements in
18017         different bins.
18018
18019         * gst/gstpad.h:
18020         Clean ups. Added WRONG_HIERARCHY return value.
18021
18022 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18023
18024         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18025           Better debug if no transform is possible.
18026
18027 2005-07-27  Wim Taymans  <wim@fluendo.com>
18028
18029         * docs/random/wtay/network-transp:
18030         Some old doc I had.
18031
18032 2005-07-27  Wim Taymans  <wim@fluendo.com>
18033
18034         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18035         (gst_dp_event_from_packet):
18036         Fix serialization of seek events.
18037
18038 2005-07-27  Wim Taymans  <wim@fluendo.com>
18039
18040         * check/gst-libs/gdp.c: (GST_START_TEST):
18041         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18042         Fix compilation and fix event serialization.
18043
18044 2005-07-27  Wim Taymans  <wim@fluendo.com>
18045
18046         * CHANGES-0.9:
18047         * docs/design/part-TODO.txt:
18048         * docs/design/part-events.txt:
18049         Some docs updates
18050
18051         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18052         (gst_base_sink_event), (gst_base_sink_do_sync),
18053         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18054         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18055         (gst_base_src_do_seek), (gst_base_src_event_handler),
18056         (gst_base_src_loop):
18057         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18058         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18059         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18060         (gst_base_transform_event), (gst_base_transform_handle_buffer),
18061         (gst_base_transform_set_passthrough),
18062         (gst_base_transform_is_passthrough):
18063         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18064         * gst/elements/gstfilesink.c: (gst_file_sink_event):
18065         Event updates.
18066
18067         * gst/gstbuffer.h:
18068         Use faster casts.
18069
18070         * gst/gstelement.c: (gst_element_seek):
18071         * gst/gstelement.h:
18072         Update gst_element_seek.
18073
18074         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
18075         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
18076         (gst_event_new_flush_start), (gst_event_new_flush_stop),
18077         (gst_event_new_eos), (gst_event_new_newsegment),
18078         (gst_event_parse_newsegment), (gst_event_new_tag),
18079         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
18080         (gst_event_parse_qos), (gst_event_new_seek),
18081         (gst_event_parse_seek), (gst_event_new_navigation):
18082         * gst/gstevent.h:
18083         Make GstEvent use GstStructure. Add parsing code, make sure the
18084         API is sufficiently generic.
18085         Mark possible directions of events and serialization.
18086
18087         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
18088         (_gst_message_copy), (gst_message_new_segment_start),
18089         (gst_message_new_segment_done), (gst_message_new_custom),
18090         (gst_message_parse_segment_start),
18091         (gst_message_parse_segment_done):
18092         Small cleanups.
18093
18094         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18095         (gst_pad_set_caps), (gst_pad_send_event):
18096         Update for new events. 
18097         Catch events sent in wrong directions.
18098
18099         * gst/gstqueue.c: (gst_queue_link_src),
18100         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18101         (gst_queue_handle_src_query):
18102         Event updates.
18103
18104         * gst/gsttag.c:
18105         * gst/gsttag.h:
18106         Remove event code from this file.
18107
18108         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18109         (gst_dp_event_from_packet):
18110         Event updates.
18111
18112 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18113
18114         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
18115         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18116         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
18117           Make debugging actually useful.
18118
18119 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18120
18121         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
18122         (gst_pad_fixate_caps):
18123           Implement default fixation once again, so that gst_pad_fixate()
18124           actually does anything at all. This probably needs to be some
18125           sort of a last resort, and use profile-based fixation first, but
18126           since that doesn't exist yet, this is the best we have. Fixes
18127           visualization in Totem.
18128
18129 2005-07-22  Wim Taymans  <wim@fluendo.com>
18130
18131         * docs/design/part-events.txt:
18132         Small update.
18133
18134         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18135         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
18136         (gst_base_sink_activate_pull):
18137         Some more comments.
18138
18139         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
18140         (gst_fake_src_create):
18141         Fix handoff marshall.
18142
18143         * gst/elements/gstidentity.c: (gst_identity_class_init),
18144         (gst_identity_transform_ip):
18145         We're a real inplace element.
18146
18147         * gst/gstbus.c: (gst_bus_post):
18148         Added some comments.
18149
18150         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
18151         * tests/muxing/case1.c: (main):
18152         * tests/sched/dynamic-pipeline.c: (main):
18153         * tests/sched/interrupt1.c: (main):
18154         * tests/sched/interrupt2.c: (main):
18155         * tests/sched/interrupt3.c: (main):
18156         * tests/sched/runxml.c: (main):
18157         * tests/sched/sched-stress.c: (main):
18158         * tests/seeking/seeking1.c: (event_received), (main):
18159         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18160         (main):
18161         * tests/threadstate/threadstate3.c: (main):
18162         * tests/threadstate/threadstate4.c: (main):
18163         * tests/threadstate/threadstate5.c: (main):
18164         Fix the tests.
18165
18166 2005-07-21  Wim Taymans  <wim@fluendo.com>
18167
18168         * docs/design/part-seeking.txt:
18169         Some small additions.
18170
18171         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18172         (gst_base_sink_get_times), (gst_base_sink_do_sync),
18173         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18174         * gst/base/gstbasesink.h:
18175         discont values are gint64, handle the math correctly.
18176
18177         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18178         Make the basesrc report error if the source pad is not linked.
18179
18180         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18181         (gst_queue_loop), (gst_queue_handle_src_query),
18182         (gst_queue_src_activate_push):
18183         Make queue collect data even if the srcpad is not linked.
18184         Start pushing out data as soon as it is linked.
18185
18186         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
18187         * gst/gstutils.h:
18188         Added gst_flow_get_name() to ease error reporting.
18189
18190 2005-07-20  Wim Taymans  <wim@fluendo.com>
18191
18192         * gst/gstmessage.c: (gst_message_new_segment_start),
18193         (gst_message_new_segment_done), (gst_message_parse_segment_start),
18194         (gst_message_parse_segment_done):
18195         * gst/gstmessage.h:
18196         Added a bunch of messages for advanced seeking.
18197
18198         * gst/parse/grammar.y:
18199         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
18200         (gst_dpman_state_changed):
18201         Fix some new-pad -> pad-added signals
18202
18203 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18204
18205         * docs/manual/appendix-porting.xml:
18206         * docs/pwg/appendix-porting.xml:
18207           Document new-pad/state-change signal renames and the FixedList
18208           type rename.
18209
18210 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18211
18212         * docs/manual/advanced-autoplugging.xml:
18213         * docs/manual/basics-helloworld.xml:
18214         * docs/manual/basics-pads.xml:
18215         * docs/random/ds/0.9-suggested-changes:
18216         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
18217         * gst/gstelement.h:
18218         * gst/gstevent.h:
18219         * gst/gstformat.h:
18220         * gst/gstquery.h:
18221         * gst/gststructure.c: (gst_structure_value_get_generic_type),
18222         (gst_structure_parse_array), (gst_structure_parse_value):
18223         * gst/gstvalue.c: (gst_type_is_fixed),
18224         (gst_value_list_prepend_value), (gst_value_list_append_value),
18225         (gst_value_list_get_size), (gst_value_list_get_value),
18226         (gst_value_transform_array_string), (gst_value_serialize_array),
18227         (gst_value_deserialize_array), (gst_value_intersect_array),
18228         (gst_value_is_fixed), (_gst_value_initialize):
18229         * gst/gstvalue.h:
18230           GstElement::new-pad -> pad-added, GstElement::state-change ->
18231           state-changed, GstValueFixedList -> GstValueArray, add format and
18232           flags as their own arguments in gst_element_seek() (should improve
18233           "bindeability"), remove function generators since they don't work
18234           under a whole bunch of compilers (they were deprecated already
18235           anyway).
18236
18237 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18238
18239         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18240         (_gst_debug_register_funcptr):
18241         * gst/gstinfo.h:
18242           Fix illegal cast on some platforms (#309253).
18243
18244 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18245
18246         * gst/gstmessage.c: (gst_message_new_custom):
18247         * gst/gstmessage.h:
18248           Add _new_custom, make _new_application a macro to _new_custom.
18249
18250 2005-07-20  Wim Taymans  <wim@fluendo.com>
18251
18252         * gst/base/gstbasesrc.c: (gst_base_src_init),
18253         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18254         * gst/base/gstbasesrc.h:
18255         Add a gboolean to decide when to push out a discont.
18256
18257         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18258         (gst_queue_loop), (gst_queue_handle_src_query),
18259         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
18260         (gst_queue_set_property), (gst_queue_get_property):
18261         Some cleanups.
18262
18263         * tests/threadstate/threadstate1.c: (main):
18264         Make a thread test compile and run... very silly..
18265
18266
18267 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18268
18269         * docs/manual/appendix-porting.xml:
18270           Mention removal of libgstgconf-0.9.la and existence of gconf
18271           elements.
18272
18273 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18274
18275         * docs/pwg/advanced-clock.xml:
18276         * docs/pwg/appendix-porting.xml:
18277         * docs/pwg/intro-preface.xml:
18278         * docs/pwg/other-base.xml:
18279         * docs/pwg/other-manager.xml:
18280         * docs/pwg/other-nton.xml:
18281         * docs/pwg/other-ntoone.xml:
18282         * docs/pwg/other-oneton.xml:
18283         * docs/pwg/pwg.xml:
18284           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
18285           demuxer), remove n-to-n (was never written), fix some code examples
18286           and links and update the porting section to include all this.
18287
18288 2005-07-19  Wim Taymans  <wim@fluendo.com>
18289
18290         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
18291         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
18292         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
18293         (gst_queue_src_activate_push), (gst_queue_change_state),
18294         (gst_queue_get_property):
18295         * gst/gstqueue.h:
18296         Propagate GstFlowReturn more intelligently upstream and output
18297         an ERROR/EOS when streaming stopped due to fatal error.
18298
18299 2005-07-19  Wim Taymans  <wim@fluendo.com>
18300
18301         * tools/gst-launch.c: (check_intr), (event_loop), (main):
18302         Don't block forever for the state change to complete, the
18303         pipeline already did with a sensible timeout.
18304
18305 2005-07-19  Wim Taymans  <wim@fluendo.com>
18306
18307         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18308         Make sure we never call the create function is we
18309         got deactivated.
18310
18311 2005-07-19  Andy Wingo  <wingo@pobox.com>
18312
18313         * gst/parse/parse.l: Attempt to solve bug #172815.
18314
18315 2005-07-19  Wim Taymans  <wim@fluendo.com>
18316
18317         * docs/design/part-clocks.txt:
18318         * docs/design/part-events.txt:
18319         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
18320         Small docs updates.
18321         Only update the seeking values when we are not
18322         busy streaming.
18323
18324 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
18325
18326         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18327           Oops, ignore the result of gst_pad_push_event here.
18328
18329 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
18330
18331         * gst/base/gstbasesrc.c: (gst_base_src_loop),
18332         (gst_base_src_activate_push):
18333           Send discont event from the loop function, as pads
18334           aren't activated yet in the activate_push handler.
18335
18336         * gst/gstbin.c: (bin_bus_handler):
18337           Don't leak element name.
18338
18339 2005-07-18  Andy Wingo  <wingo@pobox.com>
18340
18341         * configure.ac: Use AS_LIBTOOL_TAGS.
18342
18343 2005-07-18  Wim Taymans  <wim@fluendo.com>
18344
18345         * docs/gst/gstreamer.types:
18346         Remove deleted types.
18347
18348 2005-07-18  Wim Taymans  <wim@fluendo.com>
18349
18350         * check/elements/gstfakesrc.c: (GST_START_TEST):
18351         * configure.ac:
18352         * gst/Makefile.am:
18353         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
18354         (init_popt_callback):
18355         * gst/gst.h:
18356         * gst/gst_private.h:
18357         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
18358         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
18359         * gst/gstbin.h:
18360         * gst/gstbus.h:
18361         * gst/gstconfig.h.in:
18362         * gst/gstelement.c: (gst_element_class_init),
18363         (gst_element_set_base_time), (gst_element_get_base_time),
18364         (iterator_fold_with_resync), (gst_element_change_state),
18365         (gst_element_dispose), (gst_element_get_bus):
18366         * gst/gstelement.h:
18367         * gst/gstelementfactory.h:
18368         * gst/gsterror.c: (_gst_core_errors_init):
18369         * gst/gsterror.h:
18370         * gst/gstevent.h:
18371         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18372         * gst/gstindex.c:
18373         * gst/gstinfo.c: (_gst_debug_init):
18374         * gst/gstmessage.c: (_gst_message_copy):
18375         * gst/gstmessage.h:
18376         * gst/gstminiobject.h:
18377         * gst/gstobject.c:
18378         * gst/gstobject.h:
18379         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18380         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
18381         * gst/gstpad.h:
18382         * gst/gstparse.h:
18383         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
18384         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18385         (gst_pipeline_get_last_stream_time):
18386         * gst/gstpipeline.h:
18387         * gst/gstpluginfeature.h:
18388         * gst/gstquery.h:
18389         * gst/gstscheduler.c:
18390         * gst/gstscheduler.h:
18391         * gst/gststructure.h:
18392         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
18393         (gst_task_finalize), (gst_task_func), (gst_task_create),
18394         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
18395         (gst_task_stop), (gst_task_pause):
18396         * gst/gsttask.h:
18397         * gst/gsttypefind.h:
18398         * gst/gsttypes.h:
18399         * gst/registries/gstlibxmlregistry.c: (load_feature),
18400         (gst_xml_registry_load), (gst_xml_registry_save_feature):
18401         * gst/registries/gstxmlregistry.c:
18402         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
18403         * gst/schedulers/threadscheduler.c:
18404         * libs/gst/control/dparammanager.h:
18405         * tools/gst-inspect.c: (print_element_list),
18406         (print_plugin_features), (print_element_features):
18407         * tools/gst-xmlinspect.c: (print_element_list),
18408         (print_plugin_info), (main):
18409         Removed plugable schedulers.
18410         Removed Scheduler/Manager from elements.
18411         Removed gsttypes.h, rearranged includes.
18412         Removed dependency pad<->element, element<>pipeline, and
18413         various others,  fix includes.
18414         implement gst_pad_get_parent() with gst_object_get_parent()
18415         Make GstTask sefcontained.
18416         Fix _get_state() on GstBin, it did not return ASYNC with a 0
18417         timeout.
18418         Fix endless loop in iterator_fold_with_resync.
18419
18420
18421 2005-07-18  Wim Taymans  <wim@fluendo.com>
18422
18423         * gst/Makefile.am:
18424         * gst/gstarch.h:
18425         Remove old file.
18426
18427 2005-07-18  Wim Taymans  <wim@fluendo.com>
18428
18429         * gst/Makefile.am:
18430         No more cothreads.h
18431
18432 2005-07-18  Wim Taymans  <wim@fluendo.com>
18433
18434         * gst/cothreads.c:
18435         * gst/cothreads.h:
18436         Let's remove these.
18437
18438 2005-07-18  Wim Taymans  <wim@fluendo.com>
18439
18440         * docs/design/part-dynamic.txt:
18441         * docs/design/part-events.txt:
18442         * docs/design/part-seeking.txt:
18443         Some more docs in the works.
18444
18445         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18446         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
18447         (gst_base_transform_setcaps), (gst_base_transform_get_size),
18448         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18449         (gst_base_transform_handle_buffer),
18450         (gst_base_transform_sink_activate_push),
18451         (gst_base_transform_src_activate_pull),
18452         (gst_base_transform_set_passthrough),
18453         (gst_base_transform_is_passthrough):
18454         Refcounting fixes.
18455
18456         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
18457         Cleanups.
18458
18459         * gst/gstevent.c: (gst_event_finalize):
18460         Set SRC to NULL.
18461
18462         * gst/gstutils.c: (gst_element_unlink),
18463         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
18464         (gst_pad_proxy_setcaps):
18465         * gst/gstutils.h:
18466         Add _get_parent_element() to get a pads parent as an element.
18467
18468 2005-07-18  Wim Taymans  <wim@fluendo.com>
18469
18470         * check/gst/gstbin.c: (GST_START_TEST):
18471         Remove bogus test.
18472
18473 2005-07-18  Wim Taymans  <wim@fluendo.com>
18474
18475         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
18476         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
18477         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
18478         (gst_base_sink_event), (gst_base_sink_do_sync),
18479         (gst_base_sink_chain), (gst_base_sink_loop),
18480         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
18481         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18482         Refcounting fixes.
18483         Fix logic for returning ASYNC when not prerolled.
18484
18485 2005-07-18  Wim Taymans  <wim@fluendo.com>
18486
18487         * gst/gstqueue.c: (gst_queue_handle_sink_event):
18488         Fix nasty refcount bug.
18489
18490 2005-07-16 Philippe Khalaf <burger@speedy.org>
18491
18492         * gst/elements/gstfdsrc.c:
18493         * gst/elements/gstfdsrc.h:
18494         * gst/elements/gstelements.c:
18495         * gst/elements/Makefile.am:
18496         Ported fdsrc to 0.9.
18497
18498 2005-07-16  Wim Taymans  <wim@fluendo.com>
18499
18500         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18501         (gst_base_sink_do_sync):
18502         Fix compile error.
18503
18504 2005-07-16  Wim Taymans  <wim@fluendo.com>
18505
18506         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18507         (gst_base_sink_event), (gst_base_sink_get_times),
18508         (gst_base_sink_do_sync), (gst_base_sink_change_state):
18509         * gst/base/gstbasesink.h:
18510         Store and use discont values when syncing buffers as described
18511         in design docs.
18512         
18513         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18514         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
18515         (gst_base_src_activate_push):
18516         Push discont event when starting.
18517
18518         * gst/elements/gstidentity.c: (gst_identity_transform):
18519         Small cleanups.
18520
18521         * gst/gstbin.c: (gst_bin_change_state):
18522         Small cleanups in base_time  distribution.
18523
18524         * gst/gstelement.c: (gst_element_set_base_time),
18525         (gst_element_get_base_time), (gst_element_change_state):
18526         * gst/gstelement.h:
18527         Added methods for the base_time of the element.
18528         Some MT fixes.
18529
18530         * gst/gstpipeline.c: (gst_pipeline_send_event),
18531         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18532         (gst_pipeline_get_last_stream_time):
18533         * gst/gstpipeline.h:
18534         MT fixes.
18535         Handle seeking as described in design doc, remove stream_time
18536         hack.
18537         Cleanups clock and stream_time selection code. Added accessors
18538         for the stream_time.
18539         
18540
18541 2005-07-16  Andy Wingo  <wingo@pobox.com>
18542
18543         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
18544         (#305291).
18545
18546 2005-07-16  Wim Taymans  <wim@fluendo.com>
18547
18548         * check/gst/gstbin.c: (GST_START_TEST):
18549         Make elements silent as the deep_notify refs the
18550         parent, which might make the test fail.
18551
18552         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18553         Don't hold the lock for too long.
18554
18555 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
18556
18557         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18558           Don't unref the caps we passed to gst_caps_make_writable() after
18559           passing them. gst_caps_make_writable() will do that for us.
18560
18561 2005-07-15  Andy Wingo  <wingo@pobox.com>
18562
18563         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
18564         (#157311).
18565
18566         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
18567         own marshalling function for the handoff signal. Properly type the
18568         buffer as a buffer. Fixes some warnings. Should do a more general
18569         solution.
18570         (gst_identity_class_init): Plug into the right marshaller.
18571
18572 2005-07-15  Wim Taymans  <wim@fluendo.com>
18573
18574         * docs/design/part-TODO.txt:
18575         * docs/design/part-clocks.txt:
18576         * docs/design/part-element-sink.txt:
18577         * docs/design/part-events.txt:
18578         * docs/design/part-gstpipeline.txt:
18579         Updated docs, mostly DISCONT related.
18580
18581 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
18582
18583         * docs/pwg/building-pads.xml:
18584           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
18585
18586 2005-07-15  Andy Wingo  <wingo@pobox.com>
18587
18588         * tools/gst-typefind.c: Update, add copyright block.
18589
18590         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
18591         Normalize and truncate caps before fixation.
18592
18593         * gst/gstcaps.h:
18594         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
18595         discards all but the first structure from its argument.
18596
18597 2005-07-15  Wim Taymans  <wim@fluendo.com>
18598
18599         * gst/base/gstbasetransform.c: (gst_base_transform_init),
18600         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
18601         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18602         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18603         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
18604         (gst_base_transform_chain), (gst_base_transform_change_state),
18605         (gst_base_transform_set_passthrough),
18606         (gst_base_transform_is_passthrough):
18607         * gst/base/gstbasetransform.h:
18608         Make passthrough work using the bufferpools.
18609         Changed API a bit, subclasses have to write into a buffer
18610         provided by the base class.
18611         More debug info in nego functions.
18612         
18613         * gst/elements/gstidentity.c: (gst_identity_init),
18614         (gst_identity_transform):
18615         Port to new base class.
18616
18617 2005-07-15  Wim Taymans  <wim@fluendo.com>
18618
18619         * gst/gstmessage.c: (gst_message_new_state_changed):
18620         * tools/gst-launch.c: (event_loop), (main):
18621         Totally dump messages in -launch with the -m option.
18622         Fix message name for State messages,
18623
18624 2005-07-14  Wim Taymans  <wim@fluendo.com>
18625
18626         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18627         Post error messages on errors.
18628
18629 2005-07-14  Wim Taymans  <wim@fluendo.com>
18630
18631         * gst/gstcaps.c: (gst_caps_do_simplify):
18632         Remove debug info.
18633
18634         * gst/gsterror.h:
18635         Define error for stream stopped.
18636
18637         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
18638         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
18639         Do proper return values.
18640
18641         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18642         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
18643         (gst_pad_get_range):
18644         Better return values.
18645
18646         * gst/gstpad.h:
18647         Reorganise return values, add macro to check for fatal errors.
18648
18649         * gst/gstqueue.c: (gst_queue_chain):
18650         Return proper GstFlowReturn values,
18651
18652 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18653
18654         * docs/gst/gstreamer-sections.txt:
18655         * docs/gst/gstreamer.types:
18656         * docs/gst/tmpl/gst.sgml:
18657         * docs/gst/tmpl/gstbasesink.sgml:
18658         * docs/gst/tmpl/gstbasesrc.sgml:
18659         * docs/gst/tmpl/gstbasetransform.sgml:
18660         * docs/gst/tmpl/gstbin.sgml:
18661         * docs/gst/tmpl/gstbuffer.sgml:
18662         * docs/gst/tmpl/gstcaps.sgml:
18663         * docs/gst/tmpl/gstclock.sgml:
18664         * docs/gst/tmpl/gstcompat.sgml:
18665         * docs/gst/tmpl/gstconfig.sgml:
18666         * docs/gst/tmpl/gstelement.sgml:
18667         * docs/gst/tmpl/gstelementdetails.sgml:
18668         * docs/gst/tmpl/gstelementfactory.sgml:
18669         * docs/gst/tmpl/gstenumtypes.sgml:
18670         * docs/gst/tmpl/gsterror.sgml:
18671         * docs/gst/tmpl/gstevent.sgml:
18672         * docs/gst/tmpl/gstfakesink.sgml:
18673         * docs/gst/tmpl/gstfakesrc.sgml:
18674         * docs/gst/tmpl/gstfilesink.sgml:
18675         * docs/gst/tmpl/gstfilesrc.sgml:
18676         * docs/gst/tmpl/gstfilter.sgml:
18677         * docs/gst/tmpl/gstformat.sgml:
18678         * docs/gst/tmpl/gstghostpad.sgml:
18679         * docs/gst/tmpl/gstimplementsinterface.sgml:
18680         * docs/gst/tmpl/gstindex.sgml:
18681         * docs/gst/tmpl/gstindexfactory.sgml:
18682         * docs/gst/tmpl/gstinfo.sgml:
18683         * docs/gst/tmpl/gstiterator.sgml:
18684         * docs/gst/tmpl/gstmacros.sgml:
18685         * docs/gst/tmpl/gstmemchunk.sgml:
18686         * docs/gst/tmpl/gstminiobject.sgml:
18687         * docs/gst/tmpl/gstobject.sgml:
18688         * docs/gst/tmpl/gstpad.sgml:
18689         * docs/gst/tmpl/gstpadtemplate.sgml:
18690         * docs/gst/tmpl/gstparse.sgml:
18691         * docs/gst/tmpl/gstpipeline.sgml:
18692         * docs/gst/tmpl/gstplugin.sgml:
18693         * docs/gst/tmpl/gstpluginfeature.sgml:
18694         * docs/gst/tmpl/gstquery.sgml:
18695         * docs/gst/tmpl/gstqueue.sgml:
18696         * docs/gst/tmpl/gstregistry.sgml:
18697         * docs/gst/tmpl/gstregistrypool.sgml:
18698         * docs/gst/tmpl/gstscheduler.sgml:
18699         * docs/gst/tmpl/gstschedulerfactory.sgml:
18700         * docs/gst/tmpl/gststructure.sgml:
18701         * docs/gst/tmpl/gstsystemclock.sgml:
18702         * docs/gst/tmpl/gsttaglist.sgml:
18703         * docs/gst/tmpl/gsttagsetter.sgml:
18704         * docs/gst/tmpl/gsttrace.sgml:
18705         * docs/gst/tmpl/gsttrashstack.sgml:
18706         * docs/gst/tmpl/gsttypefind.sgml:
18707         * docs/gst/tmpl/gsttypefindfactory.sgml:
18708         * docs/gst/tmpl/gsttypes.sgml:
18709         * docs/gst/tmpl/gsturihandler.sgml:
18710         * docs/gst/tmpl/gsturitype.sgml:
18711         * docs/gst/tmpl/gstutils.sgml:
18712         * docs/gst/tmpl/gstvalue.sgml:
18713         * docs/gst/tmpl/gstversion.sgml:
18714         * docs/gst/tmpl/gstxml.sgml:
18715         * docs/libs/tmpl/gstcontrol.sgml:
18716         * docs/libs/tmpl/gstdataprotocol.sgml:
18717         * docs/libs/tmpl/gstdparam.sgml:
18718         * docs/libs/tmpl/gstdplinint.sgml:
18719         * docs/libs/tmpl/gstdpman.sgml:
18720         * docs/libs/tmpl/gstdpsmooth.sgml:
18721         * docs/libs/tmpl/gstgetbits.sgml:
18722         * docs/libs/tmpl/gstunitconvert.sgml:
18723         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
18724         (gst_push_src_base_init), (gst_push_src_class_init),
18725         (gst_push_src_init), (gst_push_src_create):
18726         * gst/base/gstpushsrc.h:
18727         * gst/elements/gstelements.c:
18728         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
18729         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
18730         (gst_fake_sink_init), (gst_fake_sink_set_property),
18731         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
18732         (gst_fake_sink_event), (gst_fake_sink_preroll),
18733         (gst_fake_sink_render), (gst_fake_sink_change_state):
18734         * gst/elements/gstfakesink.h:
18735         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18736         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18737         (gst_fake_src_base_init), (gst_fake_src_class_init),
18738         (gst_fake_src_init), (gst_fake_src_event_handler),
18739         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
18740         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
18741         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
18742         (gst_fake_src_create_buffer), (gst_fake_src_create),
18743         (gst_fake_src_start), (gst_fake_src_stop):
18744         * gst/elements/gstfakesrc.h:
18745         * gst/elements/gstfilesink.c: (_do_init),
18746         (gst_file_sink_base_init), (gst_file_sink_class_init),
18747         (gst_file_sink_init), (gst_file_sink_dispose),
18748         (gst_file_sink_set_location), (gst_file_sink_set_property),
18749         (gst_file_sink_get_property), (gst_file_sink_open_file),
18750         (gst_file_sink_close_file), (gst_file_sink_query),
18751         (gst_file_sink_event), (gst_file_sink_render),
18752         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
18753         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
18754         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
18755         * gst/elements/gstfilesink.h:
18756         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
18757         (gst_file_src_class_init), (gst_file_src_init),
18758         (gst_file_src_finalize), (gst_file_src_set_location),
18759         (gst_file_src_set_property), (gst_file_src_get_property),
18760         (gst_file_src_map_region), (gst_file_src_map_small_region),
18761         (gst_file_src_create_mmap), (gst_file_src_create_read),
18762         (gst_file_src_create), (gst_file_src_is_seekable),
18763         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
18764         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
18765         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
18766         (gst_file_src_uri_handler_init):
18767         * gst/elements/gstfilesrc.h:
18768           more autistic cleanliness in functions/names/defines
18769
18770 2005-07-13  Andy Wingo  <wingo@pobox.com>
18771
18772         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
18773         source couldn't negotiate.
18774
18775         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
18776         connections again.
18777
18778         * gst/gstutils.h:
18779         * gst/gstutils.c (gst_element_link_pads_filtered): New old
18780         function. I am channeling Hades. Put your boots on suckers!!!
18781
18782 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18783
18784         * testsuite/caps/Makefile.am:
18785         * testsuite/caps/value_compare.c:
18786         * testsuite/caps/value_intersect.c:
18787         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18788           move two testsuite apps over to the check dir
18789
18790 2005-07-12  Wim Taymans  <wim@fluendo.com>
18791
18792         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18793         Added more debug info in the negotiate process.
18794
18795         * gst/gstmessage.h:
18796         Prepare for segment playback.
18797
18798         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
18799         Better debugging.
18800
18801         * gst/gstutils.c:
18802         Some more docs.
18803
18804         * tools/gst-launch.c: (main):
18805         NULL pipeline on errors.
18806
18807 2005-07-12  Andy Wingo  <wingo@pobox.com>
18808
18809         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
18810         not it comes from a malloc region. Make sure our copy gets freed.
18811
18812 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18813
18814         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18815         * check/gst/gstmessage.c: (GST_START_TEST):
18816         * check/gst/gststructure.c: (GST_START_TEST),
18817         (gst_structure_suite), (main):
18818           more testing
18819         * gst/gstelement.c: (gst_element_message_full):
18820           clean up GError and debug string now that they get copied
18821         * gst/gstmessage.c: (gst_message_new_error),
18822         (gst_message_new_warning), (gst_message_parse_error),
18823         (gst_message_parse_warning):
18824           use GST_TYPE_G_ERROR for structure_new, and take copies of
18825           arguments, so that we don't mess up refcounting
18826
18827 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18828
18829         * check/Makefile.am:
18830           add per-test valgrind targets
18831         * check/gst-libs/gdp.c: (GST_START_TEST),
18832         (gst_data_protocol_suite), (main):
18833           clean up
18834
18835 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18836
18837         * check/Makefile.am:
18838           instate more valgrindable tests
18839         * check/elements/gstfakesrc.c: (chain_func), (event_func),
18840         (GST_START_TEST), (fakesrc_suite):
18841         * check/gst/gstpad.c: (GST_START_TEST):
18842         * check/gst/gststructure.c: (GST_START_TEST):
18843           fix test leaks
18844         * docs/gst/tmpl/gstminiobject.sgml:
18845         * gst/gstpad.c: (gst_pad_finalize):
18846           fix the static mutex leak
18847
18848 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18849
18850         * check/Makefile.am:
18851           add two more tests for valgrinding
18852         * check/gst/gstvalue.c: (GST_START_TEST):
18853           test refcount of deserialized buffer, found a leak
18854         * docs/gst/gstreamer-docs.sgml:
18855         * docs/gst/gstreamer-sections.txt:
18856         * docs/gst/gstreamer.types:
18857         * docs/gst/tmpl/gstminiobject.sgml:
18858           add miniobject to docs
18859         * gst/gstminiobject.c:
18860           add some docs
18861         * gst/gstvalue.c: (gst_value_deserialize_buffer),
18862         (gst_string_unwrap):
18863           fix a hard-to-find invalid write for one of the tests
18864           fix a leak for deserialized buffers
18865
18866 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18867
18868         * docs/pwg/advanced-events.xml:
18869         * docs/pwg/advanced-request.xml:
18870         * docs/pwg/advanced-scheduling.xml:
18871         * docs/pwg/appendix-porting.xml:
18872         * docs/pwg/building-boiler.xml:
18873         * docs/pwg/intro-preface.xml:
18874         * docs/pwg/other-ntoone.xml:
18875           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
18876           of example code and explanation for pad activation, loop() and
18877           getrange() functions and a bit more. Remove old comments pointing
18878           to loop-functions.
18879         * examples/pwg/Makefile.am:
18880           Add loop/getrange examples.
18881
18882 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18883
18884         * configure.ac:
18885           check for valgrind binary + some fixes
18886         * check/gst.supp:
18887           valgrind suppressions for the tests
18888         * check/Makefile.am:
18889           add a valgrind: target that valgrinds the unit tests
18890         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
18891         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
18892         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18893         * check/gst/gstghostpad.c:
18894           added some cleanup
18895         * check/gst/gstdata.c:
18896           removed
18897         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
18898         (thread_unref), (gst_mini_object_suite), (main):
18899           added
18900         * gst/gst.c: (gst_deinit):
18901         * gst/gst.h:
18902           add a method to clean up.
18903         * gst/gstsystemclock.c: (gst_system_clock_dispose),
18904         (gst_system_clock_obtain):
18905           allow for disposing the system clock.
18906         * tools/gst-launch.c: (main):
18907           deinit
18908
18909 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18910
18911         * docs/gst/tmpl/gstbasesrc.sgml:
18912         * docs/gst/tmpl/gstfakesrc.sgml:
18913         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18914         (gst_base_src_init), (gst_base_src_set_property),
18915         (gst_base_src_get_property), (gst_base_src_get_range),
18916         (gst_base_src_start):
18917         * gst/base/gstbasesrc.h:
18918           add num-buffers property
18919         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18920         (gst_fakesrc_init), (gst_fakesrc_set_property),
18921         (gst_fakesrc_get_property), (gst_fakesrc_create),
18922         (gst_fakesrc_start):
18923           remove num-buffers property
18924
18925 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18926
18927         * docs/gst/gstreamer-sections.txt:
18928         * docs/gst/tmpl/gstbasesink.sgml:
18929         * docs/gst/tmpl/gstbasesrc.sgml:
18930         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
18931         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
18932         (gst_base_sink_finalize), (gst_base_sink_set_clock),
18933         (gst_base_sink_set_property), (gst_base_sink_get_property),
18934         (gst_base_sink_handle_object), (gst_base_sink_event),
18935         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
18936         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
18937         (gst_base_sink_loop), (gst_base_sink_deactivate),
18938         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
18939         (gst_base_sink_change_state):
18940         * gst/base/gstbasesink.h:
18941         * gst/base/gstbasesrc.h:
18942         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
18943         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18944         (gst_filesink_init):
18945           more macro splitting
18946
18947 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18948
18949         * gst/gstelement.c: (gst_element_get_bus):
18950           add debug
18951         * tools/gst-launch.c: (check_intr), (event_loop):
18952           fix bus leaks
18953
18954 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18955
18956         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18957           fix a caps leak
18958
18959 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18960
18961         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18962         (gst_base_src_finalize):
18963           add finalize method and clean up properly
18964         * gst/gstpipeline.c: (gst_pipeline_dispose):
18965           add debug
18966
18967 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18968
18969         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
18970         (gst_bin_suite):
18971           add more things to check
18972         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
18973         * gst/gstelement.c:
18974           more debug
18975
18976 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18977
18978         * check/elements/gstfakesrc.c: (chain_func), (event_func),
18979         (GST_START_TEST), (fakesrc_suite):
18980         * check/gst-libs/gdp.c: (GST_START_TEST):
18981         * check/gst/gst.c: (GST_START_TEST):
18982         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18983         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18984         * check/gst/gstbus.c: (GST_START_TEST):
18985         * check/gst/gstcaps.c: (GST_START_TEST):
18986         * check/gst/gstdata.c: (GST_START_TEST):
18987         * check/gst/gstelement.c: (GST_START_TEST):
18988         * check/gst/gstghostpad.c: (GST_START_TEST):
18989         * check/gst/gstiterator.c: (GST_START_TEST):
18990         * check/gst/gstmessage.c: (GST_START_TEST):
18991         * check/gst/gstobject.c: (GST_START_TEST):
18992         * check/gst/gstpad.c: (GST_START_TEST):
18993         * check/gst/gststructure.c: (GST_START_TEST):
18994         * check/gst/gstsystemclock.c: (GST_START_TEST),
18995         (gst_systemclock_suite):
18996         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
18997         * check/gst/gstvalue.c: (GST_START_TEST):
18998         * check/pipelines/cleanup.c: (GST_START_TEST):
18999         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19000         * check/states/sinks.c: (GST_START_TEST):
19001         * check/gstcheck.c: (gst_check_init):
19002         * check/gstcheck.h:
19003           add debugging category
19004           use GST_START_TEST now, so we add a debug line
19005
19006 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19007
19008         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
19009           add test for state change message on a bin
19010         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
19011           add another test
19012         * gst/gstbin.c: (gst_bin_init):
19013         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
19014         * gst/gstelement.c: (gst_element_post_message),
19015         (gst_element_set_state):
19016         * gst/gstelementfactory.c: (gst_element_factory_create):
19017         * gst/gstmessage.c: (gst_message_new):
19018         * gst/gstscheduler.c:
19019           various debugging additions and cleanups
19020
19021 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19022
19023         * check/Makefile.am:
19024         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
19025         (main):
19026           adding tests for elements
19027         * gst/gstelement.c: (gst_element_dispose):
19028
19029 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19030
19031         * gst/registries/gstlibxmlregistry.c: (load_feature):
19032           plug more leaks.  A simple gst_init() now is leakfree, yay.
19033
19034 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19035
19036         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
19037         (gst_xml_registry_load):
19038           plug another memleak
19039
19040 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19041
19042         * configure.ac:
19043           use GST_SET_ERROR_CFLAGS
19044         * docs/faq/cvs.xml:
19045           change to ERROR_CFLAGS
19046
19047 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19048
19049         * configure.ac:
19050           make GST_ERROR_CFLAGS overridable and re-enable Werror
19051         * docs/faq/cvs.xml:
19052           add a note about error CFLAGS
19053         * docs/gst/tmpl/gstfakesrc.sgml:
19054         * gst/elements/gstfakesrc.c:
19055           comment out some unused code
19056         * gst/gst.c: (split_and_iterate):
19057         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
19058         (load_feature):
19059           plug some memleaks
19060
19061 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19062
19063         * common/Makefile.am:
19064         * common/gtk-doc.mak:
19065         * docs/gst/Makefile.am:
19066           factor out gtk-doc.mak
19067
19068 2005-07-07  Wim Taymans  <wim@fluendo.com>
19069
19070         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
19071         (gst_thread_scheduler_dispose):
19072         Unlock the STREAM_LOCK completely.
19073
19074 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19075
19076         * check/Makefile.am:
19077         * check/elements/.cvsignore:
19078         * check/elements/gstfakesrc.c: (chain_func), (event_func),
19079         (START_TEST), (fakesrc_suite), (main):
19080         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19081         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19082         (gst_fakesrc_create), (gst_fakesrc_start):
19083         * gst/elements/gstfakesrc.h:
19084           adding a first element test
19085
19086 2005-07-07  Andy Wingo  <wingo@pobox.com>
19087
19088         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
19089         debug message.
19090
19091 2005-07-07  Wim Taymans  <wim@fluendo.com>
19092
19093         * gst/gstquery.c:
19094         * gst/gstquery.h:
19095         Remove old types
19096
19097 2005-07-07  Wim Taymans  <wim@fluendo.com>
19098
19099         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19100         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
19101         Allow subclasses to implement their own negotiation.
19102
19103 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19104
19105         * docs/design/part-gstbin.txt:
19106         * docs/design/part-gstpipeline.txt:
19107           Update design notes to reflect the movement of
19108           responsibility for bus handling from GstPipeline to
19109           GstBin
19110
19111 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19112
19113         * configure.ac:
19114           Remove unnecessary queue2/3/4 examples.
19115
19116 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
19117
19118         * examples/Makefile.am:
19119         * examples/helloworld/helloworld.c: (event_loop), (main):
19120         * examples/queue/queue.c: (event_loop), (main):
19121         * examples/queue2/queue2.c: (main):
19122           Update a couple of the examples to work again.
19123
19124         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19125         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
19126          Spelling corrections and extra debug.
19127         
19128         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
19129         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
19130         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
19131         * gst/gstbin.h:
19132         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19133         (gst_pipeline_change_state):
19134         * gst/gstpipeline.h:
19135           Move the bus handler for children to the GstBin, and create a
19136           separate bus for receiving messages from children to the one the
19137           bus sends 'upwards' on.
19138
19139 2005-07-06  Wim Taymans  <wim@fluendo.com>
19140
19141         * gst/base/README:
19142         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19143         (gst_base_sink_handle_object), (gst_base_sink_loop),
19144         (gst_base_sink_change_state):
19145         * gst/base/gstbasesink.h:
19146         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19147         (gst_base_src_init), (gst_base_src_setcaps),
19148         (gst_base_src_getcaps), (gst_base_src_loop),
19149         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
19150         (gst_base_src_start), (gst_base_src_change_state):
19151         * gst/base/gstbasesrc.h:
19152         Make basesrc negotiate.
19153         Handle the case where preroll fails in basesink.
19154         Update README.
19155
19156 2005-07-06  Wim Taymans  <wim@fluendo.com>
19157
19158         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
19159         Implement the fixate function.
19160         Clean up acceptcaps.
19161
19162 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19163
19164         * docs/pwg/building-filterfactory.xml:
19165         * docs/pwg/pwg.xml:
19166           Remove never-written filter-factory chapter; I'll add the various
19167           base classes to part 4 ("other element types") later on.
19168
19169 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19170
19171         * docs/pwg/advanced-negotiation.xml:
19172         * docs/pwg/building-boiler.xml:
19173         * docs/pwg/building-pads.xml:
19174         * docs/pwg/pwg.xml:
19175         * examples/pwg/Makefile.am:
19176           Add a chapter on caps negotiation, simplify the original code
19177           samples a bit w.r.t. caps negotiation, add link to the advanced
19178           section. Add a bunch of examples showing different use cases of
19179           different types of caps negotiation. Upstream renegotiation isn't
19180           fully documented yet since nobody knows how that works.
19181
19182 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19183
19184         * check/gst/gstpad.c:
19185         * check/gstcheck.c:
19186         * gst/gstpad.c: (gst_pad_get_internal_links_default):
19187           if pad has no parent, return NULL as list of internal links
19188
19189 2005-07-05  Andy Wingo  <wingo@pobox.com>
19190
19191         * gst/elements/gstfilesrc.c:
19192         * gst/elements/gstfakesrc.c: 
19193         * gst/base/gstpushsrc.c:
19194         * gst/base/gstbasesrc.h: 
19195         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
19196         
19197 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
19198
19199         * Makefile.am:
19200           better report generation target (lcov needs a patch)
19201
19202 2005-07-05  Andy Wingo  <wingo@pobox.com>
19203
19204         * gst/elements, testsuite: Null if we got it...
19205
19206 2005-07-05  Wim Taymans  <wim@fluendo.com>
19207
19208         * configure.ac:
19209         * libs/gst/dataprotocol/Makefile.am:
19210         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
19211         * libs/gst/dataprotocol/dataprotocol.h:
19212         * pkgconfig/Makefile.am:
19213         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
19214         * pkgconfig/gstreamer-dataprotocol.pc.in:
19215         Ported dataprotol to 0.9. 
19216         Added pkgconfig files.
19217
19218 2005-07-05  Andy Wingo  <wingo@pobox.com>
19219
19220         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
19221         Default to returning TRUE for the case when tranform_caps returns
19222         a fixed caps, like for identity or volume.
19223
19224         * check/gst/gstbus.c (pound_bus_with_messages): 
19225         * check/gst/gstmessage.c (START_TEST): 
19226         * check/pipelines/simple_launch_lines.c (got_handoff): Application
19227         message API change.
19228
19229         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
19230         logic weaks here: always run transform_caps, trying passthrough
19231         operation only if the original caps intersects with the transform.
19232
19233         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
19234         source and sink caps.
19235
19236         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
19237         Intersect the peer caps with the pad template before going into
19238         transform_caps.
19239         (gst_base_transform_transform_caps): More debugging.
19240
19241         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
19242         src argument.
19243
19244 2005-07-04  Edward Hervey  <edward@fluendo.com>
19245
19246         * gst/gstutils.c:
19247         * gst/gstutils.h:
19248         (gst_pad_add_*_probe): now returns the signal id for better wrapping
19249         in bindings.
19250
19251 2005-07-04  Andy Wingo  <wingo@pobox.com>
19252
19253         * check/gst/gstpad.c: Only set explicit caps on pads.
19254
19255 2005-07-01  Andy Wingo  <wingo@pobox.com>
19256
19257         * tests/network-clock.scm: Commentary update.
19258
19259         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
19260         Didn't really make sense, not implementable with basetransform,
19261         etc.
19262         (gst_identity_transform): Unref inbuf via make_writable. Feeble
19263         attempt at implementing the sync property, needs an unlock method.
19264
19265         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
19266         New func, by default returns the same caps (the identity
19267         transformation).
19268         (gst_base_transform_getcaps): Uses transform_caps to return
19269         something sensible.
19270         (gst_base_transform_setcaps): Complicated logic to get caps on
19271         both pads, even if they are different, and to call set_caps once
19272         for every time both pads get their caps set.
19273         (gst_base_transform_handle_buffer): Give the ref to the transform
19274         function. Allows in-place modification of the buffer.
19275
19276         * gst/base/gstbasetransform.h (transform_caps): New class method.
19277         Given caps on one side, what can I do on the other.
19278         (set_caps): Take two caps, one for each side of the element.
19279
19280         * gst/gstpad.h:
19281         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
19282         caps in place. This is safe because we can check the mutability of
19283         the caps, and a good idea because fixate functions are just called
19284         as a matter of last resort. (Not actually implemented.)
19285         (gst_pad_set_caps): If the caps we're setting is actually the same
19286         as the existing pad caps, just update the pointer without calling
19287         setcaps. Assert that caps is either NULL or fixed, as per the
19288         docs.
19289
19290         * gst/gstghostpad.c: Update for fixate changes.
19291
19292 2005-07-02  Andy Wingo  <wingo@pobox.com>
19293
19294         * gst/gstcaps.c:
19295         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
19296         two refcounts makes it immutable, which is enough. Doc more.
19297
19298 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
19299
19300         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
19301           Put the mini_object into GValue as a mini_object,
19302           not a gpointer, since that's how we declared
19303           the signal.
19304
19305 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19306
19307         * examples/pwg/Makefile.am:
19308           Fix buildbot again.
19309
19310 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19311
19312         * docs/pwg/building-testapp.xml:
19313           Add extra check.
19314         * examples/pwg/Makefile.am:
19315           Fix buildbot.
19316
19317 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19318
19319         * configure.ac:
19320         * examples/Makefile.am:
19321         * examples/pwg/Makefile.am:
19322         * examples/pwg/extract.pl:
19323           Enable building the PWG examples.
19324         * docs/pwg/advanced-interfaces.xml:
19325           Add URI interface stub.
19326         * docs/pwg/advanced-types.xml:
19327         * docs/pwg/other-autoplugger.xml:
19328         * docs/pwg/appendix-porting.xml:
19329         * docs/pwg/pwg.xml:
19330           Add porting guide (mostly stubs), remove autoplugging (see ADM).
19331         * docs/pwg/building-boiler.xml:
19332         * docs/pwg/building-chainfn.xml:
19333         * docs/pwg/building-pads.xml:
19334         * docs/pwg/building-props.xml:
19335         * docs/pwg/building-state.xml:
19336         * docs/pwg/building-testapp.xml:
19337           Update the building-*.xml parts for 0.9 changes. All examples
19338           code blocks compile in examples/pwg/*.
19339
19340 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19341
19342         * docs/manual/advanced-autoplugging.xml:
19343         * docs/manual/appendix-checklist.xml:
19344         * docs/manual/appendix-integration.xml:
19345         * docs/manual/highlevel-components.xml:
19346           Fix playbin/decodebin examples, update docs a bit, mention bus
19347           instead of signals in various places, mention kmplayer and
19348           kaffeine since they have a working GStreamer backend in the KDE
19349           section.
19350
19351 2005-06-30  Wim Taymans  <wim@fluendo.com>
19352
19353         * CHANGES-0.9:
19354         * docs/design/draft-ghostpads.txt:
19355         * docs/design/draft-push-pull.txt:
19356         * docs/design/draft-query.txt:
19357         * docs/design/part-TODO.txt:
19358         * docs/design/part-query.txt:
19359         Added CHANGES-0.9 doc, updated status of other docs.
19360         
19361         * gst/gstquery.h:
19362         Remove "hmm" macro
19363
19364 2005-06-30  Wim Taymans  <wim@fluendo.com>
19365
19366         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19367         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19368         (gst_base_sink_change_state):
19369         * gst/base/gstbasesink.h:
19370         Some tweaks, only EOS and a buffer complete a preroll.
19371
19372 2005-06-30  Andy Wingo  <wingo@pobox.com>
19373
19374         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
19375         activate_push down to the internal pad as well.
19376
19377 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
19378
19379         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19380
19381         * gst/gsttaginterface.c:
19382           Some documentation fixes (#307394 and #307397).
19383
19384 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
19385
19386         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19387
19388         * gst/gstvalue.c: (gst_value_intersect_list):
19389           Fix memleak (#309125).
19390
19391 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19392
19393         * docs/manual/advanced-dataaccess.xml:
19394           Fix fakesrc example to compile; doesn't work, bug somewhere...?
19395         * docs/manual/basics-pads.xml:
19396           Add reference for filtered caps to above chapter.
19397
19398 2005-06-30  Wim Taymans  <wim@fluendo.com>
19399
19400         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
19401         (gst_bin_change_state):
19402         Probes are gone.
19403         Lame attempt at making the state change function a bit
19404         more readable.
19405
19406 2005-06-30  Wim Taymans  <wim@fluendo.com>
19407
19408         * docs/design/part-clocks.txt:
19409         * docs/design/part-element-sink.txt:
19410         * docs/design/part-events.txt:
19411         * docs/design/part-preroll.txt:
19412         * docs/design/part-states.txt:
19413         Some more tweeks and additions to the docs.
19414
19415 2005-06-30  Wim Taymans  <wim@fluendo.com>
19416
19417         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19418         (default_have_data), (gst_pad_class_init), (gst_pad_init),
19419         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19420         (gst_pad_check_pull_range), (gst_pad_get_range),
19421         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
19422         * gst/gstpad.h:
19423         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
19424         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19425         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19426         (gst_pad_remove_buffer_probe):
19427         Removed atomic operations, use existing LOCK.
19428         Move exception handling out of main code path.
19429
19430 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19431
19432         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19433         (silly_return_true_function), (gst_pad_class_init),
19434         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19435         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
19436         (gst_pad_send_event):
19437           Fix accumulator, add default value by using _emitv() instead
19438           of _emit() for signal emission.
19439
19440 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19441
19442         * docs/manual/advanced-dataaccess.xml:
19443         * examples/manual/Makefile.am:
19444           Add probe example.
19445         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
19446           Make work (??).
19447
19448 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
19449
19450         * gst/elements/gstfilesink.c: (gst_filesink_render):
19451           Simplify code so that we don't have to handle short
19452           writes and return GST_FLOW_ERROR if an error occured.
19453
19454 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19455
19456         * docs/gst/gstreamer-docs.sgml:
19457           Remove probes more.
19458
19459 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19460
19461         * docs/gst/gstreamer-sections.txt:
19462         * docs/gst/tmpl/gstpad.sgml:
19463         * docs/gst/tmpl/gstprobe.sgml:
19464         * gst/Makefile.am:
19465         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19466         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
19467         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
19468         (gst_pad_push_event), (gst_pad_send_event):
19469         * gst/gstpad.h:
19470         * gst/gstutils.c: (gst_pad_add_data_probe),
19471         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19472         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19473         (gst_pad_remove_buffer_probe):
19474         * gst/gstutils.h:
19475           Remove old probes, add new g-signal-based probes and some utility
19476           functions.
19477
19478 2005-06-29  Edward Hervey  <edward@fluendo.com>
19479
19480         * gst/gstelementfactory.c:
19481         * gst/gstutils.h:
19482         * gst/gstutils.c:
19483         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
19484         the definition to the header file.
19485
19486 2005-06-29  Andy Wingo  <wingo@pobox.com>
19487
19488         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
19489         plugins from the source directory.
19490
19491 2005-06-29  Wim Taymans  <wim@fluendo.com>
19492
19493         * docs/gst/tmpl/gstbuffer.sgml:
19494         * docs/gst/tmpl/gstclock.sgml:
19495         Some fixings for blantently wrong text.
19496
19497 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19498
19499         * check/Makefile.am:
19500         * gst/gst.c: (add_path_func), (init_pre):
19501         * gst/gstregistry.c: (gst_registry_add_path):
19502           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
19503           only scan the GST_PLUGIN_PATH locations, and not add
19504           system locations
19505
19506 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19507
19508         * docs/gst/gstreamer-sections.txt:
19509         * docs/gst/tmpl/gstbasesrc.sgml:
19510         * gst/gstelement.c:
19511         * gst/gstelement.h:
19512         * gst/gstevent.c:
19513         * gst/gstutils.c:
19514           doc fixes
19515
19516 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19517
19518         * docs/manual/advanced-autoplugging.xml:
19519           Fix autoplugging example.
19520
19521 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19522
19523         * docs/manual/advanced-autoplugging.xml:
19524         * docs/manual/mime-world.fig:
19525           Try to get autoplugging working, fix type detection. Fix text
19526           in hello-world image.
19527
19528 2005-06-29  Wim Taymans  <wim@fluendo.com>
19529
19530         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19531         (gst_base_sink_change_state):
19532         Small debug line.
19533
19534         * gst/gstclock.h:
19535         map SIGNAL and BROADCAST to the right function.
19536
19537         * gst/gstobject.h:
19538         Remove redundant braces.
19539
19540         * gst/gstpad.c: (gst_pad_set_caps):
19541         Don't call setcaps function when reseting caps to NULL.
19542
19543         * gst/gstsystemclock.c: (gst_system_clock_dispose),
19544         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
19545         (gst_system_clock_id_unschedule):
19546         Use BROADCAST as this is what we do.
19547
19548 2005-06-29  Wim Taymans  <wim@fluendo.com>
19549
19550         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19551         We are actually prerolling before commiting the state
19552         change. 
19553
19554 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19555
19556         * docs/manual/advanced-clocks.xml:
19557         * docs/manual/advanced-interfaces.xml:
19558         * docs/manual/advanced-metadata.xml:
19559         * docs/manual/advanced-position.xml:
19560         * docs/manual/advanced-schedulers.xml:
19561         * docs/manual/advanced-threads.xml:
19562         * docs/manual/appendix-porting.xml:
19563         * docs/manual/basics-bins.xml:
19564         * docs/manual/basics-bus.xml:
19565         * docs/manual/basics-elements.xml:
19566         * docs/manual/basics-helloworld.xml:
19567         * docs/manual/basics-pads.xml:
19568         * docs/manual/highlevel-components.xml:
19569         * docs/manual/manual.xml:
19570         * docs/manual/thread.fig:
19571           Update (until threads/scheduling) Application Development Manual;
19572           remove GstThread, add GstBus, add simple porting checklist, add
19573           documentation for tag writing, clocks, make all examples until this
19574           part compile and run.
19575         * examples/manual/Makefile.am:
19576           Update from changes to Application Development Manual; add bus
19577           example, remove thread example.
19578
19579 2005-06-28  Wim Taymans  <wim@fluendo.com>
19580
19581         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
19582         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
19583         (gst_bus_source_dispatch):
19584         Add debugging messages.
19585         Make internal methods static.
19586         Handle the case where the bus is flushed in the handler.
19587         
19588         * gst/gstelement.c: (gst_element_get_bus):
19589         Fix refcount in _get_bus();
19590
19591         * gst/gstpipeline.c: (gst_pipeline_change_state),
19592         (gst_pipeline_get_clock_func):
19593         Clock refcounting fixes.
19594         Handle the case where preroll timed out more gracefully.
19595         
19596         * gst/gstsystemclock.c: (gst_system_clock_dispose):
19597         Clean up the internal thread in dispose. This is needed
19598         for subclasses that actually get disposed.
19599         
19600         * gst/schedulers/threadscheduler.c:
19601         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19602         (gst_thread_scheduler_dispose):
19603         Free thread pool in dispose.
19604
19605 2005-06-28  Andy Wingo  <wingo@pobox.com>
19606
19607         * tests/network-clock-utils.scm (debug, print-event): New utils.
19608
19609         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
19610         (*packet-loss*): Unified loss probability.
19611         (network-time): Report out-of-band events.
19612
19613         * tests/plot-data: Add support for out-of-band events. Hack it
19614         into this script instead of passing it down the pipe; should fix
19615         this later.
19616
19617 2005-06-28  Wim Taymans  <wim@fluendo.com>
19618
19619         * docs/gst/gstreamer.types:
19620         * docs/gst/tmpl/gstbasesrc.sgml:
19621         * docs/gst/tmpl/gstpad.sgml:
19622         Docs fixes.
19623
19624 2005-06-28  Wim Taymans  <wim@fluendo.com>
19625
19626         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19627         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
19628         (gst_proxy_pad_do_fixatecaps):
19629         Correctly proxy the check_pull_range function.
19630
19631 2005-06-28  Andy Wingo  <wingo@pobox.com>
19632
19633         * tests/network-clock.scm: Removed need for slib.
19634         
19635 2005-06-28  Wim Taymans  <wim@fluendo.com>
19636
19637         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
19638         (gst_basesink_preroll_queue_flush):
19639         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
19640         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
19641         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19642         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
19643         (gst_proxy_pad_set_property):
19644         * gst/gstpad.c:
19645         * gst/gstpad.h:
19646         * gst/gstqueue.c: (gst_queue_init):
19647         The deprecated pad loop function is removed now.
19648
19649 2005-06-28  Andy Wingo  <wingo@pobox.com>
19650
19651         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
19652         New parameters, simulate network packet loss.
19653
19654         * tests/network-clock-utils.scm: Initialize the RNG.
19655
19656 2005-06-28  Wim Taymans  <wim@fluendo.com>
19657
19658         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
19659         (gst_basesink_event), (gst_basesink_deactivate):
19660         Flushing the preroll queue always needs to unlock the waiters.
19661
19662 2005-06-28  Edward Hervey  <edward@fluendo.com>
19663
19664         * gst/gstpipeline.c: (gst_pipeline_send_event): 
19665         Wheen a seek was successful on a pipeline, set the stream_time to the
19666         seek offset in order to have a synchronized stream_time.
19667
19668 2005-06-28  Wim Taymans  <wim@fluendo.com>
19669
19670         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19671         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
19672         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
19673         (gst_proxy_pad_do_fixatecaps):
19674         Call wrapper function instead of just calling the function
19675         pointers. This takes care of any locking and whatmore.
19676
19677 2005-06-28  Wim Taymans  <wim@fluendo.com>
19678
19679         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
19680         (gst_pad_pull_range):
19681         * gst/gstpad.h:
19682         CONNECTED -> LINKED.
19683
19684 2005-06-28  Andy Wingo  <wingo@pobox.com>
19685
19686         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
19687         source-munging commit!!!
19688
19689         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
19690         (gst_object_sink): Take gpointer arguments, not GstObject --
19691         avoids casts. Like GLib.
19692
19693         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
19694         activate.
19695
19696 2005-06-27  Andy Wingo  <wingo@pobox.com>
19697
19698         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
19699         remaining buffer.
19700
19701         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
19702         returns a sorted copy of the trace list.
19703         (gst_alloc_trace_print_live): New API, only prints traces with
19704         live objects. Sort the list.
19705         (gst_alloc_trace_print_all): Sort the list.
19706         (gst_alloc_trace_print): Align columns.
19707
19708         * gst/elements/gstttypefindelement.c:
19709         * gst/elements/gsttee.c:
19710         * gst/base/gstbasesrc.c:
19711         * gst/base/gstbasesink.c:
19712         * gst/base/gstbasetransform.c:
19713         * gst/gstqueue.c: Adapt for pad activation changes.
19714
19715         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
19716         sched.
19717         (gst_pipeline_dispose): Drop ref on sched.
19718
19719         * gst/gstpad.c (gst_pad_init): Set the default activate func.
19720         (gst_pad_activate_default): Push mode by default.
19721         (pre_activate_switch, post_activate_switch): New stubs, things to
19722         do before and after switching activation modes on pads.
19723         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
19724         the pad's activate function to choose which mode to activate.
19725         Shortcut on deactivation and call the right function directly.
19726         (gst_pad_activate_pull): New API, (de)activates a pad in pull
19727         mode.
19728         (gst_pad_activate_push): New API, same for push mode.
19729         (gst_pad_set_activate_function) 
19730         (gst_pad_set_activatepull_function) 
19731         (gst_pad_set_activatepush_function): Setters for new API.
19732
19733         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
19734         Trace all miniobjects.
19735         (gst_mini_object_make_writable): Unref the arg if we copy, like
19736         gst_caps_make_writable.
19737
19738         * gst/gstmessage.c (_gst_message_initialize): No trace init.
19739
19740         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
19741         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
19742         Adapt for new pad API.
19743
19744         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
19745
19746         * gst/gstelement.h:
19747         * gst/gstelement.c (gst_element_iterate_src_pads) 
19748         (gst_element_iterate_sink_pads): New API functions.
19749         
19750         * gst/gstelement.c (iterator_fold_with_resync): New utility,
19751         should fold into gstiterator.c in some form.
19752         (gst_element_pads_activate): Simplified via use of fold and
19753         delegation of decisions to gstpad->activate.
19754
19755         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
19756         help in debugging.
19757
19758         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
19759         class once in init, like gstmessage. Didn't run into this issue
19760         but it seems correct. Don't initialize a trace, gstminiobject does
19761         that.
19762
19763         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
19764         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
19765         to the bus.
19766         (assert_live_count): New util function, uses alloc traces to check
19767         cleanup.
19768
19769         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
19770         To be modified when unlink drops the internal pad.
19771
19772 2005-06-27  Wim Taymans  <wim@fluendo.com>
19773
19774         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
19775         (gst_bin_change_state):
19776         Cleanup the get_state() function a little, make sure it
19777         iterates the same set of elements.
19778         Added stub iterate_state_order().
19779
19780 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19781
19782         * docs/gst/gstreamer-docs.sgml:
19783         * docs/gst/gstreamer-sections.txt:
19784         * docs/gst/gstreamer.types:
19785         * docs/gst/tmpl/gstbasesink.sgml:
19786         * docs/gst/tmpl/gstbasesrc.sgml:
19787         * docs/gst/tmpl/gstbasetransform.sgml:
19788         * docs/gst/tmpl/gstelement.sgml:
19789         * docs/gst/tmpl/gstiterator.sgml:
19790         * gst/base/gstbasesrc.c:
19791         * gst/base/gstbasesrc.h:
19792         * gst/base/gstbasetransform.h:
19793         * gst/gstelement.c:
19794         * gst/gstiterator.h:
19795           adding basetransform and iterator docs
19796
19797 2005-06-27  Andy Wingo  <wingo@pobox.com>
19798
19799         * docs/design/part-activation.txt: Notes on how activation should
19800         work -- not quite implemented yet.
19801
19802 2005-06-25  Wim Taymans  <wim@fluendo.com>
19803
19804         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
19805         At least get the chain function correct, needs more
19806         fixing.
19807
19808 2005-06-25  Wim Taymans  <wim@fluendo.com>
19809
19810         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
19811         (gst_basesink_handle_object), (gst_basesink_event),
19812         (gst_basesink_do_sync), (gst_basesink_handle_event),
19813         (gst_basesink_change_state):
19814         * gst/gsttask.h:
19815         Right, two problems here: ghostpads don't take locks and
19816         glib _rec_mutex_lock_full() with depth==0 still locks.
19817         Catch illegal locking and g_warn them.
19818
19819 2005-06-25  Wim Taymans  <wim@fluendo.com>
19820
19821         * check/states/sinks.c: (START_TEST), (gst_object_suite):
19822         Have to check for completion now...
19823
19824 2005-06-25  Wim Taymans  <wim@fluendo.com>
19825
19826         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
19827         (gst_basesink_handle_object), (gst_basesink_event),
19828         (gst_basesink_do_sync), (gst_basesink_handle_event),
19829         (gst_basesink_change_state):
19830         * gst/gstpad.h:
19831         Unlock STREAM_LOCK whatever the recursion was.
19832
19833 2005-06-25  Wim Taymans  <wim@fluendo.com>
19834
19835         * gst/base/gstbasesink.c: (gst_basesink_set_property),
19836         (gst_basesink_preroll_queue_empty),
19837         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
19838         (gst_basesink_event), (gst_basesink_do_sync),
19839         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
19840         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
19841         (gst_basesink_change_state):
19842         Reworked the base sink, handle event and buffer serialisation
19843         correctly and removed possible deadlock.
19844         Handle EOS correctly.
19845
19846 2005-06-25  Wim Taymans  <wim@fluendo.com>
19847
19848         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
19849         (gst_pipeline_change_state):
19850         * tools/gst-launch.c: (check_intr), (event_loop), (main):
19851         Allow elements to post EOS in the state change function.
19852         Fix up -launch, make it exit the poll loop when the
19853         pipeline actually changed state.
19854         Fix up warning parsing in -launch.
19855
19856 2005-06-25  Wim Taymans  <wim@fluendo.com>
19857
19858         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
19859         (gst_tee_sink_activate):
19860         Core takes STREAM_LOCK for us now.
19861
19862 2005-06-25  Wim Taymans  <wim@fluendo.com>
19863
19864         * gst/gstelement.c: (gst_element_get_state_func),
19865         (gst_element_set_state):
19866         * gst/gstelement.h:
19867         * gst/gstmessage.c: (gst_message_parse_error),
19868         (gst_message_parse_warning):
19869         Keep track of current target state while performing a state
19870         change so that subclasses can do something interesting.
19871         Fix parsing of warning/error messages when GError is NULL.
19872
19873 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19874
19875         * docs/gst/Makefile.am:
19876         * docs/gst/gstreamer-docs.sgml:
19877         * docs/gst/gstreamer-sections.txt:
19878         * docs/gst/gstreamer.types:
19879         * docs/gst/tmpl/gstbasesink.sgml:
19880         * docs/gst/tmpl/gstbasesrc.sgml:
19881         * docs/gst/tmpl/gstbin.sgml:
19882         * docs/gst/tmpl/gstcompat.sgml:
19883         * docs/gst/tmpl/gstfakesink.sgml:
19884         * docs/gst/tmpl/gstfakesrc.sgml:
19885         * docs/gst/tmpl/gstfilesink.sgml:
19886         * docs/gst/tmpl/gstfilesrc.sgml:
19887         * docs/gst/tmpl/gstindex.sgml:
19888         * docs/manual/appendix-quotes.xml:
19889         * gst/base/gstbasesrc.h:
19890         * gst/elements/gstfakesrc.h:
19891         * gst/gstmessage.h:
19892           start pulling in base classes and elements in our docs
19893
19894 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
19895
19896         * docs/gst/Makefile.am:
19897         * docs/libs/Makefile.am:
19898           fixed make distcheck with gtk-doc 1.3
19899
19900 2005-06-23  Wim Taymans  <wim@fluendo.com>
19901
19902         * gst/gstelement.c: (gst_element_get_state_func),
19903         (gst_element_set_state), (gst_element_change_state):
19904         When the state did not change, also report NO_PREROLL
19905         when it matters.
19906
19907 2005-06-23  Wim Taymans  <wim@fluendo.com>
19908
19909         * gst/gstpad.c: (gst_pad_event_default):
19910         * gst/gstqueue.c: (gst_queue_loop):
19911         No unsafe task pausing please.
19912
19913 2005-06-23  Wim Taymans  <wim@fluendo.com>
19914
19915         * gst/schedulers/threadscheduler.c:
19916         (gst_thread_scheduler_task_start),
19917         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
19918         Ref the task before pushing it on the threadpool. This
19919         makes sure that we have a ref when the threadfunction is
19920         actually called.
19921
19922 2005-06-23  Andy Wingo  <wingo@pobox.com>
19923
19924         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
19925         offset is greater than the file's size.
19926
19927         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
19928         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
19929         * gst/gstobject.c (gst_object_class_init): Make the class lock
19930         recursive. Wim won't let me drop deep_notify. Decodebin works
19931         again, whoopdy doo.
19932
19933         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
19934         internal pad, and hacks accordingly. Doesn't do it on the target
19935         pad because we change its caps. Probably catches all cases of
19936         interest tho.
19937         (gst_ghost_pad_set_property): Connect to notify::caps as
19938         appropritate.
19939
19940         * tests/network-clock.scm (plot-simulation): Pipe data to the
19941         elite python skript.
19942
19943         * tests/network-clock-utils.scm (define-parameter): New macro,
19944         defines a parameter that can be set via the command line.
19945         (set-parameter!, parse-parameter-arguments): Command line args
19946         parser.
19947
19948         * tests/plot-data: Simple matplotlib-based plotter, takes input on
19949         stdin.
19950
19951 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
19952
19953         * gst/elements/gsttypefindelement.c:
19954         (gst_type_find_element_handle_event):
19955           Don't restart typefinding on a discont.
19956         * gst/gstelement.c: (gst_element_set_state):
19957           Debug spelling fix.
19958         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
19959           Allow changing mode of an active pad.
19960           Debug output fixes.
19961         * gst/registries/gstlibxmlregistry.c: (load_feature):
19962           Don't cast a static pad template to a normal pad template.
19963
19964 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19965
19966         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
19967         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
19968           remove gst_strtoll completely, since it didn't actually do
19969           anything more than what g_ascii_strtoull already does.
19970           check for range errors when deserializing
19971           do a cast for the unsigned cases; but further fixing needs
19972           a decision on what the interpretation of "(int)" and
19973           deserialization should be for values that fall outside the
19974           type's boundaries (ie, refuse, or interpret as casting)
19975
19976 2005-06-23  Wim Taymans  <wim@fluendo.com>
19977
19978         * check/Makefile.am:
19979         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
19980         * docs/design/part-live-source.txt:
19981         * docs/design/part-states.txt:
19982         * gst/base/gstbasesrc.c: (gst_basesrc_init),
19983         (gst_basesrc_set_live), (gst_basesrc_is_live),
19984         (gst_basesrc_get_range), (gst_basesrc_activate),
19985         (gst_basesrc_change_state):
19986         * gst/base/gstbasesrc.h:
19987         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19988         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
19989         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
19990         * gst/gstelement.c: (gst_element_get_state_func),
19991         (gst_element_set_state):
19992         * gst/gstelement.h:
19993         * gst/gsttypes.h:
19994         * tools/gst-launch.c: (event_loop), (main):
19995         Added support for live sources and other elements that
19996         cannot do preroll.
19997         Updated design docs, added live-source design doc.
19998         Implemented live source functionality in basesrc
19999         Fix error condition in _bin_get_state()
20000         Implement live source handling in -launch.
20001         Added check for live sources.
20002         Fixed case in GstBin where elements were changed state
20003         multiple times.
20004
20005
20006 2005-06-23  Andy Wingo  <wingo@pobox.com>
20007
20008         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
20009         borken refcounting.
20010
20011         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
20012         gst_caps_replace takes care of this for us.
20013
20014         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
20015         gst_pad_set_caps on the target, not just its setcaps() function.
20016
20017         * tests/network-clock.scm: 
20018         * tests/network-clock-utils.scm: A network clock simulator.
20019         Something of an algorithmic testbed before doing something in C.
20020
20021 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20022
20023         * check/Makefile.am:
20024         * check/gst/capslist.h:
20025           copy over from 0.8, and add two with bitmasks specified with
20026           (int) 0xFF...
20027         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20028           add test to parse everything from capslist.h
20029         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
20030         (main):
20031           add test for structure deserialization
20032         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20033           add tests for deserialization of strings to int types
20034         * gst/gststructure.c: (gst_structure_nth_field_name):
20035         * gst/gststructure.h:
20036           add a way to get the name of a field referenced by index
20037         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20038           instead of checking if the resulting long long lies between
20039           min and max, we check if the long long would fit into
20040           a number of bytes for the final type.
20041           This fixes cases where a string represents 2^32 - 1, which
20042           when cast to int would be the (valid) -1, but is bigger than
20043           G_MAXINT
20044
20045 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20046
20047         * gst/parse/grammar.y:
20048           add a log line for type deserialization
20049
20050 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20051
20052         * check/gst/gstvalue.c: (START_TEST):
20053         * gst/gstvalue.c: (gst_value_deserialize):
20054           return long long, not int, so gint64 deserialization actually
20055           works.  Is there any flag that makes the compiler check this ?
20056           Fixes #308559
20057
20058 2005-06-22  Wim Taymans  <wim@fluendo.com>
20059
20060         * gst/gstbuffer.h:
20061         Added convenience macros for setting buffers in GValue.
20062
20063 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20064
20065         * check/gst/.cvsignore:
20066         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20067           add a test deserializing int64, and comment part out because
20068           it fails, yay !
20069
20070 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20071
20072         * check/Makefile.am:
20073         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
20074         * testsuite/Makefile.am:
20075         * testsuite/caps/Makefile.am:
20076         * testsuite/caps/value_serialize.c:
20077         * testsuite/test_gst_init.c:
20078           move a value_serialize test over
20079
20080 2005-06-20  Wim Taymans  <wim@fluendo.com>
20081
20082         * gst/gstpad.c:
20083         Small doc updates.
20084         
20085         * gst/gstvalue.c: (gst_value_compare_buffer),
20086         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
20087         (gst_value_compare_flags), (gst_value_serialize_flags),
20088         (gst_value_deserialize_flags), (_gst_value_initialize):
20089         Fix serialisation of buffers, they are not boxed types anymore
20090
20091 2005-06-20  Wim Taymans  <wim@fluendo.com>
20092
20093         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20094         Testcase to show error in buffer-on-caps serialisation.
20095
20096 2005-06-20  Andy Wingo  <wingo@pobox.com>
20097
20098         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
20099         will be adding to later.
20100
20101         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
20102         if its socks fill with rocks.
20103         (gst_system_clock_obtain): Set the name on object construction.
20104         Avoid double-checked locking.
20105
20106 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
20107
20108         * gst/gsturi.c: (gst_element_make_from_uri):
20109           Fix potential endless loop.
20110
20111 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20112
20113         * check/Makefile.am:
20114           add gsttag
20115         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
20116         (main):
20117           move over from testsuite dir and clean up
20118         * configure.ac:
20119         * gst/gsttag.c:
20120         * testsuite/Makefile.am:
20121         * testsuite/tags/.cvsignore:
20122         * testsuite/tags/Makefile.am:
20123         * testsuite/tags/merge.c:
20124           remove testsuite/tags
20125
20126 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20127
20128         * docs/gst/gstreamer-sections.txt:
20129         * docs/gst/tmpl/gstenumtypes.sgml:
20130         * win32/gstenumtypes.c:
20131           clean up documentation build a little
20132
20133 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20134
20135         * check/gstcheck.h:
20136           add macros for checking refcounts on objects and caps
20137         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
20138           add some more unit tests
20139         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20140         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
20141           fix leaked refcounts (I hope :)) so unittest works
20142         * gst/gstpad.h:
20143           whitespace removal
20144
20145 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20146
20147         * configure.ac: back to HEAD
20148
20149 === release 0.9.1 ===
20150
20151 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20152
20153         * NEWS:
20154         * RELEASE:
20155           updated
20156
20157 2005-06-17  Andy Wingo  <wingo@pobox.com>
20158
20159         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
20160         assert; it's always possible that the pad gets deactivated in
20161         between the checks in gstpad.c and the implementation. Rely on
20162         finish_preroll() to return a FLUSHING or similar instead of on the
20163         assert.
20164         
20165         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
20166         clock and post an EOS message if we come out of finish_preroll in
20167         the playing state.
20168
20169 2005-06-16  David Schleef  <ds@schleef.org>
20170
20171         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20172         (gst_capsfilter_set_property): Allow NULL as possible value
20173         for filter_caps property, indicating GST_CAPS_ANY.
20174
20175 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20176
20177         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
20178           fix debug output
20179         * gst/schedulers/Makefile.am:
20180           use libgst prefix
20181         * gstreamer.spec.in:
20182           fix spec for it
20183
20184 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20185
20186         * gstreamer.spec.in:
20187           clean up
20188
20189 2005-06-08  Andy Wingo  <wingo@pobox.com>
20190
20191         * gst/gstutils.c: RPAD fixes all around.
20192         (gst_element_link_pads): Refcounting fixes.
20193
20194         * tools/gst-inspect.c:
20195         * tools/gst-xmlinspect.c:
20196         * parse/grammar.y:
20197         * gst/base/gsttypefindhelper.c:
20198         * gst/base/gstbasesink.c:
20199         * gst/gstqueue.c: RPAD fixes.
20200
20201         * gst/gstghostpad.h:
20202         * gst/gstghostpad.c: New ghost pad implementation as full proxy
20203         pads. The tricky thing is they provide both source and sink
20204         interfaces, since they proxy the internal pad for the external
20205         pad, and vice versa. Implement with lower-level ProxyPad objects,
20206         with the interior proxy pad as a child of the exterior ghost pad.
20207         Should write a doc on this.
20208         
20209         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
20210         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
20211         gst_object API.
20212         
20213         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
20214         pads are real pads. No ghost pads in this file. Not documenting
20215         the myriad s/RPAD/PAD/ and REALIZE fixes.
20216         (gst_pad_class_init): Add properties for "direction" and
20217         "template". Both are construct-only, so they can't change during
20218         the life of the pad. Fixes properly deriving from GstPad.
20219         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
20220         derived objects, just set properties when creating the objects via
20221         g_object_new.
20222         (gst_pad_get_parent): Implement as a function, return NULL if the
20223         parent is not an element.
20224         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
20225         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
20226         
20227         * gst/gstobject.c (gst_object_class_init): Make name a construct
20228         property. Don't set it in the object init.
20229
20230         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
20231         with UNKNOWN direction.
20232         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
20233         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
20234         (gst_element_remove_pad): Remove ghost-pad special cases.
20235         (gst_element_pads_activate): Remove rpad cruft.
20236
20237         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
20238         catch the pad's-parent-not-an-element case.
20239
20240         * gst/gst.h: Include gstghostpad.h.
20241
20242         * gst/gst.c (init_post): No more real, ghost pads.
20243
20244         * gst/Makefile.am: Add gstghostpad.[ch].
20245
20246         * check/Makefile.am:
20247         * check/gst/gstbin.c:
20248         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
20249         into a bin creates ghost pads, and that the refcounts are right.
20250         Partly moved from gstbin.c.
20251
20252 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20253
20254         * check/gst-libs/.cvsignore:
20255         * check/gst/.cvsignore:
20256         * check/pipelines/.cvsignore:
20257           ignore more
20258         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
20259         (START_TEST), (cleanup_suite), (main):
20260           add some tests related to cleanup after running pipelines
20261
20262 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20263
20264         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
20265           add a testsuite for GstBuffer
20266
20267 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20268
20269         * gst/gstminiobject.h:
20270           add defines for accessing the refcount
20271
20272 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
20273
20274         * Makefile.am: added support for html unit test coverage reports
20275
20276 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
20277
20278         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20279           Free existing caps if the capsfilter changes. Add a FIXME about
20280           setting those caps on the pads.
20281
20282         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
20283           Before adding a ghost pad to a parent bin, check that there isn't
20284           already one for the element on the bin. Prevents infinite recursion
20285           when using decodebin in parse pipelines. Andy says he'll rewrite the
20286           way this works anyway, so ignore the hack.
20287
20288 2005-06-02  Andy Wingo  <wingo@pobox.com>
20289
20290         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
20291         file size, pass it on to the type find helper.
20292
20293         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
20294         segment_start and segment_end properly according to the seek
20295         method. Segment_end is still a bit flaky because offset can be
20296         negative for CUR and END cases, but it takes -1 as an "unset"
20297         value.
20298
20299 2005-06-02  Wim Taymans  <wim@fluendo.com>
20300
20301         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
20302         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
20303         (gst_basesink_activate):
20304         * gst/base/gstbasesink.h:
20305         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20306         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20307         (gst_pad_query), (gst_pad_start_task):
20308         * gst/gstpad.h:
20309         * gst/gstqueue.c: (gst_queue_bufferalloc),
20310         (gst_queue_handle_sink_event), (gst_queue_chain):
20311         Bufferalloc: return GstFlowReturn to more accuratly report
20312         why allocation failed.
20313
20314 2005-06-02  Wim Taymans  <wim@fluendo.com>
20315
20316         * gst/gstpipeline.c: (gst_pipeline_send_event):
20317         Take snapshot of state without blocking.
20318
20319 2005-06-02  Wim Taymans  <wim@fluendo.com>
20320
20321         * docs/design/part-TODO.txt:
20322         * docs/design/part-caps.txt:
20323         * docs/design/part-clocks.txt:
20324         * docs/design/part-negotiation.txt:
20325         * docs/design/part-preroll.txt:
20326         Small doc updates 
20327
20328 2005-05-30  Wim Taymans  <wim@fluendo.com>
20329
20330         * gst/elements/gstidentity.c: (gst_identity_event),
20331         (gst_identity_transform), (gst_identity_get_property):
20332         Protect last_message property as it is accessed from
20333         multiple threads.
20334
20335 2005-05-30  Wim Taymans  <wim@fluendo.com>
20336
20337         * gst/gstelement.c: (gst_element_init),
20338         (gst_element_pads_activate), (gst_element_change_state):
20339         Slicker pad activation code.
20340
20341 2005-05-30  Wim Taymans  <wim@fluendo.com>
20342
20343         * gst/Makefile.am:
20344         * gst/gstelement.h:
20345         * gst/gstelementfactory.h:
20346         * gst/gsttypes.h:
20347         Move elementfactory methods to separate .h file.
20348
20349 2005-05-30  Wim Taymans  <wim@fluendo.com>
20350
20351         * docs/design/part-overview.txt:
20352         * gst/gstsystemclock.h:
20353         Small typo fixes, doc updates.
20354
20355 2005-05-30  Wim Taymans  <wim@fluendo.com>
20356
20357         * gst/gst.c: (gst_init_get_popt_table), (init_post),
20358         (init_popt_callback):
20359         Remove cpu-opt flag.
20360
20361 2005-05-30  Wim Taymans  <wim@fluendo.com>
20362
20363         * gst/gstbuffer.c: (gst_subbuffer_finalize),
20364         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
20365         * gst/gstbuffer.h:
20366         Avoid typechecking in places where not needed.
20367         Added accessor for malloc_data.
20368
20369 2005-05-30  Wim Taymans  <wim@fluendo.com>
20370
20371         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
20372         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
20373         (gst_pad_configure_sink), (gst_pad_configure_src),
20374         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
20375         (gst_pad_start_task):
20376         Propagate errors from _set_caps() in configure_src/sink
20377         functions instead of returning TRUE.
20378         FLUSH events can travel up and downstream
20379
20380
20381 2005-05-30  Wim Taymans  <wim@fluendo.com>
20382
20383         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20384         (gst_basesink_activate):
20385         Handle EOS in preroll.
20386
20387 2005-05-30  Wim Taymans  <wim@fluendo.com>
20388
20389         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20390         (gst_queue_loop), (gst_queue_handle_src_event):
20391         Remove old pieces of code
20392         Flushing the queue in an upstream event is a very bad idea.
20393
20394 2005-05-26  Andy Wingo  <wingo@pobox.com>
20395
20396         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
20397         gst_value_set_mini_object so as to add a ref on the object (which
20398         will be removed when the value is unset).
20399
20400         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
20401         arg type in ::handoff.
20402
20403         * gst/gstelement.c (gst_element_change_state): Also deactivate
20404         pads in READY->NULL, just in case the element didn't make it to
20405         PAUSED. Wingo tested, Wim approved.
20406
20407 2005-05-26  Wim Taymans  <wim@fluendo.com>
20408
20409         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20410         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20411         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
20412         A flushing pad cannot be used to alloc_buffer from.
20413
20414 2005-05-26  Wim Taymans  <wim@fluendo.com>
20415
20416         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
20417         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
20418         (gst_bus_source_dispatch), (gst_bus_source_finalize),
20419         (gst_bus_create_watch), (gst_bus_add_watch_full):
20420         * gst/gstbus.h:
20421         Implement a real GSource and use g_main_context_wakeup() to
20422         signal new messages instead of the socketpair.
20423
20424 2005-05-25  Wim Taymans  <wim@fluendo.com>
20425
20426         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
20427         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
20428         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20429         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20430         (gst_pad_send_event), (gst_pad_start_task):
20431         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
20432         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20433         (gst_queue_sink_activate), (gst_queue_src_activate),
20434         (gst_queue_change_state):
20435         * gst/gstqueue.h:
20436         Fix state changes for non sinks. We now change sinks, then elements
20437         with unconnected srcpads, then the rest.
20438         More efficient queue unlocking in flush and state changes.
20439         Set the pad activate mode even if it does not have an activate
20440         function.
20441
20442 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20443
20444         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
20445           Don't go in pull mode for non-seekable sources.
20446         * gst/elements/gsttypefindelement.h:
20447         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
20448         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
20449         (free_entry), (stop_typefinding),
20450         (gst_type_find_element_handle_event), (find_peek),
20451         (gst_type_find_element_chain), (do_pull_typefind),
20452         (gst_type_find_element_change_state):
20453           Allow typefinding (w/o seeking) in push-mode, simplified version
20454           of what was in 0.8.
20455         * gst/gstutils.c: (gst_buffer_join):
20456         * gst/gstutils.h:
20457           gst_buffer_join() from 0.8.
20458
20459 2005-05-25  Wim Taymans  <wim@fluendo.com>
20460
20461         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20462         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20463         (gst_pad_send_event), (gst_pad_start_task):
20464         Disable attempt at mode switching until it is figured out.
20465
20466 2005-05-25  Wim Taymans  <wim@fluendo.com>
20467
20468         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
20469         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20470         (gst_basesink_finish_preroll), (gst_basesink_chain),
20471         (gst_basesink_loop), (gst_basesink_activate),
20472         (gst_basesink_change_state):
20473         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
20474         (gst_basesrc_get_range), (gst_basesrc_loop),
20475         (gst_basesrc_activate):
20476         * gst/elements/gsttee.c: (gst_tee_sink_activate):
20477         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20478         (gst_real_pad_init), (gst_real_pad_set_property),
20479         (gst_real_pad_get_property), (gst_pad_set_active),
20480         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
20481         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
20482         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
20483         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
20484         (gst_pad_event_default_dispatch), (gst_pad_event_default),
20485         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
20486         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
20487         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20488         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
20489         (gst_pad_stop_task):
20490         * gst/gstpad.h:
20491         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20492         (gst_queue_loop), (gst_queue_src_activate):
20493         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
20494         (gst_task_get_state):
20495         * gst/gsttask.h:
20496         * gst/schedulers/threadscheduler.c:
20497         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
20498         Implement gst_pad_pause/start/stop_task(), take STREAM lock
20499         in task function.
20500         Remove ACTIVE pad flag, use FLUSHING everywhere
20501         Added _pad_chain(), _pad_get_range() to call chain/getrange 
20502         functions.
20503         Add locks around IS_FLUSHING when reading.
20504         Take STREAM lock in chain(), get_range() functions so plugins
20505         don't need to take it anymore.
20506         
20507
20508
20509 2005-05-25  Wim Taymans  <wim@fluendo.com>
20510
20511         * tools/gst-launch.c: (event_loop):
20512         Unref message after using its contents instead of
20513         before.
20514
20515 2005-05-24  Wim Taymans  <wim@fluendo.com>
20516
20517         * docs/design/draft-ghostpads.txt:
20518         * docs/design/draft-push-pull.txt:
20519         * docs/design/draft-query.txt:
20520         * docs/design/part-overview.txt:
20521         Docs updates, added general overview doc.
20522
20523 2005-05-21  David Schleef  <ds@schleef.org>
20524
20525         * docs/gst/tmpl/old/GstBin.sgml:
20526         * docs/gst/tmpl/old/GstBuffer.sgml:
20527         * docs/gst/tmpl/old/GstCaps.sgml:
20528         * docs/gst/tmpl/old/GstClock.sgml:
20529         * docs/gst/tmpl/old/GstCompat.sgml:
20530         * docs/gst/tmpl/old/GstData.sgml:
20531         * docs/gst/tmpl/old/GstElement.sgml:
20532         * docs/gst/tmpl/old/GstEvent.sgml:
20533         * docs/gst/tmpl/old/GstIndex.sgml:
20534         * docs/gst/tmpl/old/GstStructure.sgml:
20535         * docs/gst/tmpl/old/GstTag.sgml:
20536         * docs/gst/tmpl/old/cothreads.sgml:
20537         * docs/gst/tmpl/old/cothreads_compat.sgml:
20538         * docs/gst/tmpl/old/gettext.sgml:
20539         * docs/gst/tmpl/old/gobject2gtk.sgml:
20540         * docs/gst/tmpl/old/grammar.tab.sgml:
20541         * docs/gst/tmpl/old/gst-i18n-app.sgml:
20542         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
20543         * docs/gst/tmpl/old/gst_private.sgml:
20544         * docs/gst/tmpl/old/gstaggregator.sgml:
20545         * docs/gst/tmpl/old/gstarch.sgml:
20546         * docs/gst/tmpl/old/gstatomic_impl.sgml:
20547         * docs/gst/tmpl/old/gstbufferstore.sgml:
20548         * docs/gst/tmpl/old/gstdata_private.sgml:
20549         * docs/gst/tmpl/old/gstdisksink.sgml:
20550         * docs/gst/tmpl/old/gstdisksrc.sgml:
20551         * docs/gst/tmpl/old/gstelementfactory.sgml:
20552         * docs/gst/tmpl/old/gstextratypes.sgml:
20553         * docs/gst/tmpl/old/gstfakesink.sgml:
20554         * docs/gst/tmpl/old/gstfakesrc.sgml:
20555         * docs/gst/tmpl/old/gstfdsink.sgml:
20556         * docs/gst/tmpl/old/gstfdsrc.sgml:
20557         * docs/gst/tmpl/old/gstfilesink.sgml:
20558         * docs/gst/tmpl/old/gstfilesrc.sgml:
20559         * docs/gst/tmpl/old/gsthttpsrc.sgml:
20560         * docs/gst/tmpl/old/gstidentity.sgml:
20561         * docs/gst/tmpl/old/gstindexfactory.sgml:
20562         * docs/gst/tmpl/old/gstmarshal.sgml:
20563         * docs/gst/tmpl/old/gstmd5sink.sgml:
20564         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
20565         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
20566         * docs/gst/tmpl/old/gstpadtemplate.sgml:
20567         * docs/gst/tmpl/old/gstpipefilter.sgml:
20568         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
20569         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
20570         * docs/gst/tmpl/old/gstshaper.sgml:
20571         * docs/gst/tmpl/old/gstspider.sgml:
20572         * docs/gst/tmpl/old/gstspideridentity.sgml:
20573         * docs/gst/tmpl/old/gststatistics.sgml:
20574         * docs/gst/tmpl/old/gsttee.sgml:
20575         * docs/gst/tmpl/old/gsttimecache.sgml:
20576         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
20577         * docs/gst/tmpl/old/gstxmlregistry.sgml:
20578         * docs/gst/tmpl/old/gthread-cothreads.sgml:
20579         * docs/gst/tmpl/old/types.sgml:
20580           I didn't intend to add these or check them in.
20581
20582 2005-05-19  David Schleef  <ds@schleef.org>
20583
20584         * configure.ac: Use -no-common everywhere.  In a sane world, it
20585           would be the default in libtool, because without it, you can't
20586           build DLLs on Windows.
20587         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
20588         * docs/gst/gstreamer-sections.txt:
20589         * docs/gst/tmpl/gstcpu.sgml:
20590         * docs/gst/tmpl/gstdata.sgml:
20591         * docs/gst/tmpl/gstthread.sgml:
20592
20593 2005-05-19  David Schleef  <ds@schleef.org>
20594
20595         * gst/gstminiobject.c: (gst_value_set_mini_object),
20596         (gst_value_take_mini_object), (gst_value_get_mini_object):
20597         * gst/gstminiobject.h: Add GValue set/get functions.
20598
20599 2005-05-19  Wim Taymans  <wim@fluendo.com>
20600
20601         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
20602         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
20603         (gst_subbuffer_init), (gst_buffer_is_span_fast):
20604         * gst/gstbuffer.h:
20605         * gst/gstbus.c: (gst_bus_post):
20606         * gst/gstelement.c: (gst_element_get_random_pad):
20607         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
20608         Make subbufer unref the parent in finalize.
20609         some more debugging info.
20610
20611
20612 2005-05-19  Wim Taymans  <wim@fluendo.com>
20613
20614         * gst/base/gstbasesink.c: (gst_basesink_class_init),
20615         (gst_basesink_init), (gst_basesink_finalize),
20616         (gst_basesink_activate), (gst_basesink_change_state):
20617         Don't free preroll queue too early.
20618
20619 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20620
20621         * gst/Makefile.am:
20622         * gst/ROADMAP:
20623           Hi, I'm outdated. Please shoot me.
20624
20625 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20626
20627         * gst/gstpipeline.c: (gst_pipeline_send_event):
20628           Do not access variables after they have been deleted.
20629
20630 2005-05-19  Wim Taymans  <wim@fluendo.com>
20631
20632         * tools/gst-inspect.c: (print_plugin_features):
20633         A plugin feature does unfortunatly not use the
20634         object name yet...
20635
20636 2005-05-18  Wim Taymans  <wim@fluendo.com>
20637
20638         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
20639         Port _span() functions to new subbuffers.
20640
20641 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20642
20643         * gst/gstbin.c: (gst_bin_add_func):
20644           Fix clock settery in bins when adding kids after the clock has
20645           been selected.
20646
20647 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20648
20649         * gst/elements/gstidentity.c: (gst_identity_class_init):
20650           Workaround until signals support GstMiniObject.
20651
20652 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
20653
20654         * gst/gstbuffer.c:
20655         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
20656
20657 2005-05-18  Wim Taymans  <wim@fluendo.com>
20658
20659         * gst/base/Makefile.am:
20660         * gst/base/gstadapter.c: (gst_adapter_base_init),
20661         (gst_adapter_class_init), (gst_adapter_init),
20662         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
20663         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
20664         (gst_adapter_flush), (gst_adapter_available),
20665         (gst_adapter_available_fast):
20666         * gst/base/gstadapter.h:
20667         Ported and added adapter to the base classes.
20668
20669 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
20670
20671         * gst/gst.c:
20672         * gst/gstmessage.c:
20673           Make sure the class is reffed/unreffed once before threads can be
20674           used.  Fixes #304551.
20675
20676 2005-05-17  Wim Taymans  <wim@fluendo.com>
20677
20678         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
20679         (gst_basesink_chain_unlocked), (gst_basesink_activate):
20680         * gst/gstminiobject.c: (gst_mini_object_get_type),
20681         (gst_mini_object_free):
20682         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
20683         (gst_pad_push), (gst_pad_push_event):
20684         * gst/gstqueue.c: (gst_queue_change_state):
20685         Don't queue buffers in basesink when we are flushing.
20686         Unref buffer when flushing in basesink.
20687         Flush queue when going to READY
20688         Unref buffer when _push() returns an error.
20689         Don't free MiniObject instance when refcount is incremented
20690         in _finalize() so that we can recover objects.
20691
20692 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20693
20694         * docs/manual/advanced-schedulers.xml:
20695         * docs/manual/appendix-checklist.xml:
20696         * docs/pwg/advanced-clock.xml:
20697         * docs/pwg/advanced-interfaces.xml:
20698         * docs/pwg/advanced-request.xml:
20699         * docs/pwg/advanced-types.xml:
20700         * docs/pwg/intro-preface.xml:
20701         * examples/plugins/example.c: (gst_example_get_type),
20702         (gst_example_class_init), (gst_example_chain),
20703         (gst_example_set_property), (gst_example_get_property),
20704         (gst_example_change_state), (plugin_init):
20705         * examples/plugins/example.h:
20706           small doc fixes
20707
20708 2005-05-17  Wim Taymans  <wim@fluendo.com>
20709
20710         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
20711         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
20712         * gst/gstqueue.c: (gst_queue_change_state):
20713         Clear queue when going to READY.
20714         Remove IN_SETCAPS flag too.
20715
20716 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
20717
20718         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
20719           Remove implicit cast from gboolean to GstElementStateReturn;
20720           make sure we still return failure in paused => ready case if
20721           the parent class fails to change state and our own stop 
20722           vfunc succeeds.
20723
20724 2005-05-17  Wim Taymans  <wim@fluendo.com>
20725
20726         * tools/gst-launch.c: (event_loop):
20727         Message was unreffed too soon.
20728
20729 2005-05-16  Andy Wingo  <wingo@pobox.com>
20730
20731         * gst/gstbin.c (sink_iterator_filter): Err... um...
20732
20733         * check/gst/gstbin.c (test_ghost_pads): New test for the
20734         ghosting-if-elements-not-in-same-bin behavior.
20735
20736 2005-05-16  David Schleef  <ds@schleef.org>
20737
20738         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
20739         accessing refcount directly.
20740
20741 2005-05-15  David Schleef  <ds@schleef.org>
20742
20743         * check/Makefile.am: remove GstData checks
20744         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
20745         * gst/Makefile.am: add miniobject, remove data
20746         * gst/gst.h: add miniobject, remove data
20747         * gst/gstdata.c: remove
20748         * gst/gstdata.h: remove
20749         * gst/gstdata_private.h: remove
20750         * gst/gsttypes.h: remove GstEvent and GstMessage
20751         * gst/gstelement.c: (gst_element_post_message): fix for API changes
20752         * gst/gstmarshal.list: change BOXED -> OBJECT
20753
20754         Implement GstMiniObject.
20755         * gst/gstminiobject.c:
20756         * gst/gstminiobject.h:
20757
20758         Modify to be subclasses of GstMiniObject.
20759         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
20760         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
20761         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
20762         (gst_subbuffer_get_type), (gst_subbuffer_init),
20763         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
20764         (gst_buffer_span):
20765         * gst/gstbuffer.h:
20766         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
20767         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
20768         (_gst_event_copy), (gst_event_new):
20769         * gst/gstevent.h:
20770         * gst/gstmessage.c: (_gst_message_initialize),
20771         (gst_message_get_type), (gst_message_class_init),
20772         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
20773         (gst_message_new), (gst_message_new_error),
20774         (gst_message_new_warning), (gst_message_new_tag),
20775         (gst_message_new_state_changed), (gst_message_new_application):
20776         * gst/gstmessage.h:
20777         * gst/gstprobe.c: (gst_probe_perform),
20778         (gst_probe_dispatcher_dispatch):
20779         * gst/gstprobe.h:
20780         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
20781         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
20782         (_gst_query_copy), (gst_query_new):
20783
20784         Update elements for GstData -> GstMiniObject changes
20785         * gst/gstquery.h:
20786         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
20787         (gst_queue_chain), (gst_queue_loop):
20788         * gst/elements/gstbufferstore.c:
20789         (gst_buffer_store_add_buffer_func),
20790         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
20791         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
20792         (gst_fakesink_render):
20793         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
20794         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
20795         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
20796         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
20797         (gst_filesrc_create_read):
20798         * gst/elements/gstidentity.c: (gst_identity_class_init):
20799         * gst/elements/gsttypefindelement.c:
20800         (gst_type_find_element_src_event), (free_entry_buffers),
20801         (gst_type_find_element_handle_event):
20802         * libs/gst/dataprotocol/dataprotocol.c:
20803         (gst_dp_header_from_buffer):
20804         * libs/gst/dataprotocol/dataprotocol.h:
20805         * libs/gst/dataprotocol/dp-private.h:
20806
20807 2005-05-15  David Schleef  <ds@schleef.org>
20808
20809         * gst/elements/gstelements.c: Don't include headers that were
20810         just removed.
20811
20812 2005-05-15  David Schleef  <ds@schleef.org>
20813
20814         * gst/elements/Makefile.am: Remove some elements that don't
20815         need to be in the core (or even exist at all).
20816         * gst/elements/gstaggregator.c:
20817         * gst/elements/gstaggregator.h:
20818         * gst/elements/gstmd5sink.c:
20819         * gst/elements/gstmd5sink.h:
20820         * gst/elements/gstmultifilesrc.c:
20821         * gst/elements/gstmultifilesrc.h:
20822         * gst/elements/gstpipefilter.c:
20823         * gst/elements/gstpipefilter.h:
20824         * gst/elements/gstshaper.c:
20825         * gst/elements/gstshaper.h:
20826         * gst/elements/gststatistics.c:
20827         * gst/elements/gststatistics.h:
20828         * po/POTFILES.in: Remove above files.
20829
20830 2005-05-14  Andy Wingo  <wingo@pobox.com>
20831
20832         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
20833         so as to get the refs right.
20834         (sink_iterator_filter): New function, wraps bin_element_is_sink,
20835         unreffing objects that don't pass the filter.
20836
20837         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
20838         gst_element_set_bus.
20839         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
20840         normal cases, this will destroy the bus.
20841
20842         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
20843         object.
20844
20845         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
20846         has no sinks.
20847
20848 2005-05-13  Andy Wingo  <wingo@pobox.com>
20849
20850         * gst/gstutils.c (gst_element_link_pads): Instead of calling
20851         gst_pad_link, call pad_link_maybe_ghosting,
20852         (pad_link_maybe_ghosting): Links pads, making sure that the
20853         elements being linked are in the same bin.
20854         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
20855         Helpers for pad_link_maybe_ghosting.
20856
20857 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
20858
20859         * configure.ac:
20860           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
20861
20862 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
20863
20864         * docs/design/part-element-source.txt:
20865           Mention GstPushSrc
20866
20867 2005-05-12  Wim Taymans  <wim@fluendo.com>
20868
20869         * gst/base/gstbasesink.c: (gst_basesink_init),
20870         (gst_basesink_activate):
20871         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
20872         (gst_basesrc_is_seekable):
20873         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20874         (bin_element_is_sink), (gst_bin_change_state):
20875         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
20876         * gst/gstelement.h:
20877         Identify sinks by their flag to avoid overly complicated
20878         checks (fow now).
20879         Do state changes even for elements not reachable from the
20880         sinks.
20881         BaseSink is a sink now :)
20882         Some more debugging info in the basesrc.
20883
20884
20885 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20886
20887         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
20888           Implement _query on a bin, similar to _send_event.
20889
20890 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
20891
20892         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
20893           Discont event offset format should be GST_FORMAT_BYTES,
20894           not GST_FORMAT_TIME.
20895
20896 2005-05-12  Wim Taymans  <wim@fluendo.com>
20897
20898         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
20899         Same fix as Ronald's but without the signal. 
20900
20901 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20902
20903         * gst/gstutils.c: (gst_element_query_position):
20904           No, an element is not a pad.
20905
20906 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20907
20908         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
20909         (gst_bin_get_state):
20910           If a child is removed from a bin while we remove the child from
20911           the bin and while we're retrieving its state, signal this to the
20912           get_state function so we abort the wait (instead of waiting for
20913           a timeout) and can immediately re-iterate over all other elements.
20914
20915 2005-05-12  Wim Taymans  <wim@fluendo.com>
20916
20917         * gst/base/Makefile.am:
20918         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
20919         (gst_basesrc_start):
20920         * gst/base/gstbasesrc.h:
20921         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
20922         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
20923         (gst_pushsrc_init), (gst_pushsrc_create):
20924         * gst/base/gstpushsrc.h:
20925         Added is_seekable to BaseSrc
20926         Added simple PushSrc.
20927
20928 2005-05-11  Wim Taymans  <wim@fluendo.com>
20929
20930         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
20931         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
20932         (gst_element_link_pads), (gst_element_query_position),
20933         (gst_element_query_convert), (intersect_caps_func),
20934         (gst_pad_query_position), (gst_pad_query_convert):
20935         Fix refcounting in utils function.
20936         No point in trying to activate a pad when it's added, it could
20937         be added from the state change function and then we deadlock, the
20938         element has to decide what to do.
20939
20940 2005-05-10  Andy Wingo  <wingo@pobox.com>
20941
20942         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
20943         *all* the arguments.
20944
20945         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
20946         stream lock if it's a FLUSH_DONE; normal flushes don't get the
20947         lock (according to the docs -- if this is wrong change the docs).
20948
20949         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
20950         flush messages in the NULL state.
20951
20952         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
20953         message immediately and return.
20954         (gst_bus_set_flushing): New function. If a bus is flushing, it
20955         flushes out any queued messages and immediately unrefs new
20956         messages. This is so when an element goes to NULL, all of the
20957         unhandled messages coming from it can be freed, and their
20958         references to the element dropped. In other words: message source
20959         ref considered harmful :P
20960
20961         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
20962         we're finished with it.
20963
20964         * gst/gstmessage.c (gst_message_new_state_changed): 
20965
20966 2005-05-10  Wim Taymans  <wim@fluendo.com>
20967
20968         * gst/gstvalue.c: (gst_value_compare_flags),
20969         (gst_value_serialize_flags), (gst_value_deserialize_flags),
20970         (_gst_value_initialize):
20971         Added flags serialize/deserialize/compare code.
20972
20973 2005-05-09  Andy Wingo  <wingo@pobox.com>
20974
20975         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
20976         Intersect the peer's caps with our caps.
20977
20978 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20979
20980         * gst/base/gsttypefindhelper.c: (helper_find_peek):
20981         * gst/elements/gsttypefindelement.c: (find_peek):
20982           Handle negative offsets better. Fixes decodebin.
20983
20984 2005-05-09  Wim Taymans  <wim@fluendo.com>
20985
20986         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
20987         (gst_base_transform_event):
20988         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
20989         Implement accept_caps.
20990         Fix silly lock/unlock mismatch in base class.
20991
20992 2005-05-09  Wim Taymans  <wim@fluendo.com>
20993
20994         * docs/design/draft-push-pull.txt:
20995         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
20996         * gst/elements/gstfilesink.c: (gst_filesink_init),
20997         (gst_filesink_query):
20998         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
20999         (gst_type_find_handle_src_query), (find_element_get_length):
21000         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
21001         * gst/gstelement.h:
21002         * gst/gstmessage.c:
21003         * gst/gstmessage.h:
21004         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
21005         (gst_real_pad_get_caps_unlocked),
21006         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
21007         (gst_pad_event_default_dispatch), (gst_pad_event_default),
21008         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
21009         (gst_real_pad_dispose), (gst_real_pad_finalize),
21010         (gst_pad_load_and_link), (gst_pad_save_thyself),
21011         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
21012         (gst_pad_check_pull_range), (gst_pad_pull_range),
21013         (gst_pad_template_get_type), (gst_pad_template_class_init),
21014         (gst_pad_template_init), (gst_pad_template_dispose),
21015         (name_is_valid), (gst_static_pad_template_get),
21016         (gst_pad_template_new), (gst_static_pad_template_get_caps),
21017         (gst_pad_template_get_caps), (gst_pad_set_element_private),
21018         (gst_pad_get_element_private), (gst_pad_start_task),
21019         (gst_pad_pause_task), (gst_pad_stop_task),
21020         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
21021         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
21022         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
21023         (gst_ghost_pad_new):
21024         * gst/gstpad.h:
21025         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
21026         (gst_query_new_position), (gst_query_set_position),
21027         (gst_query_parse_position), (gst_query_new_convert),
21028         (gst_query_set_convert), (gst_query_parse_convert):
21029         * gst/gstquery.h:
21030         * gst/gstqueryutils.c:
21031         * gst/gstqueryutils.h:
21032         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21033         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21034         (gst_queue_handle_src_query):
21035         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21036         (gst_element_query_position), (gst_element_query_convert),
21037         (intersect_caps_func), (gst_pad_query_position),
21038         (gst_pad_query_convert):
21039         * gst/gstutils.h:
21040         * tools/gst-inspect.c: (print_pad_info):
21041         * tools/gst-xmlinspect.c: (print_element_info):
21042         Remove old query functions. Ported old code.
21043         Added position/convert helper functions to gstutils.
21044         Reordered gstpad.c code, grouping relevant things.
21045         Remove gst_message_new(), always need to speficy a specific
21046         message.
21047
21048
21049 2005-05-09  Andy Wingo  <wingo@pobox.com>
21050
21051         * gst/gstiterator.h: Add some includes.
21052
21053         * gst/gstqueryutils.h: Include more headers.
21054
21055         * gst/gstpad.h:
21056         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
21057         some uses of gst_pad_query.
21058
21059         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
21060         NULL out parameters.
21061         (gst_query_new_position): New proc, allocates a new position
21062         query.
21063
21064         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
21065         gstqueryutils.c to the build.
21066
21067         * gst/gststructure.c (gst_structure_set_valist): Implement with
21068         the generic G_VALUE_COLLECT.
21069         
21070 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
21071
21072         * gst/Makefile.am: (gst_headers):
21073         Added gstqueryutils.h to the list of headers to install, that was
21074         a 'nachty' move wingo :)
21075
21076 2005-05-06  Andy Wingo  <wingo@pobox.com>
21077
21078         * gst/gstquery.h
21079         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
21080         GstData, init a memchunk.
21081         (standard_definitions): Add a few query types, deprecate a few.
21082         (gst_query_get_type): New proc.
21083         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
21084         implementation.
21085         (gst_query_new_application, gst_query_get_structure): New public
21086         procs.
21087
21088         * docs/design/draft-query.txt: Removed LINKS from the query types,
21089         because all the rest can be dispatched to other pads -- seemed
21090         ugly to have a query that couldn't be dispatched. internal_links
21091         is fine as a pad method.
21092
21093         * gst/gstpad.h: Add query2 as a pad method, add the new functions
21094         in gstpad.c, but maintain binary compatibility for the moment.
21095         Will fix before 0.9 is out.
21096
21097         * gst/gstqueryutils.c: 
21098         * gst/gstqueryutils.h: New files, implement 3 methods for each
21099         query type: parse_query, parse_response, and set. Probably need an
21100         allocator as well.
21101
21102         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
21103
21104         * gst/elements/gstfilesink.c (gst_filesink_query2):
21105         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
21106         query_types, and formats methods.
21107
21108         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
21109         (gst_pad_set_query2_function): New functions.
21110         (gst_real_pad_init): Set query2_default as the default query2
21111         function. Basically just dispatches to internally linked pads.
21112
21113         Needs review!
21114         
21115         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
21116         without using the atomic operations. Only one thread can possibly
21117         be accessing the data at this point. Changed so as to avoid
21118         gst_atomic operations.
21119
21120 2005-05-06  Wim Taymans  <wim@fluendo.com>
21121
21122         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
21123         Also set caps if we use the fallback buffer alloc.
21124
21125 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
21126
21127         * docs/gst/Makefile.am:
21128         * docs/gst/gstreamer-docs.sgml:
21129         * docs/gst/gstreamer-sections.txt:
21130         * docs/gst/tmpl/gstatomic.sgml:
21131         * docs/gst/tmpl/gstmemchunk.sgml:
21132         * testsuite/elements/struct_i386.h:
21133         * win32/GStreamer.vcproj:
21134         * win32/Makefile:
21135           Purge GstAtomic stuff from docs and win32 makefiles as well
21136
21137 2005-05-06  Wim Taymans  <wim@fluendo.com>
21138
21139         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
21140         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
21141         * gst/gstpad.c: (gst_pad_peer_get_caps):
21142         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21143         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21144         (gst_queue_src_activate), (gst_queue_change_state):
21145         * gst/gstqueue.h:
21146         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21147         (intersect_caps_func):
21148         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
21149         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
21150         Some fixes for the peer_get_caps() change.
21151
21152 2005-05-06  Wim Taymans  <wim@fluendo.com>
21153
21154         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21155         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
21156         (gst_basesink_activate):
21157         Actually do something with error codes returned from the push
21158         functions.
21159
21160 2005-05-06  Wim Taymans  <wim@fluendo.com>
21161
21162         * docs/design/part-element-sink.txt:
21163         * docs/design/part-element-source.txt:
21164         * gst/base/gstbasesink.c: (gst_basesink_class_init),
21165         (gst_basesink_event), (gst_basesink_activate):
21166         * gst/base/gstbasesink.h:
21167         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
21168         (gst_basesrc_activate):
21169         * gst/base/gstbasesrc.h:
21170         * gst/gstelement.c: (gst_element_pads_activate):
21171         Some more documentation.
21172         Fixed scheduling decision in _pads_activate().
21173
21174 2005-05-05  Andy Wingo  <wingo@pobox.com>
21175
21176         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
21177         the test suite.
21178
21179 2005-05-05  Wim Taymans  <wim@fluendo.com>
21180
21181         * gst/base/Makefile.am:
21182         * gst/base/gstbasesink.h:
21183         * gst/base/gstbasesrc.c: (gst_basesrc_init),
21184         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
21185         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
21186         (gst_collectpads_class_init), (gst_collectpads_init),
21187         (gst_collectpads_finalize), (gst_collectpads_new),
21188         (gst_collectpads_set_function), (gst_collectpads_add_pad),
21189         (find_pad), (gst_collectpads_remove_pad),
21190         (gst_collectpads_is_active), (gst_collectpads_collect),
21191         (gst_collectpads_collect_range), (gst_collectpads_start),
21192         (gst_collectpads_stop), (gst_collectpads_peek),
21193         (gst_collectpads_pop), (gst_collectpads_available),
21194         (gst_collectpads_read), (gst_collectpads_flush),
21195         (gst_collectpads_chain):
21196         * gst/base/gstcollectpads.h:
21197         * gst/elements/Makefile.am:
21198         * gst/elements/gstelements.c:
21199         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21200         (gst_fakesink_get_times), (gst_fakesink_event),
21201         (gst_fakesink_preroll), (gst_fakesink_render):
21202         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21203         (gst_filesink_init), (gst_filesink_set_location),
21204         (gst_filesink_open_file), (gst_filesink_close_file),
21205         (gst_filesink_pad_query), (gst_filesink_event),
21206         (gst_filesink_render), (gst_filesink_change_state):
21207         * gst/elements/gstfilesink.h:
21208         Added object to help in making collect pad based elements.
21209         Ported filesink.
21210         Make event function in sink baseclass return gboolean.
21211
21212 2005-05-05  Wim Taymans  <wim@fluendo.com>
21213
21214         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
21215         (gst_bin_get_by_name):
21216         * gst/gstbuffer.h:
21217         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
21218         (gst_clock_finalize):
21219         * gst/gstdata.c: (gst_data_replace):
21220         * gst/gstdata.h:
21221         * gst/gstelement.c: (gst_element_request_pad),
21222         (gst_element_pads_activate):
21223         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
21224         (gst_object_unref):
21225         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21226         (gst_pad_set_checkgetrange_function),
21227         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
21228         (gst_pad_check_pull_range), (gst_pad_pull_range),
21229         (gst_static_pad_template_get_caps), (gst_pad_start_task),
21230         (gst_pad_pause_task), (gst_pad_stop_task):
21231         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21232         (gst_element_request_pad), (gst_pad_proxy_getcaps):
21233         Fix name lookup in GstBin.
21234         Added _data_replace() function and _buffer_replace()
21235         Use finalize method to clean up clock.
21236         Fix refcounting on request pads.
21237         Fix pad schedule mode error.
21238         Some more object refcounting debug info,
21239
21240
21241 2005-05-04  Andy Wingo <wingo@pobox.com>
21242
21243         * check/Makefile.am:
21244         * docs/gst/tmpl/gstatomic.sgml:
21245         * docs/gst/tmpl/gstplugin.sgml:
21246         * gst/base/gstbasesink.c: (gst_basesink_activate):
21247         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
21248         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
21249         (gst_basesrc_query), (gst_basesrc_set_property),
21250         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
21251         (gst_basesrc_activate):
21252         * gst/base/gstbasesrc.h:
21253         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
21254         (gst_base_transform_src_activate):
21255         * gst/elements/gstelements.c:
21256         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21257         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21258         * gst/elements/gsttee.c: (gst_tee_sink_activate):
21259         * gst/elements/gsttypefindelement.c: (find_element_get_length),
21260         (gst_type_find_element_checkgetrange),
21261         (gst_type_find_element_activate):
21262         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
21263         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
21264         (gst_caps_load_thyself):
21265         * gst/gstelement.c: (gst_element_pads_activate),
21266         (gst_element_save_thyself), (gst_element_restore_thyself):
21267         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
21268         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
21269         * gst/gstpad.h:
21270         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
21271         (gst_xml_parse_file), (gst_xml_parse_memory),
21272         (gst_xml_get_element), (gst_xml_make_element):
21273         * gst/indexers/gstfileindex.c: (gst_file_index_load),
21274         (_file_index_id_save_xml), (gst_file_index_commit):
21275         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
21276         (read_enum), (load_pad_template), (load_feature), (load_plugin),
21277         (load_paths):
21278         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
21279         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
21280         * tools/gst-complete.c: (main):
21281         * tools/gst-compprep.c: (main):
21282         * tools/gst-inspect.c: (print_element_properties_info):
21283         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
21284         * tools/gst-xmlinspect.c: (print_element_properties):
21285         GCC 4 fixen.
21286         
21287 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21288
21289         * gst/gstplugin.c: (gst_plugin_check_module),
21290         (gst_plugin_check_file), (gst_plugin_load_file):
21291             apply patch from #172526 to make register work on MacOSX
21292
21293 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21294
21295         * docs/gst/tmpl/gstconfig.sgml:
21296         * gst/gstconfig.h.in:
21297           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
21298         * testsuite/debug/printf_extension.c: (main):
21299           Do not use GST_PTR_FORMAT on pointers to types with
21300           sizeof < sizeof(gpointer).  Fixes test on 64-bit
21301         * testsuite/elements/property.h:
21302           use correct printf format
21303
21304 2005-05-02  Wim Taymans  <wim@fluendo.com>
21305
21306         * docs/design/draft-push-pull.txt:
21307         * docs/design/draft-query.txt:
21308         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
21309         (gst_basesrc_start):
21310         Added draft for new query API.
21311         Added draft for better selecting scheduling methods.
21312         Make basesrc ignore length if the subclass does not support
21313         it.
21314
21315 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21316
21317         * gst/Makefile.am:
21318           possible fixes for automake-1.5 - _LIBADD is reserved
21319
21320 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21321
21322         * docs/faq/Makefile.am:
21323         * docs/manual/Makefile.am:
21324         * docs/manuals.mak:
21325         * docs/pwg/Makefile.am:
21326         * gst/Makefile.am:
21327           possible fixes for automake-1.5
21328
21329 2005-04-28  Wim Taymans  <wim@fluendo.com>
21330
21331         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21332         (gst_basesink_pad_getcaps), (gst_basesink_init),
21333         (gst_basesink_do_sync):
21334         * gst/gstclock.c: (gst_clock_entry_new):
21335         * gst/gstevent.c: (gst_event_discont_get_value):
21336         * gst/gstpipeline.c: (pipeline_bus_handler),
21337         (gst_pipeline_change_state):
21338         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
21339         Better debugging of clocking info.
21340         Allow NULL values when getting discont values.
21341
21342 2005-04-27  Wim Taymans  <wim@fluendo.com>
21343
21344         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
21345         * check/gst/gstpad.c: (gst_pad_suite):
21346         Increase timeout for checks.
21347
21348 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
21349
21350         * check/Makefile.am:
21351           fix the broken rule for cleanup.  Apparently this rule is
21352           only needed on FC2, so maybe this warrants further autotool
21353           inspection.
21354
21355 2005-04-26  Wim Taymans  <wim@fluendo.com>
21356
21357         * gst/gsttrashstack.h:
21358         Ooohh. a nasty one! After having a failed pop() from the stack,
21359         it's possible that the stack is empty. In that case, don't
21360         follow the NULL pointer.
21361
21362 2005-04-25  Wim Taymans  <wim@fluendo.com>
21363
21364         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21365         (gst_pad_set_checkgetrange_function),
21366         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
21367         (gst_pad_check_pull_range), (gst_pad_pull_range),
21368         (gst_static_pad_template_get_caps), (gst_pad_start_task),
21369         (gst_pad_pause_task), (gst_pad_stop_task):
21370         * gst/gstplugin.c: (gst_plugin_load):
21371         * gst/gstplugin.h:
21372         Remove gst_library_load as it does more harm than good with
21373         the new g_module flags.
21374         Revert bogus caps template check in pad linking, pad caps
21375         are important when linking not the template, which is more
21376         general than the current caps.
21377
21378 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21379
21380         * gst/autoplug/.cvsignore:
21381         * gst/autoplug/Makefile.am:
21382         * gst/autoplug/gstsearchfuncs.c:
21383         * gst/autoplug/gstsearchfuncs.h:
21384         * gst/autoplug/gstspider.c:
21385         * gst/autoplug/gstspider.h:
21386         * gst/autoplug/gstspideridentity.c:
21387         * gst/autoplug/gstspideridentity.h:
21388         * gst/autoplug/spidertest.c:
21389           Die, spider, die.
21390
21391 2005-04-25  Wim Taymans  <wim@fluendo.com>
21392
21393         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21394         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21395         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
21396         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
21397         * gst/gstpad.h:
21398         Added stubs for unimplemented functions. 
21399
21400 2005-04-24  David Schleef  <ds@schleef.org>
21401
21402         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
21403         please fix.
21404
21405 2005-04-24  David Schleef  <ds@schleef.org>
21406
21407         Convert everything from GstAtomicInt to g_atomic_int_*, and
21408         remove gstatomic.
21409         * gst/Makefile.am:
21410         * gst/gstatomic.c:
21411         * gst/gstatomic.h:
21412         * gst/gstatomic_impl.h:
21413         * gst/gstbuffer.c:
21414         * gst/gstcaps.c:
21415         * gst/gstcaps.h:
21416         * gst/gstclock.c:
21417         * gst/gstclock.h:
21418         * gst/gstdata.c:
21419         * gst/gstdata.h:
21420         * gst/gstdata_private.h:
21421         * gst/gstevent.c:
21422         * gst/gstinfo.c:
21423         * gst/gstinfo.h:
21424         * gst/gstmessage.c:
21425         * gst/gstobject.c:
21426         * gst/gstobject.h:
21427         * gst/gststructure.c:
21428         * gst/gststructure.h:
21429         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
21430         * gst/gstutils.h:
21431
21432 2005-04-24  David Schleef  <ds@schleef.org>
21433
21434         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
21435         make the regressions tests work.  Remove some code that is no
21436         longer true.
21437         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
21438         Disable warning for pads without templates.
21439
21440 2005-04-24  David Schleef  <ds@schleef.org>
21441
21442         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
21443         functions that handle filtered links.
21444         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
21445         removed functions.
21446         * gst/gstutils.c: Fix/remove utility functions that handle
21447         filtered caps.
21448         * gst/gstutils.h:
21449         * gst/gstvalue.c: Add serialization/deserialization of caps
21450         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
21451         requires fixing so that the filter caps notation creates
21452         a capsfilter element and sets the filter_caps property.  I
21453         think everyone probably wants to keep the shorthand notation.
21454         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
21455         * docs/gst/tmpl/gstpad.sgml:
21456
21457         * gst/elements/gstelements.c: Register capsfilter element.
21458         * gst/Makefile.am: fix spacing
21459         * docs/random/ds/0.9-suggested-changes: random
21460
21461 2005-04-23  David Schleef  <ds@schleef.org>
21462
21463         * gst/elements/Makefile.am:
21464         * gst/elements/gstcapsfilter.c: New element that acts like an
21465         identity, but filters caps.  Will eventually replace filtered
21466         caps in pad linking.
21467         * gst/gstutils.c: (gst_element_create_all_pads): New function
21468         to create all the ALWAYS pads that are registered with an
21469         element class.  This functionality should eventually be
21470         merged in with GstElement initialization.
21471         * gst/gstutils.h:
21472         * testsuite/trigger/README: part of trigger test code that should
21473         have been checked in a long time ago.
21474
21475 2005-04-23  David Schleef  <ds@schleef.org>
21476
21477         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
21478         needed with new versions of libtool (nobody will confirm this),
21479         and hard to carry around.
21480         * gst/autoplug/Makefile.am:
21481         * gst/base/Makefile.am:
21482         * gst/elements/Makefile.am:
21483         * gst/indexers/Makefile.am:
21484         * gst/schedulers/Makefile.am:
21485         * libs/gst/bytestream/Makefile.am:
21486         * libs/gst/control/Makefile.am:
21487         * libs/gst/dataprotocol/Makefile.am:
21488         * libs/gst/getbits/Makefile.am:
21489
21490 2005-04-21  Wim Taymans  <wim@fluendo.com>
21491
21492         * docs/design/draft-push-pull.txt:
21493         * docs/design/part-MT-refcounting.txt:
21494         * docs/design/part-TODO.txt:
21495         * docs/design/part-caps.txt:
21496         * docs/design/part-events.txt:
21497         * docs/design/part-gstbus.txt:
21498         * docs/design/part-gstpipeline.txt:
21499         * docs/design/part-messages.txt:
21500         * docs/design/part-push-pull.txt:
21501         * docs/design/part-query.txt:
21502         Some more docs.
21503
21504 2005-04-21  Wim Taymans  <wim@fluendo.com>
21505
21506         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
21507         (gst_message_new), (gst_message_new_error),
21508         (gst_message_new_warning), (gst_message_new_tag),
21509         (gst_message_new_state_changed), (gst_message_new_application),
21510         (gst_message_get_structure):
21511         * gst/gstmessage.h:
21512         * gst/gststructure.c: (gst_structure_set_parent_refcount),
21513         (gst_structure_copy_conditional):
21514         Use parent refcount in GstMessage to ensure GstStructure
21515         consistency.
21516         Cleaned up headers a bit.
21517         
21518
21519 2005-04-20  Wim Taymans  <wim@fluendo.com>
21520
21521         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21522         (gst_basesink_pad_getcaps), (gst_basesink_init),
21523         (gst_basesink_chain_unlocked):
21524         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
21525         (gst_type_find_helper):
21526         * gst/elements/gsttypefindelement.c:
21527         (gst_type_find_element_have_type), (gst_type_find_element_init),
21528         (stop_typefinding), (gst_type_find_element_handle_event),
21529         (find_suggest), (gst_type_find_element_chain),
21530         (gst_type_find_element_checkgetrange),
21531         (gst_type_find_element_getrange), (do_typefind),
21532         (gst_type_find_element_activate):
21533         * gst/gstbuffer.c: (_gst_buffer_sub_free),
21534         (gst_buffer_default_free), (gst_buffer_default_copy),
21535         (gst_buffer_set_caps):
21536         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
21537         (gst_caps_replace):
21538         * gst/gstmessage.c: (gst_message_new),
21539         (gst_message_new_state_changed):
21540         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21541         (gst_pad_set_checkgetrange_function),
21542         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
21543         (gst_pad_set_caps), (gst_pad_check_pull_range),
21544         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
21545         * gst/gstpad.h:
21546         * gst/gsttypefind.c: (gst_type_find_register):
21547         Make gst_caps_replace() work like other _replace() functions.
21548         Use _caps_replace() where possible.
21549         Make sure _message_new() initialises its field.
21550         Add gst_static_pad_template_get_caps()
21551
21552
21553 2005-04-18  Andy Wingo  <wingo@pobox.com>
21554
21555         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
21556         on the peer, not the pad. I think that was a typo. Pass an extra
21557         arg to see if random access is possible. Activate the pads as
21558         PULL_RANGE if possible.
21559
21560         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
21561
21562         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
21563         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
21564         to PROP_....
21565
21566 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21567
21568         * docs/faq/using.xml:
21569           Add note on gstreamer-properties (#154996).
21570
21571 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21572
21573         * docs/random/bbb/optional-properties:
21574           Some analysis on optional properties.
21575
21576 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21577
21578         * docs/gst/tmpl/gstelementfactory.sgml:
21579         * gst/gstelement.h:
21580         * gst/gstelementfactory.c: (gst_element_factory_init),
21581         (gst_element_factory_cleanup), (gst_element_register),
21582         (__gst_element_factory_add_static_pad_template),
21583         (gst_element_factory_get_static_pad_templates),
21584         (gst_element_factory_can_src_caps),
21585         (gst_element_factory_can_sink_caps):
21586         * gst/registries/Makefile.am:
21587         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
21588         (gst_xml_registry_class_init), (gst_xml_registry_init),
21589         (gst_xml_registry_new), (gst_xml_registry_set_property),
21590         (gst_xml_registry_get_property), (get_time), (make_dir),
21591         (gst_xml_registry_get_perms_func),
21592         (plugin_times_older_than_recurse), (plugin_times_older_than),
21593         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
21594         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
21595         (add_to_char_array), (read_string), (read_uint), (read_enum),
21596         (load_pad_template), (load_feature), (load_plugin), (load_paths),
21597         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
21598         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
21599         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
21600         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
21601         (gst_xml_registry_rebuild):
21602         * gst/registries/gstlibxmlregistry.h:
21603         * tools/gst-compprep.c: (main):
21604         * tools/gst-inspect.c: (print_pad_templates_info):
21605         * tools/gst-xmlinspect.c: (print_element_info):
21606           Use libxml2 for registry parsing, use staticpadtemplates in
21607           elementfactories. Makes gst_init() +/- 10x faster.
21608
21609 2005-04-12  Wim Taymans  <wim@fluendo.com>
21610
21611         * gst/base/Makefile.am:
21612         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21613         (gst_basesink_pad_getcaps), (gst_basesink_init),
21614         (gst_basesink_event), (gst_basesink_change_state):
21615         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21616         (gst_basesrc_init), (gst_basesrc_query),
21617         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21618         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21619         (gst_basesrc_check_get_range), (gst_basesrc_loop),
21620         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21621         (gst_basesrc_stop), (gst_basesrc_activate),
21622         (gst_basesrc_change_state):
21623         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21624         (helper_find_suggest), (gst_type_find_helper):
21625         * gst/base/gsttypefindhelper.h:
21626         * gst/elements/Makefile.am:
21627         * gst/elements/gstelements.c:
21628         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21629         (gst_fakesink_get_times), (gst_fakesink_event),
21630         (gst_fakesink_preroll), (gst_fakesink_render):
21631         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21632         (gst_fakesrc_init), (gst_fakesrc_event_handler),
21633         (gst_fakesrc_get_property), (gst_fakesrc_create),
21634         (gst_fakesrc_start), (gst_fakesrc_stop):
21635         * gst/elements/gstfakesrc.h:
21636         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
21637         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21638         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21639         (gst_filesrc_create_read), (gst_filesrc_create),
21640         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
21641         (gst_filesrc_start):
21642         * gst/elements/gsttypefindelement.c:
21643         (gst_type_find_element_have_type), (gst_type_find_element_init),
21644         (start_typefinding), (stop_typefinding), (push_buffer_store),
21645         (gst_type_find_element_handle_event),
21646         (gst_type_find_element_chain),
21647         (gst_type_find_element_checkgetrange),
21648         (gst_type_find_element_getrange), (do_typefind),
21649         (gst_type_find_element_activate),
21650         (gst_type_find_element_change_state):
21651         * gst/elements/gsttypefindelement.h:
21652         * gst/gstpipeline.c: (pipeline_bus_handler):
21653         Added typefind helper.
21654         Small preroll fix in the base sink.
21655         Disable typefind code in basesrc.
21656         Crude port of typefindelement.
21657         Fakesrc cleanups.
21658
21659
21660 2005-04-11  Wim Taymans  <wim@fluendo.com>
21661
21662         * check/gst/gstbus.c: (gstbus_suite):
21663         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
21664         * check/gstcheck.h:
21665           Fix up the timeout so that the test does not fail.
21666
21667 2005-04-06  Wim Taymans  <wim@fluendo.com>
21668
21669         * gst/base/README:
21670         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21671         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
21672         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
21673         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
21674         (gst_basesrc_check_get_range), (gst_basesrc_loop),
21675         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
21676         (gst_basesrc_stop), (gst_basesrc_activate),
21677         (gst_basesrc_change_state), (basesrc_find_peek),
21678         (basesrc_find_suggest), (gst_basesrc_type_find):
21679         * gst/base/gstbasesrc.h:
21680         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
21681         (gst_filesrc_class_init), (gst_filesrc_init),
21682         (gst_filesrc_finalize), (gst_filesrc_set_location),
21683         (gst_filesrc_set_property), (gst_filesrc_get_property),
21684         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
21685         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
21686         (gst_filesrc_create_read), (gst_filesrc_create),
21687         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
21688         * gst/elements/gstfilesrc.h:
21689         * gst/gstelement.c: (gst_element_get_state_func),
21690         (gst_element_lost_state), (gst_element_pads_activate):
21691         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21692         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21693         (gst_pad_pull_range):
21694         * gst/gstpad.h:
21695         More work on the generic source base class, implement seeking,
21696         query.
21697         Make filesrc extend the base source class.
21698         Added gst_pad_set_checkgetrange_function to GstPad.
21699
21700 2005-04-06  Andy Wingo  <wingo@pobox.com>
21701
21702         * pkgconfig/gstreamer-base.pc.in:
21703         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
21704
21705         * pkgconfig/Makefile.am:
21706         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
21707
21708 2005-04-04  Wim Taymans  <wim@fluendo.com>
21709
21710         * gst/base/Makefile.am:
21711         * gst/base/README:
21712         * gst/base/gstbasesink.c: (gst_basesink_base_init),
21713         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
21714         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
21715         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
21716         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
21717         (gst_basesrc_base_init), (gst_basesrc_class_init),
21718         (gst_basesrc_init), (gst_basesrc_get_formats),
21719         (gst_basesrc_get_query_types), (gst_basesrc_query),
21720         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
21721         (gst_basesrc_set_property), (gst_basesrc_get_property),
21722         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
21723         (gst_basesrc_loop), (gst_basesrc_activate),
21724         (gst_basesrc_change_state):
21725         * gst/base/gstbasesrc.h:
21726         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
21727         (gst_fakesrc_class_init), (gst_fakesrc_init),
21728         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
21729         (gst_fakesrc_get_property), (gst_fakesrc_create):
21730         * gst/elements/gstfakesrc.h:
21731         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
21732         (gst_filesrc_open_file), (gst_filesrc_loop),
21733         (gst_filesrc_activate), (filesrc_find_peek),
21734         (gst_filesrc_type_find):
21735         Made base source class, make fakesrc extend it.
21736         Add comments to basesink class.
21737         Some filesrc cleanup.
21738
21739 2005-03-31  David Schleef  <ds@schleef.org>
21740
21741         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
21742         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
21743         expected to link against libgstreamer.
21744         * gst/base/Makefile.am: link against libgstreamer
21745         * gst/elements/Makefile.am: same
21746
21747 2005-03-31  Andy Wingo  <wingo@pobox.com>
21748
21749         * tests/instantiate/Makefile.am:
21750         * tests/instantiate/caps.c: Add test to test speed of caps copy
21751         and free.
21752
21753         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
21754         GMemChunk to be fair.
21755
21756         * gst/gsttrashstack.h: Remove warning about using the fallback
21757         trash stack implementation, it's still faster than malloc.
21758
21759 2005-03-30  Andy Wingo  <wingo@pobox.com>
21760
21761         * tests/complexity.c: Add a copyright.
21762
21763 2005-03-31  Wim Taymans  <wim@fluendo.com>
21764
21765         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
21766         (gst_base_transform_class_init), (gst_base_transform_init),
21767         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
21768         (gst_base_transform_get_property),
21769         (gst_base_transform_sink_activate),
21770         (gst_base_transform_src_activate),
21771         (gst_base_transform_change_state):
21772         * gst/base/gstbasetransform.h:
21773         * gst/elements/gstidentity.c: (gst_identity_class_init),
21774         (gst_identity_event), (gst_identity_check_perfect),
21775         (gst_identity_transform), (gst_identity_start),
21776         (gst_identity_stop):
21777         Added start/stop methods to transform base class so subclasses 
21778         don't need to deal with state changes even.
21779
21780 2005-03-31  Wim Taymans  <wim@fluendo.com>
21781
21782         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
21783         (gst_event_new_discontinuous), (gst_event_discont_get_value):
21784         * gst/gstevent.h:
21785         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21786         (gst_pad_pull_range):
21787         Added rate to the discont event to prepare for variable speed
21788         and reverse playback.
21789
21790 2005-03-29  David Schleef  <ds@schleef.org>
21791
21792         * configure.ac:
21793         * testsuite/trigger/Makefile.am:
21794         * testsuite/trigger/trigger.c: A little example program to show
21795         how trigger-based elements can work.
21796
21797 2005-03-29  Wim Taymans  <wim@fluendo.com>
21798
21799         * gst/base/Makefile.am:
21800         * gst/base/README:
21801         * gst/base/gstbasesink.c: (gst_basesink_get_type),
21802         (gst_basesink_base_init), (gst_basesink_class_init),
21803         (gst_basesink_pad_getcaps), (gst_basesink_init),
21804         (gst_basesink_activate), (gst_basesink_change_state):
21805         * gst/base/gstbasesink.h:
21806         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
21807         (gst_base_transform_base_init), (gst_base_transform_finalize),
21808         (gst_base_transform_class_init), (gst_base_transform_init),
21809         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
21810         (gst_base_transform_event), (gst_base_transform_getrange),
21811         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
21812         (gst_base_transform_set_property),
21813         (gst_base_transform_get_property),
21814         (gst_base_transform_sink_activate),
21815         (gst_base_transform_src_activate),
21816         (gst_base_transform_change_state):
21817         * gst/base/gstbasetransform.h:
21818         * gst/elements/gstidentity.c: (gst_identity_finalize),
21819         (gst_identity_class_init), (gst_identity_init),
21820         (gst_identity_event), (gst_identity_check_perfect),
21821         (gst_identity_transform), (gst_identity_set_property),
21822         (gst_identity_get_property), (gst_identity_change_state):
21823         * gst/elements/gstidentity.h:
21824         * gst/gstelement.c: (gst_element_get_state_func),
21825         (gst_element_lost_state), (gst_element_pads_activate):
21826         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21827         (gst_pad_check_pull_range), (gst_pad_pull_range):
21828         * gst/gstpad.h:
21829         Simplify pad activation.
21830         Added function to check if pull_range can be performed.
21831         Error out when pulling inactive or flushing pads.
21832         Removed const from refcounted types as it does not make sense.
21833         Simplify pad templates in basesink
21834         Added base class for simple 1-to-1 transforms.
21835         Make identity subclass the base transform.
21836
21837 2005-03-29  Andy Wingo  <wingo@pobox.com>
21838
21839         * docs/libs/gstreamer-libs-overrides.txt: 
21840         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
21841         really don't understand what's going on, but like whatever. I want
21842         green buildbot!
21843
21844         * docs/gst/Makefile.am:
21845         * docs/libs/Makefile.am: Dist the overrides files.
21846
21847         * check/Makefile.am (clean-local): Remove .libs directories.
21848
21849         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
21850         elements to EXTRA_DIST, so po/ files are happy.
21851
21852         * po/POTFILES.in: Er, remove it here.
21853
21854         * po/POTFILES: Remove gstspider.c.
21855
21856         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
21857
21858         * docs/libs/gstreamer-libs-docs.sgml: 
21859         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
21860         bytestream.
21861
21862         * tests/complexity.c (main): Set the length of the preroll queue
21863         on the sinks to prevent a lockup.
21864
21865         * libs/gst/dataprotocol/Makefile.am: 
21866         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
21867         the same as the one in check/gst-libs/gdp.c.
21868
21869         * po/, docs/gst/: Commit automatic changes to docs and po files.
21870
21871         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
21872         the versioned libgstbase.
21873
21874         * check/Makefile.am: Depend on an unversioned gst-register, seems
21875         to make autoconf happier.
21876
21877         * gst/base/Makefile.am: Make libgstbase a versioned lib.
21878
21879 2005-03-28  Wim Taymans  <wim@fluendo.com>
21880
21881         * configure.ac:
21882         * docs/design/part-gstelement.txt:
21883         * docs/design/part-negotiation.txt:
21884         * docs/design/part-preroll.txt:
21885         * docs/design/part-scheduling.txt:
21886         * docs/design/part-states.txt:
21887         * gst/Makefile.am:
21888         * gst/base/Makefile.am:
21889         * gst/base/README:
21890         * gst/base/gstbasesink.c: (gst_basesink_get_template),
21891         (gst_basesink_base_init), (gst_basesink_class_init),
21892         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
21893         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
21894         (gst_basesink_set_pad_functions),
21895         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
21896         (gst_basesink_set_property), (gst_basesink_get_property),
21897         (gst_base_sink_get_template), (gst_base_sink_get_caps),
21898         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
21899         (gst_basesink_preroll_queue_push),
21900         (gst_basesink_preroll_queue_empty),
21901         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
21902         (gst_basesink_event), (gst_basesink_get_times),
21903         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
21904         (gst_basesink_chain_unlocked), (gst_basesink_chain),
21905         (gst_basesink_loop), (gst_basesink_activate),
21906         (gst_basesink_change_state):
21907         * gst/base/gstbasesink.h:
21908         * gst/elements/Makefile.am:
21909         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
21910         (gst_fakesink_class_init), (gst_fakesink_init),
21911         (gst_fakesink_set_property), (gst_fakesink_get_property),
21912         (gst_fakesink_get_times), (gst_fakesink_event),
21913         (gst_fakesink_preroll), (gst_fakesink_render),
21914         (gst_fakesink_change_state):
21915         * gst/elements/gstfakesink.h:
21916         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
21917         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
21918         * gst/gstelement.c: (gst_element_add_pad),
21919         (gst_element_get_state_func), (gst_element_abort_state),
21920         (gst_element_commit_state), (gst_element_lost_state),
21921         (gst_element_set_state), (gst_element_pads_activate):
21922         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
21923         * gst/gstpipeline.c: (gst_pipeline_send_event),
21924         (gst_pipeline_change_state):
21925         Added state change code.
21926         Added/updated docs.
21927         Added sink base class, make fakesink extend the base class.
21928         Small cleanups in GstPipeline.
21929
21930 2005-03-26  David Schleef  <ds@schleef.org>
21931
21932         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
21933         is broken and should be implemented in a different library.
21934         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
21935         * gst/gst.h: remove gstcpu.h
21936         * gst/gstcpu.c: remove
21937         * gst/gstcpu.h: remove
21938         * gst/Makefile.am.future: Remove this file.  It's ancient.
21939
21940 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21941
21942         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
21943         (gst_bin_send_event):
21944           Add default event/set_manager handlers. The set_manager handler
21945           takes care that the manager is distributed over kids that were
21946           already in the bin before the manager was set. The event handler
21947           is a utility virtual function that sends the event over all sinks,
21948           so that gst_element_send_event (bin, event); has the expected
21949           behaviour.
21950         * gst/gstpad.c: (gst_pad_event_default):
21951           Re-install default event handling for discontinuities, so that
21952           seeking works without requiring hacks in applications or extra
21953           code in sinks.
21954         * gst/gstpipeline.c: (gst_pipeline_class_init),
21955         (gst_pipeline_send_event):
21956           Half hack, half utility: set a pipeline to PAUSED for seek events,
21957           since that is the only way we can guarantee a/v sync. Means that
21958           you can do gst_element_seek (pipeline, method, pos); on a pipeline
21959           and it "just works".
21960
21961 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21962
21963         * gst/gstpipeline.c: (gst_pipeline_use_clock):
21964           Lock/unlock mismatch.
21965
21966 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
21967
21968         * docs/faq/gst-uninstalled:
21969           add gst-plugins-base
21970         * docs/gst/Makefile.am:
21971           don't error out until docs are fixed
21972         * docs/gst/gstreamer.types:
21973           remove thread
21974
21975 2005-03-22  Wim Taymans  <wim@fluendo.com>
21976
21977         * check/Makefile.am:
21978         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
21979         * gst/gststructure.c: (gst_structure_set_valist),
21980         (gst_structure_copy_conditional):
21981         Activated more tests.
21982         Added message test.
21983         Added G_TYPE_POINTER to GstStructure.
21984         
21985
21986 2005-03-22  Wim Taymans  <wim@fluendo.com>
21987
21988         * docs/design/part-TODO.txt:
21989         * docs/design/part-events.txt:
21990         * docs/design/part-gstbin.txt:
21991         * docs/design/part-gstbus.txt:
21992         * docs/design/part-gstpipeline.txt:
21993         * docs/design/part-messages.txt:
21994         * gst/gstbus.c:
21995         * gst/gstmessage.c:
21996         Docs updates
21997
21998 2005-03-21  Wim Taymans  <wim@fluendo.com>
21999
22000         * gst/gstbus.c: (gst_bus_post):
22001         Fix copy-and-paste error.
22002
22003 2005-03-21  Wim Taymans  <wim@fluendo.com>
22004
22005         * check/Makefile.am:
22006         * gst/Makefile.am:
22007         * gst/elements/Makefile.am:
22008         * gst/elements/gstelements.c:
22009         * gst/elements/gstfakesink.c: (gst_fakesink_init),
22010         (gst_fakesink_event), (gst_fakesink_chain):
22011         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22012         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
22013         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
22014         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
22015         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22016         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
22017         (gst_fakesrc_loop), (gst_fakesrc_activate),
22018         (gst_fakesrc_change_state):
22019         * gst/elements/gstfakesrc.h:
22020         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
22021         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
22022         (gst_filesrc_open_file), (gst_filesrc_loop),
22023         (gst_filesrc_activate), (gst_filesrc_change_state),
22024         (filesrc_find_peek), (filesrc_find_suggest),
22025         (gst_filesrc_type_find):
22026         * gst/elements/gstidentity.c: (gst_identity_finalize),
22027         (gst_identity_class_init), (gst_identity_init),
22028         (gst_identity_proxy_getcaps), (identity_queue_push),
22029         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
22030         (gst_identity_getrange), (gst_identity_chain),
22031         (gst_identity_sink_loop), (gst_identity_src_loop),
22032         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
22033         (gst_identity_set_property), (gst_identity_get_property),
22034         (gst_identity_change_state):
22035         * gst/elements/gstidentity.h:
22036         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
22037         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
22038         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
22039         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
22040         (gst_tee_sink_activate):
22041         * gst/elements/gsttee.h:
22042         * gst/gst.c: (gst_register_core_elements), (init_post):
22043         * gst/gst.h:
22044         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
22045         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
22046         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
22047         (gst_bin_change_state):
22048         * gst/gstbin.h:
22049         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
22050         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
22051         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
22052         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
22053         (gst_bus_set_sync_handler), (gst_bus_create_watch),
22054         (bus_watch_callback), (bus_watch_destroy),
22055         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
22056         (poll_timeout), (gst_bus_poll):
22057         * gst/gstbus.h:
22058         * gst/gstcaps.h:
22059         * gst/gstdata.h:
22060         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22061         (gst_element_post_message), (gst_element_message_full),
22062         (gst_element_get_state_func), (gst_element_get_state),
22063         (gst_element_abort_state), (gst_element_commit_state),
22064         (gst_element_lost_state), (gst_element_set_state),
22065         (gst_element_pads_activate), (gst_element_change_state),
22066         (gst_element_dispose), (gst_element_set_manager_func),
22067         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
22068         (gst_element_set_manager), (gst_element_get_manager),
22069         (gst_element_set_bus), (gst_element_get_bus),
22070         (gst_element_set_scheduler), (gst_element_get_scheduler):
22071         * gst/gstelement.h:
22072         * gst/gstevent.c: (gst_event_new_segment_seek),
22073         (gst_event_new_flush):
22074         * gst/gstevent.h:
22075         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
22076         (_gst_message_free), (gst_message_get_type), (gst_message_new),
22077         (gst_message_new_eos), (gst_message_new_error),
22078         (gst_message_new_warning), (gst_message_new_tag),
22079         (gst_message_new_state_changed), (gst_message_new_application),
22080         (gst_message_get_structure), (gst_message_parse_tag),
22081         (gst_message_parse_state_changed), (gst_message_parse_error),
22082         (gst_message_parse_warning):
22083         * gst/gstmessage.h:
22084         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
22085         (gst_real_pad_set_property), (gst_pad_set_active),
22086         (gst_pad_is_active), (gst_pad_set_blocked_async),
22087         (gst_pad_set_blocked), (gst_pad_is_blocked),
22088         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
22089         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
22090         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
22091         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
22092         (gst_pad_link_filtered), (gst_pad_relink_filtered),
22093         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
22094         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
22095         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
22096         (gst_pad_set_caps), (gst_pad_configure_sink),
22097         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
22098         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
22099         (gst_real_pad_dispose), (gst_real_pad_finalize),
22100         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
22101         (gst_pad_event_default_dispatch), (gst_pad_event_default),
22102         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
22103         * gst/gstpad.h:
22104         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
22105         (pipeline_bus_handler), (gst_pipeline_change_state),
22106         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
22107         * gst/gstpipeline.h:
22108         * gst/gstprobe.h:
22109         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22110         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
22111         (gst_queue_link_src), (gst_queue_bufferalloc),
22112         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
22113         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
22114         (gst_queue_loop), (gst_queue_handle_src_event),
22115         (gst_queue_handle_src_query), (gst_queue_src_activate),
22116         (gst_queue_change_state):
22117         * gst/gstqueue.h:
22118         * gst/gstscheduler.c: (gst_scheduler_init),
22119         (gst_scheduler_dispose), (gst_scheduler_create_task),
22120         (gst_scheduler_factory_create):
22121         * gst/gstscheduler.h:
22122         * gst/gststructure.c: (gst_structure_get_type),
22123         (gst_structure_copy_conditional):
22124         * gst/gststructure.h:
22125         * gst/gsttaginterface.h:
22126         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22127         (gst_task_init), (gst_task_dispose), (gst_task_create),
22128         (gst_task_get_state), (gst_task_start), (gst_task_stop),
22129         (gst_task_pause):
22130         * gst/gsttask.h:
22131         * gst/gstthread.c:
22132         * gst/gstthread.h:
22133         * gst/gsttypes.h:
22134         * gst/schedulers/Makefile.am:
22135         * gst/schedulers/cothreads_compat.h:
22136         * gst/schedulers/entryscheduler.c:
22137         * gst/schedulers/faircothreads.c:
22138         * gst/schedulers/faircothreads.h:
22139         * gst/schedulers/fairscheduler.c:
22140         * gst/schedulers/gstbasicscheduler.c:
22141         * gst/schedulers/gstoptimalscheduler.c:
22142         * gst/schedulers/gthread-cothreads.h:
22143         * gst/schedulers/threadscheduler.c:
22144         (gst_thread_scheduler_task_get_type),
22145         (gst_thread_scheduler_task_class_init),
22146         (gst_thread_scheduler_task_init),
22147         (gst_thread_scheduler_task_start),
22148         (gst_thread_scheduler_task_stop),
22149         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
22150         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22151         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
22152         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
22153         (plugin_init):
22154         * libs/gst/Makefile.am:
22155         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
22156         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
22157         (gst_file_pad_parent_set):
22158         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22159         (gst_dp_event_from_packet):
22160         * tests/complexity.c: (main):
22161         * tests/mass_elements.c: (main):
22162         * testsuite/states/locked.c: (message_received), (main):
22163         * testsuite/states/parent.c: (main):
22164         * tools/gst-inspect.c: (print_element_flag_info),
22165         (print_implementation_info), (print_pad_info):
22166         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
22167         (main):
22168         * tools/gst-md5sum.c: (event_loop), (main):
22169         * tools/gst-typefind.c: (main):
22170         * tools/gst-xmlinspect.c: (print_element_info):
22171         Next big merge.
22172         Added GstBus for mainloop integration.
22173         Added GstMessage for sending notifications on the bus.
22174         Added GstTask as an abstraction for pipeline entry points.
22175         Removed GstThread.
22176         Removed Schedulers.
22177         Simplified GstQueue for multithreaded core.
22178         Made _link threadsafe, removed old capsnego.
22179         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
22180         Added pad blocking functions.
22181         Reworked scheduling functions in GstPad to prepare for
22182         scheduling updates soon.
22183         Moved events out of data stream.
22184         Simplified GstEvent types.
22185         Added return values to push/pull.
22186         Removed clocking from GstElement.
22187         Added prototypes for state change function for next merge.
22188         Removed iterate from bins and state change management.
22189         Fixed some elements, disabled others for now.
22190         Fixed -inspect and -launch.
22191         Added check for GstBus.
22192
22193 2005-03-10  Wim Taymans  <wim@fluendo.com>
22194
22195         * docs/design/part-MT-refcounting.txt:
22196         * docs/design/part-clocks.txt:
22197         * docs/design/part-gstelement.txt:
22198         * docs/design/part-gstobject.txt:
22199         * docs/design/part-standards.txt:
22200         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22201         (gst_bin_remove_func), (gst_bin_remove):
22202         * gst/gstbin.h:
22203         * gst/gstbuffer.c:
22204         * gst/gstcaps.h:
22205         * testsuite/clock/clock1.c: (main):
22206         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
22207         (main):
22208         * testsuite/dlopen/loadgst.c: (do_test):
22209         * testsuite/refcounting/bin.c: (add_remove_test1),
22210         (add_remove_test2), (main):
22211         * testsuite/refcounting/element.c: (main):
22212         * testsuite/refcounting/element_pad.c: (main):
22213         * testsuite/refcounting/pad.c: (main):
22214         * tools/gst-launch.c: (sigint_handler_sighandler):
22215         * tools/gst-typefind.c: (main):
22216         Doc updates.
22217         Added doc about clock.
22218         removed gst_bin_iterate_recurse_up(), marked methods
22219         for removal.
22220         Fix more testsuites.
22221
22222 2005-03-09  Wim Taymans  <wim@fluendo.com>
22223
22224         * gst/gstpad.c: (gst_pad_get_direction),
22225         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
22226         (gst_pad_collect_valist):
22227         * testsuite/bins/interface.c: (main):
22228         * testsuite/caps/audioscale.c: (test_caps):
22229         * testsuite/caps/caps.c: (test1), (test2), (test3):
22230         * testsuite/caps/deserialize.c: (main):
22231         * testsuite/caps/enumcaps.c: (main):
22232         * testsuite/caps/filtercaps.c: (main):
22233         * testsuite/caps/intersect2.c: (main):
22234         * testsuite/caps/random.c: (main):
22235         * testsuite/caps/renegotiate.c: (my_fixate), (main):
22236         * testsuite/caps/sets.c: (check_caps):
22237         * testsuite/caps/simplify.c: (check_caps), (main):
22238         * testsuite/caps/subtract.c: (check_caps):
22239         Fix _pad_get_direction wrt ghostpads.
22240         Fix caps testsuite.
22241
22242 2005-03-09  Wim Taymans  <wim@fluendo.com>
22243
22244         * check/Makefile.am:
22245         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
22246         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
22247         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
22248         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
22249         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
22250         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
22251         (gst_bin_remove), (gst_bin_iterate_recurse_up),
22252         (bin_element_is_sink), (gst_bin_iterate_sinks),
22253         (gst_bin_iterate_all_by_interface):
22254         * gst/gstbin.h:
22255         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
22256         (gst_element_change_state), (gst_element_dispose),
22257         (gst_element_finalize), (gst_element_set_loop_function):
22258         * gst/gstelement.h:
22259         * gst/gstiterator.c: (find_custom_fold_func):
22260         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22261         (gst_pad_collectv), (gst_pad_collect_valist),
22262         (gst_pad_template_new):
22263         * gst/gstpipeline.c: (gst_pipeline_class_init),
22264         (gst_pipeline_dispose), (gst_pipeline_set_property),
22265         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
22266         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
22267         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
22268         * gst/gstutils.h:
22269         * gst/schedulers/entryscheduler.c:
22270         * gst/schedulers/gstbasicscheduler.c:
22271         (gst_basic_scheduler_cothreaded_chain),
22272         (gst_basic_scheduler_chain_add_element):
22273         * testsuite/bins/interface.c: (main):
22274         Added GstBin test.
22275         Added GstSystemClock test.
22276         Implemented clock distribution code in GstBin.
22277         Implemented iterate sinks method for future use.
22278         Rearranged gstelement.h
22279         Fix GstIterator comparison bug.
22280         Moved some code to GstPipeline, mostly clocking related.
22281
22282 2005-03-09  Wim Taymans  <wim@fluendo.com>
22283
22284         * configure.ac:
22285         * gst/gst_private.h:
22286         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22287         (gst_bin_remove_func), (gst_bin_remove),
22288         (gst_bin_get_by_name_recurse_up):
22289         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
22290         (gst_clock_id_compare_func), (gst_clock_id_wait),
22291         (gst_clock_id_wait_async), (gst_clock_init),
22292         (gst_clock_adjust_unlocked), (gst_clock_get_time):
22293         * gst/gstelement.h:
22294         * gst/gstinfo.c: (_gst_debug_init):
22295         * gst/gstobject.h:
22296         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22297         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
22298         * gst/gstpad.h:
22299         Bump version number, we're now 0.9.0
22300         Add future debugging category.
22301         Fix NULL _unref() in _get_by_name_recurse_up
22302         Rearrange gstpad.h.
22303         Update some docs.
22304
22305 2005-03-08  Wim Taymans  <wim@fluendo.com>
22306
22307         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
22308         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
22309         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22310         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
22311         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
22312         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
22313         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
22314         * gst/elements/gstidentity.c: (gst_identity_class_init):
22315         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
22316         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
22317         * gst/elements/gstshaper.c: (gst_shaper_class_init):
22318         * gst/elements/gststatistics.c: (gst_statistics_class_init):
22319         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
22320         (gst_tee_link):
22321         * gst/gstelement.c: (gst_element_class_init),
22322         (gst_element_base_class_init), (gst_element_init),
22323         (gst_element_get_random_pad), (gst_element_wait_state_change),
22324         (gst_element_change_state), (gst_element_dispose),
22325         (gst_element_finalize), (gst_element_set_loop_function):
22326         * gst/gstelement.h:
22327         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
22328         * gst/gstthread.c: (gst_thread_class_init),
22329         (gst_thread_release_children_locks), (gst_thread_change_state):
22330         * gst/schedulers/gstbasicscheduler.c:
22331         (gst_basic_scheduler_loopfunc_wrapper),
22332         (gst_basic_scheduler_chain_wrapper),
22333         (gst_basic_scheduler_src_wrapper),
22334         (gst_basic_scheduler_remove_element):
22335         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
22336         Remove threadsafe properties. Fix elements because GObject
22337         complains when installing a property before declaring a
22338         set/get_property handler.
22339         Rearrange gstelement.h file, use STATE macros for state locks.
22340         Free mutexes in the finalize method instead of dispose.
22341
22342 2005-03-08  Wim Taymans  <wim@fluendo.com>
22343
22344         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22345         * gst/gstthread.c: (gst_thread_release_children_locks):
22346         Added parentage check.
22347         Fix build og GstThread again.
22348
22349 2005-03-08  Wim Taymans  <wim@fluendo.com>
22350
22351         * docs/design/part-MT-refcounting.txt:
22352         * docs/design/part-conventions.txt:
22353         * docs/design/part-gstobject.txt:
22354         * docs/design/part-relations.txt:
22355         * docs/design/part-standards.txt:
22356         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22357         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
22358         (gst_bin_get_by_name), (gst_bin_get_by_interface),
22359         (gst_bin_iterate_all_by_interface):
22360         * gst/gstbuffer.h:
22361         * gst/gstclock.h:
22362         * gst/gstelement.c: (gst_element_class_init),
22363         (gst_element_change_state), (gst_element_set_loop_function):
22364         * gst/gstelement.h:
22365         * gst/gstiterator.c:
22366         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
22367         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
22368         (gst_object_dispatch_properties_changed), (gst_object_set_name),
22369         (gst_object_set_parent), (gst_object_unparent),
22370         (gst_object_check_uniqueness):
22371         * gst/gstobject.h:
22372         Docs updates, clean up some headers.
22373
22374 2005-03-07  Wim Taymans  <wim@fluendo.com>
22375
22376         * check/.cvsignore:
22377         * check/Makefile.am:
22378         * check/gst-libs/.cvsignore:
22379         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
22380         * check/gst/.cvsignore:
22381         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
22382         (START_TEST), (gstbus_suite), (main):
22383         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
22384         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
22385         (gst_data_suite), (main):
22386         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
22387         (add_fold_func), (gstiterator_suite), (main):
22388         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
22389         (thread_name_object), (thread_name_object_default),
22390         (gst_object_name_compare), (gst_object_suite), (main):
22391         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
22392         (gst_pad_suite), (main):
22393         * check/gstcheck.c: (gst_check_log_message_func),
22394         (gst_check_log_critical_func), (gst_check_init):
22395         * check/gstcheck.h:
22396         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
22397         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
22398         Added checks.
22399
22400 2005-03-07  Wim Taymans  <wim@fluendo.com>
22401
22402         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22403         (gst_list_iterator_next), (gst_list_iterator_resync),
22404         (gst_list_iterator_free), (gst_iterator_new_list),
22405         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
22406         (gst_iterator_free), (gst_iterator_push), (filter_next),
22407         (filter_resync), (filter_uninit), (filter_free),
22408         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
22409         (gst_iterator_foreach), (find_custom_fold_func),
22410         (gst_iterator_find_custom):
22411         * gst/gstiterator.h:
22412         Added missing files.
22413
22414 2005-03-07  Wim Taymans  <wim@fluendo.com>
22415
22416         * Makefile.am:
22417         * configure.ac:
22418         * docs/design/part-MT-refcounting.txt:
22419         * docs/design/part-conventions.txt:
22420         * docs/design/part-gstobject.txt:
22421         * docs/design/part-relations.txt:
22422         * examples/mixer/mixer.c: (main):
22423         * examples/thread/thread.c: (eos), (main):
22424         * gst/Makefile.am:
22425         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
22426         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
22427         (gst_spider_plug_from_srcpad):
22428         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
22429         (gst_spider_identity_change_state),
22430         (gst_spider_identity_sink_loop_type_finding):
22431         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
22432         * gst/elements/gstidentity.c: (gst_identity_init):
22433         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
22434         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
22435         * gst/elements/gsttypefindelement.c: (free_entry):
22436         * gst/gst.c:
22437         * gst/gst.h:
22438         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
22439         (gst_bin_set_clock_func), (gst_bin_auto_clock),
22440         (gst_bin_set_index), (gst_bin_set_element_sched),
22441         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
22442         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
22443         (gst_bin_iterate_elements), (iterate_child_recurse),
22444         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
22445         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
22446         (compare_interface), (gst_bin_get_by_interface),
22447         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
22448         * gst/gstbin.h:
22449         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
22450         (gst_buffer_default_free), (gst_buffer_default_copy),
22451         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
22452         (gst_buffer_create_sub):
22453         * gst/gstbuffer.h:
22454         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
22455         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
22456         (gst_caps_unref), (gst_static_caps_get),
22457         (gst_caps_remove_and_get_structure), (gst_caps_append),
22458         (gst_caps_append_structure), (gst_caps_remove_structure),
22459         (gst_caps_copy_nth), (gst_caps_set_simple),
22460         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
22461         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
22462         (gst_caps_structure_intersect_field), (gst_caps_intersect),
22463         (gst_caps_structure_subtract_field), (gst_caps_subtract),
22464         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
22465         (gst_caps_structure_figure_out_union),
22466         (gst_caps_switch_structures), (gst_caps_do_simplify),
22467         (gst_caps_replace), (gst_caps_from_string),
22468         (gst_caps_copy_conditional):
22469         * gst/gstcaps.h:
22470         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
22471         (_gst_clock_id_free), (gst_clock_id_unref),
22472         (gst_clock_id_compare_func), (gst_clock_id_wait),
22473         (gst_clock_id_wait_async), (gst_clock_class_init),
22474         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
22475         (gst_clock_get_time), (gst_clock_set_time_adjust),
22476         (gst_clock_set_property), (gst_clock_get_property):
22477         * gst/gstclock.h:
22478         * gst/gstcompat.h:
22479         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
22480         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
22481         * gst/gstdata.h:
22482         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22483         (gst_element_requires_clock), (gst_element_provides_clock),
22484         (gst_element_set_clock), (gst_element_clock_wait),
22485         (gst_element_wait), (gst_element_set_time_delay),
22486         (gst_element_is_indexable), (gst_element_add_pad),
22487         (gst_element_add_ghost_pad), (gst_element_remove_pad),
22488         (pad_compare_name), (gst_element_get_static_pad),
22489         (gst_element_request_pad), (gst_element_get_request_pad),
22490         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
22491         (gst_element_class_get_pad_template_list),
22492         (gst_element_class_get_pad_template), (gst_element_error_func),
22493         (gst_element_get_random_pad), (gst_element_get_event_masks),
22494         (gst_element_send_event), (gst_element_seek),
22495         (gst_element_get_query_types), (gst_element_query),
22496         (gst_element_get_formats), (gst_element_convert),
22497         (gst_element_is_locked_state), (gst_element_set_locked_state),
22498         (gst_element_sync_state_with_parent), (gst_element_change_state),
22499         (gst_element_finalize), (gst_element_yield),
22500         (gst_element_interrupt), (gst_element_set_scheduler),
22501         (gst_element_get_scheduler), (gst_element_set_loop_function):
22502         * gst/gstelement.h:
22503         * gst/gstevent.h:
22504         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
22505         (gst_format_get_by_nick), (gst_format_get_details),
22506         (gst_format_iterate_definitions):
22507         * gst/gstformat.h:
22508         * gst/gstindex.c: (gst_index_gtype_resolver):
22509         * gst/gstinfo.c:
22510         * gst/gstinfo.h:
22511         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
22512         (gst_mem_chunk_free):
22513         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22514         (gst_object_ref), (gst_object_unref), (gst_object_sink),
22515         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
22516         (gst_object_dispatch_properties_changed),
22517         (gst_object_set_name_default), (gst_object_set_name),
22518         (gst_object_get_name), (gst_object_set_name_prefix),
22519         (gst_object_get_name_prefix), (gst_object_set_parent),
22520         (gst_object_get_parent), (gst_object_unparent),
22521         (gst_object_check_uniqueness), (gst_object_save_thyself),
22522         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
22523         (gst_object_set_property), (gst_object_get_property),
22524         (gst_object_get_path_string):
22525         * gst/gstobject.h:
22526         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22527         (gst_real_pad_init), (gst_real_pad_get_property),
22528         (gst_pad_custom_new), (gst_pad_get_direction),
22529         (gst_pad_set_active), (gst_pad_is_active),
22530         (gst_pad_set_event_function), (gst_pad_is_linked),
22531         (gst_pad_link_free), (gst_pad_link_intersect),
22532         (gst_pad_link_fixate), (gst_pad_set_caps),
22533         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
22534         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
22535         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
22536         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
22537         (gst_pad_get_caps), (gst_pad_peer_get_caps),
22538         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
22539         (gst_pad_realize), (gst_pad_get_allowed_caps),
22540         (gst_real_pad_dispose), (gst_real_pad_finalize),
22541         (gst_pad_collectv), (gst_pad_collect_valist),
22542         (gst_pad_template_dispose), (gst_pad_template_new),
22543         (gst_pad_get_internal_links):
22544         * gst/gstpad.h:
22545         * gst/gstpipeline.c: (gst_pipeline_dispose),
22546         (gst_pipeline_change_state):
22547         * gst/gstpipeline.h:
22548         * gst/gstplugin.c:
22549         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
22550         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
22551         * gst/gstpluginfeature.h:
22552         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
22553         * gst/gstquery.c: (_gst_query_type_initialize),
22554         (gst_query_type_register), (gst_query_type_get_by_nick),
22555         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
22556         * gst/gstquery.h:
22557         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
22558         * gst/gstscheduler.c: (gst_scheduler_add_element),
22559         (gst_scheduler_factory_create):
22560         * gst/gststructure.c: (gst_structure_set_parent_refcount),
22561         (gst_structure_free), (gst_structure_set_name),
22562         (gst_structure_id_set_value), (gst_structure_set_value),
22563         (gst_structure_set_valist), (gst_structure_remove_field),
22564         (gst_structure_remove_fields),
22565         (gst_structure_remove_fields_valist),
22566         (gst_structure_remove_all_fields), (gst_structure_foreach),
22567         (gst_structure_map_in_place),
22568         (gst_caps_structure_fixate_field_nearest_int),
22569         (gst_caps_structure_fixate_field_nearest_double):
22570         * gst/gststructure.h:
22571         * gst/gstsystemclock.c: (gst_system_clock_class_init),
22572         (gst_system_clock_init), (gst_system_clock_dispose),
22573         (gst_system_clock_async_thread),
22574         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
22575         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
22576         * gst/gstsystemclock.h:
22577         * gst/gsttag.c: (gst_tag_list_add_value_internal),
22578         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
22579         * gst/gsttaginterface.c:
22580         * gst/gstthread.c: (gst_thread_dispose),
22581         (gst_thread_release_children_locks), (gst_thread_change_state),
22582         (gst_thread_main_loop):
22583         * gst/gsttrashstack.h:
22584         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
22585         * gst/gsttypes.h:
22586         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22587         (gst_element_request_pad), (gst_element_get_pad_from_template),
22588         (gst_element_request_compatible_pad),
22589         (gst_element_get_compatible_pad_filtered),
22590         (gst_element_get_compatible_pad), (gst_element_state_get_name),
22591         (gst_element_link_pads_filtered), (gst_element_link_filtered),
22592         (gst_element_link_many), (gst_element_link),
22593         (gst_element_link_pads), (gst_element_unlink_pads),
22594         (gst_element_unlink_many), (gst_element_unlink),
22595         (gst_pad_can_link_filtered), (gst_pad_can_link),
22596         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
22597         (gst_object_default_error), (gst_bin_add_many),
22598         (gst_bin_remove_many), (gst_element_populate_std_props),
22599         (gst_element_class_install_std_props), (gst_buffer_merge),
22600         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
22601         (link_fold_func), (gst_pad_proxy_setcaps):
22602         * gst/gstutils.h:
22603         * gst/gstvalue.c: (gst_value_deserialize_string):
22604         * gst/parse/grammar.y:
22605         * gst/schedulers/gstbasicscheduler.c:
22606         (gst_basic_scheduler_cothreaded_chain),
22607         (gst_basic_scheduler_chain_recursive_add),
22608         (gst_basic_scheduler_pad_link):
22609         * gst/schedulers/gstoptimalscheduler.c:
22610         (get_group_schedule_function),
22611         (gst_opt_scheduler_state_transition),
22612         (gst_opt_scheduler_add_element), (element_get_reachables_func):
22613         * libs/gst/bytestream/bytestream.c:
22614         * libs/gst/dataprotocol/dataprotocol.c:
22615         (gst_dp_header_from_buffer):
22616         * po/nb.po:
22617         * po/ru.po:
22618         * tests/threadstate/threadstate2.c: (eos):
22619         * tools/gst-compprep.c: (main):
22620         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
22621         (print_pad_info), (print_children_info):
22622         * tools/gst-launch.c: (idle_func), (main):
22623         * tools/gst-md5sum.c: (idle_func), (main):
22624         * tools/gst-xmlinspect.c: (print_element_info):
22625         First THREADED backport attempt, focusing on adding locks and
22626         making sure the API is threadsafe. Needs more work. More docs
22627         follow this week.
22628
22629 2005-02-24  Andy Wingo  <wingo@pobox.com>
22630
22631         * tests/bench-complexity.scm:
22632         * tests/complexity.gnuplot: New files, good for running complexity
22633         benchmarks.
22634
22635         * tests/Makefile.am:
22636         * tests/complexity.c: New test, sets up N elements, at each level
22637         teeing into M streams per element. Eeeenteresting.
22638
22639         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
22640         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
22641         running bench-mass_elements.scm.
22642
22643         * tests/bench-mass_elements.scm: New script, runs mass_elements
22644         for various numbers of identities, outputting the results to a
22645         file. Requires guile 1.6. Just for testing.
22646
22647 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22648
22649         * gst/schedulers/fairscheduler.c:
22650           compile with debug disabled
22651
22652 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22653
22654         * configure.ac:
22655           hunting season on 0.9 is now OPEN